/* ARIAN v21 — Polymer structure now uses the same card system as Products Usage.
 * Desktop inherits the exact existing c-products-usage-content styling.
 * This file only mirrors the accepted responsive rules for #products-structure.
 */

@media (max-width: 767px) {
  #products-structure {
    padding: 40px 0 48px !important;
    overflow: visible !important;
  }

  #products-structure .o-section__wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  #products-structure .c-products-usage-content > .title {
    justify-content: center !important;
    text-align: center !important;
    width: max-content !important;
    max-width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 26px !important;
  }

  #products-structure .c-products-usage-content > ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: start !important;
    justify-content: center !important;
  }

  #products-structure .home-services__item {
    width: 145px !important;
    min-width: 145px !important;
    max-width: 145px !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    margin: 0 auto !important;
    overflow: visible !important;
    background-color: transparent !important;
  }

  #products-structure .home-services__item > a {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 8px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    overflow: visible !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }

  #products-structure .home-services__item .on-hover {
    display: none !important;
  }

  #products-structure .home-services__item .df-img {
    display: block !important;
    position: static !important;
    width: 78px !important;
    height: 64px !important;
    max-width: 76% !important;
    max-height: 64px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  #products-structure .home-services__item h2 {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 122px !important;
    min-height: 42px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    background-color: transparent !important;
  }

  #products-structure .home-services__item h2::before {
    content: none !important;
    display: none !important;
  }

  #products-structure .home-services__item h2::after {
    content: "" !important;
    position: static !important;
    display: block !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 2px !important;
    flex: 0 0 2px !important;
    margin: 7px auto 0 !important;
    padding: 0 !important;
    background: #FFD400 !important;
    border: 0 !important;
    border-radius: 2px !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  #products-structure {
    overflow: visible !important;
  }

  #products-structure .c-products-usage-content > ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
