/* Product meta — table layouts + copy */

/* ——— Shared table grid: etiket | : | değer ——— */
.product_meta.wd-layout-table,
.product_meta.wd-layout-table-zebra {
	--nxm-meta-row-h: 2.75em;
	display: grid;
	grid-template-columns: max-content max-content minmax(0, 1fr);
	align-items: stretch;
	justify-content: stretch;
	column-gap: 0.35rem !important;
	row-gap: 0 !important;
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: var(--wd-text-font);
	font-size: var(--wd-text-font-size);
	font-weight: var(--wd-text-font-weight);
	font-style: var(--wd-text-font-style);
	line-height: 1.45;
	color: var(--wd-text-color);
	overflow: visible;
}

.product_meta.wd-layout-table > span,
.product_meta.wd-layout-table-zebra > span {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: subgrid;
	column-gap: inherit;
	align-items: center;
	flex: none !important;
	width: 100%;
	min-height: var(--nxm-meta-row-h);
	height: var(--nxm-meta-row-h);
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@supports not (grid-template-columns: subgrid) {
	.product_meta.wd-layout-table,
	.product_meta.wd-layout-table-zebra {
		display: flex;
		flex-direction: column;
		gap: 0 !important;
	}

	.product_meta.wd-layout-table > span,
	.product_meta.wd-layout-table-zebra > span {
		display: grid;
		grid-column: auto;
		grid-template-columns: max-content max-content minmax(0, 1fr);
		column-gap: 0.35rem;
	}
}

.product_meta.wd-layout-table .meta-label,
.product_meta.wd-layout-table-zebra .meta-label {
	grid-column: 1;
	justify-self: start;
	align-self: center;
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	font-weight: 600;
	color: var(--color-gray-800);
	text-align: start;
	white-space: nowrap;
}

.product_meta.wd-layout-table .nxm-meta-colon,
.product_meta.wd-layout-table-zebra .nxm-meta-colon {
	grid-column: 2;
	justify-self: start;
	align-self: center;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	font-weight: 600;
	color: var(--color-gray-800);
}

.product_meta.wd-layout-table .nxm-meta-value,
.product_meta.wd-layout-table-zebra .nxm-meta-value {
	grid-column: 3;
	justify-self: start;
	align-self: center;
	min-width: 0;
	padding-inline-start: 0.45rem;
	color: var(--wd-text-color);
}

.product_meta.wd-layout-table > span > :not(.meta-label):not(.nxm-meta-colon):not(.nxm-meta-value),
.product_meta.wd-layout-table-zebra > span > :not(.meta-label):not(.nxm-meta-colon):not(.nxm-meta-value) {
	grid-column: 3;
	align-self: center;
	padding-inline-start: 0.45rem;
}

.product_meta.wd-layout-table a,
.product_meta.wd-layout-table-zebra a {
	color: var(--wd-link-color, var(--wd-text-color));
	text-decoration: none;
}

.product_meta.wd-layout-table a:hover,
.product_meta.wd-layout-table-zebra a:hover {
	color: var(--wd-link-color-hover);
}

/* ——— Çizgili: sadece satır arası ——— */
.product_meta.wd-layout-table {
	border: 0;
	border-radius: 0;
	background-color: transparent;
}

.product_meta.wd-layout-table > span + span {
	border-top: 1px solid var(--wd-form-brd-color);
}

/* ——— Zebra ——— */
.product_meta.wd-layout-table-zebra {
	border: 0;
	border-radius: 0;
	background-color: transparent;
	overflow: hidden;
}

.product_meta.wd-layout-table-zebra > span {
	padding-inline: 0.75em;
	box-sizing: border-box;
}

.product_meta.wd-layout-table-zebra > span:nth-child(odd) {
	background-color: var(--wd-main-bgcolor);
}

.product_meta.wd-layout-table-zebra > span:nth-child(even) {
	background-color: color-mix(in srgb, var(--wd-form-brd-color) 40%, var(--wd-main-bgcolor));
}

/* ——— Value + copy (all layouts) ——— */
.product_meta .nxm-meta-value {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4em;
	min-width: 0;
}

.product_meta .sku,
.product_meta .nxm-gtin {
	color: var(--wd-text-color);
}

.product_meta .nxm-meta-copyable {
	position: relative;
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none !important;
	box-shadow: none !important;
	font: inherit;
	color: inherit;
	cursor: pointer;
	text-align: start;
	text-decoration: none !important;
}

.product_meta .nxm-meta-copyable:hover,
.product_meta .nxm-meta-copyable:focus,
.product_meta .nxm-meta-copyable:focus-visible,
.product_meta .nxm-meta-copyable:active {
	background: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	color: inherit;
	outline: none;
}

.product_meta .nxm-meta-copy {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.25em;
	height: 1.25em;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: var(--color-gray-500);
	cursor: pointer;
	line-height: 1;
	text-decoration: none !important;
	transition: color 0.15s ease;
	appearance: none;
	-webkit-appearance: none;
}

.product_meta .nxm-meta-copy:hover,
.product_meta .nxm-meta-copy:focus,
.product_meta .nxm-meta-copy:focus-visible,
.product_meta .nxm-meta-copy:active,
.product_meta .nxm-meta-value:hover .nxm-meta-copy,
.product_meta .nxm-meta-copy.is-copied {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	text-decoration: none !important;
	color: var(--wd-primary-color, var(--wd-text-color));
	outline: none;
}

.product_meta .nxm-meta-copy svg {
	display: block;
	width: 0.95em;
	height: 0.95em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

/* Tooltip — ikon ve değerde */
.product_meta .nxm-meta-copy[data-tip]::after,
.product_meta .nxm-meta-copyable[data-tip]::after {
	content: attr(data-tip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	transform: translateX(-50%) translateY(2px);
	padding: 0.3em 0.55em;
	border-radius: var(--wd-brd-radius, 0);
	background: var(--wd-title-color);
	color: var(--btn-accented-color);
	font-family: var(--wd-text-font);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	white-space: nowrap;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
	z-index: 20;
}

.product_meta .nxm-meta-copy[data-tip]::before,
.product_meta .nxm-meta-copyable[data-tip]::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: calc(100% + 4px);
	transform: translateX(-50%);
	border: 4px solid transparent;
	border-top-color: var(--color-gray-800);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.12s ease, visibility 0.12s ease;
	z-index: 20;
}

.product_meta .nxm-meta-copy:hover[data-tip]::after,
.product_meta .nxm-meta-copy:focus-visible[data-tip]::after,
.product_meta .nxm-meta-copy.is-copied[data-tip]::after,
.product_meta .nxm-meta-copyable:hover[data-tip]::after,
.product_meta .nxm-meta-copyable:focus-visible[data-tip]::after,
.product_meta .nxm-meta-copyable.is-copied[data-tip]::after {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.product_meta .nxm-meta-copy:hover[data-tip]::before,
.product_meta .nxm-meta-copy:focus-visible[data-tip]::before,
.product_meta .nxm-meta-copy.is-copied[data-tip]::before,
.product_meta .nxm-meta-copyable:hover[data-tip]::before,
.product_meta .nxm-meta-copyable:focus-visible[data-tip]::before,
.product_meta .nxm-meta-copyable.is-copied[data-tip]::before {
	opacity: 1;
	visibility: visible;
}
