/* Scope every rule to mobile; nothing here changes the approved desktop shop. */
.tg-mr { display:none; }
@media (max-width: 991px) {
  /* Neutralize Puca's legacy mobile header and fixed navigation. */
  body .topbar-mobile,body .tbay-topbar-mobile,body #tbay-header-mobile,
  body .tbay-header-mobile,body .header-mobile,body .mobile-header,
  body .footer-mobile,body .tbay-footer-mobile,body .tbay-mobile-footer,
  body .footer-mobile-container,body .mobile-footer,
  body #tbay-mobile-menu,body .tbay-mobile-menu,
  body .mobile-nav,body .mobile-bottom-nav {
    display:none!important;
  }
  body .tg-mr {display:block!important; position:relative; z-index:1005; width:100%; background:#fff; border-bottom:1px solid #FDC1DD; font-family:inherit;}
  body .tg-mr * {box-sizing:border-box;}
  body .tg-mr__bar {height:68px; padding:6px 16px; display:grid;grid-template-columns:40px minmax(0,1fr) 45px;align-items:center;gap:8px;}
  body .tg-mr__brand {display:flex;align-items:center;justify-content:center;min-width:0;height:60px;}
  body .tg-mr__logo {display:block;max-height:56px;width:auto;max-width:185px;object-fit:contain;}
  body .tg-mr__fallback {font-size:22px;font-weight:900;color:#E64D87;}
  body .tg-mr__hamburger {display:flex;align-items:center;justify-content:center;font-size:25px;color:#E64D87;cursor:pointer;list-style:none;width:38px;height:42px;}
  body .tg-mr__hamburger::-webkit-details-marker,body .tg-mr__group summary::-webkit-details-marker {display:none;}
  body .tg-mr__cart {display:flex;position:relative;align-items:center;justify-content:center;font-size:30px;color:#151515;line-height:1;min-height:40px;text-decoration:none;}
  body .tg-mr__cart span {position:absolute;top:1px;right:0;border-radius:20px;background:#FDC1DD;color:#151515;font-size:10px;font-weight:800;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;}
  body .tg-mr__search {display:flex!important;align-items:stretch;gap:0;margin:0 14px 12px;border:1px solid #F1DCE6;border-radius:11px;overflow:hidden;background:#fff;height:43px;}
  body .tg-mr__search input {display:block!important;min-width:0;flex:1;width:100%;border:0!important;outline:0!important;background:#fff!important;font-size:14px;padding:0 12px!important;box-shadow:none!important;margin:0!important;}
  body .tg-mr__search button {display:flex;align-items:center;justify-content:center;border:0!important;border-radius:0!important;width:48px;flex:0 0 48px;background:#FE87BD!important;color:#151515!important;font-size:24px;cursor:pointer;}
  body .tg-mr__sr {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;}
  body .tg-mr__panel {position:absolute;top:100%;left:0;width:min(88vw,360px);max-height:calc(100vh - 130px);overflow:auto;background:#fff;box-shadow:0 14px 34px rgba(21,21,21,.17);border:1px solid #FDC1DD;border-radius:0 0 17px 0;padding:14px 16px 24px;z-index:9999;}
  body .tg-mr__paneltop {font-size:18px;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid #F1DCE6;}
  body .tg-mr__direct,body .tg-mr__group>summary {display:block;font-weight:700;color:#151515!important;text-decoration:none!important;padding:13px 3px;border-bottom:1px solid #F7EDF2;cursor:pointer;list-style:none;}
  body .tg-mr__group>summary:after {content:'+';float:right;color:#E64D87;}
  body .tg-mr__group[open]>summary:after {content:'−';}
  body .tg-mr__links {display:grid;gap:0;padding:5px 4px 11px 16px;background:#FFF8FB;}
  body .tg-mr__links a {display:block;padding:9px 2px;font-weight:500;color:#272329!important;text-decoration:none!important;}
  /* Product archives: single readable column, no Puca floats or oversized image overflow. */
  body.tax-product_cat .products,body.post-type-archive-product .products,body.tax-product_tag .products {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  body.tax-product_cat .products .product,body.post-type-archive-product .products .product,body.tax-product_tag .products .product {
    float:none!important;clear:none!important;position:relative!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    flex:initial!important;margin:0!important;padding:0!important;transform:none!important;
  }
  body.tax-product_cat .products .product .product-block,body.post-type-archive-product .products .product .product-block,body.tax-product_tag .products .product .product-block {
    width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;
    height:auto!important;min-height:0!important;padding-bottom:12px!important;
  }
  body.tax-product_cat .products .product img,body.post-type-archive-product .products .product img,body.tax-product_tag .products .product img {
    max-width:100%!important; height:auto!important;object-fit:contain!important;
  }
  body.tax-product_cat .products .product .name,body.tax-product_cat .products .product .product-name,
  body.post-type-archive-product .products .product .name,body.post-type-archive-product .products .product .product-name {font-size:15px!important;}
  /* Give the product list natural width even if a parent Puca grid has a fixed width. */
  body.tax-product_cat .products,body.tax-product_cat .products > *,body.post-type-archive-product .products > * {min-width:0!important;}
  body .tg-home-header {display:none!important;}
}

@media (min-width:600px) and (max-width:991px) {
 body.tax-product_cat .products,body.post-type-archive-product .products,body.tax-product_tag .products {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
