/* WooCommerce-benzeri tekne detay / sekmeler (sitenin geri kalanından bağımsız BEM-benzeri önek) */
.boat-detail-page {
	--boat-border: rgba(15, 23, 42, 0.12);
	--boat-muted: #64748b;
	--boat-heading: #0f172a;
	/* templatemo #header yüksekliği (padding + logo satırı) + güvenli alan */
	--boat-header-h: calc(80px + env(safe-area-inset-top, 0px));
	min-height: 100vh;
	background: #f1f5f9;
	color: #334155;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	padding-top: var(--boat-header-h);
	overflow-x: hidden;
}

@media (max-width: 768px) {
	.boat-detail-page {
		--boat-header-h: calc(68px + env(safe-area-inset-top, 0px));
	}
}

.boat-detail-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 20px 80px;
}

/* Bulunamadı */
.boat-not-found {
	padding-top: 32px;
	text-align: center;
	max-width: 480px;
}

.boat-not-found-lead {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--boat-heading);
	margin: 0 0 12px;
}

.boat-not-found-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 24px;
}

/* Hero: galeri + başlık yan yana */
.boat-detail-hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin-bottom: 32px;
	align-items: start;
}

@media (min-width: 900px) {
	.boat-detail-hero {
		grid-template-columns: 1.15fr 0.85fr;
		gap: 32px;
	}
}

.boat-detail-hero-gallery {
	min-width: 0;
}

.boat-detail-hero-aside {
	background: #fff;
	border: 1px solid var(--boat-border);
	border-radius: 16px;
	padding: 24px 22px 26px;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
	position: sticky;
	top: calc(var(--boat-header-h) + 16px);
	align-self: start;
}

.boat-detail-kicker {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #94a3b8;
}

.boat-detail-title {
	font-size: clamp(1.35rem, 2.8vw, 1.85rem);
	font-weight: 800;
	color: var(--boat-heading);
	letter-spacing: -0.03em;
	line-height: 1.25;
	margin: 0 0 14px;
	background: none;
	-webkit-text-fill-color: currentColor;
	-webkit-background-clip: unset;
	background-clip: unset;
}

.boat-detail-price {
	font-size: 1.15rem;
	line-height: 1.4;
	margin: -6px 0 14px;
	color: var(--boat-heading);
}

.boat-detail-price[hidden] {
	display: none !important;
}

.boat-detail-price-label {
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--boat-muted);
	margin-right: 8px;
}

.boat-detail-price-value {
	font-weight: 800;
	color: #1d4ed8;
}

.boat-detail--sold-out .boat-detail-price-value {
	color: var(--boat-muted);
}

.boat-detail-excerpt {
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--boat-muted);
	margin: 0 0 20px;
}

.boat-detail-excerpt[hidden] {
	display: none !important;
}

.boat-detail-hero-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.boat-detail-hero-actions .cta-button {
	text-align: center;
	justify-content: center;
}

.boat-detail-page .cta-button--outline,
.boat-not-found-actions .cta-button--outline {
	background: transparent !important;
	border: 2px solid #1d4ed8;
	color: #1d4ed8 !important;
	box-shadow: none;
}

.boat-detail-page .cta-button--outline:hover,
.boat-not-found-actions .cta-button--outline:hover {
	background: rgba(29, 78, 216, 0.08) !important;
}

/* Galeri */
.boat-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-bottom: 0;
}

.boat-gallery-main {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #e2e8f0;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
	aspect-ratio: 16 / 10;
}

.boat-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.boat-gallery-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.boat-gallery-thumbs button {
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	width: 92px;
	height: 64px;
	cursor: pointer;
	background: #e2e8f0;
	flex-shrink: 0;
}

.boat-gallery-thumbs button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.boat-gallery-thumbs button.is-active,
.boat-gallery-thumbs button:focus-visible {
	border-color: #1d4ed8;
	outline: none;
}

/* Tükendi ilan — detay sayfası: soluk galeri + belirgin şerit */
.boat-detail-sold-banner {
	margin: 0 0 14px;
	padding: 12px 16px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.45;
	color: #fff;
	background: linear-gradient(135deg, #475569, #1e293b);
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.4);
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
}

.boat-detail-sold-banner[hidden] {
	display: none !important;
}

.boat-detail--sold-out .boat-gallery-main {
	position: relative;
}

.boat-detail--sold-out .boat-gallery-main::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.2);
	pointer-events: none;
	z-index: 1;
}

.boat-detail--sold-out .boat-gallery-main img {
	filter: grayscale(0.75) brightness(0.88);
	opacity: 0.72;
}

.boat-detail--sold-out .boat-gallery-thumbs button img {
	filter: grayscale(0.7) brightness(0.9);
	opacity: 0.75;
}

/* Sekmeler */
.boat-tabs.wc-tabs-wrapper {
	background: #fff;
	border-radius: 14px;
	border: 1px solid var(--boat-border);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

.boat-tabs ul.tabs.wc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--boat-border);
	background: #f8fafc;
}

.boat-tabs ul.tabs.wc-tabs li {
	margin: 0;
}

.boat-tabs ul.tabs.wc-tabs a {
	display: block;
	padding: 16px 22px;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}

.boat-tabs ul.tabs.wc-tabs li.is-active a,
.boat-tabs ul.tabs.wc-tabs a:hover {
	color: #1d4ed8;
	border-bottom-color: #1d4ed8;
}

.boat-tabs .boat-Tabs-panel,
.boat-tabs .woocommerce-Tabs-panel {
	display: none;
	padding: 28px 24px 32px;
}

.boat-tabs .boat-Tabs-panel.is-active,
.boat-tabs .woocommerce-Tabs-panel.is-active {
	display: block;
}

.boat-tabs .boat-Tabs-panel > h2,
.boat-tabs .woocommerce-Tabs-panel > h2 {
	font-size: 1.25rem;
	margin: 0 0 22px;
	color: var(--boat-heading);
	background: none;
	-webkit-text-fill-color: currentColor;
}

/* İki sütun spec (WooCommerce col-md-6 + row yapısı) */
.boat-spec-columns,
.boat-spec-columns.wc-boat-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 36px;
	align-items: start;
}

.boat-spec-columns .col-md-6 {
	min-width: 0;
}

.boat-spec-columns .row {
	display: flex;
	flex-direction: column;
	gap: 0;
}

@media (max-width: 900px) {
	.boat-spec-columns,
	.boat-spec-columns.wc-boat-two-col {
		grid-template-columns: 1fr;
	}
}

.boat-prop-wrapper {
	margin-bottom: 22px;
}

.boat-product-generel-info,
.product-generel-info {
	background: #f8fafc;
	border: 1px solid var(--boat-border);
	border-radius: 12px;
	padding: 16px 18px 14px;
}

.boat-product-generel-info h6.boat-spec-h6,
.product-generel-info h6 {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: #1e40af;
	text-transform: uppercase;
	background: none;
	-webkit-text-fill-color: currentColor;
}

.boat-product-generel-info table,
.product-generel-info table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.boat-product-generel-info td,
.product-generel-info td {
	padding: 8px 10px 8px 0;
	vertical-align: top;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.boat-product-generel-info tr:last-child td,
.product-generel-info tr:last-child td {
	border-bottom: none;
}

.boat-product-generel-info td:first-child,
.product-generel-info td:first-child {
	width: 140px;
	max-width: 42%;
	color: #475569;
}

.boat-product-generel-info td:first-child b,
.product-generel-info td:first-child b {
	font-weight: 700;
	color: var(--boat-heading);
}

.boat-product-generel-info td:last-child,
.product-generel-info td:last-child {
	color: #334155;
}

.boat-product-generel-info td:last-child:empty::before,
.product-generel-info td:last-child:empty::before {
	content: '—';
	color: #94a3b8;
}

/* Genel bilgi (üst tablo) */
.boat-general-info-wrap {
	margin-bottom: 28px;
}

.boat-general-info-wrap .product-generel-info h6,
.boat-general-info-wrap .boat-product-generel-info h6 {
	margin-bottom: 14px;
}

/* WooCommerce benzeri yorum alanı */
.woocommerce-Reviews-title {
	font-size: 1.2rem;
	margin: 0 0 12px;
	color: var(--boat-heading);
	background: none;
	-webkit-text-fill-color: currentColor;
}

.woocommerce-noreviews {
	color: var(--boat-muted);
	line-height: 1.7;
	margin: 0;
}

/* Ana sayfa — minimalist hisse kartları (share-card + Detay / Satın al)
   Tek kart varken grid 1fr ile tüm genişliği kaplamasın: sabit kart genişliği + ortala */
.share-grid.hisseler-minimal-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 24px;
	width: 100%;
}

.hisseler-minimal-grid .hisse-minimal-card.share-card {
	flex: 0 0 auto;
	width: min(300px, 100%);
	max-width: 320px;
	box-sizing: border-box;
}

.hisseler-minimal-grid .hisse-minimal-card {
	overflow: hidden;
}

.hisseler-minimal-grid .hisse-minimal-imglink {
	display: block;
	line-height: 0;
}

.hisseler-minimal-grid .hisse-minimal-imglink img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.hisse-minimal-noimg {
	height: 220px;
	background: linear-gradient(145deg, #e8eef5, #cbd5e1);
}

.hisse-minimal-badge {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #94a3b8;
}

/* Tükenen hisseler (ana sayfa): belirgin rozet + soluk görsel */
.hisse-minimal-card--sold .hisse-minimal-imglink {
	position: relative;
}

.hisse-minimal-card--sold .hisse-minimal-imglink::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.22);
	pointer-events: none;
}

.hisse-minimal-card--sold .hisse-minimal-imglink img {
	filter: grayscale(0.75) brightness(0.88);
	opacity: 0.72;
}

.hisse-minimal-card--sold .hisse-minimal-noimg {
	filter: grayscale(0.5);
	opacity: 0.75;
	background: linear-gradient(145deg, #cbd5e1, #94a3b8);
}

.hisse-minimal-card--sold .hisse-minimal-badge {
	display: inline-block;
	margin: 0 0 12px;
	padding: 9px 16px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #475569, #334155);
	border-radius: 8px;
	border: 1px solid rgba(15, 23, 42, 0.35);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.hisse-minimal-desc {
	font-size: 0.95rem;
	line-height: 1.65;
	color: #475569;
	margin: 0 0 6px;
}

.hisseler-minimal-grid .share-card-body h3 {
	margin: 0 0 10px;
	font-size: 1.18rem;
	color: #0f172a;
	background: none;
	-webkit-text-fill-color: currentColor;
	line-height: 1.3;
}

.hisse-minimal-price {
	margin: 0 0 10px;
	font-size: 1.05rem;
	line-height: 1.4;
	color: #0f172a;
}

.hisse-minimal-price-label {
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #64748b;
	margin-right: 6px;
}

.hisse-minimal-price-value {
	font-weight: 800;
	color: #1d4ed8;
	letter-spacing: -0.02em;
}

.hisse-minimal-card--sold .hisse-minimal-price-value {
	color: #64748b;
	font-weight: 700;
}

.hisseler-loading {
	grid-column: 1 / -1;
	text-align: center;
	color: #64748b;
	padding: 24px;
	font-size: 15px;
}

.hisseler-minimal-grid .hisseler-loading {
	flex: 1 1 100%;
	width: 100%;
	min-width: 100%;
	grid-column: unset;
	text-align: center;
	color: #64748b;
	padding: 20px;
	font-size: 14px;
	line-height: 1.6;
}

/* Değerlendirmeler sekmesi */
.boat-reviews-placeholder {
	color: var(--boat-muted);
	line-height: 1.7;
}

.boat-cta-row {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.boat-cta-row .cta-button {
	display: inline-block;
	padding: 14px 28px;
	background: linear-gradient(135deg, #1d4ed8, #3b82f6);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	border-radius: 10px;
	font-size: 15px;
	border: none;
	cursor: pointer;
}

.boat-cta-row .cta-button--ghost {
	background: #fff;
	color: #1d4ed8 !important;
	border: 2px solid #1d4ed8;
}

/* .boat-not-found üstte tanımlı */
