/* ITNETCOM B2C mobile catalogue, readable single-card layout at phone widths.
   Keep desktop and tablet grids unaffected. No modification to product/promotional eligibility. */
@media (max-width:540px) {
  body:not(.itn-school-mode) .shop-page .shop-products-grid {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
    padding:3px 2px 14px !important;
    width:100% !important;
    overflow:visible !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid > .shop-product-card {
    display:flex !important;
    flex-direction:column !important;
    grid-row:auto !important;
    grid-template-rows:none !important;
    min-height:0 !important;
    border-radius:12px !important;
    padding:14px !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-top {
    display:flex !important;
    flex-direction:column !important;
    grid-row:auto !important;
    grid-template-rows:none !important;
    min-height:0 !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-link {
    display:flex !important;
    flex-direction:column !important;
    grid-row:auto !important;
    grid-template-rows:none !important;
    gap:8px !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-media {
    width:100% !important;
    height:210px !important;
    min-height:210px !important;
    max-height:210px !important;
    aspect-ratio:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:6px !important;
    margin:0 !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-media img {
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-name {
    font-size:15px !important;
    line-height:1.4 !important;
    min-height:0 !important;
    padding:2px 0 0 !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-meta {
    grid-row:auto !important;
    margin-top:9px !important;
    padding-top:0 !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-bottom {
    grid-row:auto !important;
    margin-top:auto !important;
    padding-top:13px !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-badge-row {
    grid-row:auto !important;
    min-height:22px !important;
    margin:0 0 3px !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .itn-welcome-card-row {
    padding:2px 0 7px !important;
    min-height:0 !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .itn-welcome-card-note {
    font-size:11px !important;
    padding:4px 7px !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-price {
    font-size:20px !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-actions {
    gap:10px !important;
  }
  body:not(.itn-school-mode) .shop-page .shop-products-grid .shop-product-cart {
    min-height:42px !important;
  }
}
