.mobile-catalog-shortcuts { display: none; }
.mobile-viper-config[hidden] { display: none; }

@media (max-width: 760px) {
  .catalog-mobile-compact .catalog-intro {
    padding: 12px 0;
    margin: 0 0 12px;
    background: none;
    border: 0;
  }

  .catalog-mobile-compact .catalog-intro .catalog-intro-top { padding: 0; }

  .catalog-mobile-compact .catalog-intro-copy h1 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 7.7vw, 2.5rem);
  }

  .catalog-mobile-compact .catalog-intro-copy > p,
  .catalog-mobile-compact .catalog-intro-help,
  .catalog-mobile-compact .catalog-support-links,
  .catalog-mobile-compact .filter-help,
  .catalog-mobile-compact .catalog-mobile-compact-grid .catalog-row-spacer,
  .catalog-mobile-compact .results-heading h2 {
    display: none;
  }

  .catalog-mobile-compact .mobile-catalog-shortcuts,
  .mobile-viper-config .mobile-viper-links {
    display: flex;
    gap: 0 16px;
    flex-wrap: wrap;
  }

  .mobile-catalog-shortcuts a,
  .mobile-viper-config .mobile-viper-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: .875rem;
    font-weight: 700;
  }

  .catalog-mobile-compact .catalog-layout { gap: 10px; padding-top: 10px; }
  .catalog-mobile-compact .results-heading {
    justify-content: flex-start;
    margin-block: 0 8px;
  }
  .catalog-mobile-compact .results-heading p { margin: 0; }

  .catalog-main.catalog-mobile-compact .product-grid.catalog-mobile-compact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid > :not(.product-card) {
    grid-column: 1 / -1;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] > .card-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-image .catalog-product-art-mascot,
  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-brand,
  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-supplied-retainer img,
  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-supplied-retainer span,
  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .catalog-parts-preview {
    display: none;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .catalog-stroke-badge {
    inset: 6px auto auto 6px;
    font-size: .85rem;
    padding: 3px 5px;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-copy {
    padding: 10px;
    gap: 0;
  }
  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-copy .eyebrow {
    font-size: .875rem;
    line-height: 1.2;
    margin: 0 0 5px;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-copy .card-name-row {
    display: block;
    min-height: 0;
    margin: 0 0 5px;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-name-row h3 {
    margin: 0;
    font-size: clamp(1.1rem, 4.8vw, 1.4rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-supplied-retainer {
    display: block;
    padding: 0;
    background: none;
    border: 0;
    min-height: 0;
    margin: 0 0 8px;
    font-size: .75rem;
    line-height: 1.2;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-supplied-retainer strong,
  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-type {
    font-size: .75rem;
    margin: 0 0 8px;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .owner-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 5px;
    padding: 0;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .owner-card-actions .card-link,
  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .owner-card-actions .catalog-parts-tile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 44px;
    padding: 0 2px;
    margin: 0;
    white-space: nowrap;
    font-size: .75rem;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .card-link svg { display: none; }
  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .catalog-parts-tile {
    background: #178329;
    color: #fff;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .catalog-parts-label {
    padding: 0;
    min-height: 0;
    font-size: inherit;
  }

  [data-viper-family] #viper-zp-refresh .zp-hero:has(> .mobile-viper-config:not([hidden])) {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  [data-viper-family] #viper-zp-refresh .zp-hero:has(> .mobile-viper-config:not([hidden])) .refresh-title-chucks {
    display: none;
  }

  [data-viper-family] #viper-zp-refresh .tool-product-heading {
    gap: 5px 12px;
  }

  [data-viper-family] #viper-zp-refresh .tool-product-heading .tool-product-logo {
    width: 72px;
    height: 44px;
  }

  [data-viper-family] #viper-zp-refresh .tool-product-heading .tool-product-model {
    font-size: clamp(32px, 9.5vw, 46px);
  }

  [data-viper-family] #viper-zp-refresh .tool-product-heading .tool-product-type {
    font-size: clamp(22px, 6vw, 28px);
  }

  .mobile-viper-config {
    width: 100%;
    min-width: 0;
    border: 1px solid #cbd5df;
    border-top: 4px solid #ffdc30;
    border-radius: 6px;
    padding: 12px;
  }

  .mobile-viper-config h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
  }

  .mobile-viper-config fieldset {
    min-width: 0;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
  }

  .mobile-viper-config legend {
    margin-bottom: 4px;
    font-weight: 700;
  }

  .mobile-viper-config .mobile-viper-choices {
    display: flex;
    gap: 6px;
  }

  .mobile-viper-config .mobile-viper-choices button {
    flex: 1;
    min-height: 44px;
    padding: 4px;
    border: 2px solid #aebbc5;
    border-radius: 4px;
    background: #fff;
    color: #171c20;
    font: inherit;
    font-weight: 700;
  }

  .mobile-viper-config .mobile-viper-choices button[aria-pressed="true"] {
    background: #ffdc30;
    border-color: #171c20;
  }

  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-action {
    display: grid;
    grid-template-columns: minmax(132px, .85fr) minmax(0, 1.15fr);
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    background: none;
    align-items: end;
  }

  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-selection { grid-column: 1 / -1; }
  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-selection-copy { display: block; }
  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-selection-copy > strong { font-size: 1.125rem; }
  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-selection-part,
  [data-viper-family] #viper-zp-refresh .mobile-viper-config .retainer-selected-label {
    display: inline;
    margin: 0 6px 0 0;
    padding: 0;
    border: 0;
    background: none;
    font-size: .875rem;
  }

  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-selection-feedback {
    margin: 4px 0 0;
    padding: 4px 6px;
    font-size: .75rem;
  }
  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-selection-fit,
  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-action > .zp-hammer-selection > .zp-selected-badge,
  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-label-mobile,
  [data-viper-family] #viper-zp-refresh .mobile-viper-config [data-zp-status]:empty,
  #viper-zp-refresh:has(.mobile-viper-config:not([hidden])) .zp-start-selection {
    display: none;
  }

  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-quantity,
  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-quantity .zp-quantity {
    width: 100%;
    min-width: 0;
  }

  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-quantity .zp-quantity {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-quantity {
    display: block;
    margin: 0;
  }

  [data-viper-family] #viper-zp-refresh .mobile-viper-config .zp-hammer-quantity label {
    display: block;
    margin: 0 0 3px;
    font-size: .75rem;
  }

  [data-viper-family] #viper-zp-refresh .mobile-viper-config [data-zp-add-hammer] {
    min-height: 44px;
    width: 100%;
    padding: 5px;
    font-size: .875rem;
  }
}

@media (360px <= width <= 760px) {
  .catalog-main.catalog-mobile-compact .product-grid.catalog-mobile-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .catalog-mobile-compact .catalog-mobile-compact-grid .product-card[data-card-standard] .catalog-product-art:is([data-product-art-category="2"],[data-product-art-category="9"],[data-product-art-category="12"]) {
    aspect-ratio: 4 / 5 !important;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .catalog-stroke-badge[data-catalog-badge="weight"] {
    inset: 6px 6px auto auto;
    border-width: 2px;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .catalog-chuck-badge {
    inset: auto auto 6px 6px;
    max-width: calc(100% - 12px);
    font-size: .8rem;
    padding: 3px 5px;
    border-width: 2px;
  }

  .catalog-mobile-compact .catalog-mobile-compact-grid .catalog-chuck-badge::before {
    font-size: .6rem;
    margin-bottom: 1px;
  }
}


@media (max-width: 760px) {
  .catalog-mobile-compact .catalog-mobile-compact-grid .catalog-rig-replacement {
    max-width: calc(100% - 12px);
    min-width: 0;
    font-size: .75rem;
  }
}
