/* ═══════════════════════════════════════════════════════════════
   Skin «بازار» — dense marketplace: big «all categories» mega menu,
   prominent filters, compact cards, many rows. Loaded only when active.
   ═══════════════════════════════════════════════════════════════ */

/* Header: light green topbar, wide search, green category button. */
.pfs-skin-bazar .pfs-topbar { background: var(--pf-primary-dark); }
.pfs-header--bazar .pfs-main { height: 72px; gap: 1.25rem; }
.pfs-header--bazar .pfs-search { flex: 1 1 auto; max-width: none; }
.pfs-header--bazar .pfs-search__box { height: 46px; border: 2px solid var(--pf-primary); border-radius: var(--pf-radius-sm); }
.pfs-header--bazar .pfs-search__submit { border-radius: 0; }
.pfs-header--bazar .pfs-nav { height: 48px; gap: .35rem; }
.pfs-header--bazar .pfs-nav__allcats { background: var(--pf-primary); border-radius: var(--pf-radius-sm); height: 38px; }
.pfs-header--bazar .pfs-megamenu { border-radius: 0 0 var(--pf-radius) var(--pf-radius); }
.pfs-header--bazar .pfs-megamenu__panel { border-top: 3px solid var(--pf-primary); }
.pfs-header--bazar .pfs-nav__deals { background: var(--pf-accent); box-shadow: none; color: #111; }
.pfs-header--bazar .pfs-nav__deals-tag { background: #111; color: #fff; }

/* Dense home: tighter sections, white panels per row. */
.pfs-skin-bazar .ph-section { padding-block: 16px; }
.pfs-skin-bazar .ph-section > .ph-container { background: var(--pf-surface); border-radius: var(--pf-radius); padding-block: 18px; }
.pfs-skin-bazar .ph-section-head { margin-bottom: 14px; }
.pfs-skin-bazar .ph-section-title { font-size: 1.1rem; }
.pfs-skin-bazar .ph-section-title::after { background: var(--pf-primary); }
.pfs-skin-bazar .ph-section-more { color: var(--pf-primary-ink); font-weight: 700; }
.pfs-skin-bazar .ph-cats__strip { gap: 10px; }
.pfs-skin-bazar .ph-cat__circle { width: 62px; height: 62px; border-radius: var(--pf-radius); }
.pfs-skin-bazar .ph-banners { padding-block: 8px; }
.pfs-skin-bazar .ph-banner { border-radius: var(--pf-radius) !important; min-height: 130px; }

/* Compact card: smaller padding & type, flat border, quick add button. */
.pfs-skin-bazar .pfs-card {
	border: 1px solid var(--pf-line) !important;
	border-radius: var(--pf-radius-sm) !important;
	box-shadow: none !important;
	background: var(--pf-surface);
}
.pfs-skin-bazar .pfs-card:hover { transform: none !important; border-color: var(--pf-primary) !important; box-shadow: 0 0 0 1px var(--pf-primary) !important; }
.pfs-skin-bazar .pfs-card__media { padding: .55rem .55rem 0; }
.pfs-skin-bazar .pfs-card__body { padding: .45rem .65rem .65rem; }
.pfs-skin-bazar .pfs-card__title { font-size: .8rem !important; line-height: 1.6; min-height: 3.2em; }
.pfs-skin-bazar .pfs-card__foot { background: transparent; border: 0; margin: 0; padding: 0; }
.pfs-skin-bazar .pfs-card__price { font-size: .95rem; }
.pfs-skin-bazar .pfs-card__add { width: 100%; min-height: 36px; font-size: .8rem; }
.pfs-skin-bazar .pfs-card__badge--off { background: var(--pf-danger) !important; }

/* Shop: 5–6 dense columns, prominent filter sidebar. */
.pfs-skin-bazar.pfs-shop ul.products:not(.pfs-products--list) { --pfs-cols: 5; gap: .6rem; }
@media (min-width: 1400px) { .pfs-skin-bazar.pfs-shop ul.products:not(.pfs-products--list) { --pfs-cols: 6; } }
@media (max-width: 1180px) { .pfs-skin-bazar.pfs-shop ul.products:not(.pfs-products--list) { --pfs-cols: 4; } }
@media (max-width: 860px)  { .pfs-skin-bazar.pfs-shop ul.products:not(.pfs-products--list) { --pfs-cols: 3; } }
@media (max-width: 560px)  { .pfs-skin-bazar.pfs-shop ul.products:not(.pfs-products--list) { --pfs-cols: 2; } }
.pfs-skin-bazar .nw-shop-layout__side, .pfs-skin-bazar .ct-sidebar {
	background: var(--pf-surface); border: 1px solid var(--pf-line); border-top: 4px solid var(--pf-primary);
	border-radius: var(--pf-radius); padding: .9rem;
}
.pfs-skin-bazar .pfs-shop-toolbar { background: var(--pf-surface) !important; border: 1px solid var(--pf-line); }

/* Footer: white with grey band, compact. */
.pfs-footer--bazar { background: var(--pf-surface); }
.pfs-footer--bazar .pfs-f-trust { background: var(--pf-surface-2); border-radius: var(--pf-radius); margin-top: 1.25rem; padding: 1.25rem; border: 0; }
.pfs-footer--bazar .pfs-f-col__links a { font-size: 13px; }

@media (max-width: 860px) {
	.pfs-header--bazar .pfs-main { height: auto; }
	.pfs-skin-bazar .ph-section > .ph-container { border-radius: 0; }
}

@media (min-width: 1200px) { .pfs-skin-bazar .ph-carousel__item { flex: 0 0 190px; } }
