/**
 * HyperDAF Core — Homepage Latest Items Styles
 * File: /wp-content/themes/hyperdaf-core/assets/css/home-latest-items.css
 *
 * Purpose:
 * - Styles the homepage Latest Items section.
 * - Uses a clean single-column layout (no sidebar).
 * - Keeps product grid compact and consistent with Best Selling section.
 * - Adjusts section title size for better visual balance.
 *
 * Related Files:
 * - /wp-content/themes/hyperdaf-core/inc/home/sections/latest-items.php
 * - /wp-content/themes/hyperdaf-core/template-parts/loops/product-card.php
 * - /wp-content/themes/hyperdaf-core/assets/css/home-best-selling.css
 */

/* section reset */
.hdaf-home-latest-items{padding:0}

/* inner wrapper */
.hdaf-home-latest-items__inner{
min-width:0;
}

/* section title (hero/title size fix) */
.hdaf-home-latest-items .hdaf-home-section__title{
font-size:22px;
line-height:1.3;
}

/* grid */
.hdaf-home-latest-items__grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:14px;
min-width:0;
}

/* responsive */
@media (max-width:1399px){
.hdaf-home-latest-items__grid{
gap:12px;
}
}

@media (max-width:1199px){
.hdaf-home-latest-items__grid{
grid-template-columns:repeat(3,minmax(0,1fr));
}
}

@media (max-width:991px){
.hdaf-home-latest-items__grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media (max-width:767px){
.hdaf-home-latest-items__grid{
grid-template-columns:1fr;
gap:14px;
}
}