/* TarkMart — per-category product page extras (badges, specs, scent notes, swatches). */

.tm-x-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tm-x-badge { font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; color: var(--tm-navy); }
.tm-x-badge-0 { background: #EDE7DF; }
.tm-x-badge-1 { background: var(--tm-teal-soft); }
.tm-x-badge-2 { background: var(--tm-lilac); }

.tm-x-title { font-weight: 700; font-size: 15px; margin-bottom: 10px; color: var(--tm-ink); }

/* Scent notes */
.tm-x-notes { margin: 20px 0 0; }
.tm-x-note-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tm-x-note {
	height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
	background: var(--tm-lilac); color: var(--tm-navy); font-size: 15px; font-weight: 600;
}
.tm-x-note.is-on { background: var(--tm-navy); color: #fff; }
.tm-x-note:focus-visible, .tm-sw:focus-visible { outline: 3px solid var(--tm-teal); outline-offset: 2px; }
.tm-x-note-text {
	margin: 10px 0 0; background: #fff; border-radius: 16px; padding: 14px 16px;
	font-size: 15px; line-height: 1.5; color: #374151;
}

/* Feature tags */
.tm-x-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.tm-x-tag { border: 1.5px solid #0B7380; color: var(--tm-navy); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; }

/* Spec box */
.tm-x-specs {
	margin: 20px 0 0; background: #fff; border-radius: 18px; padding: 18px 20px;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; font-size: 14px;
}
.tm-x-specs dt { color: #4b5563; margin: 0; }
.tm-x-specs dd { margin: 0; font-weight: 700; color: var(--tm-ink); }

/* Highlighted note */
.tm-x-callout { margin: 16px 0 0; background: #EDE7DF; border-radius: 18px; padding: 14px 16px; font-size: 14px; line-height: 1.45; color: var(--tm-ink); }
.tm-x-callout strong { color: var(--tm-navy); }

/* Goes well with */
.tm-x-pair {
	margin: 16px 0 0; display: flex; gap: 14px; align-items: center; background: #fff;
	border-radius: 18px; padding: 12px 16px; text-decoration: none; color: var(--tm-ink); font-size: 14px;
}
.tm-x-pair:hover { box-shadow: var(--tm-shadow); }
.tm-x-pair-img img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; display: block; }
.tm-x-pair-txt { flex: 1; min-width: 0; }
.tm-x-pair-txt strong { display: block; color: var(--tm-navy); }
.tm-x-pair-price { font-weight: 700; color: #0B7380; white-space: nowrap; }

/* Colour / wood swatches (the original dropdown stays in the page for WooCommerce) */
.tm-sw-wrap select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.tm-sw-wrap.no-js select { position: static !important; width: auto !important; height: auto !important; opacity: 1; pointer-events: auto; }
.tm-sw-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tm-sw {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	background: none; border: 0; padding: 0; font-size: 13px; color: var(--tm-ink);
}
.tm-sw-dot { width: 52px; height: 52px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.tm-sw[aria-pressed="true"] .tm-sw-dot { box-shadow: 0 0 0 3px var(--tm-cream), 0 0 0 6px var(--tm-navy); }
.tm-sw.is-off { opacity: .35; }
.tm-sw-text .tm-sw-dot { display: none; }
.tm-sw-text .tm-sw-name {
	height: 44px; padding: 0 16px; display: flex; align-items: center; border-radius: 999px;
	background: #E9ECF1; font-weight: 600; font-size: 14px;
}
.tm-sw-text[aria-pressed="true"] .tm-sw-name { background: var(--tm-navy); color: #fff; }

@media (max-width: 640px) {
	.tm-x-specs { grid-template-columns: minmax(0, 1fr); }
}

/* Supplier attribute names often come in lower case ("color"). */
.tm-pdp .variations .label label { text-transform: capitalize; }
