/* Make2Go favoriler (gen_wishlist.py üretir) */
/* Giyim — Wishlist: kalp butonları + bildirim */
.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, background .15s ease;
}
.gw-heart:hover { transform: scale(1.08); }
.gw-heart svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.gw-heart.is-wished { color: #e11d48; }
.gw-heart.is-wished svg { fill: currentColor; }
.gw-heart--corner { position: absolute; top: .8rem; right: .8rem; z-index: 3; }
.gw-heart--inline { width: auto; height: auto; padding: .9rem 1.4rem; border: 1px solid #d1d5db; border-radius: 4px; box-shadow: none; gap: .6rem; font: inherit; font-size: 1.4rem; background: #fff; }
.gw-heart--inline.is-wished { border-color: #e11d48; }
.gw-heart--inline .gw-heart-on { display: none; }
.gw-heart--inline.is-wished .gw-heart-on { display: inline; }
.gw-heart--inline.is-wished .gw-heart-off { display: none; }
.gw-toast {
  position: fixed; left: 50%; bottom: 2.4rem; z-index: 2000; display: flex; align-items: center; gap: 1.6rem;
  padding: 1.2rem 1.8rem; border-radius: 999px; background: #111; color: #fff; font-size: 1.4rem;
  box-shadow: 0 10px 30px rgb(0 0 0 / .25); transform: translate(-50%, 150%); opacity: 0; transition: transform .3s ease, opacity .3s ease; pointer-events: none;
}
.gw-toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.gw-toast a { color: #fcd34d; font-weight: 700; text-decoration: underline; white-space: nowrap; }
[data-wishlist-count][hidden] { display: none !important; }

/* ---- Make2Go: OpenCart uyarlaması ---- */
.gwl { font-family: 'Jost', sans-serif; display: block; }
.gwl .page-width { width: 100%; max-width: 1850px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
@media (max-width: 749px) { .gwl .page-width { padding: 0 15px; } }
.gwl h1, .gwl h2 { font-family: 'Jost', sans-serif; }
.gwl .list-unstyled { list-style: none; padding: 0; margin: 0; }
.gwl .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gwl__note { color: #6b7280; font-size: 1.3rem; }
.gw-toast { font-family: 'Jost', sans-serif; z-index: 3000; }

  .gwl { --gwl-ink: #111827; --gwl-muted: #6b7280; --gwl-line: #e5e7eb; --gwl-soft: #f5f5f5; --gwl-sale: #e5322d; display: block; color: var(--gwl-ink); }
  .gwl [hidden] { display: none !important; }
  .gwl__hero { background: var(--gwl-soft); padding: 4rem 0 3.6rem; text-align: center; }
  .gwl__title { margin: 0; font-size: clamp(3rem, 4vw, 4.4rem); line-height: 1.1; letter-spacing: -.01em; }
  .gwl__sub { margin: .8rem 0 0; color: var(--gwl-muted); font-size: 1.5rem; }
  .gwl__body { padding-top: 3.2rem; padding-bottom: 6.4rem; }
  .gwl__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding-bottom: 1.6rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--gwl-line); }
  .gwl__count { margin: 0; font-size: 1.5rem; }
  .gwl__tools { display: flex; align-items: center; gap: 1.6rem; }
  .gwl__sort select { appearance: none; border: 1px solid #d1d5db; border-radius: 6px; padding: .8rem 3rem .8rem 1.2rem; font: inherit; font-size: 1.4rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem; cursor: pointer; }
  .gwl__link { border: 0; background: none; padding: 0; font: inherit; font-size: 1.4rem; color: var(--gwl-muted); text-decoration: underline; cursor: pointer; }
  .gwl__link:hover { color: var(--gwl-ink); }

  .gwl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.2rem 1.6rem; margin: 0; padding: 0; }
  @media (min-width: 750px) { .gwl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem 2rem; } }
  @media (min-width: 1100px) { .gwl__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .gwl__card { display: flex; flex-direction: column; text-align: center; animation: gwl-in .35s ease both; }
  @keyframes gwl-in { from { opacity: 0; transform: translateY(8px); } }
  .gwl__card.is-leaving { opacity: 0; transform: scale(.96); transition: opacity .25s, transform .25s; }
  .gwl__media { position: relative; display: block; aspect-ratio: 1; background: #f7f7f7; overflow: hidden; }
  .gwl__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; box-sizing: border-box; transition: transform .45s ease; }
  .gwl__card:hover .gwl__media img { transform: scale(1.04); }
  .gwl__badge { position: absolute; top: 1.2rem; left: 1.2rem; padding: .3rem .8rem; border-radius: 3px; background: var(--gwl-sale); color: #fff; font-size: 1.2rem; }
  .gwl__actions { position: absolute; top: 1.2rem; right: 1.2rem; display: flex; flex-direction: column; gap: .8rem; z-index: 2; }
  .gwl__icon { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border: 0; border-radius: 50%; background: #fff; color: var(--gwl-ink); box-shadow: 0 2px 8px rgb(0 0 0 / .1); cursor: pointer; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
  .gwl__icon:hover { background: var(--gwl-ink); color: #fff; transform: scale(1.05); }
  .gwl__icon svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .gwl__cta { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.6rem; display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.2rem; border-radius: 4px; background: var(--gwl-ink); color: #fff; font-size: 1.4rem; text-decoration: none; opacity: 0; transform: translateY(1rem); transition: opacity .25s, transform .25s; }
  .gwl__card:hover .gwl__cta, .gwl__cta:focus-visible { opacity: 1; transform: none; }
  @media (hover: none) { .gwl__cta { opacity: 1; transform: none; position: static; margin-top: 1rem; border-radius: 4px; } }
  .gwl__type { margin: 1.4rem 0 .2rem; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gwl-muted); }
  .gwl__name { font-size: 1.5rem; font-weight: 600; color: var(--gwl-ink); text-decoration: none; line-height: 1.35; }
  .gwl__name:hover { text-decoration: underline; }
  .gwl__price { margin: .6rem 0 0; font-size: 1.5rem; font-weight: 600; display: flex; justify-content: center; gap: .8rem; }
  .gwl__price s { color: var(--gwl-muted); font-weight: 400; }
  .gwl__price .is-sale { color: var(--gwl-sale); }
  .gwl__added { margin: .4rem 0 0; font-size: 1.2rem; color: var(--gwl-muted); }

  .gwl__state { max-width: 52rem; margin: 2rem auto; padding: 4.8rem 2.4rem; text-align: center; border: 1px solid var(--gwl-line); border-radius: 16px; background: #fff; }
  .gwl__state h2 { margin: 1.6rem 0 .8rem; font-size: 2.4rem; }
  .gwl__state p { margin: 0 auto; max-width: 40rem; color: var(--gwl-muted); font-size: 1.5rem; line-height: 1.5; }
  .gwl__state-icon { display: inline-flex; align-items: center; justify-content: center; width: 7.2rem; height: 7.2rem; border-radius: 50%; background: #fff1f2; color: #e11d48; }
  .gwl__state-icon svg { width: 3.4rem; height: 3.4rem; fill: currentColor; }
  .gwl__state-actions { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 2.4rem; }
  .gwl__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 16rem; padding: 1.3rem 2.4rem; border: 1px solid var(--gwl-ink); border-radius: 4px; color: var(--gwl-ink); background: #fff; font-size: 1.4rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
  .gwl__btn:hover { background: #f3f4f6; }
  .gwl__btn--primary { background: var(--gwl-ink); color: #fff; }
  .gwl__btn--primary:hover { background: #374151; }
  .gwl__more { margin: 4.8rem 0 0; text-align: center; font-size: 1.4rem; color: var(--gwl-muted); }
  .gwl__more a { color: var(--gwl-ink); font-weight: 600; }
