/* product v3   */

.products-section-tpl3 .section-wrapper {
    display: flex;
    gap: 14px;
    align-items: stretch;
    padding: 30px 0px;
}
.products-section-tpl3 {
    background: var(--featured_product_background_color);
}
.products-section-tpl3 .category-banner {
    width: 30%;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.products-section-tpl3 .category-banner .bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.products-section-tpl3 .category-banner:hover .bg-img {
    transform: scale(1.04);
}

.products-section-tpl3 .category-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 15, 40, 0.10) 0%, rgba(10, 15, 40, 0.30) 40%, rgba(10, 15, 40, 0.82) 100%);
    z-index: 1;
}

.products-section-tpl3 .category-content {
    position: relative;
    z-index: 2;
    padding: 24px 22px;
}

.products-section-tpl3 .category-tag {
    display: inline-block;
    background: #ee4d2d;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.products-section-tpl3 .category-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.products-section-tpl3 .category-desc {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin-bottom: 18px;
}

.products-section-tpl3 .category-stats {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}

.products-section-tpl3 .stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.products-section-tpl3 .stat-number {
    font-size: 16px;
    font-weight: 800;
    color: #ffe01b;
}

.products-section-tpl3 .stat-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-section-tpl3 .category-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #ee4d2d;
    font-size: 12px;
    font-weight: 800;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.products-section-tpl3 .category-cta:hover {
    background: #ee4d2d;
    color: #fff;
}

.products-section-tpl3 .category-cta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.products-section-tpl3 .products-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-content: start;
}

.products-section-tpl3 .product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.products-section-tpl3 .product-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
    transform: translateY(-3px);
}

.products-section-tpl3 .product-image-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #f9f9f9;
}

.products-section-tpl3 .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.products-section-tpl3 .product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.products-section-tpl3 .badge-top-left {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 8px;
    z-index: 2;
    border-radius: 0 0 6px 0;
}

.products-section-tpl3 .badge-yeu-thich {
    background: #f60;
    color: #fff;
}

.products-section-tpl3 .badge-ban-chay {
    background: #00b14f;
    color: #fff;
}

.products-section-tpl3 .badge-xa-kho {
    background: #9b59b6;
    color: #fff;
}

.products-section-tpl3 .badge-discount {
    position: absolute;
    top: 0;
    right: 0;
    background: #ffe01b;
    color: #c0392b;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    padding: 5px 6px 3px;
    line-height: 1.2;
    border-radius: 0 0 0 8px;
    z-index: 2;
}

.products-section-tpl3 .badge-discount .pct {
    font-size: 16px;
    font-weight: 900;
    display: block;
}

.products-section-tpl3 .badge-discount .giam {
    font-size: 8px;
    font-weight: 700;
    display: block;
    letter-spacing: 0.3px;
}

.products-section-tpl3 .product-info {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.products-section-tpl3 .product-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-section-tpl3 .product-rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.products-section-tpl3 .stars {
    display: flex;
    gap: 1px;
}

.products-section-tpl3 .stars svg {
    width: 10px;
    height: 10px;
    fill: #ffa724;
}

.products-section-tpl3 .sold-text {
    font-size: 10px;
    color: #999;
    font-weight: 500;
}

.products-section-tpl3 .sold-text span {
    font-weight: 700;
    color: #777;
}

.products-section-tpl3 .product-price-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 9px;
}

.products-section-tpl3 .price-current {
    font-size: 19px;
    font-weight: 800;
    color: var(--bv-primary);
}

.products-section-tpl3 .price-original {
    font-size: 12px;
    color: #b0b0b0;
    text-decoration: line-through;
    font-weight: 500;
}

.products-section-tpl3 .add-to-cart-btn {
    width: 100%;
    padding: 8px 0;
    background: #fff;
    color: var(--bv-primary);
    border: 1.5px solid var(--bv-primary);
    border-radius: 6px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.products-section-tpl3 .add-to-cart-btn:hover {
    background: var(--bv-primary);
    color: #fff;
}

.products-section-tpl3 .add-to-cart-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

@media(max-width:990px) {
    .products-section-tpl3 .products-right {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:786px) {
    .products-section-tpl3 .products-right {
        grid-template-columns: repeat(2, 1fr);
    }
}
















































/* product v4 */


.products-section-tpl4 .page-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: -0.5px;
}

.products-section-tpl4 .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.products-section-tpl4 .product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.products-section-tpl4 .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.products-section-tpl4 .product-image-wrap {
    position: relative;
    background: #f0f2f5;
    height: 305px;
    overflow: hidden;
}

.products-section-tpl4 .product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.products-section-tpl4 .badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.products-section-tpl4 .product-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.products-section-tpl4 .product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-section-tpl4 .product-sold {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.products-section-tpl4 .product-sold span {
    color: #555;
    font-weight: 500;
}

.products-section-tpl4 .product-pricing {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.products-section-tpl4 .price-current {
    font-size: 17px;
    font-weight: 700;
    color: #e74c3c;
}

.products-section-tpl4 .price-original {
    font-size: 13px;
    color: #b0b0b0;
    text-decoration: line-through;
    font-weight: 400;
}

.products-section-tpl4 .product-footer {
    padding: 0 16px 16px;
}

.products-section-tpl4 .btn-add-cart {
    width: 100%;
    padding: 10px 0;
    background: #01796f;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s ease;
}

.products-section-tpl4 .btn-add-cart:hover {
    background: #e74c3c;
}

@media (max-width: 900px) {
    .products-section-tpl4 .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .products-section-tpl4 .product-grid {
        grid-template-columns: 1fr;
    }

    .products-section-tpl4 .product-image-wrap {
        height: 220px;
    }
}































































/* product v5  */
.products-section-tpl5 .s3 {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border-top: 4px solid #c0392b;
}

.products-section-tpl5 .s3-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.products-section-tpl5 .s3-img img {
    width: 100%;
    height: 284px;
    object-fit: cover;
    display: block;
}

.products-section-tpl5 .s3-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    font-family: 'DM Sans', sans-serif;
}

.products-section-tpl5 .s3-body {
    padding: 20px;
}

.products-section-tpl5 .s3-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c0392b;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 8px;
}

.products-section-tpl5 .s3-name {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.products-section-tpl5 .s3-sold {
    font-size: 11px;
    color: #aaa;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 16px;
}

.products-section-tpl5 .s3-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.products-section-tpl5 .s3-price-now {
    font-size: 20px;
    font-weight: 700;
    color: #c0392b;
}

.products-section-tpl5 .s3-price-old {
    font-size: 13px;
    color: #ccc;
    text-decoration: line-through;
    font-family: 'DM Sans', sans-serif;
}

.products-section-tpl5 .s3-btn {
    width: 100%;
    padding: 11px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
}

.products-section-tpl5 .s3-btn:hover {
    background: #a93226;
}

section.products-section-tpl5 {
    margin-bottom: 20px;
}

@media(max-width:990px) {

    .products-section-tpl5 .s3-btn {
        font-size: 11px;
    }

    .products-section-tpl5 .s3-price-now {
        font-size: 17px;
    }

}
















































/* product v6  */
.products-section-tpl6 .s1 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.products-section-tpl6 .s1-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.products-section-tpl6 .s1-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.products-section-tpl6 .s1:hover .s1-img img {
    transform: scale(1.05);
}

.products-section-tpl6 .s1-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.products-section-tpl6 .s1-body {
    padding: 18px 20px;
}

.products-section-tpl6 .s1-name {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.products-section-tpl6 .s1-sold {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 14px;
}

.products-section-tpl6 .s1-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-section-tpl6 .s1-price-now {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 0px;
}

.products-section-tpl6 .s1-price-old {
    font-size: 14px;
    color: #a69e9e;
    text-decoration: line-through;
}

.products-section-tpl6 .s1-btn {
    background: var(--bv-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.products-section-tpl6 .s1-btn:hover {
    background: #444;
}





















































/* product v7  */
.products-section-tpl7 .s2 {
    background: #cdcdcd36;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #1b60603b;
}

.products-section-tpl7 .s2-img {
    height: 246px;
    overflow: hidden;
    position: relative;
}

.products-section-tpl7 .s2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
}

.products-section-tpl7 .s2-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #c8a96e;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.products-section-tpl7 .s2-body {
    padding: 18px 20px;
}

.products-section-tpl7 .s2-name {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
}

.products-section-tpl7 .s2-sold {
    font-size: 13px;
    color: #555;
    margin-bottom: 7px;
}

.products-section-tpl7 .s2-divider {
    height: 1px;
    background: #2a2a2a;
    margin-bottom: 8px;
}

.products-section-tpl7 .s2-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-section-tpl7 .s2-price-now {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
    color: #f00;
}

.products-section-tpl7 .s2-price-old {
    font-size: 12px;
    color: #444;
    text-decoration: line-through;
}

.products-section-tpl7 .s2-btn {
    color: #f00;
    border: 1px solid #f00;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.products-section-tpl7 .s2-btn:hover {
    background: #c8a96e;
    color: #1a1a1a;
}

@media(max-width:990px) {
    .products-section-tpl7 .s2-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

}








































/* product v8  */
.products-section-tpl8 .s7 {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.products-section-tpl8 .s7-img {
    width: 100%;
    height: 235px;
    position: relative;
    overflow: hidden;
}

.products-section-tpl8 .s7-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.products-section-tpl8 .s7-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.products-section-tpl8 .s7-body {
    padding: 14px 16px;
    flex: 1;
}

.products-section-tpl8 .s7-tag {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.products-section-tpl8 .s7-name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.products-section-tpl8 .s7-stars {
    color: #f59e0b;
    font-size: 12px;
    margin-bottom: 8px;
}

.products-section-tpl8 .s7-sold {
    font-size: 11px;
    color: #aaa;
    margin-bottom: -5px;
}

.products-section-tpl8 .s7-footer {
    padding: 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-section-tpl8 .s7-prices {
    display: flex;
    flex-direction: column;
}

.products-section-tpl8 .s7-price-now {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.products-section-tpl8 .s7-price-old {
    font-size: 13px;
    color: #a29999;
    text-decoration: line-through;
}

.products-section-tpl8 .s7-btn {
    background: var(--bv-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.products-section-tpl8 .s7-btn:hover {
    background: #059669;
}

@media(max-width:990px) {
    .products-section-tpl8 .s7-footer {
        flex-direction: column;
    }

    .products-section-tpl8 .s7-prices {
        align-items: center;
        margin-bottom: 12px;
        flex-direction: row;
        gap: 0px 15px;
    }

    .products-section-tpl8 .s7-price-old {
        font-size: 14px;
    }
}