
/* PEYNET — UNIFIED MOBILE DESIGN */
/* Desktop styles remain untouched. */

@media (max-width: 767px) {

  /* Consistent page spacing */
  .products,
  .router-products,
  .laser-products {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Single-column mobile products */
  .router-products,
  .laser-products {
    flex-direction: column;
    align-items: stretch;
  }

  .router-products > .product-column,
  .laser-products > .product-column {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    min-width: 0;
  }

  /* Consistent product cards */
  .router-products .product-card,
  .laser-products .product-card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
    overflow: hidden;
  }

  /* Product title and description above photograph */
  .router-products .product-card > .product-card-head,
  .laser-products .product-card > .product-card-head {
    order: 0;
  }

  /* Main photograph */
  .router-products .product-card > img,
  .laser-products .product-card > img,
  .laser-products .product-card > .laser-family-visual {
    order: 1;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 12px;
  }

  /* Thumbnail gallery */
  .router-products .product-card > .thumbs,
  .laser-products .product-card > .thumbs {
    order: 2;
    max-width: 100%;
  }

  /* View Details remains below photographs */
  .router-products .product-card > .expand-toggle,
  .laser-products .product-card > .expand-toggle {
    order: 3;
    min-height: 44px;
  }

  /* Expanded specifications and information */
  .router-products .product-card > .expandable-content,
  .laser-products .product-card > .expandable-content {
    order: 4;
  }

  /* Prevent oversized pictures */
  .products img {
    max-width: 100%;
  }
}
