/* SHAHAZ.COM — Cosmetics Main Landing Page
 * Reference-matched mobile marketplace archive.
 * Isolated from the Cosmetics Single Product experience.
 */
body.page-template-shahaz-cosmetics-main #shahaz-header,
body.page-template-shahaz-cosmetics-main #shahaz-footer,
body.page-template-shahaz-cosmetics-main .shahaz-footer,
body.page-template-shahaz-cosmetics-main #shahaz-cnav,
body.page-template-shahaz-cosmetics-main .shahaz-capsule-nav{display:none!important}
body.page-template-shahaz-cosmetics-main{background:#f5f5f5;color:#24242a;overflow-x:hidden}
body.page-template-shahaz-cosmetics-main #page,
body.page-template-shahaz-cosmetics-main .site,
body.page-template-shahaz-cosmetics-main .site-content,
body.page-template-shahaz-cosmetics-main .ast-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
#shz-cosmetics-main{--pink:#f9007f;--hot-red:#ff1a0a;--ink:#24242a;background:#f5f5f5;min-height:100vh;padding-bottom:20px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#shz-cosmetics-main *{box-sizing:border-box}
#shz-cosmetics-main a{color:inherit;text-decoration:none}
#shz-cosmetics-main button,#shz-cosmetics-main input{font:inherit}


/* -------------------------------------------------------------------------
 * SORT + ANNOUNCEMENT — dense, square marketplace strips.
 * Five compact items fit on a typical phone; item six+ is horizontal scroll.
 * No rounded cards and only a 1px separation between adjacent items.
 * ---------------------------------------------------------------------- */
.shz-cosmetics-sortbar{display:flex;gap:0;background:#fff;border-bottom:1px solid #dedede;overflow-x:auto;scrollbar-width:none}
.shz-cosmetics-sortbar::-webkit-scrollbar{display:none}
.shz-cosmetics-sort-item{flex:1 0 20%;min-width:20%;padding:13px 7px 11px;text-align:center;font-size:13px;color:#55555c;white-space:nowrap;border-bottom:3px solid transparent}
.shz-cosmetics-sort-item.is-active{color:#e94d2e;border-bottom-color:#f04a31;font-weight:700}
.shz-cosmetics-announcement{background:#fff;border-bottom:1px solid #e4e4e4;overflow:hidden}
.shz-cosmetics-announcement-track{display:flex;gap:1px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;min-height:52px;background:#e1e1e1}
.shz-cosmetics-announcement-track::-webkit-scrollbar{display:none}
.shz-cosmetics-announcement-item{flex:0 0 20%;min-width:20%;height:52px;display:flex;justify-content:center;align-items:center;text-align:center;padding:4px 6px;background:#fff;border:0;border-radius:0;scroll-snap-align:start;line-height:1.05}
.shz-cosmetics-announcement-item strong{font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.shz-cosmetics-announcement-item.is-active{background:#fff4f7;color:#e90079;box-shadow:inset 0 -3px 0 #f9007f}

/* -------------------------------------------------------------------------
 * PRODUCT FEED — equal-width independent columns.
 * Every product gets the same square media frame. Image aspect ratio cannot
 * alter column width, card width or neighbouring column width.
 * ---------------------------------------------------------------------- */
.shz-cosmetics-product-feed{width:100%;background:#f5f5f5}
.shz-cosmetics-feed-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fff;padding:8px 10px;border-bottom:1px solid #e7e7e7}
.shz-cosmetics-feed-meta>div{min-width:0;display:flex;align-items:baseline;gap:7px}
.shz-cosmetics-feed-meta strong{font-size:15px;white-space:nowrap}
.shz-cosmetics-feed-meta span{font-size:10px;color:#888;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shz-cosmetics-feed-meta>a{flex:0 0 auto;color:#e9007f;font-size:11px;font-weight:800}
.shz-cosmetics-products-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#dedede;align-items:start}
.shz-cosmetics-product-column{min-width:0;display:flex;flex-direction:column;gap:1px}
.shz-cosmetics-market-card{width:100%;min-width:0;background:#fff;overflow:hidden;border-radius:8px}
.shz-cosmetics-market-image{position:relative;display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:#f8eaf0;border-radius:8px 8px 0 0}
.shz-cosmetics-market-image img{position:absolute;inset:0;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;display:block;object-fit:cover!important;object-position:center}
.shz-cosmetics-market-ship{position:absolute;left:0;bottom:0;z-index:3;background:#08bfa8;color:#fff;font-size:10px;font-weight:900;padding:6px 8px;line-height:1;white-space:nowrap}
.shz-cosmetics-market-tag{position:absolute;left:6px;top:7px;z-index:3;background:#ff5b39;color:#fff;padding:4px 6px;font-size:9px;line-height:1;border-radius:2px;text-transform:uppercase;white-space:nowrap}
.shz-cosmetics-market-copy{padding:8px 9px 10px;min-width:0}
.shz-cosmetics-market-copy h2{margin:0 0 4px;font-size:14px;font-weight:500;line-height:1.28;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shz-cosmetics-market-copy h2 a{display:block}
.shz-cosmetics-market-price{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;min-height:25px}
.shz-cosmetics-market-price strong{font-size:18px;line-height:1;color:#ef543d;font-weight:800;white-space:nowrap}
.shz-cosmetics-market-price strong .woocommerce-Price-currencySymbol{font-size:.78em}
.shz-cosmetics-market-price del{font-size:11px;color:#a8a8ad;white-space:nowrap}
.shz-cosmetics-market-price em{font-size:10px;color:#e55d45;background:#fff0ec;padding:3px 4px;font-style:normal;white-space:nowrap}
.shz-cosmetics-market-proof{display:flex;align-items:center;gap:7px;margin-top:7px;font-size:10px;line-height:1.2;min-width:0}
.shz-cosmetics-market-proof span{border:1px solid #f1d36d;background:#fffdf0;color:#6d6754;padding:4px 5px;white-space:nowrap}
.shz-cosmetics-market-proof b{font-weight:500;color:#4f4f55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shz-cosmetics-market-location{margin-top:7px;font-size:10px;color:#7b7b81;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shz-cosmetics-market-location span{font-size:11px}

/* Floating utility controls remain small and do not cover product content. */
.shz-cosmetics-main-top{position:fixed;right:14px;bottom:18px;z-index:90;width:42px;height:42px;border:0;border-radius:50%;background:linear-gradient(145deg,#ff4c24,#ec087f);color:#fff;font-size:23px;font-weight:800;box-shadow:0 8px 22px rgba(225,0,105,.25);cursor:pointer;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s ease}
.shz-cosmetics-main-top.is-visible{opacity:1;pointer-events:auto;transform:none}
.shz-cosmetics-main-menu{position:fixed;right:12px;top:74px;z-index:130;display:grid;gap:4px;min-width:190px;background:#fff;border:1px solid #f0c9dd;box-shadow:0 15px 35px rgba(60,0,30,.18);padding:7px;border-radius:12px;opacity:0;pointer-events:none;transform:translateY(-6px);transition:.16s ease}
.shz-cosmetics-main-menu.is-open{opacity:1;pointer-events:auto;transform:none}
.shz-cosmetics-main-menu a{padding:10px 12px;border-radius:8px;font-size:13px;font-weight:700}
.shz-cosmetics-main-menu a:hover{background:#fff0f6;color:#e90079}
.shz-cosmetics-main-empty,.shz-cosmetics-no-products{padding:40px 20px;text-align:center;background:#fff;color:#777}

@media (min-width:700px){
	.shz-cosmetics-announcement-item{flex-basis:12.5%;min-width:12.5%}
	.shz-cosmetics-products-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
	.shz-cosmetics-market-copy h2{font-size:16px}
}
@media (min-width:1100px){
	.shz-cosmetics-products-columns{grid-template-columns:repeat(4,minmax(0,1fr))}
	#shz-cosmetics-main{max-width:1180px;margin:0 auto}
}
@media (max-width:520px){
	.shz-cosmetics-main-topbar{min-height:58px;height:58px;grid-template-columns:36px minmax(0,1fr) repeat(3,36px);gap:5px;padding:7px 8px}
	.shz-cosmetics-main-back,.shz-cosmetics-main-icon{width:36px;height:36px;border-radius:10px}
	.shz-cosmetics-main-icon svg,.shz-cosmetics-main-back svg{width:19px;height:19px}
	.shz-cosmetics-sort-item{font-size:12px;padding-top:12px;padding-bottom:10px}
	.shz-cosmetics-announcement-item{flex-basis:20%;min-width:20%;height:52px}
	.shz-cosmetics-feed-meta{padding:7px 9px}
	.shz-cosmetics-market-copy{padding:7px 8px 9px}
	.shz-cosmetics-market-copy h2{font-size:14px;min-height:36px}
	.shz-cosmetics-market-price strong{font-size:17px}
}



