/* Homepage white-card layout (staging). Scoped to .home-cards wrapper; loaded only on home. */
body:has(.home-cards){background:#F5F6F8 !important;}
.home-cards{background:#F5F6F8;padding:16px 0 4px;}
.home-cards .bg-transparent{background:transparent !important;}
/* card = each top-level container block */
.home-cards > .container,
.home-cards > section.container,
.home-cards > section:not(.container) > .container{
  background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.06);
  padding:20px !important;margin-top:0 !important;margin-bottom:16px !important;
}
.home-cards > section:not(.container){padding:0 !important;margin:0 !important;background:transparent !important;}
/* new arrivals: header + carousel form one card */
.home-cards > .new-arrival-section > .container:first-child{border-radius:12px 12px 0 0;margin-bottom:0 !important;padding-bottom:4px !important;box-shadow:0 -1px 3px rgba(0,0,0,.04);}
.home-cards > .new-arrival-section > .container:nth-child(2){border-radius:0 0 12px 12px;padding-top:4px !important;}
.home-cards > .new-arrival-section > .container:nth-child(2) .py-2{padding:0 !important;}
/* remove inner card wrappers to avoid double cards */
.home-cards .__shadow-2{box-shadow:none !important;background:transparent !important;}
.home-cards .__shadow-2 > .__p-20px{padding:0 !important;box-shadow:none !important;}
.home-cards .__inline-62,.home-cards .section-card-margin{background:transparent !important;box-shadow:none !important;margin:0 !important;}
.home-cards .seller-card > .card,.home-cards .__shadow{box-shadow:none !important;border:0 !important;}
.home-cards .seller-card > .card > .card-body{padding:0 !important;}
.home-cards .__featured-deal-wrap{border-radius:10px;}
/* product cards stay white with subtle border */
.home-cards .product-single-hover,.home-cards .flash_deal_product,.home-cards .__f-23,
.home-cards .product-card,.home-cards .new_arrival_product .product-single-hover{
  background:#fff;border:1px solid #EEF0F3;border-radius:10px;box-shadow:none;
}
.home-cards .row > [class*="col"] > .card{box-shadow:none !important;border:1px solid #EEF0F3 !important;border-radius:10px;}
@media (max-width:767.98px){
  .home-cards{padding-top:8px;}
  .home-cards > .container,.home-cards > section.container,.home-cards > section:not(.container) > .container{
    border-radius:8px;padding:12px !important;margin-bottom:12px !important;width:calc(100% - 16px);margin-left:8px !important;margin-right:8px !important;
  }
  .home-cards > .new-arrival-section > .container:first-child{border-radius:8px 8px 0 0;margin-bottom:0 !important;}
  .home-cards > .new-arrival-section > .container:nth-child(2){border-radius:0 0 8px 8px;}
}
/* hide empty banner rows (no content) */
.home-cards > .container:has(> .row:only-child):not(:has(.row > *)){display:none !important;}
