/* Make2Go koleksiyon sayfası (gen_collection.py üretir) */

  .m2g-coll .gsc {
    --gsc-columns: 3;
    --gsc-ratio: 4 / 5;
    padding-top: 32px;
    padding-bottom: 60px;
  }

/* ---- Make2Go: OpenCart uyarlaması ---- */
.m2g-coll { font-family: 'Jost', sans-serif; }
.m2g-coll .page-width { width: 100%; max-width: 1850px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
@media (max-width: 749px) { .m2g-coll .page-width { padding: 0 15px; } }
.m2g-coll h1, .m2g-coll h2 { font-family: 'Jost', sans-serif; }
.m2g-coll .list-unstyled { list-style: none; padding: 0; margin: 0; }
.m2g-coll .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gw-heart { display: inline-flex; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #111; cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .12); transition: transform .15s ease, color .15s ease; }
.gw-heart--corner { position: absolute; top: .8rem; right: .8rem; z-index: 3; }
@media (max-width: 749px) {
  .m2g-coll .gsc__toolbar { gap: .8rem; }
  .m2g-coll .gsc__toolbar-right { gap: .8rem; min-width: 0; }
  .m2g-coll .gsc__btn { padding-left: 1rem; padding-right: 1rem; }
  .m2g-coll .gsc__sort select { max-width: 13rem; }
  .m2g-coll .gsc__count { display: none; }
  .m2g-coll .gsc__toggle { white-space: nowrap; }
  .m2g-coll .gsc__sort > svg { display: none; }
}
.m2g-coll .gsc__item { position: relative; }
.gw-heart:hover { transform: scale(1.08); color: #e11d48; }
.gw-heart svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 1.8; }

  .gsc { --gsc-ink: #393d3c; --gsc-line: #d9d9d9; display: block; color: #000; }
  .gsc__header { text-align: center; margin-bottom: 3.2rem; }
  .gsc__title { margin: 0 0 1rem; font-size: clamp(2.6rem, 2.6vw, 3.6rem); font-weight: 700; color: var(--gsc-ink); line-height: 1.1; }
  .gsc__desc { font-size: 1.6rem; color: var(--gsc-ink); }
  .gsc__desc p { margin: 0; }

  .gsc__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; margin-bottom: 1.6rem; }
  .gsc__toolbar-right { display: flex; align-items: center; gap: 1.6rem; }
  .gsc__btn {
    display: inline-flex; align-items: center; gap: .8rem; padding: .5rem 1rem; border: 1px solid var(--gsc-ink); border-radius: 6px;
    background: #fff; color: var(--gsc-ink); font: inherit; font-size: 1.6rem; line-height: 2.4rem; cursor: pointer;
  }
  .gsc__sort { position: relative; }
  .gsc__sort select { appearance: none; border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; padding: 0; }
  .gsc__count { font-size: 1.4rem; color: var(--gsc-ink); }

  .gsc__body { display: grid; grid-template-columns: 1fr; gap: 2.4rem; align-items: start; }
  @media (min-width: 990px) {
    .gsc__body { grid-template-columns: 27rem 1fr; }
    .gsc.is-filters-hidden .gsc__body { grid-template-columns: 1fr; }
  }
  .gsc.is-filters-hidden .gsc__filters { display: none; }
  @media (max-width: 989px) {
    .gsc:not(.is-filters-open) .gsc__filters { display: none; }
  }

  .gsc__group { border-bottom: 1px solid var(--gsc-line); padding: 1.2rem 0; }
  .gsc__group-title {
    display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none;
    font-size: 1.6rem; color: var(--gsc-ink);
  }
  .gsc__group-title::-webkit-details-marker { display: none; }
  .gsc__chev { transition: transform .2s; }
  .gsc__group[open] .gsc__chev { transform: rotate(180deg); }
  .gsc__options { margin: 1.2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
  .gsc__option label { display: flex; align-items: center; gap: 1rem; font-size: 1.4rem; cursor: pointer; }
  .gsc__option input { width: 1.6rem; height: 1.6rem; margin: 0; accent-color: var(--gsc-ink); flex: none; }
  .gsc__option-name { flex: 1; }
  .gsc__option-count { color: #6b6b6b; font-size: 1.2rem; }
  .gsc__option.is-empty { opacity: .45; }
  .gsc__show-all, .gsc__clear {
    margin-top: .8rem; padding: 0; border: 0; background: none; font: inherit; font-size: 1.4rem; color: var(--gsc-ink);
    text-decoration: underline; cursor: pointer;
  }
  .gsc__clear { margin-top: 1.6rem; }

  .gsc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1rem; margin: 0; padding: 0; }
  @media (min-width: 750px) { .gsc__grid { grid-template-columns: repeat(var(--gsc-columns), minmax(0, 1fr)); } }
  @media (min-width: 990px) {
    .gsc.is-filters-hidden .gsc__grid { grid-template-columns: repeat(calc(var(--gsc-columns) + 1), minmax(0, 1fr)); }
  }
  .gsc__item[hidden] { display: none; }
  .gsc__item { position: relative; }
  .gsc__item.is-painting .gsc__img { opacity: .55; transition: opacity .2s; }
  .gsc__media {
    position: relative; display: block; aspect-ratio: var(--gsc-ratio); border: 1px solid var(--gsc-line); border-radius: 6px;
    overflow: hidden; background: #fff; margin-bottom: 1.2rem;
  }
  .gsc__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
  .gsc__media:hover .gsc__img { transform: scale(1.03); }
  .gsc__badge {
    position: absolute; top: .8rem; left: .8rem; padding: .2rem .8rem; border-radius: 4px; background: var(--gsc-ink); color: #fff; font-size: 1.2rem;
  }
  .gsc__badge--sale { background: #c8102e; }

  .gsc__swatches { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.2rem; min-height: 2.6rem; }
  .gsc__swatch {
    width: 2rem; height: 2rem; padding: 0; border-radius: 50%; border: 1px solid #c9c9c9; background: var(--sw); cursor: pointer;
    outline-offset: 2px;
  }
  .gsc__swatch.is-selected { outline: 1.5px solid var(--gsc-ink); }
  .gsc__swatch-more { font-size: 1.2rem; color: var(--gsc-ink); }

  .gsc__subtitle { margin: 0 0 .6rem; font-size: 1.4rem; }
  .gsc__name { display: block; margin-bottom: .6rem; font-size: 1.6rem; line-height: 2rem; color: var(--gsc-ink); text-decoration: none; }
  .gsc__name:hover { text-decoration: underline; }
  .gsc__price { margin: 0; font-size: 1.4rem; }
  .gsc__price s { color: #6b6b6b; }
  .gsc__price--sale { color: #c8102e; }
  .gsc__empty { text-align: center; padding: 4rem 0; font-size: 1.6rem; }

/* ---- Make2Go (2026-10-07): koleksiyon ("Tümünü gör") geniş ekranda 5 ürün yan yana (filtreler gizliyken 6); kartlar buna göre küçülür ---- */
@media (min-width: 1100px) { .m2g-coll .gsc { --gsc-columns: 4; } }
@media (min-width: 1300px) { .m2g-coll .gsc { --gsc-columns: 5; } }
