/* Category 12: keep all computer models visible on desktop and one complete card on mobile. */
body.category-id-12 .category__header .page-title-section {
  margin: 2rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

body.category-id-12 .category__description {
  max-width: 52rem;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

body.category-id-12 .artrel-computer-products__controls { display: none; }

body.category-id-12 .artrel-computer-products__list.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}

body.category-id-12 .artrel-computer-products__list .product-miniature {
  min-width: 0;
  width: 100%;
}

body.category-id-12 .artrel-computer-products__list .product-miniature__image-container {
  width: 100%;
}

.artrel-model-table__mobile { display: none; }

@media (max-width: 767.98px) {
  body.category-id-12 .category__header .page-title-section {
    margin: 1.2rem 0 .75rem;
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.16;
  }

  body.category-id-12 .category__description {
    margin-bottom: 1rem;
    font-size: .95rem;
  }

  body.category-id-12 .artrel-computer-products__controls {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .7rem;
  }

  body.category-id-12 .artrel-computer-products__label {
    flex: 1;
    color: #f4f7fa;
    font-size: .86rem;
    font-weight: 700;
  }

  body.category-id-12 .artrel-computer-products__counter {
    min-width: 2.6rem;
    color: rgba(255,255,255,.75);
    font-size: .82rem;
    text-align: center;
  }

  body.category-id-12 .artrel-computer-products__arrow {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: #24292e;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
  }

  body.category-id-12 .artrel-computer-products__arrow:disabled {
    opacity: .4;
    cursor: default;
  }

  body.category-id-12 .artrel-computer-products__list.products {
    display: flex;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  body.category-id-12 .artrel-computer-products__list.products::-webkit-scrollbar { display: none; }

  body.category-id-12 .artrel-computer-products__list .product-miniature {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .artrel-model-table__scroll { display: none; }
  .artrel-model-table__mobile { display: grid; gap: .75rem; }

  .artrel-model-mobile-card {
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .8rem;
    background: #1d2023;
  }

  .artrel-model-mobile-card__head {
    display: flex;
    align-items: center;
    gap: .8rem;
  }

  .artrel-model-mobile-card__head img {
    width: 4.5rem;
    height: 4.5rem;
    flex: 0 0 auto;
    border-radius: .55rem;
    object-fit: cover;
  }

  .artrel-model-mobile-card h3 {
    margin: 0;
    color: #fff;
    font-size: 1.13rem;
    line-height: 1.25;
  }

  .artrel-model-mobile-card__summary {
    margin: .8rem 0;
    color: rgba(255,255,255,.82);
    font-size: .88rem;
    line-height: 1.5;
  }

  .artrel-model-mobile-card dl { margin: 0; }

  .artrel-model-mobile-card dl > div {
    display: grid;
    grid-template-columns: 6.8rem minmax(0,1fr);
    gap: .6rem;
    padding: .55rem 0;
    border-top: 1px solid rgba(255,255,255,.09);
    font-size: .8rem;
    line-height: 1.4;
  }

  .artrel-model-mobile-card dt { color: rgba(255,255,255,.62); }
  .artrel-model-mobile-card dd { margin: 0; color: #fff; }

  .artrel-model-mobile-card details { margin: .45rem 0 .9rem; }

  .artrel-model-mobile-card summary {
    color: #66c4f5;
    cursor: pointer;
    font-size: .84rem;
    font-weight: 700;
  }

  .artrel-model-mobile-card details dl { margin-top: .6rem; }
  .artrel-model-mobile-card__link { display: block; text-align: center; }
}
