/* Page hero + iç sayfa bileşenleri. HTML'in kurumsal/urunler/urun-detay
   sayfalarındaki inline <style> içeriklerinin tema sürümü. */

.page-hero {
	position: relative;
	padding: 18rem 0 12rem;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(0,180,216,0.30), transparent 60%),
		radial-gradient(900px 500px at 10% 110%, rgba(15,87,149,0.45), transparent 60%),
		linear-gradient(135deg, #041827 0%, #0a3d62 60%, #062a45 100%);
}
.page-hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--tftema-page-hero-bg, none);
	background-size: cover; background-position: center;
	opacity: .12;
	mix-blend-mode: luminosity;
	pointer-events: none;
}
.page-hero::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: -1px;
	height: 120px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2400 120' preserveAspectRatio='none'><path fill='%23ffffff' d='M0,60 C 200,20 400,100 600,60 S 1000,20 1200,60 S 1600,100 1800,60 S 2200,20 2400,60 L2400,120 L0,120 Z'/></svg>") no-repeat;
	background-size: 100% 100%;
	background-position: bottom center;
}
.page-hero .container-x { position: relative; z-index: 2; }
.page-hero + .section,
.page-hero + section { padding-top: 2.5rem; }

@media (max-width: 767px) {
	.page-hero { padding: 8rem 0 6rem; }
	.about-media img { height: 320px; }
}

.crumb {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .45rem .9rem;
	border-radius: 999px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
	backdrop-filter: blur(8px);
	font-size: .92rem;
	color: #cfe6f2;
}
.crumb a { color: #cfe6f2; transition: color .2s; text-decoration: none; }
.crumb a:hover { color: #48cae4; }
.crumb .sep { width: 14px; height: 14px; color: rgba(255,255,255,0.45); }
.crumb .current { color: #fff; font-weight: 600; }

.page-kicker {
	display: inline-flex; align-items: center; gap: .6rem;
	font-size: .86rem; font-weight: 700;
	letter-spacing: .25em; text-transform: uppercase;
	color: #90e0ef;
	margin-top: 1.2rem;
}
.page-kicker::before {
	content: ""; width: 36px; height: 2px;
	background: linear-gradient(90deg, transparent, #48cae4);
	display: inline-block;
}

.page-title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(2.2rem, 4.2vw, 3.6rem);
	font-weight: 700;
	line-height: 1.08;
	margin-top: .8rem;
	letter-spacing: -0.01em;
}
.page-title .accent { color: #48cae4; }

.page-lead {
	max-width: 620px;
	margin-top: 1.2rem;
	color: rgba(224,237,247,0.85);
	font-size: 1.05rem;
	line-height: 1.7;
}

/* Kurumsal: Hakkımızda görseli */
.about-media {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(4,24,39,0.4);
}
.about-media img {
	display: block;
	width: 100%;
	height: 520px;
	object-fit: cover;
}

/* Değer kartları */
.value-card {
	position: relative;
	padding: 2rem 1.6rem;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 20px;
	transition: transform .35s, box-shadow .35s, border-color .35s;
	overflow: hidden;
}
.value-card::before {
	content: "";
	position: absolute; top: 0; left: 0;
	width: 3px; height: 0;
	background: linear-gradient(180deg, #00b4d8, #0a3d62);
	transition: height .45s;
}
.value-card:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: 0 22px 44px -22px rgba(10,61,98,0.35);
}
.value-card:hover::before { height: 100%; }
.value-card .num {
	font-family: 'Playfair Display', serif;
	font-size: 2.4rem;
	color: #00b4d8;
	line-height: 1;
}
.value-card h4 {
	margin: .8rem 0 .6rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #062a45;
}
.value-card p {
	color: #486581;
	font-size: .98rem;
	line-height: 1.65;
}

/* Ürün detay filtre/grid sayfası — filter chip, sayacı */
.filter-toolbar {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: #f1f7fc;
	border: 1px solid #e0edf7;
	border-radius: 16px;
	padding: 18px;
	margin-bottom: 10px;
}
.filter-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.product-filter-label {
	font-weight: 700;
	color: #0a3d62;
	font-size: 0.92rem;
}
.product-count {
	color: #64748b;
	font-size: 0.95rem;
}
.product-count strong { color: #0a3d62; }
.ml-auto { margin-left: auto; }

/* Ürün detay sayfası — product-gallery / specs / cta-box */
.product-gallery { position: relative; }
.product-main {
	position: relative;
	aspect-ratio: 4/3;
	border-radius: 20px;
	overflow: hidden;
	background: #0a3d62;
	box-shadow: 0 30px 60px -30px rgba(4,24,39,0.4);
}
.product-main img { width: 100%; height: 100%; object-fit: cover; }
.product-main .fresh-tag {
	position: absolute;
	top: 14px; left: 14px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px;
	background: rgba(4, 24, 39, 0.75);
	color: #fff;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 600;
	backdrop-filter: blur(8px);
}
.product-main .fresh-tag .dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: #48cae4;
	box-shadow: 0 0 0 4px rgba(72, 202, 228, 0.3);
}
.product-gallery .thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 12px;
}
.product-gallery .thumbs a,
.product-gallery .thumbs button {
	padding: 0; border: 2px solid transparent; border-radius: 12px;
	overflow: hidden; cursor: pointer;
	background: #fff;
	display: block;
	transition: border-color 0.2s;
}
.product-gallery .thumbs a img,
.product-gallery .thumbs button img {
	display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
}
.product-gallery .thumbs a.active,
.product-gallery .thumbs button.active,
.product-gallery .thumbs a:hover,
.product-gallery .thumbs button:hover {
	border-color: #48cae4;
}

.product-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 1rem;
}
.meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #e0edf7;
	color: #0a3d62;
	font-size: 0.88rem;
	font-weight: 600;
	border: 1px solid #b8d6ea;
}
.meta-pill.fresh { background: #ecfdf5; color: #065f46; border-color: #6ee7b7; }
.meta-pill.farm { background: #fef3c7; color: #92400e; border-color: #fcd34d; }

.product-heading {
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.6rem, 2.8vw, 2.2rem);
	color: #062a45;
	font-weight: 700;
	line-height: 1.15;
}

.specs {
	display: grid;
	gap: 10px;
	margin-top: 1.6rem;
}
.spec-row {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 10px;
	padding: 12px 16px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	align-items: center;
}
.spec-row .k {
	display: inline-flex; align-items: center; gap: 8px;
	color: #64748b;
	font-weight: 600;
	font-size: 0.92rem;
}
.spec-row .v { color: #0a3d62; font-weight: 500; }

.cta-box {
	margin-top: 1.8rem;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background: linear-gradient(135deg, #f1f7fc, #e0edf7);
	border-radius: 16px;
	border: 1px solid #cbd5e1;
}
.cta-box .t { display: flex; flex-direction: column; gap: 2px; }
.cta-box .t strong { color: #0a3d62; font-size: 1.05rem; }
.cta-box .t span { color: #64748b; font-size: 0.92rem; }

/* Benzer ürünler kartları */
.related-card {
	display: block;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(10, 61, 98, 0.3); }
.related-card .ph {
	aspect-ratio: 4/3;
	background: #f1f7fc;
	overflow: hidden;
}
.related-card .ph img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.5s;
}
.related-card:hover .ph img { transform: scale(1.06); }
.related-card .body { padding: 18px 20px; }
.related-card .tag {
	display: inline-block;
	padding: 4px 10px;
	background: #ecfdf5;
	color: #065f46;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 8px;
}
.related-card .tag.frozen { background: #dbeafe; color: #1e40af; }
.related-card h4 {
	margin: 4px 0 6px;
	font-size: 1.15rem;
	font-weight: 700;
	color: #062a45;
}
.related-card p {
	color: #64748b;
	font-size: 0.95rem;
	margin: 0;
	line-height: 1.55;
}

/* Empty state */
.product-empty {
	display: none;
	text-align: center;
	padding: 3rem 1rem;
	color: #64748b;
	grid-column: 1 / -1;
}
.product-empty.is-visible { display: block; }

@media (max-width: 767px) {
	.spec-row { grid-template-columns: 1fr; }
	.spec-row .v { padding-left: 26px; }
}
