/* SpeedX Racegear / 2027 PRODUCT + COLLECTION RELEASE — DRAFT ONLY
   Targets the custom archive loop directly, not inherited XStore .products-grid.
   Existing variations, prices, checkout and product records are never modified. */

/* Native grid: 4 desktop / 3 tablet / 2 mobile, without carousel wrappers. */
body.sx-modern .sx-archive .sx-shop-grid{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:clamp(12px,1.6vw,23px)!important;align-items:stretch!important;
 width:100%!important;max-width:100%!important;clear:both!important;
 margin:26px 0 34px!important;padding:0!important;
}
body.sx-modern .sx-archive .sx-shop-grid::before,
body.sx-modern .sx-archive .sx-shop-grid::after{content:none!important;display:none!important}
body.sx-modern .sx-archive .sx-shop-grid>article.sx-catalogue-card{
 position:relative!important;display:flex!important;flex-direction:column!important;
 width:100%!important;min-width:0!important;max-width:none!important;
 float:none!important;clear:none!important;height:auto!important;
 padding:0!important;margin:0!important;overflow:hidden!important;
 border-radius:4px!important;border:1px solid #e1e6e3!important;
 background:#fff!important;box-shadow:none!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__media{
 display:grid!important;place-items:center!important;position:relative!important;
 width:100%!important;height:auto!important;min-height:0!important;
 aspect-ratio:4/4.5!important;line-height:0!important;
 background:#f1f3f2!important;overflow:hidden!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__image{
 display:block!important;position:relative!important;width:100%!important;
 max-width:100%!important;height:100%!important;max-height:100%!important;
 object-fit:contain!important;object-position:center!important;
 margin:0!important;padding:clamp(7px,1vw,14px)!important;
 border:0!important;background:transparent!important;filter:none!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__body{
 display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
 justify-content:flex-start!important;align-items:stretch!important;
 gap:0!important;min-height:0!important;height:auto!important;width:100%!important;
 padding:15px 14px!important;margin:0!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__name{
 font:700 13px/1.44 var(--sx-body)!important;letter-spacing:-.016em!important;
 color:#1e282f!important;margin:0 0 9px!important;padding:0!important;
 height:auto!important;min-height:0!important;max-height:5.1em!important;
 overflow:hidden!important;display:-webkit-box!important;
 -webkit-line-clamp:3;-webkit-box-orient:vertical;overflow-wrap:anywhere!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__name a{
 color:inherit!important;text-decoration:none!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__price{
 margin:auto 0 12px!important;min-height:0!important;
 padding:0!important;height:auto!important;display:block!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__price,
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__price *{
 color:#202a31!important;font:800 15px/1.32 var(--sx-body)!important;
 letter-spacing:-.018em!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__action{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-height:43px!important;margin:0!important;
 padding:9px 7px!important;border:1px solid #1b2530!important;
 border-radius:3px!important;background:#1b2530!important;color:white!important;
 font:800 11px/1.3 var(--sx-body)!important;letter-spacing:.04em!important;
 text-transform:uppercase!important;text-decoration:none!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__action:hover{
 background:#c93239!important;border-color:#c93239!important;
}
body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__action::after{content:none!important}

/* Keep the sorting control compact. */
body.sx-modern .sx-archive .woocommerce-ordering{float:none!important;margin:16px 0!important}
body.sx-modern .sx-archive .woocommerce-ordering select{
 min-height:45px!important;border-radius:3px!important;
 background:#fff!important;font:600 13px var(--sx-body)!important;
}
body.sx-modern .sx-archive .woocommerce-result-count{
 font:600 12px/1.5 var(--sx-body)!important;color:#67747c!important;
}

/* Product page: make gallery / title / price / variation selection one cohesive layout. */
body.sx-modern.single-product .sx-product-page{
 padding-top:0!important;padding-bottom:76px!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-element-280e391a>.elementor-container{
 align-items:start!important;gap:clamp(25px,4vw,55px)!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-element-3f8b9609,
body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308{
 min-width:0!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308>.elementor-widget-wrap{
 align-content:start!important;display:flex!important;flex-direction:column!important;
 row-gap:0!important;padding:0!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308>.elementor-widget-wrap>.elementor-element{
 margin-top:0!important;margin-bottom:clamp(8px,1.1vw,16px)!important;
}
body.sx-modern.single-product .elementor-1643 .product_title{
 font:800 clamp(35px,3.1vw,49px)/1.04 var(--sx-display)!important;
 letter-spacing:-.01em!important;color:#19242b!important;
 margin:0!important;max-width:720px!important;text-wrap:balance;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price{
 margin:1px 0 12px!important;padding:0!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price .price,
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price .amount{
 font:800 24px/1.3 var(--sx-body)!important;color:#20292f!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_short_description{
 font:500 14px/1.6 var(--sx-body)!important;
 color:#657078!important;margin:0 0 16px!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_short_description p{
 margin:0 0 9px!important;line-height:1.6!important;
}
body.sx-modern.single-product .elementor-1643 .woocommerce-product-gallery:not(.swiper-slide){
 margin:0!important;background:#f5f6f4!important;border-radius:4px!important;
}
body.sx-modern.single-product .elementor-1643 .woocommerce-product-gallery img{
 object-fit:contain!important;box-shadow:none!important;
}
body.sx-modern.single-product .elementor-1643 .woocommerce-product-gallery__image{
 background:#f3f5f3!important;border-radius:4px!important;overflow:hidden!important;
}
body.sx-modern.single-product .elementor-1643 .flex-control-nav.flex-control-thumbs{
 margin:10px 0 0!important;gap:8px!important;
}
body.sx-modern.single-product .elementor-1643 .woocommerce-product-etheme_add_to_cart,
body.sx-modern.single-product .elementor-1643 form.cart{
 margin:0 0 12px!important;
}
body.sx-modern.single-product .elementor-1643 form.cart .variations{
 width:100%!important;margin:0 0 12px!important;
}
body.sx-modern.single-product .elementor-1643 form.cart .variations tr{
 display:table-row!important;
}
body.sx-modern.single-product .elementor-1643 form.cart .variations tr td,
body.sx-modern.single-product .elementor-1643 form.cart .variations tr th{
 background:transparent!important;padding:4px 0!important;
}
body.sx-modern.single-product .elementor-1643 form.cart .variations label{
 font:800 12px/1.4 var(--sx-body)!important;color:#27313a!important;
}
body.sx-modern.single-product .elementor-1643 form.cart .variations select{
 min-height:48px!important;background-color:#fff!important;
 border:1px solid #cdd4d2!important;border-radius:4px!important;
 color:#202a32!important;font:600 14px/1.4 var(--sx-body)!important;
 padding:10px 13px!important;
}
body.sx-modern.single-product .elementor-1643 .quantity input.qty{
 font:700 14px var(--sx-body)!important;background:#fff!important;
}
body.sx-modern.single-product .elementor-1643 .single_add_to_cart_button{
 min-height:52px!important;border-radius:4px!important;
 background:#1b2730!important;box-shadow:none!important;
 font:800 12px/1.4 var(--sx-body)!important;letter-spacing:.045em!important;
}
body.sx-modern.single-product .elementor-1643 .single_add_to_cart_button:disabled{
 opacity:.5!important;
}
body.sx-modern.single-product .elementor-1643 .sx-funnel{
 margin-top:22px!important;
}
body.sx-modern.single-product .elementor-1643 .sx-funnel-heading{
 padding:15px 19px!important;
}
body.sx-modern.single-product .elementor-1643 .sx-funnel-heading h3{
 font:800 23px/1.08 var(--sx-display)!important;margin:6px 0 0!important;
}
body.sx-modern.single-product .elementor-1643 .sx-funnel-detail summary{
 min-height:48px!important;padding:13px 18px!important;
 font:700 13px/1.5 var(--sx-body)!important;
}
body.sx-modern.single-product .elementor-1643 .sx-funnel-detail-body{
 padding:14px 18px!important;font:500 13px/1.65 var(--sx-body)!important;
}
body.sx-modern.single-product .elementor-1643 .sx-funnel-detail-body p{
 font:500 13px/1.65 var(--sx-body)!important;margin:0 0 11px!important;
}
body.sx-modern.single-product .elementor-1643 .sx-funnel-support{
 padding:13px 18px!important;font-size:12px!important;
}

/* XStore Elementor widget / Related Products: keep image, product title and price.
   Hide category index text, extra metadata, wishlist, quick view, cart buttons. */
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related{
 border-top:1px solid #e3e7e4!important;
 padding-top:35px!important;margin-top:34px!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related :is(
 .product-categories,.product-category,.product-category-name,.products-categories,
 .category-list,.categories-list,.product-terms,.product-meta,.product-meta-content,
 .product-category-wrapper,.posted_in,.product-excerpt,.excerpt-content,
 .hover-content,.footer-product,.stock,.star-rating,.wishlist,
 .product-details .button,.product-details .add_to_cart_button,
 .product-details .added_to_cart,.show-quickly,.xstore-compare,
 .product-meta-inner,.sku_wrapper
){display:none!important}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product-details{
 padding:11px 10px 16px!important;text-align:left!important;min-height:0!important;
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related :is(
 .product-title,.woocommerce-loop-product__title,h2.product-title,
 h3.product-title,.product-name
){
 font:700 12px/1.38 var(--sx-body)!important;letter-spacing:-.015em!important;
 color:#222a31!important;text-align:left!important;
 margin:0 0 7px!important;padding:0!important;
 min-height:0!important;max-height:3.1em!important;
 overflow:hidden!important;display:-webkit-box!important;
 -webkit-line-clamp:2;-webkit-box-orient:vertical;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product-title a{
 color:#222a31!important;text-decoration:none!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related :is(
 .price,.amount,.price bdi
){
 font:800 14px/1.35 var(--sx-body)!important;
 color:#19232b!important;letter-spacing:-.01em!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product-image-wrapper{
 background:#f2f4f3!important;border:0!important;overflow:hidden!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product-image-wrapper img{
 max-width:100%!important;width:100%!important;height:auto!important;
 object-fit:contain!important;object-position:center!important;
 padding:10px!important;margin:0!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product{
 min-width:0!important;border:1px solid #e4e8e5!important;
 background:#fff!important;box-shadow:none!important;
}
/* Additional XStore card markup might place category labels in the product-details
   area as links unrelated to the product title. Hide category-specific markup only. */
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related :is(
 .product-cats,.product-cat,.categories,.cat-links,.product-categories-list,
 .et-category,.et-categories,.product-information .product-categories,
 .content-product .product-categories
){display:none!important}

/* Small phones: true two-column merch grid and compact useful product detail. */
@media(max-width:1100px){
 body.sx-modern .sx-archive .sx-shop-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media(max-width:780px){
 body.sx-modern .sx-archive .sx-shop-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;margin:18px 0 25px!important;
 }
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__media{
  aspect-ratio:4/4.4!important;
 }
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__image{
  padding:6px!important;
 }
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__body{
  padding:9px 9px 12px!important;
 }
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__name{
  font-size:12px!important;line-height:1.35!important;
  margin:0 0 8px!important;
 }
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__price,
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__price *{
  font-size:13px!important;
 }
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__price{
  margin:auto 0 10px!important;
 }
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__action{
  min-height:39px!important;font-size:10px!important;
  padding:9px 4px!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-element-280e391a>.elementor-container{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;
 }
 body.sx-modern.single-product .elementor-1643 .product_title{
  font-size:clamp(32px,7.7vw,41px)!important;line-height:1.065!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308>.elementor-widget-wrap>.elementor-element{
  margin-bottom:10px!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price .price,
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price .amount{
  font-size:22px!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_short_description{
  font-size:13px!important;margin:0 0 10px!important;
 }
 body.sx-modern.single-product .elementor-1643 form.cart .variations select{
  min-height:46px!important;font-size:16px!important;
 }
 body.sx-modern.single-product .elementor-1643 .sx-funnel-heading h3{
  font-size:22px!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product-details{
  padding:10px 9px 13px!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product-title{
  font-size:11px!important;-webkit-line-clamp:2!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .products-grid>.ajax-content,
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related ul.products{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
 }
}
@media(max-width:360px){
 body.sx-modern .sx-archive .sx-shop-grid{gap:8px!important}
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__body{padding:8px!important}
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__action{font-size:9px!important}
}
@media(prefers-reduced-motion:reduce){
 body.sx-modern .sx-archive .sx-shop-grid .sx-catalogue-card__image{transform:none!important;transition:none!important}
}
/* Verified XStore markup: etheme_product_cats() renders .products-page-cats.
   Keep category metadata elsewhere; only hide it in related product cards. */
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .products-page-cats,
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .products-page-cats *,
body.sx-modern.single-product .related-products .products-page-cats,
body.sx-modern.single-product .related-products .products-page-cats *{
 display:none!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related :is(
 .product_type_variable,.product_type_simple,.add_to_cart_button,
 .xstore-cart-button,.button,.quick-view,.product-quick-view,
 .product-fadeIn-area,.product-more-info,.price-switcher,.button-switch,
 .products-page-brands,.sale-wrapper .footer-product
){display:none!important}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .content-product,
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product{
 display:flex!important;flex-direction:column!important;
 min-height:0!important;height:auto!important;
 padding-bottom:0!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product-details{
 flex:0 0 auto!important;min-height:0!important;height:auto!important;
 text-align:left!important;justify-content:flex-start!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .price{
 display:block!important;margin:5px 0 0!important;text-align:left!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related .product-image-wrapper{
 aspect-ratio:4/4.2!important;min-height:0!important;max-height:none!important;
}
/* Keep only "Buy Now" visible; the underlying validated checkout action is unchanged. */
body.sx-modern.single-product button.sx-buy-now [aria-hidden="true"],
body.sx-modern.single-product .sx-buy-now>svg,
body.sx-modern.single-product .sx-buy-now>.et-icon{
 display:none!important;
}
body.sx-modern.single-product .sx-buy-now{
 min-height:52px!important;border-radius:4px!important;
 font:800 12px/1.4 var(--sx-body)!important;letter-spacing:.045em!important;
 box-shadow:none!important;
}
