/* Tuğra Tema — tek stil dosyası. Bootstrap'sız vitrin; çekirdek (Bootstrap) sayfalarıyla birlikte de çalışır. */
:root {
  --tg-green: #14532d;
  --tg-green-2: #166534;
  --tg-green-soft: #ecf5ee;
  --tg-gold: #b7862b;
  --tg-gold-text: #8a5a0b;
  --tg-ink: #1c1917;
  --tg-muted: #57534e;
  --tg-line: #e7e3da;
  --tg-paper: #faf8f3;
  --tg-white: #fff;
  --tg-red: #b42318;
  --tg-radius: 10px;
  --tg-shadow: 0 1px 2px rgba(28,25,23,.06), 0 4px 16px rgba(28,25,23,.06);
  --tg-max: 1240px;
  --tg-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --tg-serif: Georgia, "Times New Roman", serif;
}

/* ---------- Temel (yalnız hafif sayfalarda tam sıfırlama) ---------- */
.tg-light *, .tg-light *::before, .tg-light *::after { box-sizing: border-box; }
.tg-light { margin: 0; font: 16px/1.55 var(--tg-font); color: var(--tg-ink); background: var(--tg-white); -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
.tg-light img { max-width: 100%; height: auto; display: block; }
.tg-light a { color: var(--tg-green-2); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.tg-light a:hover { color: var(--tg-green); }
.tg-light h1, .tg-light h2, .tg-light h3 { line-height: 1.25; margin: 0 0 .6em; color: var(--tg-ink); }
.tg-light h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.tg-light h2 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.6rem); }
.tg-light h3 { font-size: 1.1rem; }
.tg-light p { margin: 0 0 1em; }
.tg-light button, .tg-light input, .tg-light select, .tg-light textarea { font: inherit; color: inherit; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--tg-gold); outline-offset: 2px; }
.tg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tg-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--tg-green); color: #fff !important; padding: 10px 14px; border-radius: 6px; }
.tg-skip:focus { top: 8px; }
.tg-wrap { max-width: var(--tg-max); margin: 0 auto; padding: 0 16px; }
.tg-main { min-height: 50vh; padding: 20px 0 48px; }

/* ---------- Düğmeler ve formlar ---------- */
.tg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid transparent; background: var(--tg-green); color: #fff !important; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s; }
.tg-btn:hover { background: var(--tg-green-2); }
.tg-btn--ghost { background: transparent; border-color: var(--tg-line); color: var(--tg-ink) !important; }
.tg-btn--ghost:hover { background: var(--tg-paper); }
.tg-btn--gold { background: var(--tg-gold); color: #1c1305 !important; }
.tg-btn--gold:hover { background: #a37624; }
.tg-btn--block { width: 100%; }
.tg-btn[disabled] { opacity: .6; cursor: progress; }
.tg-input, .tg-select, .tg-textarea { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #cfc9bd; border-radius: 8px; background: #fff; }
.tg-textarea { min-height: 120px; }
.tg-label { display: block; font-weight: 600; margin-bottom: 6px; }
.tg-field { margin-bottom: 14px; }
.tg-error { color: var(--tg-red); font-size: .9rem; margin-top: 4px; }
.tg-alert { padding: 12px 14px; border-radius: 8px; margin: 0 0 16px; background: var(--tg-green-soft); border: 1px solid #c8e2cf; }
.tg-alert--err { background: #fdecea; border-color: #f5c2bd; }

/* ---------- Üst şerit ve başlık ---------- */
.tg-topbar { background: var(--tg-green); color: #f2efe6; font-size: .85rem; }
.tg-topbar .tg-wrap { display: flex; gap: 16px; justify-content: space-between; align-items: center; min-height: 34px; }
.tg-topbar a, .tg-light .tg-topbar a { color: #fff; text-decoration: none; }
.tg-topbar a:hover, .tg-topbar a:focus-visible, .tg-light .tg-topbar a:hover { color: #f5d38b; text-decoration: underline; }
.tg-topbar__links { display: none; gap: 16px; }
.tg-header { background: #fff; border-bottom: 1px solid var(--tg-line); position: sticky; top: 0; z-index: 40; }
.tg-header__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 64px; }
.tg-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tg-ink) !important; }
.tg-logo img { display: block; height: 52px; width: auto; }
.tg-search { grid-column: 1 / -1; order: 3; display: flex; padding-bottom: 10px; }
.tg-search input { flex: 1; min-width: 0; border-radius: 8px 0 0 8px; border-right: 0; }
.tg-search button { border-radius: 0 8px 8px 0; min-width: 48px; padding: 0 14px; }
.tg-actions { display: flex; align-items: center; gap: 4px; justify-self: end; }
.tg-icon-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 4px 6px; color: var(--tg-ink) !important; text-decoration: none; font-size: .72rem; background: none; border: 0; cursor: pointer; }
.tg-icon-btn svg { width: 24px; height: 24px; }
.tg-icon-btn__label { display: none; }
.tg-badge { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--tg-gold); color: #1c1305; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.tg-badge[data-count="0"] { display: none; }

/* Menü: "Tüm Kategoriler" düğmesi + kısa adlı öne çıkan kategoriler; tüm ağaç açılır panelde (tg-mega) */
.tg-nav { border-top: 1px solid var(--tg-line); background: #fff; position: relative; }
.tg-nav__bar { display: flex; align-items: center; gap: 8px; }
.tg-light .tg-nav__all, .tg-nav__all { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 6px 0; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--tg-green); color: #fff; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.tg-light .tg-nav__all:hover, .tg-nav__all:hover, .tg-nav__all[aria-expanded="true"] { background: var(--tg-green-2); }
.tg-nav__list { list-style: none; margin: 0; padding: 6px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; min-width: 0; }
.tg-nav__list::-webkit-scrollbar { display: none; }
.tg-nav__item { flex: none; }
.tg-nav__item > a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--tg-line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--tg-ink) !important; text-decoration: none; white-space: nowrap; }
.tg-nav__b2b > a { color: var(--tg-gold-text) !important; border-color: #e6d3a8; }
.tg-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--tg-line); border-bottom: 1px solid var(--tg-line); box-shadow: var(--tg-shadow); z-index: 45; max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
.tg-mega[hidden] { display: none; }
.tg-mega__grid { list-style: none; margin: 0; padding: 16px 0 20px; display: grid; grid-template-columns: 1fr; gap: 4px 24px; }
.tg-mega__col { padding: 10px 0; border-bottom: 1px solid var(--tg-line); }
.tg-mega__head { display: block; font-weight: 700; color: var(--tg-green) !important; text-decoration: none; margin-bottom: 6px; }
.tg-mega__sub { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tg-mega__sub a { display: inline-block; padding: 4px 0; font-size: .9rem; color: var(--tg-muted) !important; text-decoration: none; }
.tg-mega a:hover { color: var(--tg-green) !important; text-decoration: underline; }

/* ---------- Breadcrumb ---------- */
.tg-crumbs { font-size: .85rem; color: var(--tg-muted); margin: 0 0 14px; }
.tg-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.tg-crumbs li + li::before { content: "›"; margin-right: 4px; color: #a8a29e; }
.tg-crumbs a { color: var(--tg-muted); text-decoration: none; }
.tg-crumbs a:hover { text-decoration: underline; }

/* ---------- Ana sayfa ---------- */
.tg-hero { background: var(--tg-paper) radial-gradient(circle at 85% 20%, rgba(183,134,43,.14), transparent 45%); border-bottom: 1px solid var(--tg-line); }
.tg-hero .tg-wrap { padding-top: 36px; padding-bottom: 36px; }
.tg-hero h1 { font-family: var(--tg-serif); color: var(--tg-green); max-width: 22ch; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem); }
.tg-hero p { color: var(--tg-muted); font-size: 1.08rem; max-width: 56ch; }
.tg-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tg-hero__grid { display: grid; gap: 20px; align-items: center; }
.tg-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: var(--tg-shadow); }

/* Tanıtım kutuları (banner altı) */
.tg-promos { margin: 24px 0 0; }
.tg-promos__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.tg-promo { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); background: linear-gradient(135deg, var(--tg-green-soft), #fff 70%); color: var(--tg-ink) !important; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.tg-promo:hover, .tg-promo:focus-visible { border-color: var(--tg-green-2); box-shadow: var(--tg-shadow); }
.tg-promo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.tg-promo__body { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.tg-promo__title { font-family: var(--tg-serif); font-size: 1.2rem; font-weight: 700; color: var(--tg-green); }
.tg-promo__text { font-size: .93rem; color: var(--tg-muted); }
.tg-promo__more { margin-top: 6px; font-size: .88rem; font-weight: 700; color: var(--tg-gold-text); }
.tg-usp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.tg-usp li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--tg-ink); }
.tg-usp svg { flex: none; width: 22px; height: 22px; color: var(--tg-gold); margin-top: 1px; }
.tg-section { padding: 32px 0 8px; }
.tg-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.tg-section__head h2 { margin: 0; }
.tg-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; }
.tg-cat { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); background: #fff; text-decoration: none; color: var(--tg-ink) !important; transition: border-color .15s, box-shadow .15s; }
.tg-cat:hover { border-color: var(--tg-gold); box-shadow: var(--tg-shadow); }
.tg-cat__img { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.tg-catinfo__img { display: block; width: 100%; max-width: 560px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin: 0 0 16px; }
.tg-cat__mono { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tg-green-soft); color: var(--tg-green); font-family: var(--tg-serif); font-weight: 700; font-size: 1.2rem; }
.tg-cat__name { font-weight: 600; line-height: 1.25; }
.tg-cat__count { display: block; font-size: .78rem; color: var(--tg-muted); font-weight: 400; }
.tg-b2b-band { margin-top: 32px; background: var(--tg-green); color: #f4f1e8; border-radius: 14px; padding: 24px; display: grid; gap: 16px; }
.tg-b2b-band h2 { color: #fff; margin: 0 0 6px; }
.tg-b2b-band p { margin: 0; color: #dfe9e2; }
.tg-b2b-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tg-b2b-band .tg-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.4); }
.tg-b2b-band .tg-btn--ghost:hover { background: rgba(255,255,255,.08); }
.tg-articles { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tg-articles a { display: block; padding: 14px 16px; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); text-decoration: none; font-weight: 600; color: var(--tg-ink); }

/* ---------- Ürün listesi ---------- */
.tg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.tg-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.tg-card:hover { box-shadow: var(--tg-shadow); border-color: #d9d2c3; }
.tg-card__img { aspect-ratio: 1 / 1; background: var(--tg-paper); display: block; }
.tg-card__img img { width: 100%; height: 100%; object-fit: contain; }
.tg-card__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.tg-card__name { font-size: .95rem; font-weight: 600; line-height: 1.3; margin: 0; }
.tg-card__name a { color: var(--tg-ink); text-decoration: none; }
.tg-card__name a::after { content: ""; position: absolute; inset: 0; }
.tg-card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.tg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.tg-price__now { font-size: 1.1rem; font-weight: 700; color: var(--tg-ink); }
.tg-price__old { font-size: .85rem; color: var(--tg-muted); text-decoration: line-through; }
.tg-price__note { font-size: .75rem; color: var(--tg-muted); }
.tg-card .tg-btn { position: relative; z-index: 1; min-height: 40px; padding: 8px 12px; font-size: .9rem; }
/* Favori düğmesi (kartta görselin üstünde mutlak; ürün sayfasında satır içi) — yerleşim kaydırmaz */
.tg-wish { display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; color: var(--tg-ink); background: #fff; border: 1px solid var(--tg-line); border-radius: 999px; font: inherit; }
.tg-card .tg-wish { position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px; padding: 0; }
.tg-wish--inline { min-height: 40px; padding: 6px 14px; font-size: .9rem; font-weight: 600; }
.tg-wish:hover, .tg-wish:focus-visible { border-color: var(--tg-red); color: var(--tg-red); }
.tg-wish.is-on { color: var(--tg-red); }
.tg-wish.is-on svg { fill: currentColor; }
.tg-wish-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0 0; }
.tg-tag { position: absolute; top: 8px; left: 8px; z-index: 1; background: var(--tg-red); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 7px; border-radius: 4px; }

.tg-listing { display: grid; gap: 20px; }
.tg-listing__intro { color: var(--tg-muted); max-width: 75ch; }
.tg-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.tg-chips a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 1px solid var(--tg-line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--tg-ink); font-size: .9rem; }
.tg-chips a:hover, .tg-chips a[aria-current] { border-color: var(--tg-green); color: var(--tg-green); background: var(--tg-green-soft); }
.tg-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.tg-toolbar__count { color: var(--tg-muted); font-size: .9rem; }
.tg-toolbar select { width: auto; min-height: 40px; }
.tg-filters { border: 1px solid var(--tg-line); border-radius: var(--tg-radius); background: #fff; }
.tg-filters__toggle { display: flex; width: 100%; min-height: 44px; padding: 10px 14px; border: 0; background: none; font-weight: 600; text-align: left; cursor: pointer; }
.tg-filters__body { display: none; padding: 0 14px 14px; }
.tg-filters.is-open .tg-filters__body { display: block; }
.tg-filters fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.tg-filters legend { font-weight: 600; margin-bottom: 6px; }
.tg-check { display: flex; align-items: center; gap: 8px; min-height: 34px; font-size: .92rem; cursor: pointer; }
.tg-check input { width: 18px; height: 18px; accent-color: var(--tg-green); }
.tg-check small { color: var(--tg-muted); }
.tg-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 24px 0 0; }
.tg-pagination a, .tg-pagination span { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--tg-line); border-radius: 8px; text-decoration: none; color: var(--tg-ink); }
.tg-pagination [aria-current] { background: var(--tg-green); border-color: var(--tg-green); color: #fff; }
.tg-empty { padding: 32px 16px; text-align: center; color: var(--tg-muted); border: 1px dashed var(--tg-line); border-radius: var(--tg-radius); }
.tg-prose { max-width: 75ch; }
.tg-prose h2 { margin-top: 1.4em; }
.tg-prose ul, .tg-prose ol { padding-left: 1.3em; }
.tg-prose table { border-collapse: collapse; width: 100%; }
.tg-prose td, .tg-prose th { border: 1px solid var(--tg-line); padding: 6px 8px; }

/* ---------- Ürün sayfası ---------- */
.tg-product { display: grid; gap: 24px; }
.tg-gallery__main { display: block; aspect-ratio: 1 / 1; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); background: var(--tg-paper); overflow: hidden; }
.tg-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.tg-gallery__note { margin: 8px 0 0; font-size: .8rem; color: var(--tg-muted, #6b6b6b); }
.tg-gallery__thumbs { display: flex; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; overflow-x: auto; }
.tg-gallery__thumbs button { flex: none; width: 68px; height: 68px; padding: 0; border: 1px solid var(--tg-line); border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; }
.tg-gallery__thumbs button[aria-current="true"] { border: 2px solid var(--tg-green); }
.tg-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.tg-buy h1 { margin-bottom: 8px; }
.tg-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--tg-muted); margin-bottom: 14px; }
.tg-stock--in { color: var(--tg-green-2); font-weight: 600; }
.tg-stock--out { color: var(--tg-red); font-weight: 600; }
.tg-buy .tg-price__now { font-size: 1.7rem; }
.tg-box { border: 1px solid var(--tg-line); border-radius: var(--tg-radius); padding: 14px; margin: 14px 0; background: #fff; }
.tg-box--paper { background: var(--tg-paper); }
.tg-tiers { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tg-tiers th, .tg-tiers td { padding: 7px 8px; border-bottom: 1px solid var(--tg-line); text-align: left; }
.tg-tiers td:last-child { font-weight: 700; }
.tg-options fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.tg-options legend { font-weight: 600; margin-bottom: 8px; }
.tg-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-swatch { position: relative; }
.tg-swatch input { position: absolute; opacity: 0; inset: 0; }
.tg-swatch span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid #cfc9bd; border-radius: 8px; background: #fff; cursor: pointer; }
.tg-swatch input:checked + span { border: 2px solid var(--tg-green); background: var(--tg-green-soft); font-weight: 600; }
.tg-swatch input:focus-visible + span { outline: 3px solid var(--tg-gold); outline-offset: 2px; }
.tg-price__qty { font-size: 1rem; font-weight: 600; color: var(--tg-ink); }
.tg-price__per { font-size: .95rem; color: var(--tg-muted); }
.tg-card .tg-price__qty { font-size: .8rem; font-weight: 500; color: var(--tg-muted); }
.tg-tierpick { min-width: 0; }
.tg-tierpick__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tg-tier { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 76px; padding: 8px 12px; border: 1px solid #cfc9bd; border-radius: 8px; background: #fff; color: var(--tg-ink); font: inherit; text-align: left; cursor: pointer; }
.tg-tier__qty { font-weight: 600; }
.tg-tier__qty small { font-weight: 400; color: var(--tg-muted); }
.tg-tier__total { font-weight: 700; font-size: 1.05rem; }
.tg-tier__piece { font-size: .8rem; color: var(--tg-muted); }
.tg-tier[aria-pressed="true"] { border: 2px solid var(--tg-green); padding: 7px 11px; background: var(--tg-green-soft); }
.tg-tier:focus-visible { outline: 3px solid var(--tg-gold); outline-offset: 2px; }
.tg-tier-sum { margin: 8px 0 0; min-height: 1.55em; font-weight: 600; font-size: .95rem; }
@media (min-width: 640px) { .tg-tierpick__list { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } }
.tg-qty-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.tg-qty { display: inline-flex; border: 1px solid #cfc9bd; border-radius: 8px; overflow: hidden; background: #fff; }
.tg-qty button { width: 44px; border: 0; background: var(--tg-paper); font-size: 1.2rem; cursor: pointer; }
.tg-qty input { width: 64px; border: 0; text-align: center; -moz-appearance: textfield; }
.tg-qty input::-webkit-outer-spin-button, .tg-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tg-qty-row .tg-btn { flex: 1; min-width: 180px; }
.tg-facts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: .9rem; }
.tg-facts li { display: flex; gap: 8px; align-items: flex-start; }
.tg-facts svg { flex: none; width: 20px; height: 20px; color: var(--tg-green-2); }
.tg-variants { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.tg-variants a { display: inline-flex; padding: 7px 12px; border: 1px solid var(--tg-line); border-radius: 8px; text-decoration: none; color: var(--tg-ink); font-size: .9rem; }
.tg-variants a[aria-current] { border: 2px solid var(--tg-green); background: var(--tg-green-soft); font-weight: 600; }
.tg-variants a.is-out { color: var(--tg-muted); } /* §10.9: stok satışı engellemez; üstü çizili gösterilmez */
.tg-sections { margin-top: 28px; display: grid; gap: 10px; }
.tg-sections details { border: 1px solid var(--tg-line); border-radius: var(--tg-radius); background: #fff; }
.tg-sections summary { padding: 14px 16px; font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.tg-sections .tg-sec-body { padding: 0 16px 16px; }
.tg-specs { width: 100%; border-collapse: collapse; }
.tg-specs th, .tg-specs td { text-align: left; padding: 8px; border-bottom: 1px solid var(--tg-line); vertical-align: top; }
.tg-specs th { width: 38%; color: var(--tg-muted); font-weight: 600; }
.tg-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--tg-line); box-shadow: 0 -4px 16px rgba(0,0,0,.06); transform: translateY(110%); transition: transform .2s; }
.tg-sticky-buy.is-on { transform: none; }
.tg-sticky-buy .tg-btn { flex: 1; }

/* ---------- Bildirim ---------- */
.tg-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60; max-width: min(92vw, 460px); padding: 12px 16px; border-radius: 10px; background: var(--tg-ink); color: #fff; box-shadow: var(--tg-shadow); font-size: .95rem; }
.tg-toast a { color: #f5d38b; font-weight: 700; }
.tg-toast--err { background: var(--tg-red); }

/* ---------- Alt bilgi ---------- */
.tg-footer { background: #10291b; color: #d6dfd8; font-size: .92rem; margin-top: 40px; }
.tg-footer a, .tg-light .tg-footer a { color: #eef3ef; text-decoration: none; }
.tg-footer a:hover, .tg-light .tg-footer a:hover { color: #f5d38b; text-decoration: underline; }
.tg-footer__grid { display: grid; gap: 24px; padding: 36px 0 24px; }
.tg-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 10px; letter-spacing: .3px; }
.tg-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tg-footer address { font-style: normal; display: grid; gap: 6px; }
.tg-footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 24px; font-size: .8rem; color: #aebcb2; display: grid; gap: 6px; }
.tg-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-footer img.tg-footer__cards { display: block; width: 100%; max-width: 456px; height: auto; }
@media (min-width: 768px) {
  .tg-footer__legal { grid-template-columns: 1fr auto; align-items: center; column-gap: 24px; }
  .tg-footer__legal > * { grid-column: 1; }
  .tg-footer__legal > img.tg-footer__cards { grid-column: 2; grid-row: 1 / span 4; max-width: 380px; justify-self: end; }
}
.tg-footer__pay span { border: 1px solid rgba(255,255,255,.25); border-radius: 4px; padding: 2px 8px; font-size: .75rem; }
.tg-wa { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #1f7a43; display: grid; place-items: center; box-shadow: var(--tg-shadow); }
.tg-wa svg { width: 30px; height: 30px; color: #fff; }
.tg-has-sticky .tg-wa { bottom: 84px; }

/* ---------- Çerez bildirimi ---------- */
.tg-consent { position: fixed; left: 12px; bottom: 12px; z-index: 70; width: calc(100% - 24px); max-width: 360px; padding: 12px 14px; background: #fff; color: var(--tg-ink); border: 1px solid var(--tg-line); border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.16); font: 13px/1.45 var(--tg-font); }
.tg-consent p { margin: 0 0 10px; }
.tg-consent__actions { display: flex; gap: 8px; }
.tg-consent__actions .tg-btn { flex: 1; min-width: 0; min-height: 34px; padding: 6px 12px; font-size: 13px; }
@media (max-width: 480px) { .tg-consent { width: calc(100% - 92px); } }
.tg-consent fieldset { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }

/* ---------- Çekirdek (Bootstrap) sayfalarına uyum ---------- */
body:not(.tg-light) .tg-header *, body:not(.tg-light) .tg-footer * { box-sizing: border-box; }
body:not(.tg-light) { font-family: var(--tg-font); }
body:not(.tg-light) .btn-primary { background-color: var(--tg-green); border-color: var(--tg-green); }
body:not(.tg-light) .btn-primary:hover { background-color: var(--tg-green-2); border-color: var(--tg-green-2); }
body:not(.tg-light) a:not(.btn) { color: var(--tg-green-2); }
body:not(.tg-light) .tg-btn { color: inherit; }
body:not(.tg-light) .tg-topbar a, body:not(.tg-light) .tg-footer a { color: #eef3ef; }
body:not(.tg-light) .tg-topbar a:hover, body:not(.tg-light) .tg-footer a:hover { color: #f5d38b; }
body:not(.tg-light) .tg-header a.tg-logo, body:not(.tg-light) .tg-icon-btn { color: var(--tg-ink); }
body:not(.tg-light) #content { padding-bottom: 32px; }

/* ---------- Kırılımlar ---------- */
@media (min-width: 640px) {
  .tg-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-promos__list { grid-template-columns: repeat(3, 1fr); }
  .tg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tg-cats { grid-template-columns: repeat(3, 1fr); }
  .tg-usp { grid-template-columns: repeat(4, 1fr); }
  .tg-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .tg-articles { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .tg-topbar__links { display: flex; }
  .tg-header__row { grid-template-columns: auto minmax(280px, 560px) auto; gap: 24px; min-height: 76px; }
  .tg-logo img { height: 64px; }
  .tg-search { grid-column: auto; order: 0; padding: 0; }
  .tg-icon-btn__label { display: block; }
  .tg-sr--m { display: none; }
  .tg-nav__bar { gap: 14px; }
  .tg-nav__list { flex: 1; overflow: visible; gap: 0 2px; padding: 0; }
  .tg-nav__item > a { border: 0; border-radius: 0; min-height: 50px; padding: 12px 10px; font-size: .95rem; }
  .tg-nav__item > a:hover { color: var(--tg-green) !important; }
  .tg-nav__b2b { margin-left: auto; }
  .tg-mega__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; padding: 22px 0 26px; }
  .tg-mega__col { border-bottom: 0; }
  .tg-mega__sub { display: block; }
  .tg-mega__sub a { display: block; }
  .tg-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 36px; }
  .tg-catinfo__img { float: right; width: 42%; margin: 4px 0 16px 28px; }
  .tg-catinfo::after { content: ""; display: block; clear: both; }
  .tg-promos__list { grid-template-columns: repeat(3, 1fr); }
  .tg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tg-cats { grid-template-columns: repeat(5, 1fr); }
  .tg-listing--filters { grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
  .tg-filters__toggle { pointer-events: none; }
  .tg-filters__body { display: block; }
  .tg-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .tg-gallery { position: sticky; top: 140px; }
  .tg-b2b-band { grid-template-columns: 1fr auto; align-items: center; padding: 32px; }
  .tg-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .tg-sticky-buy { display: none; }
  .tg-has-sticky .tg-wa { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .tg-topbar, .tg-header, .tg-footer, .tg-wa, .tg-sticky-buy, .tg-consent { display: none !important; } }

/* Bilgi Merkezi: ilgili kategoriler ve etiketler */
.tg-related { margin: 28px 0 8px; padding: 16px; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); background: #faf8f3; }
.tg-related h2 { margin: 0 0 10px; font-size: 1.05rem; }
.tg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tg-chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--tg-line); border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 600; color: var(--tg-ink); text-decoration: none; }
.tg-chips a:hover, .tg-chips a:focus-visible { border-color: var(--tg-green-2); color: var(--tg-green-2); }
.tg-tags { font-size: .9rem; color: var(--tg-muted); }

/* Fiyatı girilmemiş ürün: "Fiyat sorun" */
.tg-price__ask { font-weight: 700; color: var(--tg-gold-text); }
.tg-ask { margin: 8px 0 18px; padding: 16px; border: 1px solid #e6d3a8; border-radius: var(--tg-radius); background: #fdf8ec; }
.tg-ask__title { margin: 0 0 4px; font-size: 1.15rem; font-weight: 700; color: var(--tg-green); }
.tg-ask__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* ---------- Ana sayfa banner (A/B/C/D; sunucu seçer) ---------- */
.tg-bn { position: relative; overflow: hidden; border-bottom: 1px solid var(--tg-line); }
.tg-bn h1 { margin: 0; font-family: var(--tg-serif); font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.12; }
.tg-bn__grid { display: grid; gap: 22px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.tg-bn__text { display: flex; flex-direction: column; gap: 14px; }
.tg-bn__lead { margin: 0; font-size: 1.05rem; line-height: 1.55; max-width: 56ch; }
.tg-bn__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.tg-bn__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f5d38b; }
.tg-bn__eyebrow span { display: block; width: 36px; height: 2px; background: #c9973a; }
.tg-bn__eyebrow--plain { color: var(--tg-gold-text); }
.tg-bn__pill { align-self: flex-start; margin: 0; padding: 6px 14px; border-radius: 999px; background: #f3e6c8; color: #7a4f08; font-size: .85rem; font-weight: 700; }
.tg-light .tg-btn--gold, .tg-btn--gold { background: #c9973a; color: #1c1917; border-color: #c9973a; }
.tg-light .tg-btn--gold:hover, .tg-btn--gold:hover { background: #b7862b; color: #1c1917; }
.tg-light .tg-bn__ghost, .tg-bn__ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.tg-light .tg-bn__ghost:hover, .tg-bn__ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.tg-bn img { display: block; max-width: 100%; height: auto; }
/* A — Klasik yeşil */
.tg-bn--a { background: var(--tg-green); color: #fff; }
.tg-bn--a .tg-bn__lead { color: #d9e8dd; }
.tg-bn__media--framed { width: 100%; aspect-ratio: 720 / 440; object-fit: cover; border-radius: 16px; border: 3px solid #c9973a; }
/* B — Krem kolaj */
.tg-bn--b { background: var(--tg-paper); }
.tg-bn--b h1 { color: var(--tg-green); }
.tg-bn--b .tg-bn__lead { color: var(--tg-muted); }
.tg-bn__collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 130px 130px; gap: 10px; }
.tg-bn__collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.tg-bn__collage img:first-child { grid-row: 1 / 3; }
/* C — Tam görsel */
.tg-bn--c { background: #0f3d21; color: #fff; min-height: 380px; display: flex; align-items: center; }
.tg-bn__bg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: 50% 40%; }
.tg-bn--c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,40,22,.9) 0%, rgba(10,40,22,.86) 45%, rgba(10,40,22,.35) 100%); }
.tg-bn__over { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding-top: 40px; padding-bottom: 40px; max-width: 700px; margin-left: 0; }
.tg-bn--c .tg-bn__lead { color: #e3eee6; }
.tg-bn--a h1, .tg-bn--c h1, .tg-light .tg-bn--a h1, .tg-light .tg-bn--c h1 { color: #fff; }
.tg-bn--c .tg-bn__eyebrow--plain { color: #f5d38b; }
/* D — Umre hediyelikleri */
.tg-bn--d { background: #f4efe4; }
.tg-bn--d .tg-wrap { padding-top: 22px; padding-bottom: 22px; }
.tg-bn__card { display: grid; gap: 22px; align-items: center; padding: 24px; border: 1px solid var(--tg-line); border-radius: 22px; background: #fff; }
.tg-bn--d h1 { color: var(--tg-green); }
.tg-bn--d .tg-bn__lead { color: var(--tg-muted); }
.tg-bn__dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tg-bn__dots a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--tg-ink) !important; font-weight: 700; font-size: .9rem; text-align: center; }
.tg-bn__dots img { width: 100%; max-width: 132px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid #f3e6c8; }
.tg-usp-band { background: var(--tg-paper); border-bottom: 1px solid var(--tg-line); }
.tg-usp-band .tg-usp { margin: 0; padding: 14px 0; }
@media (min-width: 960px) {
  .tg-bn__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 48px; }
  .tg-bn--b .tg-bn__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .tg-bn__collage { grid-template-rows: 200px 200px; gap: 16px; }
  .tg-bn--c { min-height: 480px; }
  /* Masaüstü: resim sağa yaslı (kendi oranında), solda düz yeşil zemin, resme yumuşak geçiş */
  .tg-bn--c .tg-bn__bg { left: auto; right: 0; width: 65% !important; object-position: center; }
  .tg-bn--c::after { background: linear-gradient(90deg, #0f3d21 0%, #0f3d21 35%, rgba(15,61,33,.75) 45%, rgba(15,61,33,.15) 70%, rgba(15,61,33,0) 100%); }
  .tg-bn__over { padding-top: 56px; padding-bottom: 56px; }
  .tg-bn__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; padding: 40px 48px; }
  .tg-bn--d .tg-wrap { padding-top: 36px; padding-bottom: 36px; }
}

.tg-stock--wait { color: var(--tg-gold-text); font-weight: 600; }

/* Kategori açıklaması ürün sütunuyla aynı hizada; ürün sayfasında açıklama solda, özellik/teslimat sağda */
.tg-catdesc { max-width: 920px; }
.tg-sections > details > .tg-sec-body.tg-prose { max-width: none; }
.tg-sections__main, .tg-sections__side { display: grid; gap: 10px; align-content: start; }
.tg-sidebuy { display: none; }
@media (min-width: 960px) {
  .tg-catdesc--offset { margin-left: 270px; }
  .tg-sections { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .tg-sections__side { position: sticky; top: 140px; }
  .tg-sidebuy { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); background: var(--tg-paper); }
  .tg-sidebuy p { margin: 0; }
  .tg-sidebuy__name { font-weight: 700; }
}

/* Ana sayfa ürün sekmeleri */
.tg-tabs__list { display: flex; flex-wrap: wrap; gap: 6px; }
.tg-tabs__list [role="tab"] { padding: 7px 14px; border: 1px solid var(--tg-line); border-radius: 999px; background: #fff; color: var(--tg-ink); font: 600 .9rem/1.2 var(--tg-font); cursor: pointer; }
.tg-tabs__list [role="tab"][aria-selected="true"] { background: var(--tg-green, #17532f); border-color: var(--tg-green, #17532f); color: #fff; }
.tg-tabs__list [role="tab"]:focus-visible { outline: 2px solid var(--tg-gold, #c8962e); outline-offset: 2px; }
.tg-tabs .tg-section__head { flex-wrap: wrap; gap: 10px; }

/* Akıllı arama önerileri */
.tg-search { position: relative; }
.tg-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 80; max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--tg-line); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.14); text-align: left; }
.tg-suggest__head { margin: 8px 8px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tg-muted); }
.tg-suggest__item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--tg-ink); text-decoration: none; font-size: .92rem; line-height: 1.3; }
.tg-suggest__item img, .tg-suggest__ph { flex: none; width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--tg-paper); }
.tg-suggest__item:hover, .tg-suggest__item[aria-selected="true"] { background: var(--tg-green-soft); }
.tg-suggest__text { padding: 8px; }
.tg-suggest__all { justify-content: center; margin-top: 4px; font-weight: 600; color: var(--tg-green); }
.tg-suggest__notice { margin: 4px; padding: 10px 12px; border-radius: 8px; background: #fff8e6; color: var(--tg-ink); font-size: .88rem; line-height: 1.45; }
.tg-suggest__link { display: inline; padding: 0; color: var(--tg-green); font-weight: 600; }
.tg-suggest__empty { margin: 10px; color: var(--tg-muted); font-size: .9rem; }
.tg-notice { max-width: 760px; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #fff8e6; border: 1px solid #f1dfae; }

/* Turnstile captcha */
.tg-captcha { margin: 12px 0; min-height: 65px; }

/* Ürün görseli büyütme */
.tg-gallery__main { cursor: zoom-in; }
.tg-lightbox { width: min(96vw, 1100px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: #fff; overflow: hidden; }
.tg-lightbox::backdrop { background: rgba(0,0,0,.78); }
.tg-lightbox img { display: block; width: 100%; height: auto; max-height: 94vh; object-fit: contain; background: #fff; }
.tg-lightbox button { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--tg-ink); box-shadow: 0 2px 10px rgba(0,0,0,.18); cursor: pointer; font: 400 28px/1 var(--tg-font); }
.tg-lightbox__close { top: 10px; right: 10px; width: 42px; height: 42px; }
.tg-lightbox__nav { top: 50%; width: 46px; height: 46px; transform: translateY(-50%); font-size: 34px; }
.tg-lightbox__prev { left: 10px; }
.tg-lightbox__next { right: 10px; }
.tg-lightbox--single .tg-lightbox__nav { display: none; }

/* Ödeme: vergi bilgisi özel alanları yalnız fatura adresinde (teslimat adresinde gizli) */
.custom-field:has(> label[for^="input-shipping-custom-field-"]) { display: none !important; }

/* Ödeme sayfası sadeleştirme: perakende akışta gereksiz alanlar gizli (değerleri varsayılanla gönderilir).
   Hesap türü: Perakende (bayi/kurumsal başvuru ayrı sayfadan); ülke: Türkiye (yurt dışı gönderim yok); Adres 2 isteğe bağlı. */
#form-register .col:has(> #input-customer-group),
.col:has(> #input-payment-country), .col:has(> #input-shipping-country),
.col:has(> #input-payment-address-2), .col:has(> #input-shipping-address-2) { display: none !important; }
/* Başarı sayfası sipariş bilgisi */
.tg-order-done { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--tg-line); border-radius: 10px; background: var(--tg-green-soft); }
.tg-order-done__no { font-size: 1.1rem; margin: 0 0 8px; }
.tg-order-done__bank { margin: 10px 0; padding: 12px 14px; border-radius: 8px; background: #fff; border: 1px solid #f1dfae; }
.tg-order-done__bank p { margin: 0 0 6px; }

/* Sepet sayfası */
.tg-cart__title { margin: 8px 0 16px; }
.tg-cart__title small { font-size: .55em; font-weight: 500; color: var(--tg-muted); }
.tg-cart { display: grid; gap: 20px; margin-bottom: 90px; }
.tg-cart__items { display: grid; gap: 12px; }
.tg-cart__item { display: grid; grid-template-columns: 80px 1fr; gap: 10px 14px; padding: 12px; background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); }
.tg-cart__img img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; background: var(--tg-paper); }
.tg-cart__name { font-weight: 600; color: var(--tg-ink); text-decoration: none; }
.tg-cart__opts { margin: 4px 0 0; padding: 0; list-style: none; font-size: .85rem; color: var(--tg-muted); }
.tg-cart__unit { margin: 4px 0 0; font-size: .85rem; color: var(--tg-muted); }
.tg-cart__min, .tg-cart__stock { margin: 4px 0 0; font-size: .85rem; color: #b42318; }
.tg-cart__qty { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tg-cart__qty input[name=quantity] { width: 56px; height: 40px; text-align: center; border: 1px solid var(--tg-line); border-radius: 8px; font: inherit; }
.tg-cart__step { width: 40px; height: 40px; border: 1px solid var(--tg-line); border-radius: 8px; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.tg-cart__update { height: 40px; padding: 0 12px; border: 1px solid var(--tg-line); border-radius: 8px; background: #fff; cursor: pointer; font: inherit; font-size: .85rem; }
.tg-cart__remove { margin-left: auto; color: #b42318 !important; background: none !important; border: 0 !important; font-size: .9rem; text-decoration: underline; }
.tg-cart__total { grid-column: 1 / -1; text-align: right; font-weight: 700; font-size: 1.05rem; }
.tg-cart__summary { align-self: start; padding: 16px; background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); }
.tg-cart__summary h2 { margin: 0 0 10px; font-size: 1.1rem; }
.tg-cart__sum { margin: 0 0 8px; }
.tg-cart__sum div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.tg-cart__sum dt { font-weight: 500; color: var(--tg-muted); }
.tg-cart__sum dd { margin: 0; }
.tg-cart__grand { border-top: 1px solid var(--tg-line); margin-top: 6px; padding-top: 10px !important; font-size: 1.1rem; }
.tg-cart__grand dt, .tg-cart__grand dd { font-weight: 700; color: var(--tg-ink); }
.tg-cart__note { margin: 0 0 12px; font-size: .85rem; color: var(--tg-muted); }
.tg-cart__continue { display: block; margin-top: 10px; text-align: center; font-size: .9rem; }
.tg-cart__extra { margin-top: 14px; border-top: 1px solid var(--tg-line); padding-top: 10px; }
.tg-cart__extra summary { cursor: pointer; font-size: .9rem; font-weight: 600; }
.tg-cart__extra .accordion { margin-top: 10px; }
.tg-cart__empty { padding: 32px 16px; text-align: center; background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); }
.tg-cart__bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--tg-line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
.tg-cart__bar strong { font-size: 1.05rem; }
body:has(.tg-cart__bar) .tg-wa { bottom: 84px; }
@media (min-width: 640px) {
  .tg-cart__item { grid-template-columns: 96px 1fr auto; align-items: center; }
  .tg-cart__img img { width: 96px; height: 96px; }
  .tg-cart__qty { grid-column: auto; }
  .tg-cart__total { grid-column: 2 / -1; }
}
@media (min-width: 960px) {
  .tg-cart { grid-template-columns: minmax(0, 1fr) 340px; margin-bottom: 40px; }
  .tg-cart__summary { position: sticky; top: 140px; }
  .tg-cart__bar { display: none; }
  body:has(.tg-cart__bar) .tg-wa { bottom: 16px; }
}

/* Adımlı ödeme sayfası (checkout/checkout.twig) */
.tg-co__title { margin: 8px 0 12px; }
.tg-co__progress { display: flex; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; overflow-x: auto; counter-reset: none; }
.tg-co__progress li { flex: 1 0 auto; }
.tg-co__progress a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; background: var(--tg-paper); border: 1px solid var(--tg-line); color: var(--tg-muted); text-decoration: none; font-size: .88rem; white-space: nowrap; }
.tg-co__progress li.is-current a { border-color: var(--tg-green); color: var(--tg-green); font-weight: 600; background: #fff; }
.tg-co__progress li.is-done a { background: var(--tg-green-soft); color: var(--tg-green); }
.tg-co__num { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tg-line); color: var(--tg-ink); font-size: .85rem; font-weight: 700; }
.tg-co__progress li.is-current .tg-co__num, .tg-co__step .tg-co__h .tg-co__num { background: var(--tg-green); color: #fff; }
.tg-co__progress li.is-done .tg-co__num { background: var(--tg-green); color: #fff; }
.tg-co__progress li.is-done .tg-co__num { font-size: 0; }
.tg-co__progress li.is-done .tg-co__num::before { content: "✓"; font-size: .85rem; }
.tg-co__grid { display: grid; gap: 16px; margin-bottom: 32px; }
.tg-co__main { display: grid; gap: 16px; align-content: start; }
.tg-co__step { padding: 16px; background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); scroll-margin-top: 90px; }
.tg-co__step.is-done { border-color: #cfe3d4; }
.tg-co__h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.1rem; }
.tg-co__step legend { font-size: 1rem; font-weight: 600; }
.tg-co__step fieldset + br { display: none; }
.tg-co__confirm-body { display: flex; flex-direction: column; }
.tg-co__confirm-body #checkout-confirm { display: contents; }
.tg-co__confirm-body .table-responsive { order: 1; }
.tg-co__agree { order: 2; margin: 4px 0 12px; }
.tg-co__agree .form-check { margin: 0 !important; padding: 10px 12px; border: 1px solid var(--tg-line); border-radius: 8px; background: var(--tg-paper); }
.tg-co__confirm-body #checkout-payment { order: 3; }
.tg-co__confirm-body #checkout-payment .btn-primary { width: 100%; padding: 12px; font-size: 1.05rem; }
.tg-co__confirm .table { font-size: .92rem; margin-bottom: 8px; }
.tg-co__secure { margin: 10px 0 0; font-size: .8rem; color: var(--tg-muted); text-align: center; }
.tg-co img.tg-co__cards { display: block; width: 100%; max-width: 300px; height: auto; margin: 10px auto 0; }
@media (min-width: 992px) {
  .tg-co__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .tg-co__side { position: sticky; top: 90px; }
}

/* Ürün yorumları (product/review.twig, review_list.twig) */
.tg-reviews summary small { font-weight: 400; color: var(--tg-muted); }
.tg-review__stars { display: inline-flex; gap: 1px; color: #d6d3d1; font-size: .95rem; letter-spacing: 0; vertical-align: -1px; }
.tg-review__stars .is-on { color: var(--tg-gold); }
.tg-review-items { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.tg-review { padding: 12px 14px; border: 1px solid var(--tg-line); border-radius: 8px; background: #fff; }
.tg-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; }
.tg-review__date { margin-left: auto; font-size: .82rem; color: var(--tg-muted); }
.tg-review__text { margin: 0; }
.tg-review-empty { margin: 0 0 12px; color: var(--tg-muted); }
.tg-review-pages { margin-bottom: 16px; }
.tg-review-form { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--tg-line); border-radius: 8px; background: var(--tg-paper); }
.tg-review-form__title { margin: 0; font-size: 1.05rem; }
.tg-review-form__note { margin: 0; font-size: .85rem; color: var(--tg-muted); }
.tg-review-form .tg-field { display: grid; gap: 4px; margin: 0; border: 0; padding: 0; min-width: 0; }
.tg-review-form label, .tg-review-form legend { font-weight: 600; font-size: .92rem; padding: 0; }
.tg-review-form input[type=text], .tg-review-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--tg-line); border-radius: 8px; font: inherit; background: #fff; }
.tg-field__hint { margin: 0; font-size: .8rem; color: var(--tg-muted); }
.tg-field__error { margin: 0; font-size: .85rem; color: var(--tg-red); }
.tg-field__error:empty { display: none; }
.tg-stars__row { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.tg-stars__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tg-stars__row label { font-size: 1.9rem; line-height: 1; color: #d6d3d1; cursor: pointer; font-weight: 400; padding: 2px; }
.tg-stars__row label:hover, .tg-stars__row label:hover ~ label, .tg-stars__row input:checked ~ label { color: var(--tg-gold); }
.tg-stars__row input:focus-visible + label { outline: 2px solid var(--tg-green); outline-offset: 2px; border-radius: 4px; }
.tg-review-form .tg-btn { justify-self: start; }
.tg-review-form__msg { margin: 0; font-size: .9rem; }
.tg-review-form__msg:empty { display: none; }
.tg-review-form__msg.is-ok { padding: 10px 12px; border-radius: 8px; background: var(--tg-green-soft); color: var(--tg-green); }
.tg-pay-list { display: grid; gap: 8px; }
.tg-pay-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--tg-line); border-radius: 8px; cursor: pointer; background: #fff; font-weight: 600; }
.tg-pay-opt input { width: 1.15em; height: 1.15em; accent-color: var(--tg-green, #14532d); }
.tg-pay-opt:has(input:checked) { border-color: var(--tg-green, #14532d); background: #f0f7f2; }
/* Bayi / Kurumsal oturumda grup fiyatı etiketi (ürün sayfası, kart, Favorilerim, sepet) */
.tg-grp { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--tg-green-soft); color: var(--tg-green); font-size: .75rem; font-weight: 700; line-height: 1.6; white-space: nowrap; vertical-align: middle; }
.tg-card .tg-grp { font-size: .7rem; padding: 0 6px; }
.tg-cart__grpnote { margin: -8px 0 12px; font-size: .9rem; color: var(--tg-green); font-weight: 600; }
/* Çeşit kartı: "N çeşit" + "X TL'den başlayan fiyatlarla" */
.tg-card__variants { margin: 2px 0 6px; font-size: .8rem; font-weight: 600; color: var(--tg-green-2); }
.tg-price--from .tg-price__note { flex-basis: 100%; margin-top: -4px; }
