/** Shopify CDN: Minification failed

Line 8:11 Expected identifier but found whitespace
Line 8:39 Unexpected "("

**/
/* PrintIdeas collection responsive compact layout - deploy 20260709T174348Z */
   Desktop: product-first, balanced H1 (36–42px), tight header cluster.
   Mobile: readable H1 (28–34px), preserved tap targets and chip scroll. */
@media screen and (min-width: 990px) {
  /* Announcement bar — collection pages only */
  body.template-collection .announcement-bar,
  body.template-collection .utility-bar {
    --padding-block-start: 2px;
    --padding-block-end: 2px;
  }

  body.template-collection .announcement-bar .announcement-bar__message,
  body.template-collection .utility-bar__item {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  /* Header / logo / search cluster */
  body.template-collection #header-component .header__row--top {
    --padding-block-start: 3px;
    --padding-block-end: 3px;
  }

  body.template-collection .header__heading-logo-wrapper img,
  body.template-collection .header__heading-logo {
    max-height: 2.1rem;
  }

  .printideas-marketplace-search {
    padding-block: 0.08rem 0.12rem;
  }

  .printideas-marketplace-search__form {
    min-height: 36px;
    padding: 0.1rem 0.18rem 0.1rem 0.7rem;
    gap: 0.45rem;
  }

  .printideas-marketplace-search__button {
    min-height: 28px;
    padding-inline: 0.85rem;
    font-size: 0.9rem;
  }

  /* Etsy trust line */
  body.template-collection header .page-width:has(.printideas-judgeme-shop-trust) {
    padding: 0.08rem 1rem 0.12rem !important;
  }

  body.template-collection .printideas-judgeme-shop-trust {
    font-size: 0.82rem !important;
    line-height: 1.2;
  }

  /* Category chips */
  body.template-collection .printideas-category-chips-bar {
    padding-block: 2px 4px !important;
  }

  body.template-collection .printideas-home-category-strip__inner {
    gap: 0.28rem !important;
    padding: 0.04rem 0 0.1rem !important;
  }

  body.template-collection .printideas-home-category-tile {
    padding: 0.32rem 0.62rem !important;
    font-size: 0.78rem !important;
    min-height: 30px;
  }

  /* Collection heading (title + description) */
  body.template-collection #MainContent > .shopify-section:first-child .section {
    --padding-block-start: 8px !important;
    --padding-block-end: 4px !important;
  }

  body.template-collection #MainContent > .shopify-section:first-child .group-block,
  body.template-collection #MainContent > .shopify-section:first-child .section-content-wrapper {
    gap: 3px !important;
  }

  body.template-collection #MainContent > .shopify-section:first-child h1,
  body.template-collection #MainContent > .shopify-section:first-child .text-block h1 {
    margin: 0 !important;
    font-size: clamp(2.25rem, 2.5vw, 2.625rem) !important;
    font-weight: 600 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.01em;
  }

  body.template-collection #MainContent > .shopify-section:first-child .text-block p,
  body.template-collection #MainContent > .shopify-section:first-child .rte,
  body.template-collection #MainContent > .shopify-section:first-child .text-block.rte > * {
    margin: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.32 !important;
    max-width: 58ch;
  }

  /* Clamp long collection descriptions on desktop (content unchanged) */
  body.template-collection #MainContent > .shopify-section:first-child .text-block.rte p,
  body.template-collection #MainContent > .shopify-section:first-child .rte p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Tight gap between heading section and product grid */
  body.template-collection #MainContent > .shopify-section + .shopify-section {
    margin-top: 0 !important;
  }

  body.template-collection #MainContent > .shopify-section:nth-child(2) .section {
    --padding-block-start: 0 !important;
  }

  /* Filters / sort row */
  body.template-collection .facets-block-wrapper {
    --padding-block-start: 2px !important;
    --padding-block-end: 2px !important;
  }

  body.template-collection .facets-controls-wrapper,
  body.template-collection .facets__form,
  body.template-collection .facets-horizontal {
    margin-bottom: 2px !important;
    padding-block: 1px !important;
  }

  body.template-collection .facets__summary,
  body.template-collection .facets__label,
  body.template-collection .sorting-filter {
    font-size: 0.88rem;
  }

  body.template-collection .product-grid-container {
    --padding-block-start: 0px !important;
  }

  body.template-collection .main-collection-grid,
  body.template-collection .collection-wrapper,
  body.template-collection .collection-wrapper--grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.template-collection .product-grid {
    margin-top: 0 !important;
  }

  /* Product card title height reserve (fallback if card-align asset absent) */
  body.template-collection product-card a[ref="productTitleLink"] p[role="heading"],
  body.template-collection product-card .text-block.rte p[role="heading"] {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: calc(1.35em * 3);
  }
}

/* Mobile: readable, touch-friendly — do not mirror desktop compaction */
@media screen and (max-width: 989px) {
  body.template-collection #MainContent > .shopify-section:first-child .section {
    --padding-block-start: 14px !important;
    --padding-block-end: 10px !important;
  }

  body.template-collection #MainContent > .shopify-section:first-child h1,
  body.template-collection #MainContent > .shopify-section:first-child .text-block h1 {
    margin: 0 !important;
    font-size: clamp(1.75rem, 4.5vw, 2.125rem) !important;
    line-height: 1.18 !important;
    font-weight: 600 !important;
  }

  body.template-collection #MainContent > .shopify-section:first-child .text-block p,
  body.template-collection #MainContent > .shopify-section:first-child .rte p {
    font-size: 0.94rem !important;
    line-height: 1.4 !important;
  }

  body.template-collection .printideas-home-category-tile {
    min-height: 36px;
    padding: 0.42rem 0.72rem !important;
  }

  body.template-collection .printideas-category-chips-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.template-collection product-card a[ref="productTitleLink"] p[role="heading"],
  body.template-collection product-card .text-block.rte p[role="heading"] {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.32;
    min-height: calc(1.32em * 2);
  }
}