/* Thẻ sản phẩm dùng chung Home, Giới thiệu, taxonomy và sản phẩm liên quan. */
.dmax-product-cards .prod { display:flex; flex-direction:column; min-width:0; margin:0; padding:0; border:1px solid var(--border); border-radius:12px; overflow:hidden; background:#fff; transition:transform .2s ease, border-color .2s ease; }
.dmax-product-cards .prod:hover { transform:translateY(-3px); border-color:rgba(0,16,98,.3); }
.dmax-product-cards .prod-img { display:block; aspect-ratio:1; padding:10px; background:#fff; }
.dmax-product-cards .prod-img img { display:block; width:100%; height:100%; object-fit:contain; }
.dmax-product-cards .prod-body { position:relative; display:flex; flex-direction:column; flex:1; min-width:0; padding:8px 10px 10px; }
.dmax-product-cards .prod-badges { position:absolute; left:15px; right:15px; bottom:calc(100% + 15px); display:flex; flex-wrap:wrap; gap:5px; pointer-events:none; }
.dmax-product-cards .prod-badge { display:inline-flex; align-items:center; padding:4px 8px; border:1px solid #fff; border-radius:20px; background:var(--primary); color:#fff; font-size:11px; font-weight:700; line-height:1.4; }
.dmax-product-cards .prod-badge--new { background:#fff; color:var(--primary); }
.dmax-product-cards .prod-badge--hot { background:#b83216; }
.dmax-product-cards .prod h3,
.dmax-product-cards .prod h2 { margin:0 0 10px; padding:0; color:var(--primary); font-family:var(--font-main); font-size:16px; font-weight:700; line-height:1.4; overflow-wrap:anywhere; }
.dmax-product-cards .prod h3 a,
.dmax-product-cards .prod h2 a { color:inherit; }
.dmax-product-cards .prod-variants { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px; }
.dmax-product-cards .prod-variant { display:inline-flex; align-items:center; justify-content:center; max-width:100%; height:26px; margin:0; padding:0 10px; border:1px solid var(--border); border-radius:20px; background:#fff; color:var(--muted); font-family:var(--font-main); font-size:12px; font-weight:400; line-height:1.4; cursor:pointer; }
.dmax-product-cards .prod-variant.is-active { border-color:var(--primary); color:var(--primary); background:var(--light); }
.dmax-product-cards .prod-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 10px; margin:0 0 18px; color:#ed1010; font-size:20px; font-weight:800; line-height:1.4; }
.dmax-product-cards .prod-price-old { color:var(--muted); font-size:13px; font-weight:400; }
.dmax-product-cards .prod-stock { margin:0 0 12px; color:var(--muted); font-size:13px; }
.dmax-product-cards .prod-actions { display:flex; flex-wrap:nowrap; gap:8px; margin-top:auto; }
.dmax-product-cards .prod-actions a { display:flex; align-items:center; justify-content:center; height:var(--button-height); min-width:0; padding:0 10px; border:1px solid var(--primary); border-radius:8px; background:var(--primary); color:#fff; font-family:var(--font-main); font-size:14px; font-weight:800; line-height:1.4; text-align:center; }
.dmax-product-cards .prod-actions .prod-add { flex:1; }
.dmax-product-cards .prod-actions .prod-more { flex:0 0 var(--button-height); width:var(--button-height); padding:0; border-color:var(--accent); background:var(--accent); color:var(--primary); }
.dmax-product-cards .prod-more svg { display:block; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; }
.dmax-product-cards .prod a:focus-visible,
.dmax-product-cards .prod button:focus-visible { outline:2px solid var(--primary); outline-offset:3px; }
.dmax-product-cards .prod-actions a:hover { filter:brightness(.95); }


@media (max-width: 500px) {

    .dmax-products-section .section-title {
        margin: 0 auto 15px;
    }

    .dmax-products-section .brands.dmax-brand-slider .brand img{
        height: 22px;
    }

    .dmax-products-section .brand{
        padding: 4px 5px;
    }

    .dmax-products-section .brands{
    	margin: 10px 0 20px;
    }

    .dmax-products-section .brand{
    	height: 34px;
    }

    .dmax-products-section .brand:first-child{
    	font-size: 14px;
    	padding: 4px 12px;
    }

    .dmax-brand-slider .slick-slide{
    	margin: 0 4px;
    }

    .dmax-product-cards .prod-body {
        padding: 0px 10px 10px;
    }

    .dmax-product-cards .prod h3, .dmax-product-cards .prod h2{
    	font-size: 15px;
    }

    .dmax-product-cards .prod-variant {
	    height: 23px;
	    padding: 0 7px;
	    font-size: 10px;
	}

	.dmax-product-cards .prod-price{
		font-size: 16px;
		margin: 0 0 10px;
	}

	.dmax-product-cards .prod-actions .prod-add{
		height: 42px;
	}

	.dmax-product-cards .prod-variants{
		margin: 0 0 10px;
	}

	.dmax-product-cards .prod-actions .prod-more{
		display: none;
	}
}

@media (max-width: 395px) {
}

@media (max-width: 380px) {

}
