/* TopraksızBazar – Vitrin
   Renkler: kök yeşili, yaprak yeşili, LED moru (tek vurgu), turuncu (yalnızca sepete ekle). */
:root {
	--tbv-root: #0F3D2E;
	--tbv-root-2: #155240;
	--tbv-leaf: #2E9E5B;
	--tbv-led: #B5179E;
	--tbv-cta: #F07F1A;
	--tbv-cta-d: #D96A08;
	--tbv-mint: #F4F9F5;
	--tbv-ink: #17251E;
	--tbv-muted: #56675D;
	--tbv-line: #DCE8E0;
	--tbv-head: "Archivo", system-ui, sans-serif;
	--tbv-r: 10px;
}

/* ---------- Üst şerit (tüm sayfalar) ---------- */
.tbv-topbar { background: var(--tbv-root); color: #E6F2EA; font-size: 13px; }
.tbv-topbar__in { max-width: 1240px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tbv-topbar__contact { display: flex; gap: 18px; margin: 0; flex-wrap: wrap; }
.tbv-topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tbv-topbar a:hover { color: #fff; text-decoration: underline; }
.tbv-topbar__search { flex: 0 1 420px; }

.tbv-search { display: flex; background: #fff; border-radius: 999px; overflow: hidden; border: 1px solid var(--tbv-line); }
.tbv-search input[type="search"] { flex: 1; min-width: 0; border: 0; padding: 8px 14px; font: inherit; font-size: 14px; color: var(--tbv-ink); background: transparent; }
.tbv-search input:focus { outline: none; }
.tbv-search:focus-within { box-shadow: 0 0 0 3px rgba(46,158,91,.35); }
.tbv-search button { border: 0; background: var(--tbv-leaf); color: #fff; padding: 0 16px; cursor: pointer; display: grid; place-items: center; }
.tbv-search button:hover { background: var(--tbv-root-2); }

/* ---------- Genel ---------- */
.tbv { background: #fff; color: var(--tbv-ink); }
.tbv-wrap { max-width: 1240px; margin: 0 auto; padding: 20px 16px 48px; box-sizing: border-box; }
.tbv *, .tbv *::before, .tbv *::after { box-sizing: border-box; }
.tbv a:focus-visible, .tbv button:focus-visible, .tbv summary:focus-visible, .tbv-rail:focus-visible { outline: 3px solid var(--tbv-leaf); outline-offset: 2px; border-radius: 6px; }
.tbv-i { flex: none; }
.tbv-h1, .tbv-h2, .tbv-slide__title, .tbv-hero-cats__title, .tbv-side__title { font-family: var(--tbv-head); font-stretch: 85%; letter-spacing: -0.01em; color: var(--tbv-root); }
.tbv-h1 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin: 0 0 8px; line-height: 1.1; }
.tbv-h2 { font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; margin: 0; line-height: 1.15; }
.tbv-link { color: var(--tbv-leaf); font-weight: 600; text-decoration: none; font-size: 15px; white-space: nowrap; }
.tbv-link:hover { text-decoration: underline; }
.tbv-btn { display: inline-block; background: var(--tbv-cta); color: #fff !important; font-weight: 700; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-size: 15px; }
.tbv-btn:hover { background: var(--tbv-cta-d); }

/* ---------- Ana görsel satırı ---------- */
.tbv-hero-row { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: stretch; }
.tbv-hero-cats { border: 1px solid var(--tbv-line); border-radius: var(--tbv-r); overflow: hidden; background: #fff; display: flex; flex-direction: column; max-height: 460px; }
.tbv-hero-cats__title { margin: 0; padding: 14px 18px; background: var(--tbv-leaf); color: #fff; font-size: 18px; font-weight: 800; }
.tbv-hero-cats ul { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; }
.tbv-hero-cats a { display: flex; justify-content: space-between; align-items: center; padding: 7px 18px; color: var(--tbv-ink); text-decoration: none; font-size: 14.5px; }
.tbv-hero-cats a:hover { background: var(--tbv-mint); color: var(--tbv-root); }
.tbv-more { color: var(--tbv-muted); display: inline-flex; }

.tbv-hero { position: relative; border-radius: var(--tbv-r); overflow: hidden; background: var(--tbv-root); min-height: 400px; }
.tbv-hero__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tbv-hero__track::-webkit-scrollbar { display: none; }
.tbv-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 12px; padding: 40px 44px 56px; color: #E9F4EC; }
.tbv-slide__title { color: #fff; font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; line-height: 1.02; margin: 0 0 16px; font-stretch: 78%; }
.tbv-slide p { font-size: 16.5px; line-height: 1.55; margin: 0 0 24px; max-width: 42ch; }
.tbv-slide__img { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-height: 330px; justify-self: center; width: 100%; }
.tbv-slide__img img { position: relative; z-index: 1; width: 78%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 22px; padding: 6%; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
/* İmza öğe: bitki yetiştirme LED'inin kırmızı-mor-mavi ışıması */
.tbv-spectrum { position: absolute; inset: 4% 0; border-radius: 50%; background: conic-gradient(from 200deg, #FF3D3D, #E0249B, #B5179E, #5B2BFF, #2F6BFF, #FF3D3D); filter: blur(46px); opacity: .75; }
.tbv-hero__dots { position: absolute; left: 44px; bottom: 20px; display: flex; gap: 8px; }
.tbv-hero__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: width .25s; }
.tbv-hero__dots button[aria-selected="true"] { width: 28px; background: #fff; }

/* ---------- Güven şeridi ---------- */
.tbv-trust { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--tbv-line); border-radius: var(--tbv-r); background: var(--tbv-mint); }
.tbv-trust li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; font-size: 13.5px; color: var(--tbv-muted); line-height: 1.4; }
.tbv-trust li + li { border-left: 1px solid var(--tbv-line); }
.tbv-trust .tbv-i { width: 28px; height: 28px; color: var(--tbv-leaf); }
.tbv-trust strong { display: block; color: var(--tbv-root); font-size: 15px; margin-bottom: 2px; }

/* ---------- Bölümler ---------- */
.tbv-sec { margin-top: 44px; }
.tbv-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--tbv-line); position: relative; }
.tbv-sec__head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--tbv-leaf); }
.tbv-sec__tools { display: flex; align-items: center; gap: 8px; }
.tbv-arrow { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--tbv-line); background: #fff; color: var(--tbv-root); display: grid; place-items: center; cursor: pointer; }
.tbv-arrow:hover { border-color: var(--tbv-leaf); color: var(--tbv-leaf); }

/* Kategori kartları */
.tbv-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tbv-tiles a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--tbv-ink); border: 1px solid var(--tbv-line); border-radius: var(--tbv-r); padding: 12px; background: #fff; }
.tbv-tiles a:hover { border-color: var(--tbv-leaf); }
.tbv-tile__img { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 10px; }
.tbv-tile__img img { width: 100%; height: 100%; object-fit: contain; }
.tbv-tile__name { font-family: var(--tbv-head); font-stretch: 88%; font-weight: 700; font-size: 16px; color: var(--tbv-root); line-height: 1.2; }
.tbv-tile__count { font-size: 13px; color: var(--tbv-muted); margin-top: 2px; }

/* Kaydırmalı vitrin */
.tbv-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 216px; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 12px; scrollbar-width: thin; }
.tbv-rail > .tbv-card { scroll-snap-align: start; }

/* ---------- Ürün kartı ---------- */
.tbv-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tbv-line); border-radius: var(--tbv-r); overflow: hidden; }
.tbv-card:hover { border-color: var(--tbv-leaf); }
.tbv-card__img { position: relative; display: block; aspect-ratio: 1; background: #fff; padding: 12px; }
.tbv-card__img img { width: 100%; height: 100%; object-fit: contain; margin: 0 !important; }
.tbv-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tbv-badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; color: #fff; line-height: 1.3; }
.tbv-badge--new { background: var(--tbv-leaf); }
.tbv-badge--sale { background: var(--tbv-cta); }
.tbv-badge--low { background: var(--tbv-led); }
.tbv-card__name { font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0; padding: 0 12px; min-height: calc(1.35em * 3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-transform: none; letter-spacing: 0; }
.tbv-card__name a { color: var(--tbv-ink); text-decoration: none; }
.tbv-card__name a:hover { color: var(--tbv-leaf); }
.tbv-card__price { padding: 8px 12px 0; margin-top: auto; font-size: 18px; font-weight: 800; color: var(--tbv-root); font-family: var(--tbv-head); font-stretch: 90%; }
.tbv-card__price del { font-size: 14px; font-weight: 500; color: var(--tbv-muted); margin-right: 6px; }
.tbv-card__price ins { text-decoration: none; }
.tbv-card__price .woocommerce-price-suffix { font-size: 12px; font-weight: 500; }
.tbv-card__actions { display: flex; gap: 8px; padding: 10px 12px 12px; }
.tbv .tbv-cart, .tbv .tbv-cart.button { flex: 1; display: inline-flex; align-items: center; justify-content: center; background: var(--tbv-cta); color: #fff; border: 0; border-radius: 8px; padding: 10px 8px; font-size: 14px; font-weight: 700; text-decoration: none; line-height: 1.2; min-height: 40px; }
.tbv .tbv-cart:hover { background: var(--tbv-cta-d); color: #fff; }
.tbv .tbv-cart.loading { opacity: .7; }
.tbv .tbv-cart.added::after { content: " ✓"; }
.tbv .tbv-cart--off { background: var(--tbv-mint); color: var(--tbv-root); border: 1px solid var(--tbv-line); }
.tbv .tbv-cart--off:hover { background: #fff; color: var(--tbv-root); }
.tbv .added_to_cart { display: none; }
.tbv-card__wa { flex: none; width: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--tbv-line); color: #1DA851; }
.tbv-card__wa:hover { background: #E9F9EF; border-color: #1DA851; }

/* ---------- Rehber şeridi ---------- */
.tbv-guide { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; background: var(--tbv-mint); border-radius: var(--tbv-r); padding: 28px 32px; border: 1px solid var(--tbv-line); }
.tbv-guide p { color: var(--tbv-muted); line-height: 1.6; margin: 10px 0 0; max-width: 56ch; }
.tbv-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tbv-steps li { counter-increment: s; background: #fff; border: 1px solid var(--tbv-line); border-radius: 8px; padding: 12px 14px 12px 50px; position: relative; font-weight: 600; }
.tbv-steps li::before { content: counter(s); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 999px; background: var(--tbv-root); color: #fff; display: grid; place-items: center; font-size: 14px; font-family: var(--tbv-head); }
.tbv-steps a { color: var(--tbv-root); text-decoration: none; }
.tbv-steps a:hover { color: var(--tbv-leaf); text-decoration: underline; }

/* ---------- SEO metni ---------- */
.tbv-seo { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--tbv-line); color: var(--tbv-muted); font-size: 15px; line-height: 1.65; }
.tbv-seo .tbv-h2 { font-size: 20px; margin-bottom: 10px; }
.tbv-seo p { max-width: 80ch; margin: 0 0 10px; }

/* ---------- Mağaza / kategori ---------- */
.tbv .woocommerce-breadcrumb { font-size: 13px; color: var(--tbv-muted); margin: 0 0 16px; }
.tbv .woocommerce-breadcrumb a { color: var(--tbv-muted); }
.tbv-shop { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.tbv-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }
.tbv-side__box { border: 1px solid var(--tbv-line); border-radius: var(--tbv-r); overflow: hidden; background: #fff; }
.tbv-side__title { list-style: none; cursor: pointer; margin: 0; padding: 12px 16px; background: var(--tbv-leaf); color: #fff; font-size: 17px; font-weight: 800; }
.tbv-side__title::-webkit-details-marker { display: none; }
.tbv-cats { max-height: 62vh; overflow-y: auto; padding: 6px 0; }
.tbv-cats ul { list-style: none; margin: 0; padding: 0; }
.tbv-cats ul ul { padding-left: 14px; border-left: 2px solid var(--tbv-line); margin: 2px 0 6px 18px; }
.tbv-cats a { display: block; padding: 6px 16px; color: var(--tbv-ink); text-decoration: none; font-size: 14px; flex: 1; }
.tbv-cats a:hover { color: var(--tbv-leaf); }
.tbv-cats a[aria-current="page"] { color: var(--tbv-root); font-weight: 800; background: var(--tbv-mint); }
.tbv-cats summary { list-style: none; display: flex; align-items: center; cursor: pointer; padding-right: 12px; }
.tbv-cats summary::-webkit-details-marker { display: none; }
.tbv-caret { width: 8px; height: 8px; border-right: 2px solid var(--tbv-muted); border-bottom: 2px solid var(--tbv-muted); transform: rotate(-45deg); transition: transform .2s; }
.tbv-cats details[open] > summary .tbv-caret { transform: rotate(45deg); }
.tbv-help { border-radius: var(--tbv-r); padding: 16px; background: var(--tbv-root); color: #DCEDE2; font-size: 14px; line-height: 1.5; }
.tbv-help p { margin: 0 0 12px; }
.tbv-help__title { color: #fff; font-weight: 700; font-size: 15.5px; }
.tbv-help__btn { display: inline-flex; gap: 8px; align-items: center; background: #25D366; color: #06331A; font-weight: 700; text-decoration: none; padding: 9px 14px; border-radius: 999px; }
.tbv-help__btn:hover { background: #4BE283; }

.tbv-desc { color: var(--tbv-muted); line-height: 1.6; max-width: 80ch; font-size: 15px; }
.tbv-desc p { margin: 0 0 8px; }
.tbv-chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tbv-chips a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border: 1px solid var(--tbv-line); border-radius: 999px; color: var(--tbv-root); text-decoration: none; font-size: 14px; background: #fff; }
.tbv-chips a:hover { border-color: var(--tbv-leaf); }
.tbv-chips span { color: var(--tbv-muted); font-size: 12px; }

.tbv-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 14px; flex-wrap: wrap; }
.tbv .woocommerce-result-count { margin: 0; color: var(--tbv-muted); font-size: 14px; }
.tbv .woocommerce-ordering { margin: 0; }
.tbv .woocommerce-ordering select { padding: 8px 12px; border: 1px solid var(--tbv-line); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; color: var(--tbv-ink); }
.tbv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tbv .woocommerce-pagination { margin-top: 28px; }
.tbv .woocommerce-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 0; margin: 0; border: 0; }
.tbv .woocommerce-pagination li { border: 0 !important; }
.tbv .woocommerce-pagination a, .tbv .woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--tbv-line); border-radius: 8px; color: var(--tbv-root); text-decoration: none; }
.tbv .woocommerce-pagination .current { background: var(--tbv-root); color: #fff; border-color: var(--tbv-root); }
.tbv .woocommerce-pagination a:hover { border-color: var(--tbv-leaf); }
.tbv-empty { border: 1px dashed var(--tbv-line); border-radius: var(--tbv-r); padding: 28px; margin-top: 18px; color: var(--tbv-muted); }
.tbv-empty__title { color: var(--tbv-root); font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.tbv-empty__search { max-width: 460px; margin-top: 14px; }

/* ---------- Sabit WhatsApp düğmesi ---------- */
.tbv-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 9990; display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #06331A !important; font-weight: 700; font-size: 14.5px; text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(15,61,46,.28); }
.tbv-wa-float .tbv-i { width: 24px; height: 24px; }
.tbv-wa-float:hover { background: #4BE283; }
body.admin-bar .tbv-wa-float { bottom: 76px; } /* Yönetici sohbet balonuyla çakışmasın */

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
	.tbv-tiles { grid-template-columns: repeat(4, 1fr); }
	.tbv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.tbv-hero-row { grid-template-columns: 1fr; }
	.tbv-hero-cats { display: none; }
	.tbv-trust { grid-template-columns: repeat(2, 1fr); }
	.tbv-trust li:nth-child(3) { border-left: 0; }
	.tbv-trust li:nth-child(n+3) { border-top: 1px solid var(--tbv-line); }
	.tbv-guide { grid-template-columns: 1fr; }
	.tbv-shop { grid-template-columns: 1fr; gap: 16px; }
	.tbv-side { position: static; }
	.tbv-cats { max-height: 50vh; }
	.tbv-help { display: none; }
	.tbv-topbar__in { flex-direction: column; align-items: stretch; gap: 8px; }
	.tbv-topbar__search { flex: none; }
}
@media (max-width: 680px) {
	.tbv-slide { grid-template-columns: 1fr; padding: 22px 22px 52px; gap: 18px; align-content: start; }
	.tbv-slide__img { order: -1; aspect-ratio: auto; height: 190px; max-height: none; }
	.tbv-slide__img img { width: 180px; height: 180px; max-width: 70%; }
	.tbv-slide p { font-size: 15px; margin-bottom: 18px; }
	.tbv-hero__dots { left: 22px; }
	.tbv-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.tbv-tiles a { padding: 8px; }
	.tbv-tile__img { margin-bottom: 6px; }
	.tbv-tile__name { font-size: 13.5px; }
	.tbv-tile__count { font-size: 12px; }
	.tbv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tbv-rail { grid-auto-columns: 46%; }
	.tbv-trust li { padding: 12px; gap: 8px; font-size: 12.5px; }
	.tbv-trust strong { font-size: 13.5px; }
	.tbv-trust .tbv-i { width: 22px; height: 22px; }
	.tbv-steps { grid-template-columns: 1fr; }
	.tbv-guide { padding: 22px 18px; }
	.tbv-card__name { font-size: 13.5px; }
	.tbv-wa-float span { display: none; }
	.tbv-wa-float { padding: 14px; }
	.tbv-topbar__contact { justify-content: center; gap: 14px; }
	.tbv-sec__tools .tbv-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tbv-hero__track, .tbv-rail { scroll-behavior: auto; }
	.tbv-hero__dots button, .tbv-caret { transition: none; }
}

/* Tema başlık ve düğme stillerinin vitrini ezmesini önle */
.tbv .tbv-h1, .tbv .tbv-h2, .tbv .tbv-slide__title, .tbv .tbv-hero-cats__title, .tbv .tbv-side__title, .tbv .tbv-tile__name, .tbv .tbv-card__price, .tbv .tbv-steps li::before { font-family: var(--tbv-head) !important; font-stretch: 85%; }
.tbv .tbv-h2 { font-weight: 800 !important; color: var(--tbv-root) !important; letter-spacing: -0.01em; }
.tbv .tbv-slide__title { font-weight: 800 !important; color: #fff !important; line-height: 1.02 !important; }
.tbv .tbv-cart, .tbv .tbv-btn, .tbv .tbv-help__btn, .tbv-wa-float { font-family: inherit !important; font-stretch: 100%; letter-spacing: 0 !important; text-transform: none !important; }

/* Logo: temanın küçük varsayılanı yerine okunur boyut */
.wp-block-site-logo img, .custom-logo { width: 168px !important; max-width: 100%; height: auto !important; }
@media (max-width: 680px) { .wp-block-site-logo img, .custom-logo { width: 132px !important; } }
