/* Giyim — Sepet (Your Bag). Tasarım sistemi: beyaz/siyah, aksiyon #FFD60A + siyah yazı, rozet #FF6B35, Jost. */
giyim-bag { --gb-ink: #000; --gb-muted: #6b7280; --gb-line: #e5e7eb; --gb-soft: #f8f9fa; --gb-accent: #ffd60a; --gb-accent-2: #ff6b35; --gb-sale: #e5322d;
  display: block; color: var(--gb-ink); font-size: 1.4rem; }
giyim-bag [hidden] { display: none !important; }
giyim-bag svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html.gb-lock, html.gb-lock body { overflow: hidden; }

/* ---------- çekmece ---------- */
.gb--drawer { position: fixed; inset: 0; z-index: 2100; pointer-events: none; }
.gb--drawer .gb__overlay { position: absolute; inset: 0; background: rgb(0 0 0 / .45); opacity: 0; transition: opacity .3s; }
.gb--drawer .gb__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 48rem); display: flex; flex-direction: column; background: #fff;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); box-shadow: -12px 0 40px rgb(0 0 0 / .15); outline: none; }
.gb--drawer.is-open { pointer-events: auto; }
.gb--drawer.is-open .gb__overlay { opacity: 1; }
.gb--drawer.is-open .gb__panel { transform: none; }
.gb--drawer .gb__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.gb--drawer .gb__main { display: block; }

/* ---------- sayfa ---------- */
.gb--page .gb__panel { max-width: 132rem; margin: 0 auto; padding: 3.2rem 1.6rem 6rem; }
.gb--page .gb__main { display: grid; gap: 3.2rem; }
@media (min-width: 990px) {
  .gb--page .gb__main { grid-template-columns: minmax(0, 1fr) 40rem; align-items: start; }
  .gb--page .gb__col--side { position: sticky; top: 2rem; border: 1px solid var(--gb-line); border-radius: 12px; padding: 0 0 2rem; }
}
.gb--page .gb__title { font-size: clamp(2.8rem, 3vw, 3.6rem); }

/* ---------- başlık ---------- */
.gb__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.8rem 2rem; border-bottom: 1px solid var(--gb-line); }
.gb__title { margin: 0; font-size: 2.2rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.gb__title span { font-weight: 400; color: var(--gb-muted); }
.gb__head-tools { display: flex; align-items: center; gap: .8rem; }
.gb__tab { display: inline-flex; align-items: center; justify-content: center; width: 5.2rem; height: 4rem; border: 1px solid var(--gb-line); color: var(--gb-muted); }
.gb__tab.is-active { border-color: var(--gb-ink); color: var(--gb-ink); }
.gb__tab:hover { color: var(--gb-ink); }
.gb__close { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border: 0; background: none; cursor: pointer; color: var(--gb-ink); }
.gb__close svg { width: 2.4rem; height: 2.4rem; }

/* ---------- kargo çubuğu + uyarı ---------- */
.gb__ship { padding: 1.6rem 2rem 1.2rem; }
.gb__ship-text { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; font-size: 1.4rem; }
.gb__ship.is-done .gb__ship-text { color: #047857; }
.gb__bar { height: .8rem; border-radius: 99px; background: #eceff3; overflow: hidden; }
.gb__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--gb-accent); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); transition: width .5s ease; }
.gb__ship.is-done .gb__bar span { background: #10b981; box-shadow: none; }
.gb__bar-labels { display: flex; justify-content: space-between; margin-top: .6rem; font-size: 1.2rem; color: var(--gb-muted); }
.gb__notice { display: flex; gap: .8rem; margin: 0 2rem 1.2rem; padding: 1rem 1.2rem; border-radius: 8px; background: var(--gb-soft); font-size: 1.3rem; line-height: 1.45; }
.gb__i { display: inline-flex; color: var(--gb-ink); }
.gb__i svg { width: 1.6rem; height: 1.6rem; }

/* ---------- ürünler ---------- */
.gb__items { list-style: none; margin: 0; padding: 0 2rem; }
.gb__item { display: grid; grid-template-columns: 8.4rem 1fr; gap: 1.4rem; padding: 1.6rem 0; border-bottom: 1px solid var(--gb-line); }
.gb--page .gb__item { grid-template-columns: 12rem 1fr; }
.gb__thumb { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--gb-soft); overflow: hidden; }
.gb__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gb__tag { position: absolute; left: .4rem; bottom: .4rem; padding: .2rem .5rem; border-radius: 3px; background: var(--gb-accent); color: #000; font-size: 1rem; font-weight: 700; text-transform: uppercase; }
.gb__info { display: flex; flex-direction: column; min-width: 0; }
.gb__row1 { display: flex; justify-content: space-between; gap: 1rem; }
.gb__name { font-weight: 600; color: var(--gb-ink); text-decoration: none; line-height: 1.35; }
.gb__name:hover { text-decoration: underline; }
.gb__wish { border: 0; background: none; padding: 0; cursor: pointer; color: var(--gb-ink); height: 2.2rem; }
.gb__wish.is-on { color: #e11d48; }
.gb__wish.is-on svg { fill: currentColor; }
.gb__variant { margin: .3rem 0 0; color: var(--gb-muted); font-size: 1.3rem; }
.gb__pack { align-self: flex-start; margin: .6rem 0 0; padding: .2rem .8rem; border-radius: 99px; background: #fff7ed; color: #9a3412; font-size: 1.15rem; font-weight: 600; }
.gb__row2 { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.gb__price { margin: 0; font-weight: 700; }
.gb__price s { color: var(--gb-muted); font-weight: 400; margin-right: .4rem; }
.gb__qty { display: inline-flex; align-items: center; gap: 1.2rem; }
.gb__qty button { width: 2.8rem; height: 2.8rem; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--gb-ink); }
.gb__qty button:disabled { color: #d1d5db; cursor: default; }
.gb__qty span { min-width: 1.6rem; text-align: center; font-weight: 600; }
.gb__remove, .gb__link { align-self: flex-start; margin-top: .4rem; padding: 0; border: 0; background: none; font: inherit; font-size: 1.2rem; color: var(--gb-muted); text-decoration: underline; cursor: pointer; }

.gb__empty { text-align: center; padding: 4rem 2rem; }
.gb__empty-icon { display: inline-flex; width: 6.4rem; height: 6.4rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--gb-soft); }
.gb__empty-icon svg { width: 3rem; height: 3rem; }
.gb__empty-title { margin: 1.4rem 0 .4rem; font-size: 1.8rem; font-weight: 700; }
.gb__empty-text { margin: 0; color: var(--gb-muted); }
.gb__empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* ---------- ekstra ---------- */
.gb__extra { margin-top: 2rem; padding: 2rem 0 2rem 2rem; background: #f3f4f6; }
.gb__h3 { margin: 0; font-size: 1.8rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.gb__sub { margin: .4rem 0 1.4rem; color: var(--gb-muted); font-size: 1.3rem; }
.gb__extra-row { display: flex; gap: 1rem; overflow-x: auto; padding-right: 2rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gb__extra-card { flex: 0 0 min(30rem, 78%); display: grid; grid-template-columns: 6.4rem 1fr auto; align-items: center; gap: 1.2rem; padding: 1.2rem; background: #fff; scroll-snap-align: start; }
.gb__extra-img { display: block; aspect-ratio: 1; background: var(--gb-soft); }
.gb__extra-img img { width: 100%; height: 100%; object-fit: contain; }
.gb__extra-name { margin: 0; font-weight: 600; line-height: 1.3; font-size: 1.35rem; }
.gb__extra-price { margin: .3rem 0 0; font-size: 1.3rem; }
.gb__extra-add { border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; color: var(--gb-ink); }
.gb__extra-add:hover { text-decoration: underline; }

/* ---------- kod + özet ---------- */
.gb__code, .gb__summary { padding: 2.4rem 2rem 0; }
.gb__code-form { display: flex; gap: 1rem; margin-top: 1.4rem; }
.gb__input { flex: 1; min-width: 0; height: 5rem; padding: 0 1.4rem; border: 1px solid #d1d5db; font: inherit; font-size: 1.4rem; background: #fff; }
.gb__input:focus { outline: 2px solid var(--gb-ink); outline-offset: -1px; }
.gb__hint { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 0; color: var(--gb-muted); font-size: 1.2rem; }
.gb__code-applied { margin: 1rem 0 0; font-size: 1.3rem; }
.gb__chip { display: inline-block; padding: .2rem .8rem; border: 1px dashed var(--gb-ink); font-weight: 700; letter-spacing: .06em; }
.gb__rows { margin: 1.4rem 0 0; }
.gb__rows > div { display: flex; justify-content: space-between; padding: .6rem 0; color: var(--gb-muted); }
.gb__rows dt, .gb__rows dd { margin: 0; }
.gb__rows .gb__total { color: var(--gb-ink); font-weight: 700; font-size: 1.6rem; border-top: 1px solid var(--gb-line); margin-top: .6rem; padding-top: 1.2rem; }
.gb__save { color: #047857; }

/* ---------- butonlar + ödeme ---------- */
.gb__btn { display: inline-flex; align-items: center; justify-content: center; height: 5rem; padding: 0 2.4rem; border: 1px solid var(--gb-ink); background: #fff; color: var(--gb-ink); font: inherit; font-size: 1.4rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.gb__btn--dark { background: var(--gb-ink); color: #fff; }
.gb__btn--dark:hover { background: #262626; }
.gb__btn--accent { background: var(--gb-accent); border-color: var(--gb-ink); color: #000; }
.gb__foot { padding: 1.4rem 2rem 1.8rem; border-top: 1px solid var(--gb-line); background: #fff; }
.gb--page .gb__col--side > .gb__checkout-note, .gb--page .gb__col--side > .gb__checkout, .gb--page .gb__col--side > .gb__pay { margin-left: 2rem; margin-right: 2rem; }
.gb--page .gb__checkout { margin-top: 2.4rem; width: calc(100% - 4rem); }
.gb__checkout { display: flex; align-items: center; justify-content: center; gap: 1rem; width: 100%; height: 5.6rem; border: 1.5px solid var(--gb-ink); background: var(--gb-accent); color: #000; font: inherit; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; transition: filter .2s, transform .1s; }
.gb__checkout:hover { filter: brightness(.95); }
.gb__checkout:active { transform: translateY(1px); }
.gb__checkout:disabled { background: #e5e7eb; border-color: #e5e7eb; color: #9ca3af; cursor: default; }
.gb__checkout-note { margin: 0 0 1rem; padding: 1rem 1.2rem; border-radius: 8px; background: #fff7ed; color: #9a3412; font-size: 1.3rem; line-height: 1.45; }
.gb__view { display: block; margin-top: 1rem; text-align: center; font-size: 1.3rem; color: var(--gb-ink); }
.gb__pay { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.gb__pay svg { width: 3.8rem; height: 2.4rem; stroke: none; }
[data-bag-count][hidden] { display: none !important; }

/* 57: pay-later, puan, güven satırı */
.gb__perk { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: #374151; }
.gb__perk svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.gb__perk a { color: #111827; font-weight: 600; }
.gb__coin { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #ffd60a; border: 1.5px solid #000; font-size: 10px; }
.gb__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 12px; color: #047857; font-weight: 600; }
