/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 28 2026 | 09:19:02 */
/* ============================================
   INFINITY BOUTIQUE - MOBILE TWO-COLUMN GRID
   Uncode Theme + WooCommerce
   ============================================ */

@media screen and (max-width: 767px) {

  /* -----------------------------------------
     GRID: Force Two Columns
     Override .tmb-iso-w3 (33.33%) to 50%
     ----------------------------------------- */
  body.woocommerce .isotope-container .tmb.tmb-woocommerce,
  body.tax-product_cat .isotope-container .tmb.tmb-woocommerce {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  /* Tighten grid gutters for mobile */
  .isotope-container {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }

  .isotope-container .tmb.tmb-woocommerce {
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-bottom: 18px !important;
  }

  /* -----------------------------------------
     ADD TO CART BUTTON - Readability
     ----------------------------------------- */
  .add-to-cart-overlay {
    padding: 4px !important;
  }

  .add-to-cart-overlay a.product_type_simple.add_to_cart_button.ajax_add_to_cart.product_button_loop {
    /* Touch-friendly min size (44px per Apple HIG) */
    min-height: 44px !important;
    padding: 10px 6px !important;
    
    /* Full width within overlay */
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Button text: shorten or style */
  .add-to-cart-overlay .add_to_cart_text {
    font-size: 9px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
    text-transform: uppercase;
    font-weight: 600 !important;
    
    /* Allow text wrap on two lines if needed */
    white-space: normal !important;
    text-align: center;
  }

  /* -----------------------------------------
     WISHLIST BUTTON - Adjust if overlapping
     ----------------------------------------- */
  .add-to-wishlist-overlay.icon-badge {
    /* Ensure it doesn't crowd the cart button */
    padding: 4px !important;
  }

  .add-to-wishlist-overlay .add_to_wishlist span {
    font-size: 0 !important; /* Hide text, keep icon */
  }

  /* -----------------------------------------
     PRODUCT TITLE
     ----------------------------------------- */
  .tmb.tmb-woocommerce h3.t-entry-title.h6,
  .tmb.tmb-woocommerce h3.t-entry-title.h6 a {
    font-size: 11px !important;
    line-height: 1.35 !important;
    
    /* Clamp to 2 lines */
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* -----------------------------------------
     PRICE
     ----------------------------------------- */
  .tmb.tmb-woocommerce span.price.h6 {
    font-size: 13px !important;
    margin-top: 6px !important;
  }

  .tmb.tmb-woocommerce span.price.h6 ins.h3 {
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* Sale: original price (strikethrough) */
  .tmb.tmb-woocommerce span.price.h6 del {
    font-size: 10px !important;
    opacity: 0.5;
  }

  /* -----------------------------------------
     CARD INNER SPACING
     ----------------------------------------- */
  .tmb.tmb-woocommerce .t-entry-text-tc.half-block-padding {
    padding: 10px 4px !important;
  }

}

/* -----------------------------------------
   EXTRA SMALL DEVICES (iPhone SE, etc.)
   ----------------------------------------- */
@media screen and (max-width: 374px) {

  .add-to-cart-overlay .add_to_cart_text {
    font-size: 8px !important;
  }

  .tmb.tmb-woocommerce h3.t-entry-title.h6 a {
    font-size: 10px !important;
  }

  .tmb.tmb-woocommerce span.price.h6,
  .tmb.tmb-woocommerce span.price.h6 ins.h3 {
    font-size: 12px !important;
  }

}