/* Ürün sayfası (Kuyumculuk + 3D Baskı ortak) — Claude Design ekran 1c/1d */

.e3d-product-page { padding: 28px 56px 64px; }
.e3d-pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Galeri */
.e3d-pdp-gallery { display: flex; flex-direction: column; gap: 14px; }
.e3d-pdp-main-image { aspect-ratio: 1/1; overflow: hidden; }
.e3d-pdp-main-image img { width: 100%; height: 100%; object-fit: cover; }
.e3d-pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.e3d-pdp-thumb { aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--e3d-border); }
.e3d-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Bilgi sütunu */
.e3d-pdp-info { display: flex; flex-direction: column; gap: 22px; }
.e3d-pdp-heading { display: flex; flex-direction: column; gap: 10px; }
.e3d-pdp-heading h1 { font-size: 42px; line-height: 1.12; }
.e3d-pdp-desc { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--e3d-muted-2); font-weight: 300; max-width: 520px; }
.e3d-divider { height: 1px; background: var(--e3d-border); }

/* Kademeli seçici */
.e3d-tiered-selector { display: flex; flex-direction: column; gap: 24px; }
.e3d-step { display: flex; flex-direction: column; gap: 14px; }
.e3d-step-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.e3d-step-num {
	width: 22px; height: 22px; border-radius: 50%; background: var(--e3d-green); color: var(--e3d-cream);
	font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.e3d-step-label { font-size: 12.5px; letter-spacing: .16em; color: var(--e3d-black); }
.e3d-step-note { font-size: 12.5px; color: var(--e3d-muted-3); font-weight: 300; }

.e3d-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.e3d-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.e3d-renk-row { display: flex; gap: 12px; flex-wrap: wrap; }
.e3d-renk-swatch {
	display: flex; align-items: center; gap: 10px; padding: 10px 16px; cursor: pointer;
	background: var(--e3d-white); border: 1px solid var(--e3d-border); font-family: var(--e3d-font-body);
	font-size: 13.5px; color: var(--e3d-black);
}
.e3d-renk-swatch.is-active { border-color: var(--e3d-green); box-shadow: inset 0 0 0 1px var(--e3d-green); }
.e3d-renk-swatch .dot { width: 16px; height: 16px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

.e3d-conditional-block {
	display: flex; flex-direction: column; gap: 20px;
	border-left: 2px solid var(--e3d-green); padding: 4px 0 4px 26px;
}
.e3d-conditional-block.accent-teal-border { border-left-color: var(--e3d-teal); }
.e3d-silver-note {
	background: var(--e3d-teal-tint-bg); border: 1px solid var(--e3d-teal); padding: 14px 16px;
	font-size: 13px; color: var(--e3d-teal-text); line-height: 1.55;
}
.e3d-small-note { margin: 0; font-size: 13px; color: var(--e3d-muted-1); font-weight: 300; line-height: 1.6; }

/* WooCommerce'in gerçek varyasyon formu: native table gizli, fiyat/CTA paneli özet kutusu gibi giydirildi */
.e3d-native-form .variations { display: none; }
.e3d-native-form .reset_variations { display: none; }
.e3d-native-form table.variations + .woocommerce-variation-description,
.e3d-native-form .woocommerce-variation-description { display: none; }

.single_variation_wrap {
	display: block;
	background: var(--e3d-white);
	border: 1px solid var(--e3d-border);
	padding: 22px;
	margin-top: 8px;
}
.woocommerce-variation-price .price {
	font-family: var(--e3d-font-display);
	font-size: 26px;
	color: var(--e3d-black);
}
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; margin-top: 14px; align-items: center; }
.woocommerce-variation-add-to-cart .quantity input.qty {
	border: 1px solid var(--e3d-border); padding: 15px 18px; font-size: 14px; width: 70px; font-family: var(--e3d-font-body);
}
.e3d-native-form .single_add_to_cart_button {
	flex: 1;
	background: var(--e3d-green) !important;
	color: var(--e3d-cream) !important;
	border: none;
	padding: 15px !important;
	text-align: center;
	font-size: 14.5px !important;
	letter-spacing: .06em;
	font-family: var(--e3d-font-body) !important;
	cursor: pointer;
}
.e3d-native-form .single_add_to_cart_button:hover { background: #043F2C !important; }
.e3d-native-form .single_add_to_cart_button.disabled {
	background: var(--e3d-border) !important; color: var(--e3d-muted-3) !important; cursor: not-allowed;
}
.woocommerce-variation-availability { font-size: 12px; color: var(--e3d-muted-3); margin-top: 6px; }

/* Fiyat henüz S3'te girilmediği için WC bu durumda "Bu ürün kombinasyonu mevcut değil"
   gösterebilir — bu, hata değil, bilinen ve beklenen bir gecici durum. */

/* Detay akordiyon */
.e3d-accordion { display: flex; flex-direction: column; }
.e3d-accordion-row {
	border-top: 1px solid var(--e3d-border); padding: 16px 0; display: flex; justify-content: space-between;
	font-size: 14px; color: var(--e3d-black); cursor: pointer;
}
.e3d-accordion-row--last { border-bottom: 1px solid var(--e3d-border); }

/* ---- 3D Baskı: koyu "3D ÖNİZLEME" paneli (ekran 1d) ---- */
.e3d-viewer-chrome { border: 1px solid var(--e3d-black); background: var(--e3d-black); }
.e3d-viewer-chrome-head {
	display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
	border-bottom: 1px solid var(--e3d-dark-border); font-size: 11.5px; letter-spacing: .16em; color: var(--e3d-teal-light);
}
.e3d-viewer-chrome-controls { display: flex; gap: 14px; font-size: 11.5px; color: var(--e3d-muted-3); }
.e3d-viewer-chrome .e3d-stl-viewer--dark {
	aspect-ratio: 1/1; height: auto; background: radial-gradient(circle at 50% 45%, #26251D 0%, #14140F 70%);
	border: none; border-radius: 0;
}
.e3d-viewer-chrome .e3d-stl-viewer--dark .e3d-viewer-status { color: var(--e3d-muted-3); }
.e3d-viewer-chrome-foot { padding: 11px 16px; border-top: 1px solid var(--e3d-dark-border); font-size: 11.5px; color: var(--e3d-muted-1); }

.e3d-format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 1100px) {
	.e3d-product-page { padding: 24px; }
	.e3d-pdp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.e3d-tier-grid, .e3d-format-grid { grid-template-columns: 1fr; }
}
