/* ==========================================================================
   Product Card Styles (b-alert-product-card)
   ========================================================================== */
.woocommerce ul.products li.product.b-alert-product-card,
.b-alert-product-card {
    background-color: transparent;
    border-radius: 0;
    /* Vuông vức theo B-ALERT */
    border: 1px solid var(--ba-border);
    padding: 0;
    text-align: start !important;
    /* KhÃ´ng cÄƒn giá»¯a */
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    /* Bá» transform translateY */
}

.b-alert-product-card .product-card-image,
.woocommerce ul.products li.product.b-alert-product-card .product-card-image {
    padding: 0 !important;
    margin: 0 !important;
    background-color: #0b0d11;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.b-alert-product-card .product-card-image img,
.b-alert-product-card .product-card-image a img,
.woocommerce ul.products li.product.b-alert-product-card a img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    /* nếu muốn bo góc thì để lại */
}

/* Xóa khoảng trắng do thẻ a của WooCommerce */
.b-alert-product-card .product-card-image a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product.b-alert-product-card:hover {
    box-shadow: 0 0 15px var(--ba-chrome-glow);
    border-color: var(--color-hover);
}

.b-alert-product-card .product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    /* Ảnh vuông */
    background-color: transparent;
    overflow: hidden;
}

.b-alert-product-card .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* mix-blend-mode: multiply; (Nếu không cần xóa phông trắng thì nên tắt đi) */
}

.b-alert-product-card .product-card-content {
    background-color: var(--panel-graphite);
    /* Nền panel-graphite cho khối nội dung thẻ theo B-ALERT */
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left !important;
}

.b-alert-product-card .product-cat-name {
    color: var(--color-hover);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-align: start;
}

.b-alert-product-card .product-card-title {
    margin: 0 0 16px 0 !important;
    padding: 0;
    text-align: start;
}

.b-alert-product-card .product-card-title a {
    color: inherit;
    text-decoration: none;
    line-height: 1.6;
}

.b-alert-product-card .product-card-excerpt {
    opacity: 0.8;
    color: inherit;
    font-size: 14px;
    /* Cá»¡ chá»¯ thÃ´ng tin 14px */
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    text-align: start;
}

.b-alert-product-card .product-card-excerpt ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b-alert-product-card .product-card-excerpt ul li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 5px;
}

.b-alert-product-card .product-card-excerpt ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-hover);
}

.b-alert-product-card .product-card-action {
    margin-top: auto;
    /* Äáº©y nÃºt xuá»‘ng dÆ°á»›i cÃ¹ng */
}

.b-alert-product-card .btn-advise {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--color-information-white);
    color: var(--color-obsidian-black);
    border: 1px solid var(--color-steel-silver);
    padding: 12px 20px;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    /* Vuông vức theo B-ALERT */
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.b-alert-product-card .btn-advise:hover {
    background-color: var(--color-hover);
    border: 1px solid var(--color-brushed-chrome);
    opacity: 1;
    box-shadow: 0 14px 34px #d9dee31f;
}

.woocommerce ul.products li.product a img {
    margin: 0px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1440px) {
    /* Màn hiện tại (trên 1440) giữ nguyên */
}

@media (max-width: 1024px) {
    .b-alert-product-card .product-card-content {
        padding: 15px;
    }

    .b-alert-product-card .product-card-title {
        font-size: 15px !important;
        margin: 0 0 12px 0 !important;
    }

    .b-alert-product-card .product-cat-name {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .b-alert-product-card .product-card-excerpt {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .b-alert-product-card .btn-advise {
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .b-alert-product-card .product-card-content {
        padding: 12px;
    }

    .b-alert-product-card .product-card-title {
        font-size: 14px !important;
        margin: 0 0 10px 0 !important;
    }

    .b-alert-product-card .product-cat-name {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .b-alert-product-card .product-card-excerpt {
        font-size: 12px;
    }

    .b-alert-product-card .btn-advise {
        padding: 8px 12px;
    }
}

@media (max-width: 360px) {
    .b-alert-product-card .product-card-content {
        padding: 10px;
    }

    .b-alert-product-card .product-card-title {
        font-size: 13px !important;
    }

    .b-alert-product-card .product-cat-name {
        font-size: 11px;
    }
}