/* ARIAN v20 — ONLY center the polymer-structure mobile grid.
 * No typography/image/card-design changes. No other section is touched.
 */
@media (max-width: 767px) {
  #products-structure .c-products-tabs {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }

  #products-structure .tabs-content {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  #products-structure .tabs {
    display: grid !important;
    grid-template-columns: 145px 145px !important;
    grid-auto-flow: row !important;
    width: 304px !important;
    max-width: calc(100vw - 28px) !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 24px 14px !important;
    justify-content: center !important;
    align-items: start !important;
    justify-items: center !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  #products-structure .tabs > .tab,
  #products-structure .tabs > .tab:nth-child(1),
  #products-structure .tabs > .tab:nth-child(2),
  #products-structure .tabs > .tab:nth-child(3),
  #products-structure .tabs > .tab:nth-child(4),
  #products-structure .tabs > .tab:nth-child(5) {
    grid-column: auto !important;
    width: 145px !important;
    min-width: 145px !important;
    max-width: 145px !important;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    justify-self: center !important;
  }
}

@media (max-width: 340px) {
  #products-structure .tabs {
    grid-template-columns: 136px 136px !important;
    width: 280px !important;
    max-width: calc(100vw - 24px) !important;
    gap: 20px 8px !important;
  }

  #products-structure .tabs > .tab,
  #products-structure .tabs > .tab:nth-child(1),
  #products-structure .tabs > .tab:nth-child(2),
  #products-structure .tabs > .tab:nth-child(3),
  #products-structure .tabs > .tab:nth-child(4),
  #products-structure .tabs > .tab:nth-child(5) {
    width: 136px !important;
    min-width: 136px !important;
    max-width: 136px !important;
  }
}
