/* Atelier V27: SIX genuine compact cards per desktop row, two rows for 12 entries.
   This asset is loaded after all older theme CSS. It never buffers or rewrites HTML. */
@media (min-width: 1280px) {
 .atelier-home-v2 #new-arrivals .atelier-home-product-grid,
 .atelier-home-v2 #best-sellers .atelier-home-product-grid,
 .atelier-home-v2 #top-categories .atelier-home-category-grid {
   display: grid !important;
   grid-template-columns: repeat(6,minmax(0,1fr)) !important;
   gap: 16px !important;
 }
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid,
.atelier-home-v2 #best-sellers .atelier-home-product-grid,
.atelier-home-v2 #top-categories .atelier-home-category-grid {
  width:100% !important; max-width:100% !important; min-width:0 !important;
  align-items:stretch !important; justify-items:stretch !important;
  margin:0 !important; padding:0 !important; list-style:none;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid > .atelier-product,
.atelier-home-v2 #best-sellers .atelier-home-product-grid > .atelier-product,
.atelier-home-v2 #top-categories .atelier-home-category-grid > .atelier-top-cat {
  grid-row:auto !important; grid-column:auto !important; grid-area:auto !important;
  width:100% !important; max-width:100% !important; min-width:0 !important;
  margin:0 !important; float:none !important; transform:none;
  box-sizing:border-box;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid > .atelier-product,
.atelier-home-v2 #best-sellers .atelier-home-product-grid > .atelier-product {
  display:flex !important; flex-direction:column !important; height:auto !important;
  border:1px solid #e7e8df; border-radius:9px; overflow:hidden;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid > .atelier-product > a:first-of-type,
.atelier-home-v2 #best-sellers .atelier-home-product-grid > .atelier-product > a:first-of-type {
  display:block !important; flex:0 0 auto !important; width:100% !important;
  aspect-ratio:1 / 1 !important; min-height:0 !important; overflow:hidden;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid > .atelier-product > a:first-of-type img,
.atelier-home-v2 #best-sellers .atelier-home-product-grid > .atelier-product > a:first-of-type img {
  width:100% !important; height:100% !important; max-width:100% !important;
  object-fit:cover !important; display:block !important;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid .atelier-product-info,
.atelier-home-v2 #best-sellers .atelier-home-product-grid .atelier-product-info {
  padding:12px !important; flex:1 1 auto; display:flex; flex-direction:column;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid .atelier-product-info h3,
.atelier-home-v2 #best-sellers .atelier-home-product-grid .atelier-product-info h3 {
  font-size:13px !important; line-height:1.35 !important; margin:7px 0 !important;
  overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2;
  -webkit-box-orient:vertical; overflow:hidden; min-height:2.7em;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid .atelier-price,
.atelier-home-v2 #best-sellers .atelier-home-product-grid .atelier-price {
  font-size:13px !important; margin-top:auto; padding-top:8px; line-height:1.5;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid .ac12-card-actions,
.atelier-home-v2 #best-sellers .atelier-home-product-grid .ac12-card-actions {
  display:flex; flex-wrap:wrap; gap:5px; min-width:0;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid .ac12-primary,
.atelier-home-v2 #best-sellers .atelier-home-product-grid .ac12-primary {
  min-width:0 !important; flex:1 1 auto; text-align:center; white-space:normal;
  font-size:11px !important; padding:9px 6px !important;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid .atelier-card-gallery,
.atelier-home-v2 #best-sellers .atelier-home-product-grid .atelier-card-gallery {
  max-width:100%; width:100%; overflow-x:auto; margin:8px 0;
}
.atelier-home-v2 #new-arrivals .atelier-home-product-grid .atelier-card-photo-button,
.atelier-home-v2 #best-sellers .atelier-home-product-grid .atelier-card-photo-button {
  width:30px; height:30px; flex:0 0 30px;
}
.atelier-home-v2 #top-categories .atelier-home-category-grid > .atelier-top-cat {
  min-height:255px !important; border-radius:8px !important;
}
.atelier-home-v2 #top-categories .atelier-home-category-grid > .atelier-top-cat strong {
  font-size:18px !important; line-height:1.2 !important;
}
@media (min-width:980px) and (max-width:1279px){
 .atelier-home-v2 #new-arrivals .atelier-home-product-grid,
 .atelier-home-v2 #best-sellers .atelier-home-product-grid,
 .atelier-home-v2 #top-categories .atelier-home-category-grid {
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:15px !important;
 }
}
@media (min-width:681px) and (max-width:979px){
 .atelier-home-v2 #new-arrivals .atelier-home-product-grid,
 .atelier-home-v2 #best-sellers .atelier-home-product-grid,
 .atelier-home-v2 #top-categories .atelier-home-category-grid {
  display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:13px !important;
 }
}
@media (min-width:361px) and (max-width:680px){
 .atelier-home-v2 #new-arrivals .atelier-home-product-grid,
 .atelier-home-v2 #best-sellers .atelier-home-product-grid,
 .atelier-home-v2 #top-categories .atelier-home-category-grid {
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:11px !important;
 }
}
@media (max-width:360px){
 .atelier-home-v2 #new-arrivals .atelier-home-product-grid,
 .atelier-home-v2 #best-sellers .atelier-home-product-grid,
 .atelier-home-v2 #top-categories .atelier-home-category-grid {
  display:grid !important; grid-template-columns:minmax(0,1fr) !important;gap:12px !important;
 }
}
