/* SSK Store V4.1.72 — Mobile category archive cards
 * Two products per row, stable card geometry, no title/button drift.
 */
@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,
  html body.ssk-premium-v40.woocommerce.archive .ssk-container .ssk-woo-wrap,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-container .ssk-woo-wrap{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!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,
  html body.ssk-premium-v40.woocommerce.archive ul.products.ssk-products-list,
  html body.ssk-premium-v40.woocommerce.tax-product_cat ul.products.ssk-products-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:10px!important;
    row-gap:12px!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!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,
  html body.ssk-premium-v40.woocommerce.archive ul.products.ssk-products-list li.product,
  html body.ssk-premium-v40.woocommerce.tax-product_cat ul.products.ssk-products-list li.product{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    clear:none!important;
    box-sizing:border-box!important;
  }

  /* The card is a 2-column grid so the two action buttons can never stack. */
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    align-items:stretch!important;
    width:100%!important;
    min-width:0!important;
    min-height:365px!important;
    height:100%!important;
    margin:0!important;
    padding:0 0 9px!important;
    border:1px solid rgba(242,26,134,.32)!important;
    border-radius:13px!important;
    overflow:hidden!important;
    background:#13131b!important;
    box-sizing:border-box!important;
  }

  /* Image + title stay together in the first grid row. */
  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{
    grid-column:1 / -1!important;
    grid-row:1!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    text-decoration:none!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  /* Large, equal image window — image itself is never stretched. */
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .woocommerce-loop-product__link img,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .woocommerce-loop-product__link img,
  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:205px!important;
    min-height:205px!important;
    max-height:205px!important;
    margin:0!important;
    padding:8px!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }

  /* Title is capped to 3 lines so long Turkish names do not push prices/buttons down. */
  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:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow:hidden!important;
    width:100%!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    margin:0!important;
    padding:7px 7px 5px!important;
    color:#fff!important;
    font-size:11px!important;
    line-height:1.28!important;
    font-weight:850!important;
    text-align:center!important;
    overflow-wrap:anywhere!important;
    word-break:normal!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;
  }

  /* Price spans both columns and has a fixed row. */
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .price,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .price{
    grid-column:1 / -1!important;
    grid-row:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    width:auto!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    margin:0 6px!important;
    padding:0!important;
    color:#ff4aa8!important;
    font-size:13px!important;
    line-height:1.15!important;
    font-weight:900!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    box-sizing:border-box!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:0!important;
    opacity:.65!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;
  }

  /* Both buttons occupy the final row, side by side. */
  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{
    grid-row:3!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:end!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:35px!important;
    min-height:35px!important;
    max-height:35px!important;
    margin:0!important;
    padding:0 3px!important;
    border-radius:8px!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:900!important;
    text-align:center!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
    float:none!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{
    grid-column:1!important;
    margin-left:6px!important;
    margin-right:3px!important;
  }
  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{
    grid-column:2!important;
    margin-left:3px!important;
    margin-right:6px!important;
  }
}

@media(max-width:390px){
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card{
    min-height:345px!important;
  }
  html body.ssk-premium-v40.woocommerce.archive .ssk-woo-card .woocommerce-loop-product__link img,
  html body.ssk-premium-v40.woocommerce.tax-product_cat .ssk-woo-card .woocommerce-loop-product__link img,
  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:185px!important;
    min-height:185px!important;
    max-height:185px!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{
    font-size:10.5px!important;
  }
}
