/* NYR alignment layer (1.0.42)
   Header/footer/WooCommerce pages share ONE content box, taken from the header (.nyrh-in):
   max 1312px content, gutter 64px (>1280) / 32px (1025–1280) / 16px (≤1024). */
:root{--nyr-max:1312px;--nyr-gut:64px}
@media (max-width:1280px){:root{--nyr-gut:32px}}
@media (max-width:1024px){:root{--nyr-gut:16px}}

/* ---------- Footer (template 324621) ---------- */
.elementor-element.elementor-element-7adbefb,
.elementor-element.elementor-element-6e76a6c{padding-left:var(--nyr-gut)!important;padding-right:var(--nyr-gut)!important}
.elementor-element.elementor-element-7adbefb>.e-con-inner,
.elementor-element.elementor-element-6e76a6c>.e-con-inner{max-width:var(--nyr-max)!important;width:100%}

/* ---------- Shop / product archives / single product (theme main wrapper) ---------- */
body.woocommerce main#main.site-main,
body.woocommerce-page main#main.site-main,
body.single-product main#main.site-main{max-width:calc(var(--nyr-max) + 2*var(--nyr-gut))!important;width:100%!important;padding-left:var(--nyr-gut)!important;padding-right:var(--nyr-gut)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
body .nyrush-catalog-container{max-width:none!important;padding-left:0!important;padding-right:0!important}
body.single-product main#main div.product{max-width:none!important;padding-left:0!important;padding-right:0!important}

/* ---------- Category landing (archive template 318516 → [nyrush landing]) ---------- */
.elementor-element.elementor-element-7557052>.e-con-inner{max-width:100%!important}
body.tax-product_cat .nyrush-landing>section,.nyrush-landing>section{width:auto!important;max-width:none!important;left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important;padding-left:var(--nyr-gut)!important;padding-right:var(--nyr-gut)!important;box-sizing:border-box}
.nyrush-landing .nyrush-hero__inner{max-width:var(--nyr-max)!important;padding-left:0!important;padding-right:0!important}
body .nyrush-landing ul.products.nyrush-bestseller-grid{max-width:var(--nyr-max)!important;width:100%!important}
.nyrush-landing .nyrush-styles__grid,
.nyrush-landing .nyrush-mergeA__inner,
.nyrush-landing .nyrush-ordering__grid,
.nyrush-landing .nyrush-mergeB__inner{max-width:var(--nyr-max)!important}
@media (min-width:768px){
  .tax-product_cat .nyrush-landing .nyrush-mergeB__inner{grid-template-columns:minmax(0,2fr) minmax(0,3fr)!important}
}
/* embedded Elementor templates (brands 319015, trusted 182864) */
.nyrush-landing .elementor-element.elementor-element-5ab8189c,
.nyrush-landing .elementor-element.elementor-element-477ba055{width:auto!important;max-width:none!important;left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important;padding-left:var(--nyr-gut)!important;padding-right:var(--nyr-gut)!important}
body.tax-product_cat .nyrush-landing>section.nyrush-brands,body.tax-product_cat .nyrush-landing>section.nyrush-trusted{padding-left:0!important;padding-right:0!important}
.nyrush-landing .elementor-element.elementor-element-5ab8189c>.e-con-inner,
.nyrush-landing .elementor-element.elementor-element-477ba055>.e-con-inner{max-width:var(--nyr-max)!important;width:100%}

/* ---------- Single product: inner blocks follow the shared box ---------- */
body.single-product .woocommerce-breadcrumb,
body.single-product div.product>.related.products,
body.single-product div.product>section.up-sells,
body.single-product .nyrush-bottom-specs-section{max-width:none!important}
@media (min-width:901px){
  /* 1.0.49: 50/50 columns; the 400px gallery sits centred in the left column */
  body.single-product.woocommerce div.product,
  body.single-product .woocommerce div.product{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  body.single-product div.product>.woocommerce-product-gallery,
  body.single-product div.product>div.images{justify-self:center!important}
}
@media (max-width:900px){
  body.single-product.woocommerce div.product,
  body.single-product .woocommerce div.product{grid-template-columns:minmax(0,1fr)!important}
  body.single-product div.product>*{min-width:0;max-width:100%!important}
}

/* ---------- 1.0.56: Elementor pages — section content lines up with the header/footer (DESKTOP ONLY) ----------
   Tablet/mobile (<=1024px) are unchanged. Full-width sections (e-con-full) are left alone.
   Category/brand landing pages (.nyr-landing-page) and WooCommerce pages already have their own rules. */
@media (min-width:1025px){
body.page:not(.nyr-landing-page):not(.woocommerce-page) .elementor[data-elementor-type="wp-page"] > .e-con.e-con-boxed{padding-left:var(--nyr-gut)!important;padding-right:var(--nyr-gut)!important}
body.page:not(.nyr-landing-page):not(.woocommerce-page) .elementor[data-elementor-type="wp-page"] > .e-con.e-con-boxed > .e-con-inner{max-width:var(--nyr-max)!important;width:100%!important}
body.page:not(.nyr-landing-page):not(.woocommerce-page) .elementor[data-elementor-type="wp-page"] > .elementor-section.elementor-section-boxed{padding-left:var(--nyr-gut)!important;padding-right:var(--nyr-gut)!important}
body.page:not(.nyr-landing-page):not(.woocommerce-page) .elementor[data-elementor-type="wp-page"] > .elementor-section.elementor-section-boxed > .elementor-container{max-width:var(--nyr-max)!important}

/* brands logo template (319015) inside pages: grid uses the full row */
body.page:not(.nyr-landing-page) .elementor[data-elementor-type="wp-page"] .elementor-element-5ab8189c,
body.page:not(.nyr-landing-page) .elementor[data-elementor-type="wp-page"] .elementor-element-620ac698{padding-left:0!important;padding-right:0!important}
body.page:not(.nyr-landing-page) .elementor[data-elementor-type="wp-page"] .elementor-element-5ab8189c > .e-con-inner,
body.page:not(.nyr-landing-page) .elementor[data-elementor-type="wp-page"] .elementor-element-620ac698 > .e-con-inner{max-width:100%!important;width:100%!important}
body.page:not(.nyr-landing-page) .elementor[data-elementor-type="wp-page"] .elementor-element-95876c8{width:100%!important;max-width:100%!important;--container-widget-width:100%!important}
body.page:not(.nyr-landing-page) .elementor[data-elementor-type="wp-page"] .elementor-element-95876c8 .nyrush-brands-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}

/* Homepage (3644) */
.elementor-3644 .elementor-element-4b2f360{justify-content:flex-end!important}
.elementor-3644 .elementor-element-c3f08ae > .e-con-inner > .e-con{--width:calc((100% - 40px) / 3)!important;width:calc((100% - 40px) / 3)!important;max-width:none!important}
.elementor-3644 .elementor-element-c3f08ae > .e-con-inner > .e-con .elementor-widget-image img{width:100%!important;height:auto!important}
.elementor-3644 .elementor-element-2c2c5c0 > .e-con-inner > .e-con{--width:calc((100% - 48px) / 4)!important;width:calc((100% - 48px) / 4)!important;max-width:none!important}

/* card rows: cards fill the row (same gaps as before) */
/* 3 across, 16px gap — Rush Apparel Printing (2118) + Rush Apparel Header (3870) */
.elementor-2118 .elementor-element-77f0f52,.elementor-2118 .elementor-element-e3ee1b5,.elementor-2118 .elementor-element-d2e6e41,
.elementor-3870 .elementor-element-50707f8,.elementor-3870 .elementor-element-9239df6,.elementor-3870 .elementor-element-a886853{--width:calc((100% - 32px) / 3)!important;width:calc((100% - 32px) / 3)!important;max-width:none!important;flex-basis:auto!important}
/* 4 across, 16px gap — DTG (3225) + DTF (2120) steps/features */
.elementor-3225 .elementor-element-fc7e89d,.elementor-3225 .elementor-element-aee805b,.elementor-3225 .elementor-element-fedd920,.elementor-3225 .elementor-element-fe97808,
.elementor-2120 .elementor-element-8897181,.elementor-2120 .elementor-element-5160c5f,.elementor-2120 .elementor-element-7b6f824,.elementor-2120 .elementor-element-85d7fe7,
.elementor-2120 .elementor-element-b3f880b,.elementor-2120 .elementor-element-fbe77b1,.elementor-2120 .elementor-element-7fe822c,.elementor-2120 .elementor-element-b3d23c7{--width:calc((100% - 48px) / 4)!important;width:calc((100% - 48px) / 4)!important;max-width:none!important;flex-basis:auto!important}
/* 5 across, 16px gap — Tradeshow process (3696) */
.elementor-3696 .elementor-element-98a724f,.elementor-3696 .elementor-element-797dab3,.elementor-3696 .elementor-element-6ab2fa7,.elementor-3696 .elementor-element-9c6869f,.elementor-3696 .elementor-element-6fdd605{--width:calc((100% - 64px) / 5)!important;width:calc((100% - 64px) / 5)!important;max-width:none!important;flex-basis:auto!important}
/* 3 across, 24px gap — Corporate Events (2948) */
.elementor-2948 .elementor-element-f637294 > .e-con-inner > .e-con:not(.elementor-element-ef033aa):not(.elementor-element-4d443dd){--width:calc((100% - 48px) / 3)!important;width:calc((100% - 48px) / 3)!important;max-width:none!important;flex-basis:auto!important}
/* 3 across, 10px gap — Bulk Apparel (2126) */
.elementor-2126 .elementor-element-a2c94b6 > .e-con-inner > .e-con:not(.elementor-element-494ee72){--width:calc((100% - 20px) / 3)!important;width:calc((100% - 20px) / 3)!important;max-width:none!important;flex-basis:auto!important}
}
