/**
 * KUK Single Product (PDP) — Premium Rebuild v3.1
 * Design system aligned with archive/category pages.
 *
 * Palette:  primary #205d2f / hover #174a24 / border #e8e8e8 / text #2a2a2a
 * Radius:   8–10px   |   Container: 1352px
 *
 * @package Avada-Child-Theme
 */

/* =========================================================
 * RESET AVADA PDP WRAPPERS
 * ========================================================= */
.kuk-pdp-page #main {
	padding: 0 !important;
}
.kuk-pdp-page #content {
	padding: 0 !important;
	margin: 0 auto;
	width: 100%;
}
.kuk-pdp {
	max-width: 1352px;
	margin: 0 auto;
	padding: 16px 15px 48px;
	box-sizing: border-box;
}

/* =========================================================
 * BREADCRUMB
 * ========================================================= */
.kuk-pdp__breadcrumb {
	font-size: 13px;
	color: #777;
	margin-bottom: 18px;
	line-height: 1.5;
}
.kuk-pdp__breadcrumb a {
	color: #205d2f;
	text-decoration: none;
}
.kuk-pdp__breadcrumb a:hover {
	text-decoration: underline;
}

/* =========================================================
 * HERO LAYOUT (2 columns)
 * ========================================================= */
.kuk-pdp__hero {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 32px;
	align-items: flex-start;
}

/* B4: no gallery → single centered column */
.kuk-pdp__hero--no-gallery {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
}

/* =========================================================
 * GALLERY (LEFT) — sticky on desktop
 * ========================================================= */
.kuk-pdp__gallery {
	position: sticky;
	top: 90px;
	min-width: 0;
}

/* Gallery container — Avada manages sizing (flex-viewport / inline width/height).
 * We only add cosmetics (border, radius) and DON'T override img dimensions,
 * otherwise Avada's mobile height recalculation breaks and the main image
 * collapses. */
.kuk-pdp__gallery .woocommerce-product-gallery {
	position: relative;
	margin: 0;
}

/* Soft frame around the gallery viewport */
.kuk-pdp__gallery .flex-viewport,
.kuk-pdp__gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child {
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

/* Keep the main image inside the rounded frame; do NOT touch width/height */
.kuk-pdp__gallery .woocommerce-product-gallery__image a {
	display: block;
}
.kuk-pdp__gallery .woocommerce-product-gallery__image img {
	display: block;
}
/* Zoom overlay image must never be clipped/sized by us */
.kuk-pdp__gallery .zoomImg {
	border-radius: 0;
}

/* Sale flash badge */
.kuk-pdp__gallery .onsale {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 5;
	margin: 0;
	min-height: auto;
	min-width: auto;
	background: #e53935;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 5px;
	line-height: 1.3;
}

/* Zoom / lightbox trigger */
.kuk-pdp__gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	text-indent: -9999px;
	overflow: hidden;
}
.kuk-pdp__gallery .woocommerce-product-gallery__trigger::before {
	content: "";
	position: absolute;
	width: 13px;
	height: 13px;
	border: 2px solid #205d2f;
	border-radius: 50%;
	top: 11px;
	left: 11px;
}

/* =========================================================
 * PRODUCT VIDEO BUTTON (gallery top-left) + LIGHTBOX
 * ========================================================= */
.kuk-pdp__video-btn {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px 8px 10px;
	border: none;
	border-radius: 100px;
	background: rgba(32, 93, 47, 0.95);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(2px);
	transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.kuk-pdp__video-btn:hover {
	background: #174a24;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}
.kuk-pdp__video-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.kuk-pdp__video-btn-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	color: #205d2f;
	flex-shrink: 0;
}
.kuk-pdp__video-btn-icon svg {
	margin-left: 2px; /* optical centering of the play triangle */
}
/* Subtle pulsing ring to draw attention */
.kuk-pdp__video-btn-icon::after {
	content: "";
	position: absolute;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
	animation: kukVideoPulse 2.4s ease-out infinite;
}
@keyframes kukVideoPulse {
	0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
	70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.kuk-pdp__video-btn-icon::after { animation: none; }
}

/* Mobile: compact to icon-only */
@media (max-width: 600px) {
	.kuk-pdp__video-btn {
		top: 10px;
		left: 10px;
		padding: 7px;
		gap: 0;
	}
	.kuk-pdp__video-btn-text {
		display: none;
	}
}

/* ===== LIGHTBOX ===== */
.kuk-video-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.82);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.kuk-video-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}
.kuk-video-lightbox__inner {
	position: relative;
	width: 100%;
	max-width: 880px;
	transform: scale(0.96);
	transition: transform 0.25s ease;
}
.kuk-video-lightbox.is-open .kuk-video-lightbox__inner {
	transform: scale(1);
}
.kuk-video-lightbox__video {
	width: 100%;
	max-height: 82vh;
	display: block;
	border-radius: 12px;
	background: #000;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.kuk-video-lightbox__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #fff;
	color: #1f1f1f;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
	transition: background 0.2s, transform 0.2s;
}
.kuk-video-lightbox__close:hover {
	background: #f0f0f0;
	transform: rotate(90deg);
}
.kuk-video-lightbox__close:focus-visible {
	outline: 2px solid #205d2f;
	outline-offset: 2px;
}
@media (max-width: 600px) {
	.kuk-video-lightbox {
		padding: 12px;
	}
	.kuk-video-lightbox__close {
		top: -8px;
		right: -8px;
		width: 36px;
		height: 36px;
	}
}
.kuk-pdp__gallery .woocommerce-product-gallery__trigger::after {
	content: "";
	position: absolute;
	width: 7px;
	height: 2px;
	background: #205d2f;
	transform: rotate(45deg);
	bottom: 12px;
	right: 9px;
}

/* ----- THUMBNAILS -----
 * WooCommerce flexslider sets inline width/margin on the <li>.
 * We override with a fixed grid so thumbs stay small, square,
 * left-aligned, and evenly spaced regardless of count. */
.kuk-pdp__gallery .flex-control-nav.flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, 72px);
	gap: 8px;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	list-style: none;
	float: none !important;
	overflow: visible !important;
}
.kuk-pdp__gallery .flex-control-thumbs li {
	width: 72px !important;
	height: 72px !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	list-style: none !important;
	display: block !important;
}
.kuk-pdp__gallery .flex-control-thumbs li img {
	width: 72px !important;
	height: 72px !important;
	margin: 0 !important;
	padding: 6px !important;
	box-sizing: border-box !important;
	object-fit: contain !important;
	border: 1px solid #eee !important;
	border-radius: 8px !important;
	background: #fff !important;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s, border-color 0.2s;
	display: block !important;
	max-width: none !important;
}
.kuk-pdp__gallery .flex-control-thumbs li img:hover {
	opacity: 1;
	border-color: #c9d8cd !important;
}
.kuk-pdp__gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
	border-color: #205d2f !important;
}

/* =========================================================
 * SUMMARY (RIGHT)
 * ========================================================= */
.kuk-pdp__summary {
	min-width: 0;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.kuk-pdp__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #205d2f;
	text-decoration: none;
	margin-bottom: 8px;
}
.kuk-pdp__eyebrow:hover {
	text-decoration: underline;
}

.kuk-pdp__title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 600;
	line-height: 1.25;
	color: #1f1f1f;
	margin: 0 0 12px;
}

.kuk-pdp__meta-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-bottom: 18px;
}
.kuk-pdp__sku {
	font-size: 13px;
	color: #777;
}
.kuk-pdp__sku strong {
	color: #444;
	font-weight: 600;
}

/* Stock pill — minimal, next to SKU */
.kuk-pdp__stock {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
	line-height: 1.4;
}
.kuk-pdp__stock svg { flex-shrink: 0; }
.kuk-pdp__stock--in {
	color: #205d2f;
	background: #e8f5e9;
}
.kuk-pdp__stock--backorder {
	color: #b06f00;
	background: #fff3df;
}
.kuk-pdp__stock--out {
	color: #c62828;
	background: #fdecea;
}
.kuk-pdp__rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.kuk-pdp__rating .star-rating {
	font-size: 14px;
	color: #f5a623;
	margin: 0;
}
.kuk-pdp__rating-link {
	font-size: 13px;
	color: #777;
	text-decoration: none;
}
.kuk-pdp__rating-link:hover {
	color: #205d2f;
}

/* Price */
.kuk-pdp__price {
	margin: 0 0 20px;
	padding: 0 0 20px;
	border-bottom: 1px solid #eee;
}
.kuk-pdp__price .price,
.kuk-pdp__price .woocommerce-Price-amount {
	font-size: 28px;
	font-weight: 700;
	color: #205d2f;
	line-height: 1.1;
}
.kuk-pdp__price del,
.kuk-pdp__price del .woocommerce-Price-amount {
	font-size: 17px;
	font-weight: 400;
	color: #6b6b6b;
	margin-right: 10px;
}
.kuk-pdp__price ins {
	text-decoration: none;
}
.kuk-pdp__price ins .woocommerce-Price-amount {
	color: #d32f2f;
}

/* Short description */
.kuk-pdp__short-desc {
	font-size: 15px;
	line-height: 1.7;
	color: #555;
	margin-bottom: 24px;
}
.kuk-pdp__short-desc p:last-child {
	margin-bottom: 0;
}

/* =========================================================
 * ADD TO CART FORM
 * ========================================================= */
.kuk-pdp__cart {
	margin-bottom: 24px;
}

/* Variations table */
.kuk-pdp__cart .variations {
	width: 100%;
	margin: 0 0 18px;
	border: none;
	border-collapse: collapse;
}
.kuk-pdp__cart .variations tr {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}
.kuk-pdp__cart .variations tr:last-child {
	margin-bottom: 0;
}
.kuk-pdp__cart .variations th,
.kuk-pdp__cart .variations td {
	display: block;
	padding: 0;
	border: none;
	text-align: left;
	background: none;
}
/* Second row's empty label cell (holds only an empty span) — remove it */
.kuk-pdp__cart .variations tr td.label {
	display: none;
}
.kuk-pdp__cart .variations .label label {
	font-size: 13px;
	font-weight: 600;
	color: #444;
	margin: 0;
}

/* Variation swatches (plugin) */
.kuk-pdp__cart .variations .value {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.kuk-pdp__cart ul.variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.kuk-pdp__cart .variable-item {
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	border-radius: 50% !important;
	border: 1.5px solid #ddd !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: transform 0.15s, border-color 0.15s;
	overflow: hidden;
}
.kuk-pdp__cart .variable-item:hover {
	transform: scale(1.08);
	border-color: #205d2f !important;
}
.kuk-pdp__cart .variable-item.selected {
	border-color: #205d2f !important;
	border-width: 2px !important;
}
.kuk-pdp__cart select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
}
/* ===== SELECTED VARIATION PANEL =====
 * Real DOM (Variation Swatches plugin):
 * td.value > .single_variation_price_reset
 *     > .single_variation_wrap > .single_variation (avada-variation)
 *         > .woocommerce-variation-description (often empty)
 *         > .woocommerce-variation-price (often empty)
 *         > .woocommerce-variation-availability
 *             > p.stock.in-stock           ("Stokta")
 *             > p.stock-code               ("Varyasyon Stok Kodu: ...")
 *     > a.reset_variations                 ("Clear selection")
 */

/* The wrapper that holds the variation panel + reset link */
.kuk-pdp__cart .single_variation_price_reset {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin-top: 0;
}
.kuk-pdp__cart .single_variation_wrap {
	width: 100%;
	margin: 0;
}
.kuk-pdp__cart .single_variation {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

/* Collapse empty placeholder divs so they add no spacing */
.kuk-pdp__cart .woocommerce-variation-description:empty,
.kuk-pdp__cart .woocommerce-variation-price:empty {
	display: none;
}

/* Variation price (when present) */
.kuk-pdp__cart .woocommerce-variation-price .price,
.kuk-pdp__cart .woocommerce-variation-price .price .woocommerce-Price-amount {
	font-size: 24px;
	font-weight: 700;
	color: #205d2f;
	line-height: 1.1;
}

/* Availability block: stack stock pill + SKU with spacing */
.kuk-pdp__cart .woocommerce-variation-availability {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

/* "Stokta" → hide on variation select (already shown at top) */
.kuk-pdp__cart .woocommerce-variation-availability p.stock {
	display: none;
}
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 20px;
	margin: 0;
	width: fit-content;
	line-height: 1.5;
}
.kuk-pdp__cart .woocommerce-variation-availability p.stock.in-stock {
	color: #205d2f;
	background: #e8f5e9;
}
.kuk-pdp__cart .woocommerce-variation-availability p.stock.out-of-stock {
	color: #c62828;
	background: #fdecea;
}

/* "Varyasyon Stok Kodu: ..." */
.kuk-pdp__cart .woocommerce-variation-availability p.stock-code {
	font-size: 13px;
	font-weight: 500;
	color: #777;
	margin: 0;
	padding: 0;
	background: none;
}

/* "Clear selection" — sits under the panel, left aligned */
.kuk-pdp__cart .reset_variations {
	display: inline-block;
	float: none !important;
	font-size: 12px;
	color: #999;
	margin: 4px 0 0;
	text-align: left;
	text-decoration: underline;
	white-space: nowrap;
	width: fit-content;
}
.kuk-pdp__cart .reset_variations:hover {
	color: #205d2f;
}
.kuk-pdp__cart .reset_variations[style*="visibility: hidden"] {
	display: none;
}

/* Variation SKU (from custom_display_variation_stock_code filter) */
.kuk-pdp__cart .single_variation .stock-code,
.kuk-pdp__cart .woocommerce-variation .stock-code {
	font-size: 13px;
	color: #777;
	margin: 0;
	font-weight: 500;
}

/* Quantity + button row
 * NOTE: Product Add-Ons / Product Options Pro inject extra fields inside the
 * .cart form. We force the quantity + button onto their own full-width row so
 * the layout never breaks. */
.kuk-pdp__cart .cart {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
}

/* Variable product: quantity + button live in this wrapper */
.kuk-pdp__cart .single_variation_wrap {
	width: 100%;
}
.kuk-pdp__cart .woocommerce-variation-add-to-cart {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0 !important;
}
.kuk-pdp__cart .woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled {
	opacity: 1;
}

/* Plugin option groups take a full row above the qty/button */
.kuk-pdp__cart .cart > .wc-pao-addons-container,
.kuk-pdp__cart .cart > .product-addon,
.kuk-pdp__cart .cart .tmcp-container,
.kuk-pdp__cart .cart .tc-extra-product-options,
.kuk-pdp__cart .cart .epo-totals {
	flex: 0 0 100% !important;
	width: 100% !important;
	margin: 0 0 6px !important;
}

.kuk-pdp__cart .quantity {
	display: flex !important;
	align-items: center;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	overflow: hidden;
	height: 52px;
	flex: 0 0 auto;
	background: #fff;
}
.kuk-pdp__cart .quantity .qty {
	width: 46px;
	height: 100%;
	text-align: center;
	border: none !important;
	border-left: 1px solid #ededed !important;
	border-right: 1px solid #ededed !important;
	font-size: 16px;
	font-weight: 700;
	color: #1f1f1f;
	-moz-appearance: textfield;
	appearance: textfield;
	background: #fff;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.kuk-pdp__cart .quantity .qty::-webkit-inner-spin-button,
.kuk-pdp__cart .quantity .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
/* Custom +/- buttons */
.kuk-pdp__cart .quantity .minus,
.kuk-pdp__cart .quantity .plus {
	width: 40px;
	height: 100%;
	border: none !important;
	background: #fff !important;
	font-size: 20px;
	font-weight: 400;
	color: #205d2f !important;
	cursor: pointer;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1;
	transition: background 0.15s;
}
.kuk-pdp__cart .quantity .minus:hover,
.kuk-pdp__cart .quantity .plus:hover {
	background: #f0f7f2 !important;
	color: #174a24 !important;
}

/* Add to cart button — fills the remaining row width next to quantity */
.kuk-pdp__cart .single_add_to_cart_button,
.kuk-pdp__cart button.single_add_to_cart_button {
	flex: 1 1 0;
	min-width: 0;
	width: auto;
	height: 52px;
	background: #205d2f !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: background 0.2s;
	text-transform: none !important;
	letter-spacing: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 24px !important;
	margin: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
.kuk-pdp__cart .single_add_to_cart_button:hover,
.kuk-pdp__cart button.single_add_to_cart_button:hover {
	background: #174a24 !important;
	color: #fff !important;
}
.kuk-pdp__cart .single_add_to_cart_button.disabled,
.kuk-pdp__cart .single_add_to_cart_button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Out of stock notice */
.kuk-pdp__cart .stock.out-of-stock {
	color: #d32f2f;
	font-weight: 600;
	font-size: 14px;
}

/* "Fiyat İste" custom form (kukcicek_custom_empty_price_html) */
.kuk-pdp__price .kuk-price-form {
	background: #f7faf7;
	border: 1px solid #e0ece2;
	border-radius: 14px;
	padding: 22px;
	margin-top: 14px;
}
.kuk-price-form__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 18px;
}
.kuk-price-form__head svg {
	flex-shrink: 0;
	margin-top: 2px;
}
.kuk-price-form__title {
	font-size: 17px;
	font-weight: 600;
	color: #1f1f1f;
	margin: 0 0 4px;
}
.kuk-price-form__subtitle {
	font-size: 13px;
	color: #6a7a6e;
	line-height: 1.5;
	margin: 0;
}
.kuk-price-form__form {
	margin-bottom: 6px;
}
.kuk-price-form__divider {
	display: flex;
	align-items: center;
	text-align: center;
	gap: 12px;
	margin: 16px 0;
	color: #9aa89e;
	font-size: 12px;
}
.kuk-price-form__divider::before,
.kuk-price-form__divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #dfe8e1;
}
.kuk-price-form__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.kuk-price-form__buttons a {
	flex: 1;
	min-width: 110px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 11px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	transition: opacity 0.2s;
}
.kuk-price-form__buttons a:hover {
	opacity: 0.9;
}
.kuk-price-form__buttons .button-whatsapp { background: #25d366; }
.kuk-price-form__buttons .button-mail { background: #205d2f; }
.kuk-price-form__buttons .button-phone { background: #474747; }

/* =========================================================
 * KARGO DURUMU UYARISI (ACF kargo_durumu)
 * ========================================================= */
.kuk-pdp__notice {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	padding: 12px 16px;
	background: #fff8e6;
	border: 1px solid #f3e2b3;
	border-left: 4px solid #e0a800;
	border-radius: 8px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #6b5400;
}
.kuk-pdp__notice-icon {
	flex-shrink: 0;
	color: #c79100;
}

/* =========================================================
 * SEZON FORMU (shortcode tb_sezon_formu)
 * ========================================================= */
.kuk-pdp__season-form {
	margin: 0 0 24px;
}
.kuk-pdp__season-form:empty {
	display: none;
}

/* =========================================================
 * TRUST BADGES
 * ========================================================= */
.kuk-pdp__trust {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 0 0 22px;
	padding: 20px;
	list-style: none;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fafefb;
}
.kuk-pdp__trust-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.kuk-pdp__trust-item svg {
	flex-shrink: 0;
	color: #205d2f;
	margin-top: 1px;
}
.kuk-pdp__trust-item strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	line-height: 1.3;
}
.kuk-pdp__trust-item span {
	font-size: 12px;
	color: #777;
	line-height: 1.4;
}

/* =========================================================
 * SECTION TITLES (shared)
 * ========================================================= */
.kuk-pdp__section-title {
	font-size: 22px;
	font-weight: 600;
	color: #1f1f1f;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #205d2f;
	display: inline-block;
}

/* A6: anchor jump offset so sticky header doesn't cover the target */
#reviews,
#urun-aciklama {
	scroll-margin-top: 100px;
}
html {
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* =========================================================
 * DESCRIPTION + SPECS (M3)
 * ========================================================= */
.kuk-pdp__description {
	margin-top: 56px;
}
.kuk-pdp__description-body {
	font-size: 15px;
	line-height: 1.8;
	color: #444;
}
.kuk-pdp__description-body p { margin: 0 0 16px; }
.kuk-pdp__description-body img { max-width: 100%; height: auto; border-radius: 8px; }

/* A7: hide WooCommerce's own reviews heading (we render our own H2) */
.kuk-pdp__reviews #reviews > h2:first-child,
.kuk-pdp__reviews .woocommerce-Reviews-title {
	display: none;
}

/* =========================================================
 * RELATED PRODUCTS CAROUSEL — [ozel_benzer_urunler] (v11)
 * Now rendered inside .kuk-pdp__summary (right column),
 * between cart and trust badges. Uses Avada's fusion markup
 * with Swiper. Inline <style> from shortcode handles core
 * carousel layout; we add spacing and typography here.
 * ========================================================= */

/* Container inside summary */
.kuk-pdp__summary .fusion-woo-related-tb {
	margin-top: 24px;
	margin-bottom: 24px;
}
.kuk-pdp__summary .fusion-woo-related-tb .title-heading-left {
	font-size: 18px;
	font-weight: 600;
	color: #1f1f1f;
	padding-bottom: 10px;
	border-bottom: 2px solid #205d2f;
	display: inline-block;
}

/* Cards */
.kuk-pdp__summary .fusion-woo-related-tb .fusion-product-wrapper {
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.kuk-pdp__summary .fusion-woo-related-tb .fusion-product-wrapper:hover {
	border-color: #205d2f;
	box-shadow: 0 4px 14px rgba(32, 93, 47, 0.08);
}

/* Product title in related */
.kuk-pdp__summary .fusion-woo-related-tb .product-title a {
	font-size: 13px;
	font-weight: 500;
	color: #2a2a2a;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.kuk-pdp__summary .fusion-woo-related-tb .product-title a:hover {
	color: #205d2f;
}

/* Price */
.kuk-pdp__summary .fusion-woo-related-tb .price {
	font-size: 14px;
	font-weight: 700;
	color: #205d2f;
}

/* Stock code badge */
.kuk-pdp__summary .fusion-woo-related-tb .stock-codeym {
	display: block;
	font-size: 10px;
	color: #888;
	margin-top: 4px;
}

/* Product buttons row */
.kuk-pdp__summary .fusion-woo-related-tb .product-buttons {
	padding: 8px 10px;
}
.kuk-pdp__summary .fusion-woo-related-tb .product-buttons-container {
	display: flex;
	gap: 8px;
	align-items: center;
}
.kuk-pdp__summary .fusion-woo-related-tb .product-buttons-container a,
.kuk-pdp__summary .fusion-woo-related-tb .product-buttons-container button {
	font-size: 11px;
	padding: 5px 10px;
	border-radius: 5px;
	text-decoration: none;
}
.kuk-pdp__summary .fusion-woo-related-tb .show_details_button {
	color: #205d2f;
	border: 1px solid #205d2f;
	background: transparent;
}
.kuk-pdp__summary .fusion-woo-related-tb .show_details_button:hover {
	background: #205d2f;
	color: #fff;
}

/* Hide separator inside cards for cleaner look */
.kuk-pdp__summary .fusion-woo-related-tb .fusion-content-sep {
	display: none;
}

/* Also keep the old .kuk-rel styles for backward compat if shortcode
   ever renders the old markup (e.g., from cached transients) */
.kuk-rel {
	margin-top: 24px;
	margin-bottom: 24px;
}
.kuk-rel__title {
	font-size: 22px;
	font-weight: 600;
	color: #1f1f1f;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #205d2f;
	display: inline-block;
}

/* Carousel frame */
.kuk-rel__carousel {
	position: relative;
}
.kuk-rel .swiper {
	overflow: hidden;
}
.kuk-rel .swiper-wrapper {
	align-items: stretch;
	margin: 0;
	padding: 0;
	list-style: none;
}
.kuk-rel .swiper-slide {
	height: auto;
	display: flex;
	list-style: none;
}

/* Card */
.kuk-rel__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.kuk-rel__card:hover {
	border-color: #205d2f;
	box-shadow: 0 6px 18px rgba(32, 93, 47, 0.10);
	transform: translateY(-3px);
}

/* Image */
.kuk-rel__image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #fafafa;
}
.kuk-rel__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	box-sizing: border-box;
	transition: transform 0.3s ease;
}
.kuk-rel__card:hover .kuk-rel__image img {
	transform: scale(1.05);
}

/* SKU badge */
.kuk-rel__sku {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(32, 93, 47, 0.92);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	line-height: 1.4;
	letter-spacing: 0.3px;
	z-index: 2;
}

/* Body */
.kuk-rel__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
	flex: 1;
}
.kuk-rel__name {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	min-height: 2.7em;
}
.kuk-rel__name a {
	color: #2a2a2a;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.kuk-rel__name a:hover {
	color: #205d2f;
}
.kuk-rel__price {
	margin-top: auto;
}
.kuk-rel__price .price,
.kuk-rel__price .woocommerce-Price-amount {
	font-size: 16px;
	font-weight: 700;
	color: #205d2f;
}
.kuk-rel__price del .woocommerce-Price-amount {
	font-size: 13px;
	font-weight: 400;
	color: #aaa;
	margin-right: 6px;
}
.kuk-rel__price ins {
	text-decoration: none;
}

/* Navigation arrows */
.kuk-rel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #205d2f;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.kuk-rel__nav:hover {
	background: #205d2f;
	color: #fff;
	border-color: #205d2f;
}
.kuk-rel__nav--prev { left: -18px; }
.kuk-rel__nav--next { right: -18px; }
.kuk-rel__nav.swiper-button-disabled {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.kuk-rel__nav--prev { left: -6px; }
	.kuk-rel__nav--next { right: -6px; }
}
@media (max-width: 600px) {
	.kuk-rel__nav {
		width: 34px;
		height: 34px;
	}
	.kuk-rel__nav--prev { left: 0; }
	.kuk-rel__nav--next { right: 0; }
}

/* =========================================================
 * PRODUCT TABS (description + additional info)
 * ========================================================= */
.kuk-pdp__details {
	margin-top: 56px;
}
.kuk-pdp__details .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid #e8e8e8;
}
.kuk-pdp__details .woocommerce-tabs ul.tabs::before,
.kuk-pdp__details .woocommerce-tabs ul.tabs li::before,
.kuk-pdp__details .woocommerce-tabs ul.tabs li::after {
	display: none !important;
	content: none !important;
	border: none !important;
}
.kuk-pdp__details .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
}
.kuk-pdp__details .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 600;
	color: #777;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: color 0.2s, border-color 0.2s;
}
.kuk-pdp__details .woocommerce-tabs ul.tabs li a:hover {
	color: #205d2f;
}
.kuk-pdp__details .woocommerce-tabs ul.tabs li.active a {
	color: #205d2f;
	border-bottom-color: #205d2f;
}
.kuk-pdp__details .woocommerce-Tabs-panel {
	padding: 28px 0 0;
	font-size: 15px;
	line-height: 1.8;
	color: #444;
}
.kuk-pdp__details .woocommerce-Tabs-panel h2 {
	font-size: 20px;
	font-weight: 600;
	color: #1f1f1f;
	margin: 0 0 14px;
}
.kuk-pdp__details .woocommerce-Tabs-panel h3 {
	font-size: 17px;
	font-weight: 600;
	margin: 22px 0 10px;
}
.kuk-pdp__details .woocommerce-Tabs-panel p {
	margin: 0 0 16px;
}
.kuk-pdp__details .woocommerce-Tabs-panel img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
/* Additional information table */
.kuk-pdp__details .shop_attributes {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}
.kuk-pdp__details .shop_attributes th,
.kuk-pdp__details .shop_attributes td {
	padding: 12px 16px;
	border: 1px solid #eee;
	font-size: 14px;
	text-align: left;
}
.kuk-pdp__details .shop_attributes th {
	background: #fafafa;
	font-weight: 600;
	color: #444;
	width: 30%;
}
.kuk-pdp__details .shop_attributes td p {
	margin: 0;
}

/* =========================================================
 * REVIEWS
 * ========================================================= */
.kuk-pdp__reviews {
	margin-top: 56px;
	max-width: 100%;
	overflow-x: hidden;
}
/* M2: targeted overflow guard (not a universal selector) */
.kuk-pdp__reviews .commentlist,
.kuk-pdp__reviews .commentlist li,
.kuk-pdp__reviews .comment-text,
.kuk-pdp__reviews #review_form_wrapper,
.kuk-pdp__reviews #respond,
.kuk-pdp__reviews table,
.kuk-pdp__reviews .description {
	max-width: 100%;
	box-sizing: border-box;
}
.kuk-pdp__reviews img {
	max-width: 100%;
	height: auto;
}
.kuk-pdp__reviews .commentlist {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.kuk-pdp__reviews .commentlist li {
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 18px 20px;
	background: #fff;
}
.kuk-pdp__reviews .comment-text {
	margin-left: 60px;
}
.kuk-pdp__reviews .comment_container img.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	position: static;
	float: left;
	padding: 0;
}
.kuk-pdp__reviews .meta {
	font-size: 13px;
	color: #888;
	margin-bottom: 6px;
}
.kuk-pdp__reviews .woocommerce-review__author {
	font-weight: 600;
	color: #333;
}
.kuk-pdp__reviews .star-rating {
	color: #f5a623;
	font-size: 14px;
	margin-bottom: 8px;
}
.kuk-pdp__reviews .description p {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
	margin: 0;
}

/* No reviews text */
.kuk-pdp__reviews .woocommerce-noreviews {
	font-size: 14px;
	color: #777;
	padding: 16px 0;
}

/* Review form */
.kuk-pdp__reviews #review_form_wrapper {
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 24px;
	background: #fafafa;
}
.kuk-pdp__reviews #reply-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 14px;
}
.kuk-pdp__reviews .comment-form-rating label {
	display: block;
	font-size: 14px;
	margin-bottom: 6px;
}
.kuk-pdp__reviews .comment-form label {
	font-size: 14px;
	font-weight: 500;
	display: block;
	margin-bottom: 6px;
}
.kuk-pdp__reviews .comment-form input[type="text"],
.kuk-pdp__reviews .comment-form input[type="email"],
.kuk-pdp__reviews .comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	background: #fff;
}
.kuk-pdp__reviews .comment-form input:focus,
.kuk-pdp__reviews .comment-form textarea:focus {
	border-color: #205d2f;
	outline: none;
}
.kuk-pdp__reviews .comment-form-comment,
.kuk-pdp__reviews .comment-form-author,
.kuk-pdp__reviews .comment-form-email {
	margin-bottom: 16px;
}
.kuk-pdp__reviews .form-submit .submit {
	background: #205d2f;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}
.kuk-pdp__reviews .form-submit .submit:hover {
	background: #174a24;
}

/* =========================================================
 * STICKY MOBILE ADD-TO-CART BAR
 * ========================================================= */
.kuk-pdp-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	background: #fff;
	border-top: 1px solid #e8e8e8;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(110%);
	transition: transform 0.3s ease;
	display: none; /* hidden on desktop; shown via media query on mobile */
}
.kuk-pdp-sticky[hidden] {
	/* keep in layout flow control to JS; visually off-screen */
	transform: translateY(110%);
}
.kuk-pdp-sticky.is-visible {
	transform: translateY(0);
}
.kuk-pdp-sticky__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 1352px;
	margin: 0 auto;
	padding: 10px 14px;
}
.kuk-pdp-sticky__thumb {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: contain;
	background: #fafafa;
	border: 1px solid #eee;
	flex-shrink: 0;
}
.kuk-pdp-sticky__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.kuk-pdp-sticky__title {
	font-size: 13px;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kuk-pdp-sticky__price {
	font-size: 15px;
	font-weight: 700;
	color: #205d2f;
}
.kuk-pdp-sticky__price .woocommerce-Price-amount {
	font-size: 15px;
	font-weight: 700;
	color: #205d2f;
}
.kuk-pdp-sticky__btn {
	background: #205d2f;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
}
.kuk-pdp-sticky__btn:hover {
	background: #174a24;
}
.kuk-pdp-sticky__btn--warn {
	background: #c79100 !important;
}

/* B2: variation flash hint when user taps CTA without choosing options */
.kuk-pdp__variations--flash {
	animation: kukVarFlash 0.5s ease 2;
	border-radius: 8px;
}
@keyframes kukVarFlash {
	0%, 100% { box-shadow: 0 0 0 0 rgba(197, 145, 0, 0); }
	50% { box-shadow: 0 0 0 3px rgba(197, 145, 0, 0.45); }
}
@media (prefers-reduced-motion: reduce) {
	.kuk-pdp__variations--flash { animation: none; }
}

/* =========================================================
 * RESPONSIVE
 * ========================================================= */
@media (max-width: 1024px) {
	.kuk-pdp__hero {
		gap: 32px;
	}
}

@media (max-width: 860px) {
	.kuk-pdp__hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.kuk-pdp__gallery {
		/* Drop sticky on mobile but keep a positioning context so the
		 * absolutely-positioned video button stays inside the gallery. */
		position: relative;
		top: auto;
	}
}

@media (max-width: 860px) {
	/* Prevent any horizontal overflow on the whole PDP */
	.kuk-pdp,
	.kuk-pdp__hero,
	.kuk-pdp__summary {
		max-width: 100%;
		overflow-x: hidden;
	}
	/* Gallery: only constrain the OUTER wrapper. Do NOT touch the
	 * flex-viewport / wrapper / slide widths — Avada sets those inline
	 * (width:1200%, slide width:376px) and overriding them collapses the
	 * main image on mobile. */
	.kuk-pdp__gallery {
		max-width: 100%;
		overflow: hidden;
	}
}

@media (max-width: 600px) {
	.kuk-pdp {
		padding: 12px 12px 40px;
		overflow-x: hidden;
	}

	/* Trust badges → 2x2 grid on mobile */
	.kuk-pdp__trust {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		padding: 16px;
	}
	.kuk-pdp__trust-item span {
		font-size: 11px;
	}

	/* Cart row: quantity + button never overflow */
	.kuk-pdp__cart .cart {
		gap: 10px;
		flex-wrap: wrap;
		width: 100%;
	}
	.kuk-pdp__cart .quantity {
		flex: 0 0 auto;
	}
	.kuk-pdp__cart .single_add_to_cart_button,
	.kuk-pdp__cart button.single_add_to_cart_button {
		min-width: 0 !important;
		flex: 1 1 0 !important;
		width: auto !important;
		padding: 0 12px !important;
		font-size: 15px !important;
	}

	/* Kargo notice wraps */
	.kuk-pdp__notice {
		align-items: flex-start;
		font-size: 13px;
	}

	/* Tabs */
	.kuk-pdp__details .woocommerce-tabs ul.tabs {
		gap: 0;
	}
	.kuk-pdp__details .woocommerce-tabs ul.tabs li a {
		padding: 12px 14px;
		font-size: 14px;
	}

	/* Reviews — full mobile fix (no overflow) */
	.kuk-pdp__reviews,
	.kuk-pdp__reviews #reviews,
	.kuk-pdp__reviews .woocommerce-Reviews,
	.kuk-pdp__reviews #comments,
	.kuk-pdp__reviews #review_form_wrapper {
		max-width: 100%;
		overflow-x: hidden;
		box-sizing: border-box;
	}
	.kuk-pdp__reviews .comment-text {
		margin-left: 0;
	}
	.kuk-pdp__reviews .comment_container img.avatar {
		float: none;
		display: block;
		margin-bottom: 10px;
	}
	.kuk-pdp__reviews .commentlist li {
		padding: 14px;
	}
	.kuk-pdp__reviews .comment-form input[type="text"],
	.kuk-pdp__reviews .comment-form input[type="email"],
	.kuk-pdp__reviews .comment-form textarea {
		max-width: 100%;
	}

	/* Show sticky bar on mobile only (JS toggles [hidden] + .is-visible) */
	.kuk-pdp-sticky {
		display: block;
	}
	.kuk-pdp-sticky[hidden] {
		display: none; /* truly hidden: button not focusable (a11y) */
	}
	.kuk-pdp-page {
		padding-bottom: 70px;
	}

	/* Thumbnails */
	.kuk-pdp__gallery .flex-control-nav.flex-control-thumbs {
		grid-template-columns: repeat(auto-fill, 60px);
	}
	.kuk-pdp__gallery .flex-control-thumbs li,
	.kuk-pdp__gallery .flex-control-thumbs li img {
		width: 60px !important;
		height: 60px !important;
	}
}
