/** Shopify CDN: Minification failed

Line 19:17 Expected identifier but found whitespace
Line 19:19 Unexpected "{"
Line 19:28 Expected ":"
Line 19:57 Expected ":"

**/
/*
  TSG Collection Grid — Desktop styles
  Scoped to #tsg-product-grid to avoid Dawn base.css conflicts
  Root font: 13px — all sizes in px
  Desktop breakpoint: 990px+
*/

/* ─── Layout shell ─── */
#tsg-product-grid {
  padding-top: 56px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
}

#tsg-product-grid .tsg-grid__layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Filter sidebar ─── */
#tsg-product-grid .tsg-grid__filters {
  position: sticky;
  top: 24px;
  align-self: start;
}

#tsg-product-grid .tsg-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

#tsg-product-grid .tsg-filters__title {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-foreground);
}

#tsg-product-grid .tsg-filters__clear {
  font-size: 11px;
  color: var(--color-foreground);
  opacity: 0.5;
  text-decoration: none;
}

#tsg-product-grid .tsg-filters__clear:hover {
  opacity: 1;
}

#tsg-product-grid .tsg-filter__group {
  border-top: 1px solid rgba(var(--color-foreground), 0.1);
  padding: 14px 0;
}

#tsg-product-grid .tsg-filter__group:last-child {
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

#tsg-product-grid .tsg-filter__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-foreground);
}

#tsg-product-grid .tsg-filter__label::-webkit-details-marker { display: none; }

#tsg-product-grid details[open] .tsg-filter__chevron {
  transform: rotate(180deg);
}

#tsg-product-grid .tsg-filter__chevron {
  transition: transform 0.15s ease;
  opacity: 0.5;
}

#tsg-product-grid .tsg-filter__values {
  margin-top: 12px;
}

#tsg-product-grid .tsg-filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#tsg-product-grid .tsg-filter__option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#tsg-product-grid .tsg-filter__checkbox {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  accent-color: #0C1C30;
}

#tsg-product-grid .tsg-filter__option-label {
  font-size: 14px;
  color: var(--color-foreground);
  flex: 1;
}

#tsg-product-grid .tsg-filter__count {
  font-size: 11px;
  opacity: 0.45;
  color: var(--color-foreground);
}

#tsg-product-grid .tsg-filter__price-range {
  display: flex;
  gap: 10px;
}

#tsg-product-grid .tsg-filter__price-label {
  font-size: 11px;
  color: var(--color-foreground);
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

#tsg-product-grid .tsg-filter__price-input {
  width: 100%;
  padding: 5px 8px;
  font-size: 12px;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 4px;
  background: transparent;
  color: var(--color-foreground);
}

/* ─── Toolbar ─── */
#tsg-product-grid .tsg-grid__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

#tsg-product-grid .tsg-grid__count {
  font-size: 12px;
  opacity: 0.5;
  color: var(--color-foreground);
}

#tsg-product-grid .tsg-grid__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

#tsg-product-grid .tsg-grid__sort-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
  color: var(--color-foreground);
}

#tsg-product-grid .tsg-grid__sort-select {
  font-size: 12px;
  padding: 5px 28px 5px 10px;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 4px;
  background: transparent;
  color: var(--color-foreground);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

/* ─── Product grid ─── */
#tsg-product-grid .tsg-grid__cards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 16px;
}

/* ─── Card ─── */
#tsg-product-grid .tsg-card {
  background: rgb(var(--color-background));
  border: 1px solid rgba(var(--color-foreground), 0.1);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

#tsg-product-grid .tsg-card:hover {
  border-color: rgba(var(--color-foreground), 0.28);
}

/* ─── Card image ─── */
#tsg-product-grid .tsg-card__media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(var(--color-foreground), 0.03);
  text-decoration: none;
}

#tsg-product-grid .tsg-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}

#tsg-product-grid .tsg-card:hover .tsg-card__img {
  transform: scale(1.03);
}

#tsg-product-grid .tsg-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}

#tsg-product-grid .tsg-card__placeholder-svg {
  width: 50%;
  height: 50%;
}

/* ─── Badges ─── */
#tsg-product-grid .tsg-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  line-height: 1;
}

#tsg-product-grid .tsg-card__body .tsg-card__badge--tsg {
  position: static;
  display: block;
  margin-bottom: 6px;
  background: #0d1117;
  color: #c9a84c;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
}

#tsg-product-grid .tsg-card__badge--tsg {
  background: #0d1117;
  color: #c9a84c;
  font-size: 9px;
  letter-spacing: 0.12em;
}

#tsg-product-grid .tsg-card__badge--new {
  background: #042C53;
  color: #B5D4F4;
}

#tsg-product-grid .tsg-card__badge--used {
  background: #7A1F1F;
  color: #F5C4B3;
}

#tsg-product-grid .tsg-card__badge--sale {
  background: #993C1D;
  color: #F5C4B3;
  font-size: 12px;
  padding: 5px 10px;
}

#tsg-product-grid .tsg-card__badge--cs {
  background: #2C2C2A;
  color: #D3D1C7;
}

/* ─── Wishlist ─── */
#tsg-product-grid .tsg-card__wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgb(var(--color-background));
  border: 1px solid rgba(var(--color-foreground), 0.12);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(var(--color-foreground), 0.45);
  transition: color 0.15s, border-color 0.15s;
  padding: 0;
}

#tsg-product-grid .tsg-card__wishlist:hover {
  color: #993C1D;
  border-color: #993C1D;
}

#tsg-product-grid .tsg-card__wishlist.is-saved {
  color: #993C1D;
  border-color: #993C1D;
}

/* ─── Card body ─── */
#tsg-product-grid .tsg-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#tsg-product-grid .tsg-card__vendor {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(var(--color-foreground), 0.5);
  margin-bottom: 3px;
}

#tsg-product-grid .tsg-card__title {
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--color-foreground));
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#tsg-product-grid .tsg-card__title:hover {
  text-decoration: underline;
}

/* ─── Spec pills ─── */
#tsg-product-grid .tsg-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

#tsg-product-grid .tsg-card__pill {
  font-size: 10px;
  color: rgba(var(--color-foreground), 0.6);
  background: rgba(var(--color-foreground), 0.05);
  border-radius: 3px;
  padding: 2px 6px;
  line-height: 1.4;
}

#tsg-product-grid .tsg-card__pill--new {
  background: #E6F1FB;
  color: #0C447C;
}

#tsg-product-grid .tsg-card__pill--used {
  background: #FAEEDA;
  color: #633806;
}

#tsg-product-grid .tsg-card__pill--info {
  background: #DDE8F0;
  color: #1C3A52;
}

#tsg-product-grid .tsg-card__pill--shipping {
  background: #D6EFE0;
  color: #0F3D20;
}

#tsg-product-grid .tsg-card__pill--setup {
  background: #FDF3DC;
  color: #6B4A00;
}

#tsg-product-grid .tsg-card__pill--serial,
#tsg-product-grid .tsg-card__pill--weight {
  background: #E8EDF2;
  color: #0C1C30;
  font-weight: 600;
}

/* ─── Footer ─── */
#tsg-product-grid .tsg-card__footer {
  display: flex;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

/* ─── Pricing ─── */
#tsg-product-grid .tsg-card__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

#tsg-product-grid .tsg-card__price {
  font-size: 20px;
  font-weight: 700;
  color: rgb(var(--color-foreground));
}

#tsg-product-grid .tsg-card__compare {
  font-size: 12px;
  color: rgba(var(--color-foreground), 0.4);
  text-decoration: line-through;
}

#tsg-product-grid .tsg-card__savings {
  font-size: 11px;
  font-weight: 600;
  color: #993C1D;
  background: #F5C4B3;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.4;
  width: fit-content;
  display: block;
  margin-top: 4px;
}

/* ─── CTA buttons ─── */
#tsg-product-grid .tsg-card__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  width: 100%;
}

#tsg-product-grid .tsg-card__actions--dual .tsg-card__btn-atc,
#tsg-product-grid .tsg-card__actions--dual .tsg-card__btn-ask {
  width: 100%;
  text-align: center;
  justify-content: center;
}

#tsg-product-grid .tsg-card__btn-atc {
  background: #0C1C30;
  color: #E6F1FB;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background 0.12s ease;
  line-height: 1;
  width: 100%;
  text-align: center;
}

#tsg-product-grid .tsg-card__btn-atc:hover {
  background: #185FA5;
}

#tsg-product-grid .tsg-card__btn-atc:disabled {
  background: rgba(var(--color-foreground), 0.15);
  color: rgba(var(--color-foreground), 0.4);
  cursor: not-allowed;
}

#tsg-product-grid .tsg-card__btn-ask {
  background: transparent;
  color: rgb(var(--color-foreground));
  border: 1px solid rgba(var(--color-foreground), 0.25);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: border-color 0.12s ease;
  width: 100%;
}

#tsg-product-grid .tsg-card__btn-ask:hover {
  border-color: rgba(var(--color-foreground), 0.5);
}

#tsg-product-grid .tsg-card__actions--dual {
  flex-direction: column;
  align-items: stretch;
}

#tsg-product-grid .tsg-card__actions--dual .tsg-card__btn-atc,
#tsg-product-grid .tsg-card__actions--dual .tsg-card__btn-ask {
  text-align: center;
  justify-content: center;
}

/* ─── Pagination ─── */
#tsg-product-grid .tsg-grid__pagination {
  margin-top: 40px;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
}

#tsg-product-grid .tsg-grid__pagination .pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

#tsg-product-grid .tsg-grid__pagination a,
#tsg-product-grid .tsg-grid__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(var(--color-foreground), 0.15);
  border-radius: 4px;
  color: rgb(var(--color-foreground));
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

#tsg-product-grid .tsg-grid__pagination a:hover {
  border-color: rgba(var(--color-foreground), 0.4);
}

#tsg-product-grid .tsg-grid__pagination .current {
  background: #0C1C30;
  color: #E6F1FB;
  border-color: #0C1C30;
}

/* ─── Empty state ─── */
#tsg-product-grid .tsg-grid__empty {
  text-align: center;
  padding: 80px 24px;
  font-size: 14px;
  color: rgba(var(--color-foreground), 0.5);
}

/* ─── Mobile filter toggle — hidden on desktop ─── */
#tsg-product-grid .tsg-grid__filter-toggle {
  display: none;
}

/* ─── Mobile (≤990px) ─── */
@media screen and (max-width: 990px) {
  #tsg-product-grid .tsg-grid__layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  #tsg-product-grid .tsg-grid__filters {
    display: none;
  }

  #tsg-product-grid .tsg-grid__filters.is-open {
    display: block;
    border: 1px solid rgba(var(--color-foreground), 0.1);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
  }

  #tsg-product-grid .tsg-grid__filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 14px;
    border: 1px solid rgba(var(--color-foreground), 0.2);
    border-radius: 5px;
    background: transparent;
    color: rgb(var(--color-foreground));
    cursor: pointer;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
  }

  #tsg-product-grid .tsg-grid__cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #tsg-product-grid .tsg-card {
    flex-direction: row;
    border-radius: 10px;
  }

  #tsg-product-grid .tsg-card__media {
    width: 160px;
    min-width: 160px;
    aspect-ratio: auto;
    flex-shrink: 0;
    border-radius: 10px 0 0 10px;
  }

  #tsg-product-grid .tsg-card__body {
    padding: 10px 12px 12px;
  }

  #tsg-product-grid .tsg-card__title {
    font-size: 13px;
  }

  #tsg-product-grid .tsg-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  #tsg-product-grid .tsg-card__actions {
    width: 100%;
  }

  #tsg-product-grid .tsg-card__btn-atc,
  #tsg-product-grid .tsg-card__btn-ask {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  #tsg-product-grid .tsg-card__wishlist {
    display: none;
  }

  #tsg-product-grid .tsg-grid__pagination .pagination {
    flex-wrap: wrap;
    gap: 4px;
  }

  #tsg-product-grid .tsg-grid__pagination a,
  #tsg-product-grid .tsg-grid__pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  #tsg-product-grid .tsg-grid__pagination .prev a::before {
    content: '←';
  }

  #tsg-product-grid .tsg-grid__pagination .next a::after {
    content: '→';
  }

  #tsg-product-grid .tsg-grid__pagination .prev a,
  #tsg-product-grid .tsg-grid__pagination .next a {
    font-size: 0;
  }

  #tsg-product-grid .tsg-grid__pagination .prev a::before,
  #tsg-product-grid .tsg-grid__pagination .next a::after {
    font-size: 16px;
  }
}