/* =========================================
   Responsive — shared mobile overrides
   ========================================= */

/* Extra small mobile: below 380px */
@media (max-width: 380px) {
  .container,
  .row {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }

  .button,
  .single_add_to_cart_button,
  .checkout-button {
    min-height: 44px;
    font-size: 14px;
    padding: 12px 20px;
  }

  input.input-text,
  select,
  textarea {
    min-height: 44px;
    font-size: 14px;
  }
}

/* Small mobile: below 549px */
@media (max-width: 549px) {
  .sz-section-header,
  .sz-page-header {
    padding: 12px 16px;
  }

  .sz-section-header h1,
  .sz-page-header h1 {
    font-size: 18px;
  }

  .sz-grid-4,
  .product-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .sz-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .sz-text-center {
    text-align: center;
  }

  .sz-hide-mobile {
    display: none !important;
  }
}

/* Tablet: below 849px */
@media (max-width: 849px) {
  .sz-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .sz-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Touch targets */
@media (hover: none) {
  .button,
  .single_add_to_cart_button,
  a.button,
  input.button {
    min-height: 44px;
    min-width: 44px;
  }

  input.input-text,
  select {
    min-height: 44px;
  }
}
