/* =========================================================================
   TABELAMATIK ÜRÜN SAYFASI (PDP) — v1.0
   Tasarım dili anasayfa ile ortak: kağıt zemin, beyaz kartlar, emaye lacivert
   başlık çubuğu, marka lime'ı yalnızca ana CTA'da. Yalnızca ürün sayfasında
   yüklenir (inc/product-page.php). Ana tema/WooCommerce şablonlarına dokunmaz.
   ========================================================================= */

body.tm-pdp-active {
	--tm-lime: #cbd50e;
	--tm-lime-hover: #d9e13c;
	--tm-on-lime: #26270e;
	--tm-blue: #24418e;
	--tm-green: #1e7d3b;
	--tm-green-2: #166230;
	--tm-ink: #23241e;
	--tm-text: #26271f;
	--tm-muted: #6f6f66;
	--tm-bg: #f4f3ec;
	--tm-panel: #f5f4ee;
	--tm-card: #ffffff;
	--tm-border: #e3e1d6;
	--tm-border-2: #ecebdf;
	--tm-red: #d64848;
	--tm-radius: 18px;
	--tm-radius-sm: 12px;
	--tm-shadow: 0 1px 2px rgba(35, 36, 30, .05), 0 4px 14px rgba(35, 36, 30, .06);
	--tm-shadow-hover: 0 10px 28px rgba(35, 36, 30, .14);
	--tm-ease: cubic-bezier(.22, .8, .36, 1);
	--tm-sticky-top: 84px;

	background: var(--tm-bg);
	color: var(--tm-text);
	-webkit-font-smoothing: antialiased;
}

/* Astra konteyneri: anasayfa ile aynı genişlik, üst boşluk sade */
body.tm-pdp-active .site-content .ast-container {
	max-width: 1360px;
	padding-left: 20px;
	padding-right: 20px;
}
body.tm-pdp-active #primary { margin-top: 0; }
body.tm-pdp-active .ast-separate-container .ast-article-single,
body.tm-pdp-active .site-content > .ast-container { padding-top: 10px; }

.tm-pdp *, .tm-pdp *::before, .tm-pdp *::after { box-sizing: border-box; }

/* =========================================================================
   BREADCRUMB
   ========================================================================= */

.tm-pdp__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin: 14px 0 18px;
	font-size: 12.5px;
	color: var(--tm-muted);
	line-height: 1.4;
}
.tm-pdp__crumbs a {
	color: var(--tm-muted);
	text-decoration: none;
	padding: 2px 0;
	border-bottom: 1px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}
.tm-pdp__crumbs a:hover { color: var(--tm-green); border-color: rgba(30, 125, 59, .35); }
.tm-pdp__crumb-sep { display: inline-flex; color: #b9b7aa; }
.tm-pdp__crumb-sep svg { transform: rotate(-90deg); width: 14px; height: 14px; }

/* =========================================================================
   HERO IZGARASI: galeri + satın alma kartı
   ========================================================================= */

/* Hero sarmalayıcısı (inc/product-page.php açar/kapar): grid ve sticky
   yalnızca bu kutuda geçerli — özet kartı alttaki bölümlerin üzerine taşmaz. */
.tm-pdp .tm-pdp__hero {
	display: grid;
	/* Galeri daha dar (kare görsel ~520px), satın alma kartı daha geniş:
	   ilk ekranda daha az kaydırma, kartta daha rahat okuma. */
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
	grid-template-areas: "gallery summary";
	column-gap: 40px;
	align-items: start;
	position: relative;
}
.woocommerce div.product.tm-pdp::before,
.woocommerce div.product.tm-pdp::after { display: none; }

/* WooCommerce'in "#content div.product div.images { width:48% }" gibi ID'li
   düzen kuralları grid'i ezmesin: ID + !important ile kesinleştirilir. */
.woocommerce div.product.tm-pdp .tm-pdp__hero >.woocommerce-product-gallery,
body.tm-pdp-active #content div.product.tm-pdp .tm-pdp__hero >.woocommerce-product-gallery,
body.tm-pdp-active #content div.product.tm-pdp div.images {
	grid-area: gallery;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.woocommerce div.product.tm-pdp .tm-pdp__hero >.summary,
body.tm-pdp-active #content div.product.tm-pdp .tm-pdp__hero >.summary,
body.tm-pdp-active #content div.product.tm-pdp div.summary {
	grid-area: summary;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

/* İndirim rozeti: galerinin sol üst köşesi */
.woocommerce div.product.tm-pdp .tm-pdp__hero >span.onsale,
.woocommerce div.product.tm-pdp .ast-onsale-card {
	position: absolute;
	left: 90px; /* küçük resim sütununun (64px + 12px) sağı */
	top: 14px;
	z-index: 5;
	margin: 0;
	min-width: 0;
	min-height: 0;
	line-height: 1;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--tm-red);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(214, 72, 72, .3);
}

/* ---- Galeri ----------------------------------------------------------- */

/* Solda dikey küçük resim sütunu (76px), sağda KARE ana görsel.
   Ana görsel yüksekliği sütun genişliğine eşittir → galeri ile satın alma
   kartı aynı yükseklikte başlar/biter, altta boşluk kalmaz. */
.tm-pdp .woocommerce-product-gallery,
body.tm-pdp-active .woocommerce div.product div.images.woocommerce-product-gallery {
	/* Woo/Astra "position:relative" kuralını ezer; aksi hâlde top:84px
	   göreli kaymaya dönüşüp galeriyi 84px aşağı iter. */
	position: sticky !important;
	top: var(--tm-sticky-top);
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	grid-template-areas: "thumbs main";
	column-gap: 12px;
	align-items: start;
}

.tm-pdp .woocommerce-product-gallery .flex-viewport,
.tm-pdp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	grid-area: main;
	background: #fff;
	border: 1px solid var(--tm-border-2);
	border-radius: var(--tm-radius);
	overflow: hidden;
	/* Panel oranı = ana görselin oranı (JS --tm-gal-ratio verir; 4:5 … 4:3
	   aralığına sıkıştırılır). JS yoksa kare. */
	aspect-ratio: var(--tm-gal-ratio, 1 / 1);
	height: auto !important; /* FlexSlider'ın satır içi yüksekliğini ezer: kare sabit kalır */
	margin: 0 !important;    /* Astra'nın .flex-viewport{margin-bottom:1em} kuralını ezer */
}
.tm-pdp .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper { border-radius: 0; background: transparent; }

.tm-pdp .woocommerce-product-gallery__image a { display: block; }
/* Görselin kendisi KARE kutu: sitedeki tema dışı özel CSS
   (".woocommerce div.product div.images img { max-height:400px; padding:10px }")
   daha özgül olduğu için burada ID+!important ile kesin ezilir. */
body.tm-pdp-active #content .woocommerce-product-gallery .woocommerce-product-gallery__image img,
body.tm-pdp-active .woocommerce div.product div.images .woocommerce-product-gallery__image img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	max-width: none !important;
	aspect-ratio: var(--tm-gal-ratio, 1 / 1) !important;
	/* Görsel paneli kenardan kenara DOLDURUR: panel oranı ana görselden
	   alındığı için ana görselde kırpma olmaz; farklı oranlı diğer slaytlar
	   hafifçe kırpılır, beyaz bant hiç oluşmaz. */
	object-fit: cover !important;
	object-position: center;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* Büyüteç: sağ üst, beyaz yuvarlak */
.tm-pdp .woocommerce-product-gallery__trigger,
.woocommerce-js div.product.tm-pdp div.images .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 9;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--tm-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 2px 8px rgba(35, 36, 30, .14);
	text-indent: -9999px;
	box-sizing: border-box;
	cursor: pointer;
	transition: transform .2s var(--tm-ease), box-shadow .2s var(--tm-ease);
}
.tm-pdp .woocommerce-product-gallery__trigger:hover { transform: scale(1.06); box-shadow: var(--tm-shadow-hover); }
.tm-pdp .woocommerce-product-gallery__trigger::before,
.woocommerce-js div.product.tm-pdp div.images .woocommerce-product-gallery__trigger::before {
	content: "";
	position: absolute;
	width: 11px;
	height: 11px;
	top: 11px;
	left: 11px;
	border: 2px solid var(--tm-ink);
	border-radius: 100%;
	box-sizing: content-box;
}
.tm-pdp .woocommerce-product-gallery__trigger::after,
.woocommerce-js div.product.tm-pdp div.images .woocommerce-product-gallery__trigger::after {
	content: "";
	position: absolute;
	width: 2px;
	height: 9px;
	top: 21px;
	left: 24px;
	background: var(--tm-ink);
	border-radius: 6px;
	transform: rotate(-45deg);
	box-sizing: content-box;
}

/* Küçük resimler: eşit kareler, aktif olan çerçeveli */
.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs,
.woocommerce-js div.product.tm-pdp div.images .flex-control-thumbs {
	/* Ana görselin yanında, onunla aynı boyda dikey sütun. Mutlak konum:
	   satır yüksekliğine katılmaz, fazla resim varsa kendi içinde kayar. */
	grid-area: thumbs;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 64px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 2px;
	list-style: none;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
}
.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs::-webkit-scrollbar { display: none; }
/* Sığmayan küçük resimler: alt kenarda silikleşme (JS .is-overflow verir), kaydırılabilir */
.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs.is-overflow {
	-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent);
	mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent);
}
.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs li,
.woocommerce-js div.product.tm-pdp div.images .flex-control-thumbs li,
.woocommerce-js div.product.tm-pdp div.woocommerce-product-gallery--columns-4 .flex-control-thumbs li,
.woocommerce-js div.product.tm-pdp div.woocommerce-product-gallery--columns-3 .flex-control-thumbs li,
.woocommerce-js div.product.tm-pdp div.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	float: none;
	clear: none;
	flex: 0 0 auto;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}
.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs li img,
.woocommerce-js div.product.tm-pdp div.images .flex-control-thumbs li img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0;
	padding: 4px;
	border-radius: 12px;
	background: var(--tm-panel);
	border: 1.5px solid var(--tm-border-2);
	opacity: 1;
	cursor: pointer;
	transition: border-color .2s ease, transform .2s var(--tm-ease), box-shadow .2s var(--tm-ease);
}
.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs li img:hover { border-color: #cfcdbf; transform: translateY(-2px); }
.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active,
.woocommerce-js div.product.tm-pdp div.images .flex-control-thumbs li img.flex-active {
	border-color: var(--tm-ink);
	box-shadow: 0 0 0 1px var(--tm-ink);
	opacity: 1;
}

/* ---- Ürün videosu butonu (galeri sağ üst, büyütecin solunda) + lightbox --- */

.tm-pdp .tm-pdp__hero > .tm-pdp__video {
	grid-area: gallery;           /* galeri alanına bindirilir, hücre işgal etmez */
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 9;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px 0 6px;
	border: 0;
	border-radius: 999px;
	background: rgba(35, 36, 30, .86);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: -.005em;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(35, 36, 30, .22);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: transform .2s var(--tm-ease), background .2s ease, box-shadow .2s var(--tm-ease);
}
.tm-pdp .tm-pdp__hero > .tm-pdp__video:hover { background: var(--tm-ink); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(35, 36, 30, .3); }
/* Büyüteç düğmesi varsa (zoom açıkken WooCommerce ekler) onun soluna kay */
.tm-pdp .tm-pdp__hero > .woocommerce-product-gallery:has(.woocommerce-product-gallery__trigger) + .tm-pdp__video { right: 64px; }
.tm-pdp__video-ico {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--tm-lime);
	color: var(--tm-on-lime);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.tm-pdp__video-ico svg { margin-left: 2px; }

.tm-vlb {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}
.tm-vlb.is-open { opacity: 1; pointer-events: auto; }
.tm-vlb__backdrop { position: absolute; inset: 0; background: rgba(20, 21, 17, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tm-vlb__box {
	position: relative;
	width: min(1100px, 100%);
	transform: translateY(12px) scale(.98);
	transition: transform .3s var(--tm-ease);
}
.tm-vlb.is-open .tm-vlb__box { transform: none; }
.tm-vlb--vertical .tm-vlb__box { width: min(480px, 100%); }
.tm-vlb__frame {
	aspect-ratio: 16 / 9;
	max-height: calc(100vh - 48px);
	border-radius: 16px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.tm-vlb--vertical .tm-vlb__frame { aspect-ratio: 9 / 16; margin: 0 auto; }
.tm-vlb__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.tm-vlb__close {
	position: absolute;
	top: -46px;
	right: 0;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
}
.tm-vlb__close:hover { background: rgba(255, 255, 255, .25); }
body.tm-vlb-open { overflow: hidden; }

/* ---- Satın alma kartı -------------------------------------------------- */

.tm-pdp .summary.entry-summary {
	position: sticky;
	top: var(--tm-sticky-top);
	background: var(--tm-card);
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius);
	box-shadow: var(--tm-shadow);
	padding: 24px 26px 22px;
}

/* Kategori + stok kodu satırı */
.tm-pdp__eyebrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 11.5px;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--tm-muted);
}
.tm-pdp__cat {
	font-weight: 800;
	color: var(--tm-green);
	text-decoration: none;
	padding: 5px 11px;
	border-radius: 999px;
	background: #eef6f0;
	transition: background .2s ease;
}
.tm-pdp__cat:hover { background: #e0efe4; color: var(--tm-green-2); }
.tm-pdp__sku { text-transform: none; letter-spacing: 0; font-size: 12px; white-space: nowrap; }
.tm-pdp__sku b { color: var(--tm-text); font-weight: 700; }

.tm-pdp .summary .product_title.entry-title {
	font-size: clamp(22px, 2.1vw, 29px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--tm-ink);
	margin: 0 0 12px;
}

.tm-pdp .summary .woocommerce-product-rating {
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--tm-muted);
}
.tm-pdp .summary .woocommerce-product-rating .star-rating { margin: 0; color: #d98e04; }

.tm-pdp .summary .price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 18px;
	font-size: 27px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--tm-ink);
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}
.tm-pdp .summary .price del { font-size: 16px; font-weight: 500; color: var(--tm-muted); opacity: 1; }
.tm-pdp .summary .price ins { text-decoration: none; color: var(--tm-red); }

/* Kısa açıklama: sakin okuma bloğu (paragraf, madde, tablo) */
.tm-pdp .summary .woocommerce-product-details__short-description {
	font-size: 13.5px;
	line-height: 1.6;
	color: #3f3f37;
	margin: 0 0 18px;
	padding: 14px 16px;
	background: var(--tm-panel);
	border-radius: var(--tm-radius-sm);
}
.tm-pdp .summary .woocommerce-product-details__short-description > :first-child { margin-top: 0; }
.tm-pdp .summary .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }
.tm-pdp .summary .woocommerce-product-details__short-description p { margin: 0 0 10px; }
.tm-pdp .summary .woocommerce-product-details__short-description h2,
.tm-pdp .summary .woocommerce-product-details__short-description h3,
.tm-pdp .summary .woocommerce-product-details__short-description h4 {
	font-size: 14px;
	font-weight: 800;
	margin: 0 0 8px;
	color: var(--tm-ink);
}
.tm-pdp .summary .woocommerce-product-details__short-description ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}
.tm-pdp .summary .woocommerce-product-details__short-description ul li {
	position: relative;
	padding-left: 16px;
	margin: 0;
}
.tm-pdp .summary .woocommerce-product-details__short-description ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--tm-lime);
	box-shadow: 0 0 0 1px rgba(38, 39, 14, .12) inset;
}
.tm-pdp .summary .woocommerce-product-details__short-description table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
	margin: 0;
}
.tm-pdp .summary .woocommerce-product-details__short-description td,
.tm-pdp .summary .woocommerce-product-details__short-description th {
	padding: 7px 4px;
	border: 0;
	border-bottom: 1px solid #e6e4d8;
	vertical-align: top;
	text-align: left;
}
.tm-pdp .summary .woocommerce-product-details__short-description tr:last-child td { border-bottom: 0; }
.tm-pdp .summary .woocommerce-product-details__short-description td:first-child { color: var(--tm-muted); width: 38%; }

/* İçerikten gelen satır içi stiller (koyu tablo başlığı, renkli zemin, kalın
   çerçeve vb.) kartın dilini bozmasın: nötrlenir. */
.tm-pdp .summary .woocommerce-product-details__short-description :is(table, thead, tbody, tr, th, td, caption, div, p, span, h1, h2, h3, h4, h5, strong)[style] {
	background: transparent !important;
	color: inherit !important;
	border-color: #e6e4d8 !important;
	border-width: 0 0 1px !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: inherit !important;
	line-height: inherit !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 7px 4px !important;
	text-align: left !important;
	font-family: inherit !important;
}
.tm-pdp .summary .woocommerce-product-details__short-description :is(table, thead, tbody, tr, div, p, span)[style] { padding: 0 !important; border: 0 !important; }
.tm-pdp .summary .woocommerce-product-details__short-description table[style] { width: 100% !important; }
.tm-pdp .summary .woocommerce-product-details__short-description th,
.tm-pdp .summary .woocommerce-product-details__short-description caption,
.tm-pdp .summary .woocommerce-product-details__short-description h2[style],
.tm-pdp .summary .woocommerce-product-details__short-description h3[style] { font-weight: 800 !important; color: var(--tm-ink) !important; }
.tm-pdp .summary .woocommerce-product-details__short-description th,
.tm-pdp .summary .woocommerce-product-details__short-description td { font-size: 13px; }

/* Uzun kısa açıklama (ör. tam özellik tablosu): kart şişmesin diye
   JS ~300px'te keser, "Devamı" ile açılır. */
.tm-pdp__short-clamp { position: relative; }
.tm-pdp__short-clamp.is-collapsed { max-height: var(--tm-clamp, 300px); overflow: hidden; }
.tm-pdp__short-clamp.is-collapsed .tm-pdp__fade {
	display: block;
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 90px;
	background: linear-gradient(to bottom, rgba(245, 244, 238, 0), rgba(245, 244, 238, .9) 60%, #f5f4ee);
	pointer-events: none;
}
.tm-pdp__short-clamp.is-animating { transition: max-height .4s var(--tm-ease); overflow: hidden; }
.tm-pdp__short-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tm-green);
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}
.tm-pdp__short-more svg { transition: transform .3s var(--tm-ease); }
.tm-pdp__short-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.tm-pdp__short-more[hidden] { display: none; }

/* ---- Sepet formu ------------------------------------------------------- */

.tm-pdp .summary form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	margin: 0 0 14px;
}
.tm-pdp .summary form.cart.variations_form { flex-direction: column; align-items: stretch; }
.tm-pdp .summary .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
}
.tm-pdp .summary .woocommerce-variation-price .price { margin: 0 0 8px; font-size: 22px; }

/* Adet: kutulu +/- (JS ile sarılır; JS yoksa düz input) */
.tm-pdp .summary .quantity {
	display: inline-flex;
	align-items: stretch;
	height: 52px;
	border: 1.5px solid var(--tm-border);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	margin: 0;
	flex: 0 0 auto;
}
.tm-pdp .summary .quantity .qty {
	width: 56px;
	height: 100%;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: var(--tm-ink);
	padding: 0;
	margin: 0;
	border-radius: 0;
	-moz-appearance: textfield;
	appearance: textfield;
	box-shadow: none;
}
.tm-pdp .summary .quantity .qty::-webkit-outer-spin-button,
.tm-pdp .summary .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tm-pdp .summary .quantity .qty:focus { outline: none; }
.tm-pdp .summary .quantity:focus-within { border-color: var(--tm-ink); }
.tm-pdp__qty-btn {
	width: 40px;
	border: 0;
	background: transparent;
	color: var(--tm-ink);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	margin: 0;
	transition: background .15s ease;
}
.tm-pdp__qty-btn:hover { background: var(--tm-panel); }
.tm-pdp__qty-btn:disabled { opacity: .35; cursor: default; }

/* Ana CTA: lime dolgu */
.tm-pdp .summary form.cart .button.single_add_to_cart_button,
.woocommerce-js div.product.tm-pdp form.cart .button.single_add_to_cart_button {
	flex: 1 1 200px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 52px;
	padding: 0 22px;
	margin: 0;
	border: 0;
	border-radius: 14px;
	background: var(--tm-lime);
	color: var(--tm-on-lime);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -.005em;
	line-height: 1;
	box-shadow: 0 6px 16px rgba(203, 213, 14, .28);
	transition: transform .2s var(--tm-ease), box-shadow .2s var(--tm-ease), background .2s ease;
}
.tm-pdp .summary form.cart .button.single_add_to_cart_button:hover,
.woocommerce-js div.product.tm-pdp form.cart .button.single_add_to_cart_button:hover {
	background: var(--tm-lime-hover);
	color: var(--tm-on-lime);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(203, 213, 14, .38);
}
.tm-pdp .summary form.cart .button.single_add_to_cart_button.disabled,
.tm-pdp .summary form.cart .button.single_add_to_cart_button:disabled { opacity: .55; box-shadow: none; }

/* WhatsApp: koyu yeşil, tam satır */
.tm-pdp .summary .tm-pdp__wa,
.single-product .tm-pdp__wa.custom-whatsapp-btn {
	flex: 1 1 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 50px;
	padding: 0 20px;
	margin: 0;
	border-radius: 14px;
	background: var(--tm-green);
	color: #fff;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1;
	transition: background .2s ease, transform .2s var(--tm-ease);
}
.tm-pdp .summary .tm-pdp__wa:hover { background: var(--tm-green-2); color: #fff; transform: translateY(-1px); }
.tm-pdp .summary .tm-pdp__wa svg { flex: 0 0 auto; }

/* Varyasyon tablosu */
.tm-pdp .summary table.variations { margin: 0 0 6px; border: 0; }
.tm-pdp .summary table.variations td,
.tm-pdp .summary table.variations th { padding: 0 0 10px; border: 0; vertical-align: middle; }
.tm-pdp .summary table.variations th.label { width: 34%; font-size: 13px; color: var(--tm-muted); font-weight: 600; }
.tm-pdp .summary table.variations select {
	width: 100%;
	height: 46px;
	border: 1.5px solid var(--tm-border);
	border-radius: 12px;
	background-color: #fff;
	padding: 0 12px;
	font-size: 14px;
	color: var(--tm-ink);
}
.tm-pdp .summary table.variations select:focus { border-color: var(--tm-ink); outline: none; }
.tm-pdp .summary .reset_variations { font-size: 12px; color: var(--tm-muted); }
.tm-pdp .summary .woocommerce-variation-description { font-size: 14px; color: #3f3f37; }

/* Stok durumu */
.tm-pdp .summary .stock { font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.tm-pdp .summary .stock.in-stock { color: var(--tm-green); }
.tm-pdp .summary .stock.out-of-stock { color: var(--tm-red); }

/* ---- İkincil aksiyonlar: Favori + Karşılaştır (YITH) -------------------- */

.tm-pdp__secondary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
	margin: 0 0 18px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--tm-border-2);
}
.tm-pdp__secondary:empty { display: none; }

.tm-pdp__secondary .yith-wcwl-add-to-wishlist,
.tm-pdp__secondary .yith-wcwl-add-button,
.tm-pdp__secondary .yith-wcwl-wishlistaddedbrowse,
.tm-pdp__secondary .yith-wcwl-wishlistexistsbrowse {
	margin: 0;
	padding: 0;
	float: none;
	display: inline-flex;
	align-items: center;
	height: auto;
}
.tm-pdp__secondary .yith-wcwl-add-to-wishlist a,
.tm-pdp__secondary .yith-wcwl-add-to-wishlist button,
.tm-pdp__secondary a.compare.button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 38px;
	padding: 0 4px;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--tm-text);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: color .2s ease;
}
.tm-pdp__secondary .yith-wcwl-add-to-wishlist a:hover,
.tm-pdp__secondary .yith-wcwl-add-to-wishlist button:hover { color: var(--tm-red); background: transparent; }
.tm-pdp__secondary a.compare.button:hover { color: var(--tm-green); background: transparent; }
.tm-pdp__secondary .yith-wcwl-add-to-wishlist a svg,
.tm-pdp__secondary .yith-wcwl-add-to-wishlist a i,
.tm-pdp__secondary a.compare.button::before {
	font-size: 16px;
	width: 16px;
	height: 16px;
	margin: 0;
}
/* Karşılaştır ikonu (eklenti ikon basmıyor) */
.tm-pdp__secondary a.compare.button::before {
	content: "";
	display: inline-block;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 7h12M12 3l4 4-4 4M20 17H8M12 13l-4 4 4 4'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 7h12M12 3l4 4-4 4M20 17H8M12 13l-4 4 4 4'/></svg>") center / contain no-repeat;
}
.tm-pdp__secondary .yith-wcwl-add-to-wishlist .feedback,
.tm-pdp__secondary .yith-wcwl-add-to-wishlist .yith-wcwl-popup-message { display: none; }

/* ---- Güven satırı ------------------------------------------------------- */

/* Üç kompakt kutu yan yana: kartı uzatmaz */
.tm-pdp__trust {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
.tm-pdp__trust li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 10px 10px 9px;
	border-radius: 12px;
	background: var(--tm-panel);
	font-size: 11.5px;
	line-height: 1.3;
}
.tm-pdp__trust-ico {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #fff;
	color: var(--tm-green);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.tm-pdp__trust-ico svg { width: 16px; height: 16px; }
.tm-pdp__trust strong { display: block; font-weight: 800; color: var(--tm-ink); font-size: 12px; }
.tm-pdp__trust em { font-style: normal; color: var(--tm-muted); font-size: 11px; }

/* ---- Künye (kategoriler, marka, etiket) -------------------------------- */

.tm-pdp__meta {
	margin: 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--tm-border-2);
	display: grid;
	gap: 10px;
	font-size: 12.5px;
}
.tm-pdp__meta-row { display: grid; grid-template-columns: 78px 1fr; gap: 8px; align-items: start; }
.tm-pdp__meta dt { margin: 0; padding-top: 4px; color: var(--tm-muted); font-weight: 600; }
.tm-pdp__meta dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tm-pdp__meta dd a {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid var(--tm-border);
	background: #fff;
	color: var(--tm-text);
	text-decoration: none;
	font-weight: 600;
	line-height: 1.3;
	transition: all .2s ease;
}
.tm-pdp__meta dd a:hover { border-color: var(--tm-green); color: var(--tm-green); background: #f2f8f3; }

/* =========================================================================
   AÇIKLAMA + DİĞER BÖLÜMLER
   ========================================================================= */

.tm-pdp__sections { margin-top: 36px; display: grid; gap: 18px; }

/* Editoryal düzen: solda yapışkan bölüm başlığı, sağda okuma sütunu.
   Böylece geniş kartın sağı boş kalmaz, satır uzunluğu okunur kalır. */
.tm-pdp__sec {
	background: var(--tm-card);
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius);
	box-shadow: var(--tm-shadow);
	padding: 32px 40px 30px;
	position: relative;
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	column-gap: 56px;
	row-gap: 0;
	align-items: start;
}
.tm-pdp__sec > :not(.tm-pdp__sec-title) { grid-column: 2; }

.tm-pdp__sec-title {
	grid-column: 1;
	grid-row: 1;
	position: sticky;
	top: calc(var(--tm-sticky-top) + 10px);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.25;
	margin: 0;
	padding-left: 15px;
	color: var(--tm-text);
}
.tm-pdp__sec-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 74%;
	border-radius: 3px;
	background: var(--tm-blue);
}

/* Okuma sütunu: tipografi hiyerarşisi */
.tm-pdp__prose {
	max-width: 880px;
	font-size: 15.5px;
	line-height: 1.7;
	color: #3a3a33;
}
.tm-pdp__prose > :first-child { margin-top: 0 !important; }
.tm-pdp__prose > :last-child { margin-bottom: 0; }
.tm-pdp__prose h2,
.tm-pdp__prose h3,
.tm-pdp__prose h4 {
	color: var(--tm-ink);
	letter-spacing: -.015em;
	line-height: 1.3;
	margin: 1.9em 0 .55em;
}
.tm-pdp__prose h2 { font-size: 21px; font-weight: 800; }
.tm-pdp__prose h3 { font-size: 17.5px; font-weight: 800; }
.tm-pdp__prose h4 { font-size: 15.5px; font-weight: 700; }
.tm-pdp__prose p { margin: 0 0 1.1em; }
.tm-pdp__prose strong { color: var(--tm-ink); }
.tm-pdp__prose a { color: var(--tm-green); text-decoration: underline; text-underline-offset: 2px; }
.tm-pdp__prose ul,
.tm-pdp__prose ol { margin: 0 0 1.2em; padding-left: 0; list-style: none; display: grid; gap: 7px; }
.tm-pdp__prose ul li,
.tm-pdp__prose ol li { position: relative; padding-left: 22px; margin: 0; }
.tm-pdp__prose ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .68em;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--tm-lime);
	box-shadow: 0 0 0 1px rgba(38, 39, 14, .12) inset;
}
.tm-pdp__prose ol { counter-reset: tm-ol; }
.tm-pdp__prose ol li { padding-left: 30px; counter-increment: tm-ol; }
.tm-pdp__prose ol li::before {
	content: counter(tm-ol);
	position: absolute;
	left: 0;
	top: .22em;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--tm-panel);
	color: var(--tm-ink);
	font-size: 11.5px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.tm-pdp__prose img { max-width: 100%; height: auto; border-radius: var(--tm-radius-sm); }
.tm-pdp__prose figure { margin: 1.4em 0; }
.tm-pdp__prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14px; }
.tm-pdp__prose th,
.tm-pdp__prose td { padding: 10px 12px; border: 1px solid var(--tm-border-2); text-align: left; vertical-align: top; }
.tm-pdp__prose th { background: var(--tm-panel); font-weight: 800; color: var(--tm-ink); }
.tm-pdp__prose tr:nth-child(even) td { background: #fbfbf7; }
.tm-pdp__prose blockquote {
	margin: 1.4em 0;
	padding: 14px 18px;
	border-left: 4px solid var(--tm-blue);
	background: var(--tm-panel);
	border-radius: 0 var(--tm-radius-sm) var(--tm-radius-sm) 0;
}

/* Daraltma: kısmi görünüm + silikleşme + Devamını Gör */
.tm-pdp__clamp { position: relative; }
.tm-pdp__fade { display: none; }
.tm-pdp__clamp.is-collapsed {
	max-height: var(--tm-clamp, 540px);
	overflow: hidden;
}
.tm-pdp__clamp.is-collapsed .tm-pdp__fade {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 180px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .85) 55%, #fff 100%);
	pointer-events: none;
}
.tm-pdp__clamp.is-animating { transition: max-height .45s var(--tm-ease); overflow: hidden; }

.tm-pdp__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0 20px;
	height: 44px;
	border: 1.5px solid var(--tm-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--tm-ink);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: all .22s var(--tm-ease);
}
.tm-pdp__more:hover { background: var(--tm-ink); color: #fff; transform: translateY(-1px); }
.tm-pdp__more svg { transition: transform .3s var(--tm-ease); }
.tm-pdp__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.tm-pdp__more[hidden] { display: none; }
.tm-pdp__more { justify-self: start; }

/* Etiketler: açıklamanın altında sessiz bir satır */
.tm-pdp__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--tm-border-2);
	font-size: 12px;
	max-width: 880px;
}
.tm-pdp__tags > span { color: var(--tm-muted); font-weight: 700; margin-right: 4px; }
.tm-pdp__tags a {
	color: var(--tm-muted);
	text-decoration: none;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--tm-panel);
	transition: all .2s ease;
}
.tm-pdp__tags a:hover { color: var(--tm-green); background: #eef6f0; }

/* Değerlendirmeler bölümü (WooCommerce yorum şablonu) */
.tm-pdp__sec--reviews #reviews .commentlist { list-style: none; margin: 0; padding: 0; }
.tm-pdp__sec--reviews #reviews .comment_container { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--tm-border-2); }
.tm-pdp__sec--reviews #reviews img.avatar { width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; }
.tm-pdp__sec--reviews #review_form_wrapper { margin-top: 20px; }
.tm-pdp__sec--reviews #reviews .comment-form textarea,
.tm-pdp__sec--reviews #reviews .comment-form input[type="text"],
.tm-pdp__sec--reviews #reviews .comment-form input[type="email"] {
	border: 1.5px solid var(--tm-border);
	border-radius: 12px;
}
.tm-pdp__sec--reviews #reviews .comment-form .submit {
	height: 46px;
	padding: 0 22px;
	border-radius: 12px;
	background: var(--tm-lime);
	color: var(--tm-on-lime);
	font-weight: 800;
	border: 0;
}

/* =========================================================================
   İLGİLİ ÜRÜNLER / UPSELL — anasayfa kartları
   ========================================================================= */

.tm-pdp__rel { margin-top: 36px; }
.tm-pdp__rel + .tm-pdp__rel { margin-top: 36px; }

.tm-sec__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.tm-sec__title {
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0;
	padding-left: 15px;
	position: relative;
	color: var(--tm-text);
}
.tm-sec__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 74%;
	border-radius: 3px;
	background: var(--tm-blue);
}
.tm-sec__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--tm-text);
	text-decoration: none;
	padding: 8px 16px;
	border: 1.5px solid var(--tm-border);
	border-radius: 999px;
	background: var(--tm-card);
	transition: all .22s var(--tm-ease);
}
.tm-sec__more:hover { color: #fff; border-color: var(--tm-blue); background: var(--tm-blue); transform: translateX(2px); }

.tm-pdp__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

/* Kart (anasayfa ile birebir) */
.tm-pdp .tm-card {
	position: relative;
	background: var(--tm-card);
	border: none;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--tm-shadow);
	transition: transform .3s var(--tm-ease), box-shadow .3s var(--tm-ease);
}
.tm-pdp .tm-card:hover { transform: translateY(-3px); box-shadow: var(--tm-shadow-hover); }
.tm-pdp .tm-card__link { position: absolute; inset: 0; z-index: 2; }

.tm-pdp .tm-card__wish { position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; overflow: visible; }
.tm-pdp .tm-card__wish .yith-wcwl-add-to-wishlist,
.tm-pdp .tm-card__wish .yith-wcwl-add-button,
.tm-pdp .tm-card__wish .yith-wcwl-wishlistaddedbrowse,
.tm-pdp .tm-card__wish .yith-wcwl-wishlistexistsbrowse { margin: 0 !important; padding: 0 !important; display: block !important; }
.tm-pdp .tm-card__wish a,
.tm-pdp .tm-card__wish button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .95) !important;
	border: 1px solid var(--tm-border) !important;
	box-shadow: 0 2px 8px rgba(35, 36, 30, .14) !important;
	color: var(--tm-ink) !important;
	font-size: 0 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: all .2s ease;
}
.tm-pdp .tm-card__wish a i,
.tm-pdp .tm-card__wish button i { font-size: 15px !important; line-height: 1 !important; margin: 0 !important; }
.tm-pdp .tm-card__wish a svg,
.tm-pdp .tm-card__wish button svg { width: 16px !important; height: 16px !important; margin: 0 !important; }
.tm-pdp .tm-card__wish a:hover,
.tm-pdp .tm-card__wish button:hover { color: #d64848 !important; border-color: #d64848 !important; background: #fff !important; }
.tm-pdp .tm-card__wish a span,
.tm-pdp .tm-card__wish button span,
.tm-pdp .tm-card__wish .feedback,
.tm-pdp .tm-card__wish .yith-wcwl-popup-message,
.tm-pdp .tm-card__wish .yith-wcwl-wishlist-label { display: none !important; }
.tm-pdp .tm-card__wish::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .95);
	border: 1px solid var(--tm-border);
	box-shadow: 0 2px 8px rgba(35, 36, 30, .14);
	pointer-events: none;
}
.tm-pdp .tm-card__wish::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 15px;
	height: 15px;
	transform: translate(-50%, -50%);
	background: var(--tm-ink);
	opacity: .55;
	pointer-events: none;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21.2l7.8-7.8 1-1a5.5 5.5 0 0 0 0-7.8z'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21.2l7.8-7.8 1-1a5.5 5.5 0 0 0 0-7.8z'/></svg>") center / contain no-repeat;
}
.tm-pdp .tm-card__wish.tm-wish-ready::before,
.tm-pdp .tm-card__wish.tm-wish-ready::after { display: none; }

.tm-pdp .tm-card__media {
	position: relative;
	margin: 12px 12px 0;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	background: var(--tm-panel);
	overflow: hidden;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .25s var(--tm-ease);
}
.tm-pdp .tm-card:hover .tm-card__media { background: #f0efe6; }
.tm-pdp .tm-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
	mix-blend-mode: multiply;
	transition: transform .45s var(--tm-ease);
}
.tm-pdp .tm-card:hover .tm-card__media img { transform: scale(1.035); }
.tm-pdp .tm-card__body { padding: 13px 17px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; text-align: left; }
.tm-pdp .tm-card__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--tm-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tm-pdp .tm-card__eyebrow--new { color: #c25708; }
.tm-pdp .tm-card__eyebrow--sale { color: var(--tm-red); }
.tm-pdp .tm-card__title {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0;
	color: var(--tm-text);
	letter-spacing: -.01em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(14.5px * 1.45 * 2);
}
.tm-pdp .tm-card__rating { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--tm-muted); }
.tm-pdp .tm-card__rating svg { color: #d98e04; }
.tm-pdp .tm-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #f7f6f0;
	border-top: 1px solid #ecebdf;
	padding: 12px 17px;
}
.tm-pdp .tm-card__price { font-size: 16px; font-weight: 800; color: var(--tm-text); letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.tm-pdp .tm-card__price del { display: block; font-size: 11.5px; font-weight: 500; color: var(--tm-muted); }
.tm-pdp .tm-card__price ins { text-decoration: none; color: var(--tm-red); font-weight: 800; }
.tm-pdp .tm-card__go {
	flex: 0 0 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--tm-border);
	color: var(--tm-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all .22s var(--tm-ease);
}
.tm-pdp .tm-card:hover .tm-card__go { background: var(--tm-lime); border-color: var(--tm-lime); color: var(--tm-on-lime); transform: translateX(2px); }

/* =========================================================================
   SEPETE EKLE — AJAX durumları + bildirim (toast)
   ========================================================================= */

.tm-pdp .summary form.cart .button.single_add_to_cart_button.is-loading {
	opacity: .75;
	pointer-events: none;
	position: relative;
}
.tm-pdp .summary form.cart .button.single_add_to_cart_button.is-loading::after {
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(38, 39, 14, .25);
	border-top-color: var(--tm-on-lime);
	animation: tmSpin .7s linear infinite;
}
.tm-pdp .summary form.cart .button.single_add_to_cart_button.is-added {
	background: var(--tm-green) !important;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(30, 125, 59, .28) !important;
}
@keyframes tmSpin { to { transform: rotate(360deg); } }
/* WooCommerce'in eklediği "Sepetim" metin linki: bildirim zaten var */
.tm-pdp form.cart a.added_to_cart,
.tm-pdp .summary a.added_to_cart { display: none !important; }

.tm-toast {
	position: fixed;
	top: calc(var(--tm-sticky-top) + 12px);
	right: 20px;
	z-index: 100000;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: min(420px, calc(100vw - 40px));
	padding: 12px 12px 12px 14px;
	background: #fff;
	border: 1px solid var(--tm-border);
	border-radius: 16px;
	box-shadow: 0 18px 44px rgba(35, 36, 30, .18);
	transform: translateY(-12px);
	opacity: 0;
	pointer-events: none;
	transition: transform .3s var(--tm-ease), opacity .3s var(--tm-ease);
}
.tm-toast.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.tm-toast__ico {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tm-lime);
	color: var(--tm-on-lime);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.tm-toast__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.tm-toast__body strong { font-size: 14px; font-weight: 800; color: var(--tm-ink); }
.tm-toast__body em {
	font-style: normal;
	font-size: 12.5px;
	color: var(--tm-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tm-toast__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--tm-ink);
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .2s ease;
}
.tm-toast__cta:hover { background: var(--tm-green); }
.tm-toast__close {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--tm-muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.tm-toast__close:hover { background: var(--tm-panel); color: var(--tm-ink); }

/* =========================================================================
   MOBİL YAPIŞKAN SATIN ALMA ÇUBUĞU
   ========================================================================= */

.tm-pdp__bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99998;
	display: none;
	align-items: center;
	gap: 10px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--tm-border);
	box-shadow: 0 -8px 24px rgba(35, 36, 30, .10);
	transform: translateY(110%);
	transition: transform .3s var(--tm-ease);
}
.tm-pdp__bar.is-visible { transform: translateY(0); }
.tm-pdp__bar-price {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--tm-ink);
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}
.tm-pdp__bar-price del { display: block; font-size: 11.5px; font-weight: 500; color: var(--tm-muted); }
.tm-pdp__bar-price ins { text-decoration: none; color: var(--tm-red); }
.tm-pdp__bar-wa {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--tm-green);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.tm-pdp__bar-wa svg { width: 22px; height: 22px; }
.tm-pdp__bar-cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 18px;
	border: 0;
	border-radius: 13px;
	background: var(--tm-lime);
	color: var(--tm-on-lime);
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(203, 213, 14, .3);
}

/* =========================================================================
   KIRILIMLAR
   ========================================================================= */

@media (max-width: 1100px) {
	.woocommerce div.product.tm-pdp { column-gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); }
	.tm-pdp .summary.entry-summary { padding: 22px 22px 20px; }
	.tm-pdp__sec { padding: 26px 26px 22px; }
	.tm-pdp__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 921px) {
	body.tm-pdp-active { --tm-sticky-top: 0px; }

	.tm-pdp .tm-pdp__hero { display: block; }
	.tm-pdp .woocommerce-product-gallery,
	body.tm-pdp-active .woocommerce div.product div.images.woocommerce-product-gallery { position: relative !important; top: auto; display: block; }
	.tm-pdp .summary.entry-summary { position: static; }
	.tm-pdp .woocommerce-product-gallery .flex-viewport,
	.tm-pdp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { margin: 0 0 12px !important; }
	.woocommerce div.product.tm-pdp .tm-pdp__hero >span.onsale,
	.woocommerce div.product.tm-pdp .ast-onsale-card { left: 14px; }
	/* Video butonu: mobilde hero blok → galeri en üstte; sağ üst köşe aynı yerde */
	.tm-pdp .tm-pdp__hero > .tm-pdp__video { top: 12px; right: 12px; height: 36px; font-size: 12px; padding: 0 12px 0 5px; }
	.tm-pdp .tm-pdp__hero > .woocommerce-product-gallery:has(.woocommerce-product-gallery__trigger) + .tm-pdp__video { right: 60px; }
	.tm-pdp__video-ico { width: 26px; height: 26px; }
	.tm-vlb { padding: 12px; }
	.tm-vlb__close { top: auto; bottom: -50px; right: 50%; transform: translateX(50%); }

	body.tm-pdp-active #content div.product.tm-pdp .tm-pdp__hero >.woocommerce-product-gallery { margin: 0 0 16px !important; }
	body.tm-pdp-active #content .woocommerce-product-gallery .woocommerce-product-gallery__image img,
	body.tm-pdp-active .woocommerce div.product div.images .woocommerce-product-gallery__image img { padding: 0 !important; }

	/* Küçük resimler: tek satır, yatay kaydırma */
	.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs,
	.woocommerce-js div.product.tm-pdp div.images .flex-control-thumbs {
		position: static;
		width: auto;
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 2px 2px 6px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs::-webkit-scrollbar { display: none; }
	.tm-pdp .woocommerce-product-gallery ol.flex-control-thumbs li,
	.woocommerce-js div.product.tm-pdp div.images .flex-control-thumbs li,
	.woocommerce-js div.product.tm-pdp div.woocommerce-product-gallery--columns-4 .flex-control-thumbs li,
	.woocommerce-js div.product.tm-pdp div.woocommerce-product-gallery--columns-3 .flex-control-thumbs li,
	.woocommerce-js div.product.tm-pdp div.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
		flex: 0 0 64px;
		width: 64px;
	}

	.tm-pdp .summary.entry-summary { padding: 20px 18px 18px; border-radius: var(--tm-radius); }
	.tm-pdp .summary .product_title.entry-title { font-size: 22px; }
	.tm-pdp .summary .price { font-size: 24px; }
	.tm-pdp__eyebrow { flex-wrap: wrap; }

	.tm-pdp .summary form.cart .button.single_add_to_cart_button { flex: 1 1 160px; }

	.tm-pdp__sections { margin-top: 24px; gap: 14px; }
	.tm-pdp__sec { padding: 22px 18px 20px; display: block; }
	.tm-pdp__sec-title { position: relative; top: auto; margin: 0 0 16px; font-size: 20px; }
	.tm-pdp__trust { gap: 6px; }
	.tm-pdp__trust li { padding: 8px; }
	.tm-pdp__prose { font-size: 15px; }
	.tm-pdp__clamp.is-collapsed { max-height: var(--tm-clamp, 420px); }

	.tm-pdp__rel { margin-top: 28px; }
	.tm-pdp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tm-pdp .tm-card__body { padding: 11px 13px 10px; }
	.tm-pdp .tm-card__foot { padding: 10px 13px; }

	/* Bildirim: mobilde üstte, tam genişliğe yakın */
	.tm-toast {
		top: 12px;
		right: 12px;
		left: 12px;
		max-width: none;
		padding: 10px 10px 10px 12px;
	}
	.tm-toast__cta { padding: 0 12px; height: 34px; }

	/* Yapışkan çubuk yalnızca mobilde; sayfa altına nefes payı */
	.tm-pdp__bar { display: flex; }
	body.tm-pdp-active.tm-pdp-bar-on { padding-bottom: 76px; }
	/* Site geneli WhatsApp barı (harici snippet) ürün sayfasında çubukla çakışmasın */
	body.tm-pdp-active.tm-pdp-bar-on .tm-whatsapp-bar { display: none !important; }
}

@media (max-width: 480px) {
	body.tm-pdp-active .site-content .ast-container { padding-left: 14px; padding-right: 14px; }
	.tm-pdp__crumbs { margin: 10px 0 12px; font-size: 12px; }
	.tm-pdp .summary form.cart .button.single_add_to_cart_button { flex-basis: 100%; }
	.tm-pdp__secondary { gap: 8px 14px; }
	.tm-pdp__meta-row { grid-template-columns: 1fr; gap: 4px; }
	.tm-pdp__bar-cta { padding: 0 14px; }
	.tm-pdp__bar-price { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
	.tm-pdp *, .tm-pdp__bar, .tm-pdp__clamp { transition: none !important; }
}
