/* Aljazeera B2B catalog v3.6.0 — archive-scoped layout, never cart/checkout or single product. */
:is(body.post-type-archive-product,body.tax-product_cat,body.tax-product_tag,body.tax-product_brand) {
  --aj-catalog-ink:#173e43;
  --aj-catalog-muted:#647b80;
}
:is(body.post-type-archive-product,body.tax-product_cat,body.tax-product_tag,body.tax-product_brand) .aj-shop-main .aj-woocommerce-wrap {
  padding:clamp(28px,3vw,48px) 0 76px;
  background:linear-gradient(180deg,#f4f8f8 0,#fff 48%);
}
:is(body.post-type-archive-product,body.tax-product_cat,body.tax-product_tag,body.tax-product_brand) .aj-shop-main .aj-woocommerce-wrap>.container {
  box-sizing:border-box!important;
  width:min(1320px,calc(100% - clamp(32px,6vw,96px)))!important;
  max-width:none!important;
  min-width:0!important;
  margin-inline:auto!important;
  padding:0!important;
}
/* Modern, compact intro is visible even on older installs where the big hero was switched off. */
.aj-shop-intro {position:relative;padding:clamp(26px,3vw,42px);margin:0 0 28px;border-radius:24px;background:linear-gradient(115deg,#084e55 0%,#0B6E75 80%);color:#fff;overflow:hidden;box-shadow:0 20px 50px rgba(10,76,83,.12)}
.aj-shop-intro:after {content:"";position:absolute;width:280px;height:280px;border:45px solid rgba(255,255,255,.055);border-radius:50%;left:-90px;top:-140px;pointer-events:none}
.aj-shop-intro__eyebrow {display:inline-flex;align-items:center;gap:8px;font-size:.83rem;font-weight:800;color:#caecec;margin-bottom:12px}
.aj-shop-intro__row {display:flex;align-items:center;justify-content:space-between;gap:28px;position:relative;z-index:1}
.aj-shop-intro h1 {margin:0 0 10px!important;color:#fff!important;font-size:clamp(1.7rem,3vw,2.6rem)!important;font-weight:800;line-height:1.35}
.aj-shop-intro p {margin:0;max-width:750px;font-size:1rem;color:#d4eeee;line-height:1.9}
.aj-shop-intro__row>a {flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;padding:13px 20px;border-radius:12px;background:var(--aj-accent,#D81B43);color:white!important;text-decoration:none;font-weight:800}
.aj-shop-main .aj-shop-hero {margin-block-end:28px!important}
.aj-shop-main .aj-shop-categories {display:flex;flex-wrap:wrap;overflow:visible;gap:10px;margin:0 0 21px;padding:0}
.aj-shop-main .aj-shop-cat {min-height:44px;border-radius:999px;box-shadow:none;padding-inline:16px}
.aj-shop-main .aj-shop-toolbar {border-radius:15px;margin:0 0 25px;padding:14px 20px;box-shadow:none;background:white}
.aj-shop-main .aj-shop-toolbar__meta {flex-wrap:wrap}
.aj-shop-main .aj-shop-layout {width:100%;min-width:0;align-items:start;gap:26px}
.aj-shop-main .aj-shop-layout--no-filters {display:block!important}
.aj-shop-main .aj-shop-layout--no-filters>.aj-shop-products {width:100%;min-width:0}
.aj-shop-main .aj-shop-layout--with-filters {display:grid;grid-template-columns:248px minmax(0,1fr)}
.aj-shop-main .aj-shop-layout--with-filters>.aj-shop-filters {grid-column:1;min-width:0}
.aj-shop-main .aj-shop-layout--with-filters>.aj-shop-products {grid-column:2;min-width:0}
.aj-shop-main .aj-shop-products ul.products {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch;list-style:none;margin:0!important;padding:0!important;clear:both;max-width:100%}
.aj-shop-main .aj-shop-products ul.products:before,.aj-shop-main .aj-shop-products ul.products:after {display:none!important}
.aj-shop-main .aj-shop-products ul.products>li.product {box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0;height:100%;margin:0!important;padding:0 0 17px!important;border:1px solid #e0e9eb;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 25px rgba(14,68,73,.045);background:#fff}
.aj-shop-main .aj-shop-products ul.products>li.product:hover {transform:translateY(-3px);box-shadow:0 16px 32px rgba(14,68,73,.09)}
.aj-shop-main .aj-shop-products ul.products>li.product a img {display:block;width:100%!important;aspect-ratio:4/3!important;height:auto!important;object-fit:cover;object-position:center;margin:0!important;background:#eff4f5}
.aj-shop-main .aj-shop-product-category {display:table;max-width:calc(100% - 36px);margin:15px 18px 0;padding:5px 10px;border-radius:7px;background:#eaf4f4;color:#0B6E75;font-size:.74rem;font-weight:800;line-height:1.4}
.aj-shop-main .aj-shop-products .woocommerce-loop-product__title {min-height:0!important;padding:12px 18px 7px!important;font-size:1.09rem!important;font-weight:800!important;line-height:1.55;color:var(--aj-catalog-ink)!important}
.aj-shop-main .aj-shop-products ul.products>li.product .price {display:block;margin:0 0 14px!important;padding:0 18px!important;color:var(--aj-primary,#0B6E75);font-size:1.05rem!important;font-weight:800}
.aj-shop-main .aj-shop-products ul.products>li.product .price del {font-size:.78rem;opacity:.65}
.aj-shop-main .aj-shop-products ul.products>li.product .price ins {color:var(--aj-accent,#D81B43)}
.aj-shop-main .aj-shop-products .aj-card-features {margin:0;padding:0 18px 12px}
.aj-shop-main .aj-shop-products .aj-card-actions {margin-top:auto;padding:0 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.aj-shop-main .aj-shop-products .aj-card-actions>a {box-sizing:border-box;min-width:0;min-height:44px!important;border-radius:10px!important;padding:10px!important;white-space:normal!important;font-size:.84rem!important}
.aj-shop-main .aj-shop-products .woocommerce-pagination {margin:34px auto 0!important;float:none;clear:both}
.aj-shop-main .aj-shop-products .woocommerce-pagination ul {display:flex!important;flex-wrap:wrap;justify-content:center;gap:7px;border:0!important;padding:0!important}
.aj-shop-main .aj-shop-products .woocommerce-pagination ul li {border:0!important;float:none!important}
.aj-shop-main .aj-shop-products .woocommerce-pagination a,.aj-shop-main .aj-shop-products .woocommerce-pagination span {display:grid!important;place-items:center;min-width:40px;height:40px;border:1px solid #e0e9eb;border-radius:9px;background:#fff;color:#31575c;padding:0 10px!important}
.aj-shop-main .aj-shop-products .woocommerce-pagination span.current {background:var(--aj-primary,#0B6E75);color:#fff;border-color:var(--aj-primary,#0B6E75)}
.aj-shop-main .aj-shop-b2b {margin-top:40px}
@media (min-width:768px) and (max-width:1199px) {
 .aj-shop-main .aj-shop-layout--with-filters {grid-template-columns:210px minmax(0,1fr)}
 .aj-shop-main .aj-shop-products ul.products {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
}
@media (max-width:767px) {
 .aj-shop-main .aj-woocommerce-wrap>.container {width:calc(100% - 32px)!important}
 .aj-shop-intro {padding:25px 20px;margin-bottom:23px}
 .aj-shop-intro__row {display:block}
 .aj-shop-intro__row>a {margin-top:17px;justify-content:center}
 .aj-shop-main .aj-shop-categories {flex-wrap:nowrap;overflow-x:auto;padding-bottom:10px}
 .aj-shop-main .aj-shop-toolbar {padding:13px;margin-bottom:18px}
 .aj-shop-main .aj-shop-layout--with-filters {display:block!important}
 .aj-shop-main .aj-shop-products ul.products {grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 .aj-shop-main .aj-shop-products ul.products>li.product a img {aspect-ratio:4/3!important}
 .aj-shop-main .aj-shop-products .aj-card-actions {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:380px){.aj-shop-main .aj-shop-products .aj-card-actions{grid-template-columns:1fr}}

/* WooCommerce renders pagination after the after_shop_loop hook closes the products wrapper. */
.aj-shop-main .woocommerce-pagination {margin:35px auto 0!important;clear:both;float:none!important;text-align:center}
.aj-shop-main .woocommerce-pagination ul {display:flex!important;flex-wrap:wrap;justify-content:center;gap:7px;border:0!important;padding:0!important}
.aj-shop-main .woocommerce-pagination ul li {float:none!important;border:0!important}
.aj-shop-main .woocommerce-pagination a,.aj-shop-main .woocommerce-pagination span {display:grid!important;place-items:center;min-width:40px;height:40px;padding:0 10px!important;border:1px solid #e0e9eb;border-radius:9px;background:#fff;color:#31575c}
.aj-shop-main .woocommerce-pagination span.current {background:var(--aj-primary,#0B6E75);border-color:var(--aj-primary,#0B6E75);color:#fff}
