/* SharkMedia global page shell and gutters. Loaded last. */
:root{--sm-shell-max:1240px;--sm-main-max:1280px;--sm-gutter:32px}

/* Product categories: use our own deterministic body class. */
body.sm-product-category main#content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:max(var(--sm-gutter),calc((100vw - var(--sm-shell-max))/2))!important;
  padding-right:max(var(--sm-gutter),calc((100vw - var(--sm-shell-max))/2))!important;
}
body.sm-product-category main#content>.woocommerce,
body.sm-product-category main#content .woocommerce{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.sm-product-category .woocommerce-breadcrumb,
body.sm-product-category .woocommerce-products-header,
body.sm-product-category .woocommerce ul.products{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.sm-product-category .woocommerce-result-count{margin-left:0!important}
body.sm-product-category .woocommerce-ordering{margin-right:0!important}

/* Other WooCommerce views keep the established shell. */
body.post-type-archive-product main#content,
body.single-product main#content,
body.woocommerce-cart main#content,
body.woocommerce-checkout main#content,
body.woocommerce-account main#content{
  width:min(var(--sm-main-max),calc(100% - (var(--sm-gutter) * 2)))!important;
  max-width:var(--sm-main-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}

.woocommerce-page main#content>.woocommerce,
.woocommerce main#content>.woocommerce,
body.woocommerce-page main#content .woocommerce,
body.single-product main#content .woocommerce{
  width:min(var(--sm-shell-max),100%)!important;
  max-width:var(--sm-shell-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.post-type-archive-product .woocommerce-breadcrumb,
body.single-product .woocommerce-breadcrumb,
body.woocommerce-cart .woocommerce-breadcrumb,
body.woocommerce-checkout .woocommerce-breadcrumb{
  width:min(var(--sm-shell-max),calc(100% - (var(--sm-gutter) * 2)))!important;
  max-width:var(--sm-shell-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.post-type-archive-product .woocommerce-products-header,
body.post-type-archive-product .woocommerce ul.products,
body.single-product div.product,
body.single-product .woocommerce-tabs,
body.single-product .related.products,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout form.checkout,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content{
  width:min(var(--sm-shell-max),calc(100% - (var(--sm-gutter) * 2)))!important;
  max-width:var(--sm-shell-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.post-type-archive-product .woocommerce-result-count{
  margin-left:max(var(--sm-gutter),calc((100% - var(--sm-shell-max))/2))!important;
}
body.post-type-archive-product .woocommerce-ordering{
  margin-right:max(var(--sm-gutter),calc((100% - var(--sm-shell-max))/2))!important;
}

.woocommerce-products-header{margin-top:8px!important;margin-bottom:42px!important}
.woocommerce ul.products{margin-bottom:56px!important}
.single-product div.product{padding-top:10px!important;padding-bottom:28px!important}
.single-product .woocommerce-tabs{margin-top:38px!important;margin-bottom:52px!important}
.single-product .related.products{margin-top:48px!important;margin-bottom:54px!important}
.single-product .woocommerce-product-gallery,.single-product div.product .summary{min-width:0!important}
.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals,.woocommerce-checkout form.checkout{margin-top:18px!important}

@media(min-width:1440px){:root{--sm-gutter:48px;--sm-main-max:1280px;--sm-shell-max:1240px}}
@media(max-width:1100px){:root{--sm-gutter:24px}}
@media(max-width:700px){
  :root{--sm-gutter:16px}
  body.sm-product-category main#content{padding-left:16px!important;padding-right:16px!important}
  body.post-type-archive-product main#content,
  body.single-product main#content,
  body.woocommerce-cart main#content,
  body.woocommerce-checkout main#content,
  body.woocommerce-account main#content{width:calc(100% - 32px)!important}
  .woocommerce-page main#content>.woocommerce,
  .woocommerce main#content>.woocommerce,
  body.woocommerce-page main#content .woocommerce,
  body.single-product main#content .woocommerce{width:100%!important}
  body.post-type-archive-product .woocommerce-products-header,
  body.post-type-archive-product .woocommerce ul.products,
  body.single-product div.product,
  body.single-product .woocommerce-tabs,
  body.single-product .related.products,
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-checkout form.checkout{
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.post-type-archive-product .woocommerce-result-count{margin-left:0!important}
  body.post-type-archive-product .woocommerce-ordering{margin-right:0!important}
  .woocommerce-products-header{margin-bottom:28px!important}
  .single-product div.product{padding-top:0!important}
  .single-product .woocommerce-tabs{margin-top:28px!important}
}
