/**
 * WooCommerce Single Product - Birebir referans layout
 * Tüm sınıflar exact-product-* prefix ile tema çakışması önlenir.
 */

/* ========== Container & grid ========== */
.exact-product {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 24px 48px;
}

.exact-product__top {
	margin-bottom: 48px;
}

.exact-product__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px 56px;
	align-items: start;
}

@media (max-width: 991px) {
	.exact-product__cols {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Sol: Galeri ~55% görsel oranı için */
.exact-product__gallery-col {
	min-width: 0;
}

.exact-product__gallery-inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Ana ürün görseli - yuvarlak köşeli kutu, hafif gölge */
.exact-product__main-wrap {
	position: relative;
	background: #f5f5f5;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	aspect-ratio: 1;
}

.exact-product__main-wrap .woocommerce-product-gallery__image,
.exact-product__main-wrap .woocommerce-product-gallery__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.exact-product__main-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 24px;
}

.exact-product__main-placeholder img {
	width: 100%;
	height: auto;
	object-fit: contain;
	padding: 24px;
}

/* Yatay thumbnail galeri */
.exact-product__thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.exact-product__thumb-item {
	flex: 0 0 calc(25% - 9px);
	max-width: calc(25% - 9px);
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 1;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.exact-product__thumb-item:hover {
	border-color: #c5c5c5;
}

.exact-product__thumb-item--active {
	border: 2px solid #105af6;
	box-shadow: 0 0 0 1px #105af6;
}

.exact-product__thumb-item .woocommerce-product-gallery__image,
.exact-product__thumb-item .woocommerce-product-gallery__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.exact-product__thumb-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 576px) {
	.exact-product__thumb-item {
		flex: 0 0 calc(50% - 6px);
		max-width: calc(50% - 6px);
	}
}

/* ========== Sağ kolon: Bilgi ========== */
.exact-product__info-col {
	min-width: 0;
}

.exact-product__title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: #161921;
	margin: 0 0 8px;
}

.exact-product__subtitle {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	color: #161921;
	margin: 0 0 8px;
}

.exact-product__meta {
	margin-bottom: 12px;
}

.exact-product__sku {
	font-size: 13px;
	color: #898989;
}

/* Rating - yıldız + yorum sayısı */
.exact-product__info .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.exact-product__info .star-rating {
	display: inline-block;
	color: #f0c14b;
}

.exact-product__info .woocommerce-review-link {
	font-size: 14px;
	color: #898989;
	text-decoration: none;
}

.exact-product__info .woocommerce-review-link:hover {
	color: #105af6;
}

/* Fiyat - büyük kalın mavi */
.exact-product__price-wrap {
	margin-bottom: 12px;
}

.exact-product__price-wrap .price {
	font-size: 32px;
	font-weight: 700;
	color: #105af6;
	line-height: 1.2;
}

.exact-product__price-wrap .price .woocommerce-Price-currencySymbol {
	font-size: 0.85em;
	vertical-align: top;
}



/* Stok badge - açık yeşil arka plan */
.exact-product__stock-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 20px;
}

.exact-product__stock-badge--in {
	background: #e8f5e9;
	color: #2e7d32;
}

.exact-product__stock-badge--in::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #2e7d32;
}

.exact-product__stock-badge--out {
	background: #ffebee;
	color: #c62828;
}

/* Pill feature etiketleri */
.exact-product__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.exact-product__pill {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid #105af6;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	color: #105af6;
	background: #fff;
}

/* Adet + Sepete Ekle satırı */
.exact-product__action-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.exact-product__qty-wrap {
	flex-shrink: 0;
}

.exact-product__qty-wrap .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.exact-product__qty-wrap .quantity__btn,
.exact-product__qty-wrap .quantity .quantity__btn--minus,
.exact-product__qty-wrap .quantity .quantity__btn--plus {
	width: 44px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: none;
	font-size: 20px;
	color: #161921;
	cursor: pointer;
	line-height: 1;
}

.exact-product__qty-wrap .quantity__input {
	width: 52px;
	height: 48px;
	text-align: center;
	border: none;
	border-left: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	font-size: 16px;
	font-weight: 500;
	-moz-appearance: textfield;
}

.exact-product__qty-wrap .quantity__input::-webkit-outer-spin-button,
.exact-product__qty-wrap .quantity__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Tema farklı quantity sınıfı kullanıyorsa (fiddle vs) */
.exact-product__qty-wrap .fiddle-number-input,
.exact-product__qty-wrap .quantity-holder {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.exact-product__qty-wrap .fiddle-number-input button,
.exact-product__qty-wrap .quantity-holder button {
	width: 44px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: none;
	font-size: 20px;
	color: #161921;
	cursor: pointer;
}

.exact-product__qty-wrap .fiddle-number-input input.quantity,
.exact-product__qty-wrap .quantity-holder input.quantity {
	width: 52px;
	height: 48px;
	text-align: center;
	border: none;
	border-left: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	font-size: 16px;
	font-weight: 500;
}

/* Büyük mavi Sepete Ekle butonu */
.exact-product__add-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 32px;
	background: #105af6 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
}

.exact-product__add-btn:hover {
	background: #0d4ad6 !important;
	color: #fff !important;
	opacity: 0.95;
}

/* Wishlist butonu - outline */
.exact-product__wishlist-wrap {
	margin-bottom: 24px;
}

.exact-product__wishlist-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 320px;
	min-height: 48px;
	padding: 0 24px;
	background: #fff;
	color: #105af6;
	border: 1px solid #105af6;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.exact-product__wishlist-btn:hover {
	background: #f0f5ff;
	color: #0d4ad6;
}

.exact-product__wishlist-btn--in-list {
	background: #105af6;
	color: #fff;
	border-color: #105af6;
}

.exact-product__wishlist-btn--in-list:hover {
	background: #0d4ad6;
	color: #fff;
	border-color: #0d4ad6;
}

/* Teslimat / iade / güvenli ödeme satırı */
.exact-product__trust-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 4px;
	font-size: 14px;
}

.exact-product__trust-link {
	color: #105af6;
	text-decoration: none;
}

.exact-product__trust-link:hover {
	text-decoration: underline;
}

.exact-product__trust-sep {
	color: #c5c5c5;
	user-select: none;
}

/* ========== Alt bölüm: Product Overview + What's in the Box ========== */
.exact-product__bottom {
	margin-bottom: 48px;
}

.exact-product__cols--bottom {
	align-items: start;
}

.exact-product__section-title {
	font-size: 20px;
	font-weight: 700;
	color: #105af6;
	margin: 0 0 16px;
}

.exact-product__description {
	font-size: 15px;
	line-height: 1.6;
	color: #161921;
}

.exact-product__description p {
	margin: 0 0 12px;
}

.exact-product__box-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #161921;
}

.exact-product__box-list li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
}

.exact-product__box-list li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: #105af6;
}

/* ========== Teknik Özellikler ========== */
.exact-product__specs {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid #e5e5e5;
}

.exact-product__specs .exact-product__section-title {
	margin-bottom: 20px;
}

.exact-product__specs .woocommerce-product-attributes,
.exact-product__specs .shop_attributes {
	width: 100%;
	border: none;
	margin: 0;
}

.exact-product__specs .woocommerce-product-attributes tr,
.exact-product__specs .shop_attributes tr {
	border-bottom: 1px solid #e5e5e5;
}

.exact-product__specs .woocommerce-product-attributes th,
.exact-product__specs .shop_attributes th {
	font-size: 15px;
	font-weight: 600;
	color: #105af6;
	text-align: left;
	padding: 14px 16px 14px 0;
	width: 40%;
	vertical-align: top;
	border: none;
}

.exact-product__specs .woocommerce-product-attributes td,
.exact-product__specs .shop_attributes td {
	font-size: 15px;
	color: #161921;
	padding: 14px 0;
	border: none;
}

/* Responsive alt bölüm */
@media (max-width: 991px) {
	.exact-product__cols--bottom {
		grid-template-columns: 1fr;
	}
}

/* Galeri thumbnail tıklanınca ana görseli değiştir (JS yoksa en azından görsel) */
.exact-product__thumb-item img {
	pointer-events: none;
}

.exact-product__thumb-item a {
	pointer-events: auto;
}
