/* Cybros: Giyim ürün sayfası (BRZ tarzı) */
.cyb-urun { --u-cizgi: #E6E8EC; --u-metin: #111111; --u-soluk: #6B6F76; --u-zemin: #F4F5F7; }
body.cyb-urun, .cyb-urun .site, .cyb-urun #inner-wrap { background: var(--u-zemin); }
.cyb-urun .product-title.product-above,
.cyb-urun .entry-hero.product-hero-section { display: none; }
.cyb-urun .content-area { margin-top: 12px; }
.cyb-urun div.product.entry { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
/* Sayfa yolu: Ana Sayfa / Giyim / Hoodie / ürün (tıklanınca geri dönülür) */
.cyb-urun-ust { padding: 4px 0 16px; }
.cyb-urun .cyb-kirinti { font-size: 13px; color: var(--u-soluk); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cyb-urun .cyb-kirinti::before {
	content: ""; width: 14px; height: 14px; background: var(--u-metin); margin-right: 2px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cyb-urun .cyb-kirinti a { color: var(--u-metin); text-decoration: none; }
.cyb-urun .cyb-kirinti a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cyb-urun .cyb-kirinti .ayrac { color: var(--u-metin); }
.cyb-urun .woocommerce-breadcrumb:not(.cyb-kirinti) { display: none; }

/* Yerleşim: galeri solda geniş, özet sağda */
@media (min-width: 1025px) {
	.cyb-urun div.product .woocommerce-product-gallery { width: 58% !important; margin-right: 3% !important; }
	.cyb-urun div.product .summary { width: 39% !important; }
}

/* Galeri: solda dikey küçük görseller, ortada büyük görsel ve oklar */
.cyb-urun .woocommerce-product-gallery { position: relative; background: transparent; }
.cyb-urun .woocommerce-product-gallery .flex-viewport { background: #fff; border: 1px solid var(--u-cizgi); }
.cyb-urun .woocommerce-product-gallery__image img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; height: auto; display: block; }
.cyb-urun .woocommerce-product-gallery .flex-control-thumbs { display: flex !important; flex-wrap: nowrap !important; gap: 8px; margin: 8px 0 0 !important; padding: 0; overflow-x: auto; scrollbar-width: thin; }
.cyb-urun .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 64px; width: 64px !important; margin: 0 !important; float: none !important; list-style: none; }
.cyb-urun .woocommerce-product-gallery .flex-control-thumbs img {
	aspect-ratio: 2 / 3; object-fit: cover; width: 100%; height: auto; opacity: .55; border: 1px solid var(--u-cizgi); background: #fff; cursor: pointer; transition: opacity .15s;
}
.cyb-urun .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.cyb-urun .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--u-metin); }
@media (min-width: 768px) {
	.cyb-urun .woocommerce-product-gallery { display: grid !important; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; }
	.cyb-urun .woocommerce-product-gallery .flex-viewport,
	.cyb-urun .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; }
	.cyb-urun .woocommerce-product-gallery .flex-control-thumbs {
		grid-column: 1; grid-row: 1; flex-direction: column; margin: 0 !important; overflow-x: hidden; overflow-y: auto; max-height: var(--cyb-galeri-h, 640px);
	}
	.cyb-urun .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 auto; width: 100% !important; }
	.cyb-urun .woocommerce-product-gallery .flex-direction-nav a.flex-prev { left: 108px; }
}
.cyb-urun .woocommerce-product-gallery__trigger { z-index: 5; right: 12px !important; top: 12px !important; left: auto !important; }
.cyb-urun .flex-direction-nav { list-style: none; margin: 0; padding: 0; }
.cyb-urun .flex-direction-nav a {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center;
	color: var(--u-metin); text-decoration: none; font-size: 0; opacity: 1; transition: background .15s;
}
.cyb-urun .flex-direction-nav a::before {
	content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; display: block;
}
.cyb-urun .flex-direction-nav a.flex-prev { left: 12px; }
.cyb-urun .flex-direction-nav a.flex-prev::before { transform: rotate(135deg); margin-left: 4px; }
.cyb-urun .flex-direction-nav a.flex-next { right: 12px; }
.cyb-urun .flex-direction-nav a.flex-next::before { transform: rotate(-45deg); margin-right: 4px; }
.cyb-urun .flex-direction-nav a:hover { background: #fff; }
.cyb-urun .flex-direction-nav a.flex-disabled { opacity: .35; pointer-events: none; }

/* Sağ sütun: kutular */
.cyb-urun .summary { display: flex; flex-direction: column; gap: 12px; }
.cyb-urun .summary > * { margin: 0 !important; }
.cyb-kutu { background: #fff; border: 1px solid var(--u-cizgi); padding: 18px 20px; }
.cyb-kutu-bas .product_title { font-size: 21px !important; line-height: 1.3 !important; font-weight: 700 !important; margin: 0 0 6px !important; letter-spacing: -.005em; }
.cyb-stok { font-size: 13px; color: var(--u-soluk); margin-bottom: 14px; }
.cyb-stok span { color: var(--u-metin); font-weight: 600; }
.cyb-kutu-bas .price { font-size: 26px !important; font-weight: 800 !important; color: var(--u-metin) !important; margin: 0 !important; display: flex; gap: 10px; align-items: baseline; }
.cyb-kutu-bas .price del { font-size: 16px; font-weight: 500; color: var(--u-soluk); opacity: 1; order: -1; }
.cyb-kutu-bas .price ins { text-decoration: none; }
.cyb-fiyat-alt { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.cyb-marka { font-size: 13px; color: var(--u-soluk); }
.cyb-marka a { color: var(--u-metin); font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; }
.cyb-indirim-rozet { background: var(--u-metin); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.cyb-kutu-baslik { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.cyb-cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.cyb-cip, button.cyb-cip {
	min-width: 52px; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--u-cizgi) !important; background: #fff !important; color: var(--u-metin) !important; font: 600 14px/1 inherit;
	border-radius: 0 !important; cursor: pointer; box-shadow: none !important; transition: border-color .15s, background .15s;
}
button.cyb-cip:hover { border-color: var(--u-metin) !important; }
.cyb-cip.secili, button.cyb-cip.secili { background: var(--u-metin) !important; border-color: var(--u-metin) !important; color: #fff !important; }
button.cyb-cip:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.cyb-kutu-renk .cyb-cip { cursor: default; }

/* Varyasyon formu: Beden kutusu + adet + sepete ekle */
.cyb-urun form.variations_form { display: flex; flex-direction: column; gap: 12px; margin: 0 !important; }
.cyb-urun table.variations { display: block; margin: 0 !important; border: 0; }
.cyb-urun table.variations tbody, .cyb-urun table.variations tr { display: block; }
.cyb-urun table.variations tr { background: #fff; border: 1px solid var(--u-cizgi); padding: 18px 20px; }
.cyb-urun table.variations tr + tr { margin-top: 12px; }
.cyb-urun table.variations th.label, .cyb-urun table.variations td.value { display: block; padding: 0 !important; border: 0 !important; background: none !important; width: auto !important; }
.cyb-urun table.variations th.label { margin-bottom: 12px; text-align: left; }
.cyb-urun table.variations th.label label { font-size: 14px; font-weight: 700; margin: 0; }
.cyb-urun table.variations td.value select.cyb-gizli { position: absolute !important; opacity: 0 !important; pointer-events: none; width: 1px !important; height: 1px !important; }
.cyb-urun table.variations .reset_variations { display: none !important; }
.cyb-urun .cyb-uyari { color: #B3261E; font-size: 13px; font-weight: 600; margin-top: 10px; }
.cyb-urun table.variations tr.cyb-eksik { border-color: #B3261E; }
.cyb-urun .single_variation_wrap .woocommerce-variation-price { display: none; }
.cyb-urun .single_variation_wrap .woocommerce-variation-availability:empty { display: none; }
.cyb-urun .woocommerce-variation-add-to-cart, .cyb-urun form.cart:not(.variations_form) { display: flex !important; gap: 10px; align-items: stretch; margin: 0 !important; }
.cyb-urun .quantity { display: flex; align-items: stretch; border: 1px solid var(--u-cizgi); background: #fff; margin: 0 !important; }
.cyb-urun .quantity input.qty { width: 46px !important; height: 52px; border: 0 !important; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; padding: 0 !important; }
.cyb-urun .quantity input.qty::-webkit-outer-spin-button, .cyb-urun .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cyb-urun .quantity .cyb-adet { width: 40px; border: 0 !important; background: transparent !important; color: var(--u-metin) !important; font-size: 18px; cursor: pointer; box-shadow: none !important; padding: 0; border-radius: 0 !important; }
.cyb-urun .quantity .minus, .cyb-urun .quantity .plus { display: none !important; } /* Kadence'in kendi düğmeleri varsa */
.cyb-urun .single_add_to_cart_button {
	flex: 1; height: 54px; border-radius: 0 !important; background: var(--u-metin) !important; color: #fff !important; font-size: 15px !important;
	font-weight: 800 !important; letter-spacing: .06em; text-transform: uppercase; border: 0 !important; margin: 0 !important;
}
.cyb-urun .single_add_to_cart_button.disabled { opacity: 1 !important; cursor: pointer; }
.cyb-bilgi { list-style: none; margin: 0 !important; padding: 14px 20px !important; display: grid; gap: 10px; font-size: 13px; color: var(--u-soluk); }
.cyb-bilgi li { display: flex; align-items: center; gap: 10px; margin: 0; }
.cyb-bilgi li::before { content: ""; flex: 0 0 18px; height: 18px; background: var(--u-metin);
	-webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.cyb-bilgi b { color: var(--u-metin); }
.cyb-bilgi .kargo { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
.cyb-bilgi .iade { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.3-5.7M4 4v4h4'/%3E%3C/svg%3E"); }
.cyb-bilgi .kumas { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M8 3l-5 3 2 5 2-1v11h10V10l2 1 2-5-5-3c-1 2-2.5 3-4 3S9 5 8 3z'/%3E%3C/svg%3E"); }

.cyb-bilgi .cam { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2.5'/%3E%3Cpath d='M7 10l3-2M7 14l7-5'/%3E%3C/svg%3E"); }

/* Sekmeler */
.cyb-urun .woocommerce-tabs { background: #fff; border: 1px solid var(--u-cizgi); padding: 8px 24px 24px; margin-top: 28px; clear: both; }

@media (max-width: 767px) {
	.cyb-kutu, .cyb-urun table.variations tr { padding: 14px 16px; }
	.cyb-kutu-bas .product_title { font-size: 18px !important; }
	.cyb-kutu-bas .price { font-size: 22px !important; }
	.cyb-urun .woocommerce-product-gallery { margin-bottom: 14px !important; }
	.cyb-urun .woocommerce-tabs { padding: 4px 16px 16px; }
	.cyb-urun table.variations .cyb-cipler { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
	.cyb-urun table.variations button.cyb-cip { min-width: 0; padding: 0 4px; }
	.cyb-cam table.variations .cyb-cipler { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* telefonda "Sepete ekle" tek satır: adet kutusu daralır, düğme kalan yeri alır */
	.cyb-urun .quantity .cyb-adet { width: 30px; }
	.cyb-urun .quantity input.qty { width: 34px !important; }
	.cyb-urun .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; white-space: nowrap; letter-spacing: .3px !important; padding: 0 10px !important; height: auto !important; align-self: stretch; }
}

/* Sepete ekle durumu (kullanıcı 06.11.2026: Trendyol'daki gibi "Sepete Eklendi", renk değişsin) */
.cyb-urun .single_add_to_cart_button { transition: background-color .2s, border-color .2s; }
.cyb-urun .single_add_to_cart_button.cyb-ekleniyor { opacity: .7; cursor: wait; }
.cyb-urun .single_add_to_cart_button.cyb-eklendi, .cyb-urun .single_add_to_cart_button.cyb-eklendi:hover { background: #12873b !important; border-color: #12873b !important; color: #fff !important; }

.cyb-bilgi .garanti { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
