/*
RAD Woo Shop Designer - Lite
Only CSS. No filters. No WooCommerce query changes.
Author credit: Amir hejazi
*/

:root{
  --rad-shop-red:#e11220;
  --rad-shop-red-2:#ff2435;
  --rad-shop-bg:#050505;
  --rad-shop-bg-2:#09090b;
  --rad-shop-card:rgba(255,255,255,.055);
  --rad-shop-card-hover:rgba(255,255,255,.092);
  --rad-shop-line:rgba(255,255,255,.13);
  --rad-shop-muted:rgba(255,255,255,.62);
  --rad-shop-soft:rgba(255,255,255,.08);
  --rad-shop-radius:28px;
  --rad-shop-font:inherit;
}

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.tax-product_brand{
  background:
    radial-gradient(circle at 50% 0%,rgba(225,18,32,.14),transparent 34%),
    radial-gradient(circle at 0% 100%,rgba(225,18,32,.07),transparent 30%),
    linear-gradient(180deg,#050505 0%,#09090b 46%,#050505 100%) !important;
  color:#fff;
}

body.woocommerce-shop #page,
body.post-type-archive-product #page,
body.tax-product_cat #page,
body.tax-product_tag #page,
body.tax-product_brand #page,
body.woocommerce-shop .site-content,
body.post-type-archive-product .site-content,
body.tax-product_cat .site-content,
body.tax-product_tag .site-content,
body.tax-product_brand .site-content{
  background:transparent !important;
}

body.woocommerce-shop .ast-container,
body.post-type-archive-product .ast-container,
body.tax-product_cat .ast-container,
body.tax-product_tag .ast-container,
body.tax-product_brand .ast-container{
  width:min(100%,1320px) !important;
  max-width:1320px !important;
  margin-inline:auto !important;
  padding-inline:clamp(14px,3vw,48px) !important;
}

body.woocommerce-shop #primary,
body.post-type-archive-product #primary,
body.tax-product_cat #primary,
body.tax-product_tag #primary,
body.tax-product_brand #primary{
  margin:0 !important;
  padding-block:clamp(28px,4vw,62px) !important;
}

/* Hide old filter UI if the previous version was cached somewhere */
.rad-shop-filter,
.rad-filter-shell,
.rad-filter-panel,
.rad-woo-filter,
.rad-shop-designer-filter,
.rwsd-filter,
.rwsd-filter-wrap,
.rwsd-filter-panel,
.rwsd-shop-filter{
  display:none !important;
}

/* Header / title */
body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header,
body.tax-product_brand .woocommerce-products-header{
  margin:0 0 clamp(22px,3vw,38px) !important;
  padding:0 0 clamp(20px,2.5vw,32px) !important;
  border-bottom:1px solid rgba(255,255,255,.18);
  text-align:right !important;
}

body.woocommerce-shop h1,
body.post-type-archive-product h1,
body.tax-product_cat h1,
body.tax-product_tag h1,
body.tax-product_brand h1,
body.woocommerce-shop .page-title,
body.post-type-archive-product .page-title,
body.tax-product_cat .page-title,
body.tax-product_tag .page-title,
body.tax-product_brand .page-title,
body.woocommerce-shop .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title,
body.tax-product_brand .woocommerce-products-header__title,
body.woocommerce-shop .entry-title,
body.post-type-archive-product .entry-title,
body.tax-product_cat .entry-title,
body.tax-product_tag .entry-title,
body.tax-product_brand .entry-title{
  color:#fff !important;
  text-align:right !important;
  font-size:clamp(38px,5vw,74px) !important;
  line-height:1.08 !important;
  font-weight:950 !important;
  letter-spacing:-.055em !important;
  margin:0 0 10px !important;
}

body.woocommerce-shop .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_tag .woocommerce-breadcrumb,
body.tax-product_brand .woocommerce-breadcrumb,
body.woocommerce-shop .ast-breadcrumbs,
body.post-type-archive-product .ast-breadcrumbs,
body.tax-product_cat .ast-breadcrumbs,
body.tax-product_tag .ast-breadcrumbs,
body.tax-product_brand .ast-breadcrumbs{
  color:rgba(255,255,255,.52) !important;
  text-align:right !important;
  margin:0 !important;
  font-size:13px !important;
  line-height:1.8 !important;
}

body.woocommerce-shop .woocommerce-breadcrumb a,
body.post-type-archive-product .woocommerce-breadcrumb a,
body.tax-product_cat .woocommerce-breadcrumb a,
body.tax-product_tag .woocommerce-breadcrumb a,
body.tax-product_brand .woocommerce-breadcrumb a,
body.woocommerce-shop .ast-breadcrumbs a,
body.post-type-archive-product .ast-breadcrumbs a,
body.tax-product_cat .ast-breadcrumbs a,
body.tax-product_tag .ast-breadcrumbs a,
body.tax-product_brand .ast-breadcrumbs a{
  color:var(--rad-shop-red) !important;
}

/* Top shop toolbar */
body.woocommerce-shop .ast-shop-toolbar-container,
body.post-type-archive-product .ast-shop-toolbar-container,
body.tax-product_cat .ast-shop-toolbar-container,
body.tax-product_tag .ast-shop-toolbar-container,
body.tax-product_brand .ast-shop-toolbar-container,
body.woocommerce-shop .woocommerce-notices-wrapper + .woocommerce-result-count,
body.post-type-archive-product .woocommerce-notices-wrapper + .woocommerce-result-count{
  margin-block:0 24px !important;
}

body.woocommerce-shop .ast-shop-toolbar-container,
body.post-type-archive-product .ast-shop-toolbar-container,
body.tax-product_cat .ast-shop-toolbar-container,
body.tax-product_tag .ast-shop-toolbar-container,
body.tax-product_brand .ast-shop-toolbar-container{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  flex-wrap:wrap !important;
  padding:14px !important;
  margin-bottom:clamp(22px,3vw,34px) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:999px !important;
  background:
    radial-gradient(circle at 50% 0%,rgba(225,18,32,.11),transparent 64%),
    rgba(255,255,255,.035) !important;
  box-shadow:0 18px 48px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.07) !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count,
body.tax-product_brand .woocommerce-result-count{
  color:rgba(255,255,255,.64) !important;
  font-size:13px !important;
  font-weight:700 !important;
  margin:0 !important;
  line-height:1.8 !important;
  text-align:right !important;
}

body.woocommerce-shop .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering,
body.tax-product_brand .woocommerce-ordering{
  margin:0 !important;
}

body.woocommerce-shop .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select,
body.tax-product_brand .woocommerce-ordering select{
  min-height:44px !important;
  max-width:100% !important;
  padding:0 18px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.16) !important;
  background:rgba(0,0,0,.48) !important;
  color:#fff !important;
  outline:none !important;
  box-shadow:none !important;
  font-size:13px !important;
  font-weight:850 !important;
}

/* Product grid */
body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products,
body.tax-product_brand ul.products,
body.woocommerce-shop .woocommerce ul.products,
body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products,
body.tax-product_brand .woocommerce ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:clamp(18px,2.2vw,30px) !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after,
body.tax-product_brand ul.products::before,
body.tax-product_brand ul.products::after{
  display:none !important;
  content:none !important;
}

body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product,
body.tax-product_brand ul.products li.product,
body.woocommerce-page ul.products li.product{
  width:auto !important;
  max-width:none !important;
  float:none !important;
  clear:none !important;
  margin:0 !important;
  padding:15px 15px 18px !important;
  position:relative !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:100% !important;
  border-radius:var(--rad-shop-radius) !important;
  border:1px solid var(--rad-shop-line) !important;
  background:
    radial-gradient(circle at 50% 0%,rgba(225,18,32,.10),transparent 58%),
    linear-gradient(180deg,var(--rad-shop-card),rgba(255,255,255,.022)) !important;
  box-shadow:0 24px 58px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.075) !important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transition:transform .24s ease,border-color .24s ease,background .24s ease,box-shadow .24s ease !important;
}

body.woocommerce-shop ul.products li.product:hover,
body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover,
body.tax-product_tag ul.products li.product:hover,
body.tax-product_brand ul.products li.product:hover{
  transform:translateY(-7px) !important;
  border-color:rgba(225,18,32,.38) !important;
  background:
    radial-gradient(circle at 50% 0%,rgba(225,18,32,.18),transparent 62%),
    linear-gradient(180deg,var(--rad-shop-card-hover),rgba(255,255,255,.032)) !important;
  box-shadow:0 34px 78px rgba(0,0,0,.55),0 0 44px rgba(225,18,32,.11),inset 0 1px 0 rgba(255,255,255,.10) !important;
}

body.woocommerce-shop ul.products li.product > a,
body.post-type-archive-product ul.products li.product > a,
body.tax-product_cat ul.products li.product > a,
body.tax-product_tag ul.products li.product > a,
body.tax-product_brand ul.products li.product > a{
  color:#fff !important;
  text-decoration:none !important;
}

/* Image area */
body.woocommerce-shop .astra-shop-thumbnail-wrap,
body.post-type-archive-product .astra-shop-thumbnail-wrap,
body.tax-product_cat .astra-shop-thumbnail-wrap,
body.tax-product_tag .astra-shop-thumbnail-wrap,
body.tax-product_brand .astra-shop-thumbnail-wrap{
  position:relative !important;
  width:100% !important;
  aspect-ratio:1/1 !important;
  overflow:hidden !important;
  border-radius:22px !important;
  background:
    radial-gradient(circle at 50% 18%,rgba(255,255,255,.11),transparent 48%),
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.86)) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 0 15px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38), 0 16px 34px rgba(0,0,0,.20) !important;
}

body.woocommerce-shop ul.products li.product img,
body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img,
body.tax-product_tag ul.products li.product img,
body.tax-product_brand ul.products li.product img{
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  padding:12px !important;
  margin:0 !important;
  display:block !important;
  border-radius:18px !important;
  transform:scale(1) !important;
  transition:transform .32s cubic-bezier(.18,.8,.25,1),filter .32s ease !important;
}

body.woocommerce-shop ul.products li.product:hover img,
body.post-type-archive-product ul.products li.product:hover img,
body.tax-product_cat ul.products li.product:hover img,
body.tax-product_tag ul.products li.product:hover img,
body.tax-product_brand ul.products li.product:hover img{
  transform:scale(1.055) !important;
  filter:contrast(1.04) saturate(1.04) !important;
}

/* Card text - right aligned */
body.woocommerce-shop .astra-shop-summary-wrap,
body.post-type-archive-product .astra-shop-summary-wrap,
body.tax-product_cat .astra-shop-summary-wrap,
body.tax-product_tag .astra-shop-summary-wrap,
body.tax-product_brand .astra-shop-summary-wrap{
  padding:0 4px !important;
  text-align:right !important;
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
}

body.woocommerce-shop .ast-woo-product-category,
body.post-type-archive-product .ast-woo-product-category,
body.tax-product_cat .ast-woo-product-category,
body.tax-product_tag .ast-woo-product-category,
body.tax-product_brand .ast-woo-product-category{
  display:inline-flex !important;
  width:max-content !important;
  max-width:100% !important;
  margin:0 0 9px !important;
  padding:5px 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(225,18,32,.28) !important;
  background:rgba(225,18,32,.10) !important;
  color:rgba(255,255,255,.72) !important;
  font-size:11px !important;
  font-weight:850 !important;
  line-height:1.4 !important;
  text-align:right !important;
}

body.woocommerce-shop .woocommerce-loop-product__title,
body.post-type-archive-product .woocommerce-loop-product__title,
body.tax-product_cat .woocommerce-loop-product__title,
body.tax-product_tag .woocommerce-loop-product__title,
body.tax-product_brand .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title{
  min-height:52px !important;
  margin:0 0 12px !important;
  color:#fff !important;
  font-size:clamp(13px,1vw,15.5px) !important;
  font-weight:950 !important;
  line-height:1.65 !important;
  letter-spacing:-.015em !important;
  text-align:right !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}

body.woocommerce-shop .price,
body.post-type-archive-product .price,
body.tax-product_cat .price,
body.tax-product_tag .price,
body.tax-product_brand .price,
body.woocommerce-shop ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:7px !important;
  margin:0 0 14px !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:950 !important;
  line-height:1.6 !important;
  text-align:right !important;
}

body.woocommerce-shop .price .amount,
body.post-type-archive-product .price .amount,
body.tax-product_cat .price .amount,
body.tax-product_tag .price .amount,
body.tax-product_brand .price .amount,
body.woocommerce-shop .price bdi,
body.post-type-archive-product .price bdi,
body.tax-product_cat .price bdi,
body.tax-product_tag .price bdi,
body.tax-product_brand .price bdi{
  color:#fff !important;
  font-weight:950 !important;
}

body.woocommerce-shop .price del,
body.post-type-archive-product .price del,
body.tax-product_cat .price del,
body.tax-product_tag .price del,
body.tax-product_brand .price del,
body.woocommerce-shop .price del .amount,
body.post-type-archive-product .price del .amount,
body.tax-product_cat .price del .amount,
body.tax-product_tag .price del .amount,
body.tax-product_brand .price del .amount{
  color:rgba(255,255,255,.38) !important;
  opacity:1 !important;
  text-decoration-color:rgba(255,255,255,.35) !important;
}

body.woocommerce-shop .price ins,
body.post-type-archive-product .price ins,
body.tax-product_cat .price ins,
body.tax-product_tag .price ins,
body.tax-product_brand .price ins,
body.woocommerce-shop .price ins .amount,
body.post-type-archive-product .price ins .amount,
body.tax-product_cat .price ins .amount,
body.tax-product_tag .price ins .amount,
body.tax-product_brand .price ins .amount{
  color:var(--rad-shop-red-2) !important;
  text-decoration:none !important;
  background:transparent !important;
}

/* Buttons */
body.woocommerce-shop ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.tax-product_cat ul.products li.product .button,
body.tax-product_tag ul.products li.product .button,
body.tax-product_brand ul.products li.product .button,
body.woocommerce-shop ul.products li.product .added_to_cart,
body.post-type-archive-product ul.products li.product .added_to_cart,
body.tax-product_cat ul.products li.product .added_to_cart,
body.tax-product_tag ul.products li.product .added_to_cart,
body.tax-product_brand ul.products li.product .added_to_cart{
  width:100% !important;
  min-height:44px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-top:auto !important;
  padding:12px 16px !important;
  border-radius:999px !important;
  border:1px solid rgba(225,18,32,.90) !important;
  background:rgba(225,18,32,.92) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:950 !important;
  line-height:1 !important;
  text-decoration:none !important;
  box-shadow:0 16px 34px rgba(225,18,32,.22),inset 0 1px 0 rgba(255,255,255,.12) !important;
  transition:transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease !important;
}

body.woocommerce-shop ul.products li.product .button:hover,
body.post-type-archive-product ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover,
body.tax-product_tag ul.products li.product .button:hover,
body.tax-product_brand ul.products li.product .button:hover{
  transform:translateY(-2px) !important;
  background:var(--rad-shop-red-2) !important;
  border-color:var(--rad-shop-red-2) !important;
  box-shadow:0 20px 42px rgba(225,18,32,.30),inset 0 1px 0 rgba(255,255,255,.16) !important;
}

/* Sale / stock badges */
body.woocommerce-shop .onsale,
body.post-type-archive-product .onsale,
body.tax-product_cat .onsale,
body.tax-product_tag .onsale,
body.tax-product_brand .onsale,
body.woocommerce-shop .ast-onsale-card,
body.post-type-archive-product .ast-onsale-card,
body.tax-product_cat .ast-onsale-card,
body.tax-product_tag .ast-onsale-card,
body.tax-product_brand .ast-onsale-card{
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  left:auto !important;
  z-index:5 !important;
  min-width:auto !important;
  min-height:auto !important;
  width:auto !important;
  height:auto !important;
  padding:7px 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.16) !important;
  background:var(--rad-shop-red) !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:950 !important;
  line-height:1 !important;
  box-shadow:0 12px 28px rgba(225,18,32,.28) !important;
}

body.woocommerce-shop .ast-shop-product-out-of-stock,
body.post-type-archive-product .ast-shop-product-out-of-stock,
body.tax-product_cat .ast-shop-product-out-of-stock,
body.tax-product_tag .ast-shop-product-out-of-stock,
body.tax-product_brand .ast-shop-product-out-of-stock{
  position:absolute !important;
  inset:auto 12px 12px 12px !important;
  z-index:6 !important;
  padding:10px 12px !important;
  border-radius:14px !important;
  background:rgba(0,0,0,.72) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:950 !important;
  text-align:center !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

/* Notices */
body.woocommerce-shop .woocommerce-notices-wrapper,
body.post-type-archive-product .woocommerce-notices-wrapper,
body.tax-product_cat .woocommerce-notices-wrapper,
body.tax-product_tag .woocommerce-notices-wrapper,
body.tax-product_brand .woocommerce-notices-wrapper{
  margin-bottom:18px !important;
}

body.woocommerce-shop .woocommerce-message,
body.post-type-archive-product .woocommerce-message,
body.tax-product_cat .woocommerce-message,
body.tax-product_tag .woocommerce-message,
body.tax-product_brand .woocommerce-message,
body.woocommerce-shop .woocommerce-info,
body.post-type-archive-product .woocommerce-info,
body.tax-product_cat .woocommerce-info,
body.tax-product_tag .woocommerce-info,
body.tax-product_brand .woocommerce-info{
  border-radius:22px !important;
  border:1px solid rgba(255,255,255,.14) !important;
  background:rgba(255,255,255,.055) !important;
  color:#fff !important;
  box-shadow:0 20px 48px rgba(0,0,0,.32) !important;
}

/* Pagination */
body.woocommerce-shop nav.woocommerce-pagination,
body.post-type-archive-product nav.woocommerce-pagination,
body.tax-product_cat nav.woocommerce-pagination,
body.tax-product_tag nav.woocommerce-pagination,
body.tax-product_brand nav.woocommerce-pagination{
  margin-top:clamp(30px,4vw,56px) !important;
  text-align:center !important;
}

body.woocommerce-shop nav.woocommerce-pagination ul,
body.post-type-archive-product nav.woocommerce-pagination ul,
body.tax-product_cat nav.woocommerce-pagination ul,
body.tax-product_tag nav.woocommerce-pagination ul,
body.tax-product_brand nav.woocommerce-pagination ul{
  display:inline-flex !important;
  gap:8px !important;
  border:0 !important;
  margin:0 !important;
  padding:8px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.12) !important;
}

body.woocommerce-shop nav.woocommerce-pagination ul li,
body.post-type-archive-product nav.woocommerce-pagination ul li,
body.tax-product_cat nav.woocommerce-pagination ul li,
body.tax-product_tag nav.woocommerce-pagination ul li,
body.tax-product_brand nav.woocommerce-pagination ul li{
  border:0 !important;
  margin:0 !important;
}

body.woocommerce-shop nav.woocommerce-pagination ul li a,
body.woocommerce-shop nav.woocommerce-pagination ul li span,
body.post-type-archive-product nav.woocommerce-pagination ul li a,
body.post-type-archive-product nav.woocommerce-pagination ul li span,
body.tax-product_cat nav.woocommerce-pagination ul li a,
body.tax-product_cat nav.woocommerce-pagination ul li span,
body.tax-product_tag nav.woocommerce-pagination ul li a,
body.tax-product_tag nav.woocommerce-pagination ul li span,
body.tax-product_brand nav.woocommerce-pagination ul li a,
body.tax-product_brand nav.woocommerce-pagination ul li span{
  min-width:40px !important;
  height:40px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  color:#fff !important;
  background:transparent !important;
  font-weight:900 !important;
}

body.woocommerce-shop nav.woocommerce-pagination ul li span.current,
body.post-type-archive-product nav.woocommerce-pagination ul li span.current,
body.tax-product_cat nav.woocommerce-pagination ul li span.current,
body.tax-product_tag nav.woocommerce-pagination ul li span.current,
body.tax-product_brand nav.woocommerce-pagination ul li span.current,
body.woocommerce-shop nav.woocommerce-pagination ul li a:hover,
body.post-type-archive-product nav.woocommerce-pagination ul li a:hover,
body.tax-product_cat nav.woocommerce-pagination ul li a:hover,
body.tax-product_tag nav.woocommerce-pagination ul li a:hover,
body.tax-product_brand nav.woocommerce-pagination ul li a:hover{
  background:var(--rad-shop-red) !important;
  color:#fff !important;
}

@media (max-width:1024px){
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.tax-product_brand ul.products,
  body.woocommerce-shop .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products,
  body.tax-product_brand .woocommerce ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px !important;
  }

  body.woocommerce-shop ul.products li.product,
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product,
  body.tax-product_brand ul.products li.product{
    border-radius:24px !important;
  }
}

@media (max-width:767px){
  body.woocommerce-shop #primary,
  body.post-type-archive-product #primary,
  body.tax-product_cat #primary,
  body.tax-product_tag #primary,
  body.tax-product_brand #primary{
    padding-block:24px 44px !important;
  }

  body.woocommerce-shop h1,
  body.post-type-archive-product h1,
  body.tax-product_cat h1,
  body.tax-product_tag h1,
  body.tax-product_brand h1,
  body.woocommerce-shop .page-title,
  body.post-type-archive-product .page-title,
  body.tax-product_cat .page-title,
  body.tax-product_tag .page-title,
  body.tax-product_brand .page-title,
  body.woocommerce-shop .woocommerce-products-header__title,
  body.post-type-archive-product .woocommerce-products-header__title,
  body.tax-product_cat .woocommerce-products-header__title,
  body.tax-product_tag .woocommerce-products-header__title,
  body.tax-product_brand .woocommerce-products-header__title,
  body.woocommerce-shop .entry-title,
  body.post-type-archive-product .entry-title,
  body.tax-product_cat .entry-title,
  body.tax-product_tag .entry-title,
  body.tax-product_brand .entry-title{
    font-size:clamp(30px,9vw,44px) !important;
  }

  body.woocommerce-shop .ast-shop-toolbar-container,
  body.post-type-archive-product .ast-shop-toolbar-container,
  body.tax-product_cat .ast-shop-toolbar-container,
  body.tax-product_tag .ast-shop-toolbar-container,
  body.tax-product_brand .ast-shop-toolbar-container{
    border-radius:22px !important;
    padding:12px !important;
    align-items:stretch !important;
  }

  body.woocommerce-shop .woocommerce-ordering,
  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering,
  body.tax-product_tag .woocommerce-ordering,
  body.tax-product_brand .woocommerce-ordering,
  body.woocommerce-shop .woocommerce-ordering select,
  body.post-type-archive-product .woocommerce-ordering select,
  body.tax-product_cat .woocommerce-ordering select,
  body.tax-product_tag .woocommerce-ordering select,
  body.tax-product_brand .woocommerce-ordering select{
    width:100% !important;
  }

  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.tax-product_brand ul.products,
  body.woocommerce-shop .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products,
  body.tax-product_brand .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }

  body.woocommerce-shop ul.products li.product,
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product,
  body.tax-product_brand ul.products li.product{
    padding:10px 10px 14px !important;
    border-radius:20px !important;
  }

  body.woocommerce-shop .astra-shop-thumbnail-wrap,
  body.post-type-archive-product .astra-shop-thumbnail-wrap,
  body.tax-product_cat .astra-shop-thumbnail-wrap,
  body.tax-product_tag .astra-shop-thumbnail-wrap,
  body.tax-product_brand .astra-shop-thumbnail-wrap{
    border-radius:15px !important;
    margin-bottom:12px !important;
  }

  body.woocommerce-shop ul.products li.product img,
  body.post-type-archive-product ul.products li.product img,
  body.tax-product_cat ul.products li.product img,
  body.tax-product_tag ul.products li.product img,
  body.tax-product_brand ul.products li.product img{
    padding:8px !important;
    border-radius:13px !important;
  }

  body.woocommerce-shop .woocommerce-loop-product__title,
  body.post-type-archive-product .woocommerce-loop-product__title,
  body.tax-product_cat .woocommerce-loop-product__title,
  body.tax-product_tag .woocommerce-loop-product__title,
  body.tax-product_brand .woocommerce-loop-product__title,
  body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title{
    min-height:44px !important;
    font-size:12px !important;
    line-height:1.55 !important;
  }

  body.woocommerce-shop .price,
  body.post-type-archive-product .price,
  body.tax-product_cat .price,
  body.tax-product_tag .price,
  body.tax-product_brand .price,
  body.woocommerce-shop ul.products li.product .price,
  body.post-type-archive-product ul.products li.product .price{
    font-size:12px !important;
  }

  body.woocommerce-shop ul.products li.product .button,
  body.post-type-archive-product ul.products li.product .button,
  body.tax-product_cat ul.products li.product .button,
  body.tax-product_tag ul.products li.product .button,
  body.tax-product_brand ul.products li.product .button{
    min-height:39px !important;
    font-size:12px !important;
    padding-inline:10px !important;
  }
}

@media (max-width:380px){
  body.woocommerce-shop .ast-container,
  body.post-type-archive-product .ast-container,
  body.tax-product_cat .ast-container,
  body.tax-product_tag .ast-container,
  body.tax-product_brand .ast-container{
    padding-inline:10px !important;
  }

  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.tax-product_brand ul.products{
    gap:10px !important;
  }
}

/* RAD fix: variation size swatches readability on shop cards */
body.woocommerce-shop ul.products li.product .cfvsw-swatches-container,
body.post-type-archive-product ul.products li.product .cfvsw-swatches-container,
body.tax-product_cat ul.products li.product .cfvsw-swatches-container,
body.tax-product_tag ul.products li.product .cfvsw-swatches-container,
body.tax-product_brand ul.products li.product .cfvsw-swatches-container,
body.woocommerce-shop ul.products li.product .cfvsw_variations_form,
body.post-type-archive-product ul.products li.product .cfvsw_variations_form,
body.tax-product_cat ul.products li.product .cfvsw_variations_form,
body.tax-product_tag ul.products li.product .cfvsw_variations_form,
body.tax-product_brand ul.products li.product .cfvsw_variations_form{
  width:100% !important;
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  margin:12px 0 0 !important;
  padding:0 !important;
  direction:ltr !important;
  background:transparent !important;
  border:0 !important;
}

body.woocommerce-shop ul.products li.product .cfvsw-swatches-option,
body.post-type-archive-product ul.products li.product .cfvsw-swatches-option,
body.tax-product_cat ul.products li.product .cfvsw-swatches-option,
body.tax-product_tag ul.products li.product .cfvsw-swatches-option,
body.tax-product_brand ul.products li.product .cfvsw-swatches-option,
body.woocommerce-shop ul.products li.product .cfvsw-label-option,
body.post-type-archive-product ul.products li.product .cfvsw-label-option,
body.tax-product_cat ul.products li.product .cfvsw-label-option,
body.tax-product_tag ul.products li.product .cfvsw-label-option,
body.tax-product_brand ul.products li.product .cfvsw-label-option{
  width:auto !important;
  min-width:42px !important;
  max-width:none !important;
  height:28px !important;
  min-height:28px !important;
  padding:0 10px !important;
  margin:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.18) !important;
  background:rgba(255,255,255,.075) !important;
  color:#fff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.18) !important;
  opacity:1 !important;
  overflow:visible !important;
  backdrop-filter:blur(10px) !important;
  -webkit-backdrop-filter:blur(10px) !important;
}

body.woocommerce-shop ul.products li.product .cfvsw-swatches-option:hover,
body.post-type-archive-product ul.products li.product .cfvsw-swatches-option:hover,
body.tax-product_cat ul.products li.product .cfvsw-swatches-option:hover,
body.tax-product_tag ul.products li.product .cfvsw-swatches-option:hover,
body.tax-product_brand ul.products li.product .cfvsw-swatches-option:hover,
body.woocommerce-shop ul.products li.product .cfvsw-selected-swatch,
body.post-type-archive-product ul.products li.product .cfvsw-selected-swatch,
body.tax-product_cat ul.products li.product .cfvsw-selected-swatch,
body.tax-product_tag ul.products li.product .cfvsw-selected-swatch,
body.tax-product_brand ul.products li.product .cfvsw-selected-swatch{
  border-color:rgba(225,18,32,.72) !important;
  background:rgba(225,18,32,.86) !important;
  color:#fff !important;
}

body.woocommerce-shop ul.products li.product .cfvsw-swatch-inner,
body.post-type-archive-product ul.products li.product .cfvsw-swatch-inner,
body.tax-product_cat ul.products li.product .cfvsw-swatch-inner,
body.tax-product_tag ul.products li.product .cfvsw-swatch-inner,
body.tax-product_brand ul.products li.product .cfvsw-swatch-inner{
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#fff !important;
  background:transparent !important;
  font-size:11px !important;
  font-weight:950 !important;
  line-height:1 !important;
  text-align:center !important;
  white-space:nowrap !important;
  opacity:1 !important;
  visibility:visible !important;
  text-indent:0 !important;
}

body.woocommerce-shop ul.products li.product .cfvsw-swatches-disabled,
body.post-type-archive-product ul.products li.product .cfvsw-swatches-disabled,
body.tax-product_cat ul.products li.product .cfvsw-swatches-disabled,
body.tax-product_tag ul.products li.product .cfvsw-swatches-disabled,
body.tax-product_brand ul.products li.product .cfvsw-swatches-disabled{
  opacity:.35 !important;
  filter:grayscale(1) !important;
}
