/* Ticket 95152: consistent 4:3 product photography, matching the reference grid. */
.ticket-products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; margin:20px 0; }
.ticket-products .item_product_main { min-width:0; }
.ticket-products .product-box { height:100%; }
body .product-box .product-thumbnail .image_thumb {
  display:block; position:relative; width:100%; height:auto !important;
  max-height:none !important; padding:0 !important; aspect-ratio:4 / 3;
  overflow:hidden; background:#fff;
}
body .product-box .product-thumbnail .image_thumb img {
  position:absolute; inset:0; display:block; width:100% !important; height:100% !important;
  max-width:100% !important; max-height:100% !important; margin:0 !important;
  object-fit:contain; transform:none;
}
.ticket-products .product-name { height:44px; line-height:22px; overflow:hidden; white-space:normal; }
.ticket-products .product-name a { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; white-space:normal; }
@media(min-width:1200px) {
  .section_sanphamthucte > .container,
  [class*="section_vatlieutrangtri"] > .container { width:1400px; max-width:95%; }
}
@media(max-width:991px) { .ticket-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; } }
@media(max-width:543px) { .ticket-products { gap:10px; } .ticket-products .product-name { font-size:13px; } }
.ticket-products { clear:both; width:100%; }
.ticket-products > .item_product_main { width:auto; float:none; }
.ticket-products .product-box { width:100%; }

/* Shared desktop width across home sections and all inner pages. */
@media(min-width:1200px) {
 body .container { width:1400px; max-width:95%; }
 body .container .container { width:100%; max-width:100%; }
}
.ticket-feature-layout { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:30px; margin:20px 0; align-items:stretch; }
.ticket-feature-small { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; align-content:start; }
.ticket-feature-layout .item_product_main { min-width:0; width:auto; float:none; }
.ticket-feature-layout .product-box { width:100%; margin-bottom:0; }
.ticket-feature-layout .product-name { height:44px; line-height:22px; overflow:hidden; white-space:normal; }
.ticket-feature-layout .product-name a { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; white-space:normal; }
body .ticket-feature-main .product-box .product-thumbnail .image_thumb { aspect-ratio: 4 / 3; }
.ticket-feature-main .product-info { padding:12px; }
.ticket-feature-small .product-info { padding:8px; }
.ticket-feature-small .product-box .product-action { display:none; }
@media(max-width:991px) { .ticket-feature-layout { grid-template-columns:1fr; gap:15px; } .ticket-feature-small { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:543px) { .ticket-feature-small { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } }
.ticket-feature-layout { clear:both; width:100%; float:none; }
.ticket-feature-main .product-thumbnail, .ticket-feature-small .product-thumbnail { width:100%; float:none; }
