﻿body {
    font-family: Arial,Helvetica,sans-serif;
    min-height: 100%;
    padding: 0;
    margin: 0;
    font-size: 14px;
}
/* ==========================================================
   HongHa UI2026
   Module : Promotion Grid
   Version: V1
   ========================================================== */


/* ==========================================================
   CONTAINER
   ========================================================== */
.hh-deal-content{

    background:#ff0000;

    padding:14px 0 14px;

    border-radius:0 0 14px 14px;

}
.listiteminpdnchildv6 {
    margin-top:8px;    
}
.hh-promotion{
    width:100%;    
    margin:6px 0 42px;

}


/* ==========================================================
   HEADER
   ========================================================== */

.hh-promotion-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:0px;

}
.hh-promotion-header-banner {
        display: block;
    width: 100%;
    height: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.hh-promotion-title{

    /*display:flex;*/
    display:none;
    align-items:center;

    gap:16px;

}


.hh-promotion-icon{

    width:54px;

    height:54px;

    flex:0 0 54px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:16px;

    background:linear-gradient(
        135deg,
        #ff4d4f,
        #d70018
    );

    color:#fff;

    font-size:24px;

    box-shadow:
        0 8px 22px rgba(215,0,24,.22);

}


.hh-promotion-heading h2{

    margin:0;

    font-size:20px;

    line-height:26px;

    font-weight:700;

    color:#222;

}


.hh-promotion-desc{

    margin-top:3px;

    font-size:14px;

    color:#777;

}


.hh-promotion-viewall{

    color:#d70018;

    font-size:14px;

    font-weight:600;

    text-decoration:none;

}


.hh-promotion-viewall:hover{

    text-decoration:underline;

}


/* ==========================================================
   TABS
   ========================================================== */

.hh-promotion-tabs{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    margin-bottom:20px;

    flex-wrap:wrap;

}


.hh-promotion-tab {
    padding: 10px 24px;
    border: 1px solid #ddd;
    border-radius: 22px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
}

.hh-promotion-tab:hover {
    border-color: #d70018;
    color: #d70018;
}

.hh-promotion-tab.active {
    background: #046bcf;
    border-color: #59adff;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 14px rgba(215, 0, 24, .20);
} 
/* ==========================================================
   PRODUCT GRID
   ========================================================== */

.hh-promotion-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:16px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}


/* ==========================================================
   PRODUCT CARD
   ========================================================== */
 .hh-promotion-card.is-hidden {
    display: none;
}
.hh-promotion-card{

    position:relative;

    min-width:0;

    background:#fff;

    border:1px solid #e5e5e5;

    border-radius:10px;

    overflow:hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.hh-promotion-card:hover{

    transform:translateY(-3px);

    box-shadow:
        0 8px 22px rgba(0,0,0,.10);

}


/* ==========================================================
   BADGE
   ========================================================== */

.hh-promotion-card-badge{

    position:absolute;

    top:10px;

    left:10px;

    z-index:2;

    max-width:calc(100% - 20px);

    padding:4px 8px;

    border-radius:5px;

    background:#fff;

    border:1px solid #eee;

    color:#555;

    font-size:11px;

    line-height:16px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}


/* ==========================================================
   IMAGE
   ========================================================== */

.hh-promotion-card-image{

    width:100%;

    height:180px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:34px 12px 8px;

    box-sizing:border-box;

    background:#fff;

}


.hh-promotion-card-image img{

    display:block;

    width:auto;

    max-width:100%;

    height:auto;

    max-height:175px;

    object-fit:contain;

}


/* ==========================================================
   CONTENT
   ========================================================== */

.hh-promotion-card-content{

    padding:8px 12px 14px;

}


.hh-promotion-card-title{

    height:42px;

    margin:0 0 8px;

    overflow:hidden;

    color:#333;

    font-size:14px;

    font-weight:500;

    line-height:21px;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

}


.hh-promotion-card-price{

    margin-top:5px;

    color:#d70018;

    font-size:17px;

    font-weight:700;

    line-height:22px;

}


.hh-promotion-card-old-price{

    margin-top:2px;

    color:#999;

    font-size:12px;

    line-height:18px;

    text-decoration:line-through;

}


.hh-promotion-card-discount{

    display:inline-block;

    margin-top:3px;

    color:#d70018;

    font-size:12px;

}


/* ==========================================================
   VIEW MORE
   ========================================================== */

.hh-promotion-more{

    display:flex;

    justify-content:center;

    margin-top:22px;

}


.hh-promotion-more-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    min-width:210px;

    height:42px;

    padding:0 22px;

    box-sizing:border-box;

    border:1px solid #d70018;

    border-radius:22px;

    background:#fff;

    color:#d70018;

    font-size:14px;

    font-weight:600;

    text-decoration:none;

    transition:
        background .2s ease,
        color .2s ease;

}


.hh-promotion-more-btn:hover{

    background:#d70018;

    color:#fff;

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */


/* ==========================================================
   >= 1200px
   6 card / row
   Hiển thị 12 card
   ========================================================== */

@media (min-width:1200px){

    .hh-promotion-grid{
        grid-template-columns:repeat(6,minmax(0,1fr));
    }

}


/* ==========================================================
   992px - 1199px
   5 card / row
   Hiển thị 10 card
   ========================================================== */

@media (min-width:992px) and (max-width:1199px){
    .hh-promotion-grid{
        grid-template-columns:repeat(5,minmax(0,1fr));
    }
}


/* ==========================================================
   768px - 991px
   4 card / row
   Hiển thị 8 card
   ========================================================== */

@media (min-width:768px) and (max-width:991px){

    .hh-promotion-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}


/* ==========================================================
   576px - 767px
   3 card / row
   Hiển thị 6 card
   ========================================================== */

@media (min-width:576px) and (max-width:767px){

    .hh-promotion-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .hh-promotion-tabs{
        justify-content:flex-start;
        overflow-x:auto;
        flex-wrap:nowrap;
        padding-bottom:4px;
    }

    .hh-promotion-tab{
        flex:0 0 auto;
    }

}


/* ==========================================================
   < 576px
   2 card / row
   Hiển thị 4 card
   ========================================================== */

@media (max-width:575px){

    .hh-promotion-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }

    .hh-promotion-card:nth-child(n+5){
        display:none;
    }

    .hh-promotion-card-image{
        height:155px;
    }

    .hh-promotion-card-image img{
        max-height:140px;
    }

    .hh-promotion-card-content{
        padding:7px 10px 12px;
    }

    .hh-promotion-card-title{
        font-size:13px;
    }

    .hh-promotion-card-price{
        font-size:15px;
    }

}