/* SSK Store V4.1.71 — final responsive layout
 * 1) Popular categories: arrows get their own gutter; no card is covered.
 * 2) Mobile WooCommerce archives: stable 2-column cards, equal heights,
 *    consistent image boxes and no vertical drift between cards.
 */

/* ---------- Popular Categories / desktop ---------- */
html body.ssk-premium-v40 #ssk-categories .ssk-category-carousel{
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
html body.ssk-premium-v40 #ssk-categories .ssk-category-viewport{
  width:calc(100% - 104px)!important;
  max-width:calc(100% - 104px)!important;
  min-width:0!important;
  margin:0 52px!important;
  padding:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  position:relative!important;
  touch-action:pan-y!important;
}
html body.ssk-premium-v40 #ssk-categories .ssk-category-grid{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:max-content!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  transform:translate3d(0,0,0);
  transition:transform .48s cubic-bezier(.22,.61,.36,1)!important;
  will-change:transform;
}
html body.ssk-premium-v40 #ssk-categories .ssk-category-card{
  flex:0 0 128px;
  width:128px;
  min-width:128px;
  max-width:128px;
  box-sizing:border-box!important;
}
html body.ssk-premium-v40 #ssk-categories .ssk-category-arrow{
  position:absolute!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:40!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
html body.ssk-premium-v40 #ssk-categories .ssk-category-prev{left:5px!important;}
html body.ssk-premium-v40 #ssk-categories .ssk-category-next{right:5px!important;}

/* ---------- Popular Categories / mobile & tablet ---------- */
@media(max-width:1050px){
  html body.ssk-premium-v40 #ssk-categories .ssk-category-viewport{
    width:calc(100% - 92px)!important;
    max-width:calc(100% - 92px)!important;
    margin:0 46px!important;
  }
}
@media(max-width:760px){
  html body.ssk-premium-v40 #ssk-categories .ssk-category-carousel{
    padding:0!important;
  }
  html body.ssk-premium-v40 #ssk-categories .ssk-category-viewport{
    width:calc(100% - 76px)!important;
    max-width:calc(100% - 76px)!important;
    margin:0 38px!important;
    overflow:hidden!important;
  }
  html body.ssk-premium-v40 #ssk-categories .ssk-category-grid{
    display:flex!important;
    grid-template-columns:none!important;
    gap:10px!important;
  }
  html body.ssk-premium-v40 #ssk-categories .ssk-category-card{
    flex:0 0 calc((100% - 10px)/2)!important;
    width:calc((100% - 10px)/2)!important;
    min-width:calc((100% - 10px)/2)!important;
    max-width:calc((100% - 10px)/2)!important;
    padding:7px!important;
  }
  html body.ssk-premium-v40 #ssk-categories .ssk-category-image{
    width:100%!important;
    height:auto!important;
    aspect-ratio:1/1!important;
  }
  html body.ssk-premium-v40 #ssk-categories .ssk-category-arrow{
    width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;
    font-size:21px!important;
  }
  html body.ssk-premium-v40 #ssk-categories .ssk-category-prev{left:1px!important;}
  html body.ssk-premium-v40 #ssk-categories .ssk-category-next{right:1px!important;}
}

/* ---------- WooCommerce mobile category/shop archive ---------- */
@media(max-width:760px){
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-wrap,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-wrap{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-wrap ul.products,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-wrap ul.products{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-wrap ul.products li.product,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-wrap ul.products li.product{
    display:flex!important;
    flex-direction:column!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    clear:none!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card{
    display:flex!important;
    flex-direction:column!important;
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    margin:0!important;
    padding:0 0 10px!important;
    border-radius:14px!important;
    overflow:hidden!important;
    background:rgba(19,19,27,.97)!important;
    border:1px solid rgba(242,26,134,.25)!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .woocommerce-loop-product__link,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .woocommerce-loop-product__link{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card img.attachment-woocommerce_thumbnail,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card img.attachment-woocommerce_thumbnail,
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card img.wp-post-image,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card img.wp-post-image{
    display:block!important;
    width:100%!important;
    height:195px!important;
    min-height:195px!important;
    max-height:195px!important;
    margin:0!important;
    padding:8px!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:#fff!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .woocommerce-loop-product__title,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .woocommerce-loop-product__title{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    overflow:hidden!important;
    margin:0!important;
    padding:7px 8px!important;
    color:#fff!important;
    font-size:11px!important;
    line-height:1.28!important;
    font-weight:850!important;
    text-align:center!important;
    box-sizing:border-box!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .star-rating,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .star-rating{
    display:none!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .price,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .price{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:28px!important;
    min-height:28px!important;
    margin:5px 7px 0!important;
    padding:0!important;
    color:#ff4aa8!important;
    font-size:14px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .price del,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .price del{font-size:10px!important;margin-right:4px!important;}
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .price ins,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .price ins{text-decoration:none!important;color:#ff4aa8!important;}
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .button,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .button,
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .ssk-woo-wa,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .ssk-woo-wa{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:calc(50% - 11px)!important;
    min-width:0!important;
    height:34px!important;
    min-height:34px!important;
    margin-top:8px!important;
    padding:0 4px!important;
    border-radius:8px!important;
    font-size:9px!important;
    line-height:1!important;
    box-sizing:border-box!important;
    float:none!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .button{margin-left:7px!important;margin-right:4px!important;}
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .ssk-woo-wa{margin-left:4px!important;margin-right:7px!important;}
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .button{margin-left:7px!important;margin-right:4px!important;}
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .ssk-woo-wa{margin-left:4px!important;margin-right:7px!important;}
}

@media(max-width:390px){
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card img.attachment-woocommerce_thumbnail,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card img.attachment-woocommerce_thumbnail,
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card img.wp-post-image,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card img.wp-post-image{
    height:175px!important;min-height:175px!important;max-height:175px!important;
  }
}
