/* Toprak Seramik — güvenilir tedarikçi + zanaat: beyaz zemin, mürekkep laciverti, kil kırmızısı vurgu; Archivo + Source Sans 3; bilgi yoğun ama ferah. */
:root {
  --c-bg: #FFFFFF; --c-surface: #FFFFFF; --c-surface-2: #F2F4F6; --c-text: #16263A; --c-muted: #5B6878;
  --c-line: #DDE2E8; --c-accent: #B5532F; --c-accent-contrast: #FFFFFF; --c-sale: #B5532F; --c-ok: #2E7D4F; --c-warn: #B36B12;
  --c-ink: #16263A; --c-clay-soft: #F6ECE6;
  --font-display: "Archivo", system-ui, sans-serif; --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius: 8px; --radius-sm: 6px; --radius-btn: 6px; --container: 1360px; --header-h: 72px;
}
body { font-size: 16px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; }
.btn { font-family: var(--font-display); font-weight: 600; }
.btn--primary:hover { background: #9A4526; filter: none; }
.tp-btn-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.tp-btn-light:hover { background: rgba(255,255,255,.12); }
.demo-bar { background: var(--c-ink); }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: .86rem; }

/* Üst şerit, header */
.tp-util { background: var(--c-ink); color: #C9D3DF; font-size: .82rem; }
.tp-util__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.tp-util p { margin: 0; }
.tp-util a { color: #fff; text-decoration: none; }
.tp-mode { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.tp-mode a { padding: 4px 14px; border-radius: 999px; font-weight: 600; color: #C9D3DF; }
.tp-mode a[aria-current] { background: #fff; color: var(--c-ink); }
.tp-dealer-on { color: #9FE3B8; font-weight: 600; }
.tp-header { background: #fff; border-bottom: 1px solid var(--c-line); }
.tp-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.tp-header__logo { text-decoration: none; margin-right: auto; }
.tp-logo { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: .06em; }
.tp-logo__mark { width: 16px; height: 16px; background: var(--c-accent); border-radius: 3px 3px 8px 8px; align-self: center; }
.tp-logo small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; letter-spacing: .02em; color: var(--c-muted); }
.tp-header .search input { background: var(--c-surface-2); border: 1px solid var(--c-line); border-radius: var(--radius-sm); }
.cart-count { background: var(--c-accent); }
.tp-bar { border-top: 1px solid var(--c-line); }
.tp-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.tp-nav, .tp-tools { display: flex; gap: 4px; flex: none; }
.tp-nav a, .tp-tools a { padding: 12px 12px; text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.tp-nav a:hover, .tp-nav a[aria-current] { border-bottom-color: var(--c-accent); }
.tp-tools a { color: var(--c-accent); }

/* Tipografi */
.tp-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 10px; }
.tp-h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0 0 20px; }
.tp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tp-more { font-weight: 700; color: var(--c-accent); text-decoration: none; }
.tp-section { margin-top: 72px; }

/* İki yol */
.tp-paths { display: grid; gap: 14px; margin-top: 18px; }
.tp-path { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 440px; display: flex; align-items: flex-end; }
.tp-path > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-path > div { position: relative; z-index: 1; margin: 16px; padding: 24px; border-radius: var(--radius-sm); max-width: 520px; }
.tp-path--home > div { background: rgba(255,255,255,.95); }
.tp-path--home p:not(.tp-kicker) { color: var(--c-muted); }
.tp-path--biz::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,38,58,.95) 30%, rgba(22,38,58,.35)); }
.tp-path--biz > div { color: #fff; }
.tp-path--biz .tp-kicker { color: #F2A07F; }
.tp-path__title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.05; margin: 0 0 12px; }
.tp-checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: .95rem; }
.tp-checks li::before { content: "✓"; color: #F2A07F; margin-right: 8px; font-weight: 700; }
.tp-path__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Kademe şeridi */
.tp-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; margin-top: 14px; }
.tp-tiers div { background: #fff; padding: 16px 18px; display: grid; }
.tp-tiers strong { font-family: var(--font-display); font-size: 1.2rem; }
.tp-tiers span { color: var(--c-muted); font-size: .9rem; }
.tp-tiers__dealer { background: var(--c-clay-soft) !important; }
.tp-tiers__dealer strong { color: var(--c-accent); }

/* Kategoriler */
.tp-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tp-cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; text-decoration: none; }
.tp-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tp-cat:hover img { transform: scale(1.05); }
.tp-cat span { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; padding: 12px 16px; font-family: var(--font-display); font-weight: 700; display: flex; justify-content: space-between; }
.tp-cat em { font-style: normal; color: var(--c-accent); }

/* Tablo */
.tp-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 720px; }
.tp-table th, .tp-table td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; }
.tp-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); background: var(--c-surface-2); font-weight: 600; }
.tp-table tbody th a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; }
.tp-table tbody th a:hover { color: var(--c-accent); }
.tp-table img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.tp-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tp-table tbody tr:hover { background: #FAFBFC; }
.tp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--c-ok); }
.tp-dot--low_stock { background: var(--c-warn); }
.tp-dot--out_of_stock { background: #B8C0CA; }

/* Paketler ve referanslar */
.tp-packs { display: grid; gap: 14px; }
.tp-pack { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 260px; text-decoration: none; color: #fff; }
.tp-pack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-pack::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,38,58,.85), transparent 65%); }
.tp-pack span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: grid; gap: 4px; }
.tp-pack strong { font-family: var(--font-display); font-size: 1.5rem; }
.tp-refs { border-block: 1px solid var(--c-line); padding: 28px 0; text-align: center; }
.tp-refs ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #8A96A5; }

/* Kart */
.listing-page .product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tp-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, border-color .2s; }
.tp-card:hover { border-color: #C3CBD5; box-shadow: 0 12px 28px -18px rgba(22,38,58,.4); }
.tp-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--c-surface-2); }
.tp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tp-tag { position: absolute; top: 10px; left: 10px; background: var(--c-ink); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 4px; }
.tp-tag--set { background: var(--c-accent); }
.tp-card__body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 12px 14px 14px; }
.tp-card__sku { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: .74rem; color: var(--c-muted); }
.tp-card__title { font-family: var(--font-display); font-size: 1rem; margin: 0; line-height: 1.25; }
.tp-card__title a { text-decoration: none; }
.tp-card__title a::after { content: ""; position: absolute; inset: 0; }
.tp-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.tp-card .price { font-family: var(--font-display); font-size: 1.15rem; }
.tp-badge-dealer { font-size: .7rem; font-weight: 700; color: var(--c-ok); background: #E6F4EC; padding: 2px 8px; border-radius: 4px; }
.tp-card__tiers { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tp-card__tiers li { display: grid; background: var(--c-surface-2); border-radius: 4px; padding: 5px 8px; font-size: .78rem; }
.tp-card__tiers span { color: var(--c-muted); }
.tp-card__tiers strong { font-variant-numeric: tabular-nums; }
.tp-card__stock { margin: auto 0 0; padding-top: 8px; font-size: .8rem; font-weight: 600; color: var(--c-ok); }
.tp-card__stock--out_of_stock { color: var(--c-muted); }
.tp-card__stock--low_stock { color: var(--c-warn); }

/* Listeleme, ürün detay, B2B formları */
.listing-title { font-family: var(--font-display); }
.listing-toolbar { border-color: var(--c-line); }
.filter-group legend { font-family: var(--font-display); }
.pdp__title { font-family: var(--font-display); }
.pdp__price { font-family: var(--font-display); font-size: 1.7rem; }
.tiers { font-size: .95rem; }
.tiers th { background: var(--c-surface-2); }
.gallery__main { aspect-ratio: 1; }
.gallery__thumb img { height: 72px; }
.form-card { border-radius: var(--radius); }
.page .lead { color: var(--c-muted); font-size: 1.08rem; }

/* Footer */
.tp-footer { background: var(--c-ink); color: #C9D3DF; border: 0; margin-top: 96px; }
.tp-footer a, .tp-footer p { color: #C9D3DF; }
.tp-footer a:hover { color: #fff; }
.tp-footer .footer-title { color: #fff; }
.tp-footer .tp-logo { color: #fff; }
.tp-footer .tp-logo small { color: #9AA8B8; }
.tp-footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.tp-footer__grid > div:first-child { grid-column: 1 / -1; }
.tp-footer .footer-legal { border-color: rgba(255,255,255,.12); }
.tp-footer .footer-legal .linklike { color: #C9D3DF; }

@media (min-width: 600px) {
  .tp-tiers { grid-template-columns: repeat(4, 1fr); }
  .tp-cats { grid-template-columns: repeat(4, 1fr); }
  .tp-packs { grid-template-columns: 1fr 1fr; }
  .listing-page .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .tp-header .header-actions .search { width: 380px; }
  .tp-paths { grid-template-columns: 1.25fr 1fr; }
  .tp-path { min-height: 540px; }
  .tp-path > div { margin: 24px; padding: 32px; }
  .listing-page .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .listing-page .listing-layout.has-filters .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .tp-footer__grid > div:first-child { grid-column: auto; }
}
@media (max-width: 599px) {
  .tp-logo { font-size: 1.3rem; gap: 6px; }
  .tp-logo small { display: none; }
  .tp-header__inner { gap: 4px; }
  .tp-header .header-actions .icon-btn { width: 40px; }
}
