/*
 * Lovable reference PDP - a separate, simpler product page (shortcode [qikink_product_lovable],
 * page slug /lovable-pdp/) that mirrors the exact Tailwind values read out of the Lovable clone's
 * shop/retro-wave-tee.html, using the same real Qikink product data (colors/sizes/print types/
 * highlights/price) as the main PDP. Does not touch or override the main PDP's CSS classes
 * (qikink-pdp__*) - fully separate "qkl-*" namespace.
 */
.qikink-pdp-lovable {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2rem 1rem 3rem;
	font-family: var(--ck-body, "Hind", system-ui, sans-serif);
	color: var(--ck-ink, #1a1816);
}

@media (min-width: 640px) {
	.qikink-pdp-lovable {
		padding: 2rem 1.5rem 3rem;
	}
}

/* Pixel match to Lovable: breadcrumb is `text-xs font-semibold uppercase tracking-wide text-ink/50` */
.qkl-breadcrumbs {
	margin: 0 0 1.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	color: rgba(26, 24, 22, 0.5);
}
.qkl-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}
.qkl-breadcrumbs a:hover {
	color: var(--ck-coral, #f04a2a);
}
.qkl-crumb-sep {
	margin: 0 0.5rem;
}

.qkl-hero {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
	.qkl-hero {
		grid-template-columns: 1fr 1fr;
	}
}

.qkl-gallery-row {
	display: flex;
	flex-direction: row;
	gap: 0.75rem;
}

.qkl-thumbs {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex-shrink: 0;
}

.qkl-thumb {
	display: block;
	width: 4.5rem;
	height: 4.5rem;
	object-fit: cover;
	border-radius: 0.75rem;
	border: 2px solid var(--ck-line, rgba(26, 24, 22, 0.15));
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.qkl-thumb:hover,
.qkl-thumb.is-active {
	border-color: var(--ck-coral, #f04a2a);
}

.qkl-gallery-row .qkl-gallery {
	flex: 1;
	min-width: 0;
}

.qkl-gallery {
	overflow: hidden;
	border-radius: min(2vw, 20px);
	border: 1px solid var(--ck-line, rgba(26, 24, 22, 0.1));
	background: rgba(26, 24, 22, 0.05);
}

.qkl-main-image {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.qkl-info {
	display: flex;
	flex-direction: column;
}

.qkl-badge {
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 1rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--ck-coral, #f04a2a);
	color: var(--ck-ink, #1a1816);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

.qkl-info h1 {
	margin: 0;
	font-family: var(--ck-display, "Archivo Black", system-ui, sans-serif);
	font-size: 2.25rem;
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

@media (min-width: 640px) {
	.qkl-info h1 {
		font-size: 3rem;
	}
}

/* body.ck-shop-page prefix needed - the sitewide generic `p { font-family: var(--ck-body) }` rule
 * otherwise outranks a single class and this renders in Hind instead of Archivo Black. */
body.ck-shop-page .qkl-price {
	margin: 0.75rem 0 0;
	font-family: var(--ck-display, "Archivo Black", system-ui, sans-serif);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.333;
	color: var(--ck-coral, #f04a2a);
}

.qkl-blurb {
	margin: 1rem 0 0;
	color: rgba(26, 24, 22, 0.7);
	font-size: 1rem;
	line-height: 1.5;
}

.qkl-bullets {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: rgba(26, 24, 22, 0.8);
}

.qkl-bullets li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.qkl-dot {
	margin-top: 0.4rem;
	width: 0.375rem;
	height: 0.375rem;
	flex-shrink: 0;
	border-radius: 999px;
	background: var(--ck-coral, #f04a2a);
}

.qkl-group {
	margin-top: 1.75rem;
}

.qkl-group h2,
.qkl-section h2 {
	margin: 0 0 0.75rem;
	font-family: var(--ck-display, "Archivo Black", system-ui, sans-serif);
	font-size: 1rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}

.qkl-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.qkl-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--ck-line, rgba(26, 24, 22, 0.15));
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ck-ink, #1a1816);
}

.qkl-pill--muted {
	background: #f2efe6;
	border-color: transparent;
}

.qkl-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.qkl-swatch {
	display: inline-block;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	border: 1px solid var(--ck-line, rgba(26, 24, 22, 0.15));
	box-shadow: 0 0 0 2px #fff inset;
}

.qkl-actions {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.qkl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 0.75rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* !important on color: the sitewide `body.ck-shop-page a { color: var(--ck-ink) }` link-color rule
 * outranks a single-class selector, which made this button's text render ink-on-ink (invisible). */
.qkl-btn--primary {
	background: var(--ck-ink, #1a1816);
	color: var(--ck-cream, #f6f4ec) !important;
	border: 0;
}

.qkl-btn--primary:hover,
.qkl-btn--primary:focus {
	background: var(--ck-coral, #f04a2a);
	color: var(--ck-ink, #1a1816) !important;
}

.qkl-btn--secondary {
	background: transparent;
	color: var(--ck-ink, #1a1816) !important;
	border: 1px solid rgba(26, 24, 22, 0.2);
}

.qkl-btn--secondary:hover,
.qkl-btn--secondary:focus {
	background: var(--ck-ink, #1a1816);
	color: var(--ck-cream, #f6f4ec) !important;
}

/* Real print area/format data from the product's own design guidelines, condensed to one line,
 * matching the "CustomKaro Directions" product-page mockup's info box. */
.qkl-print-details {
	margin-top: 1.5rem;
	padding: 1rem 1.25rem;
	border-radius: 1rem;
	border: 1px solid var(--ck-line, rgba(26, 24, 22, 0.15));
	background: #fff;
	font-size: 0.8125rem;
}
.qkl-print-details strong {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--ck-display, "Archivo Black", system-ui, sans-serif);
	font-weight: 400;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.qkl-print-details span {
	color: rgba(26, 24, 22, 0.7);
}

.qkl-section {
	margin-top: 4rem;
}

.qkl-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.qkl-related-grid {
		gap: 1rem;
	}
}

@media (min-width: 1024px) {
	.qkl-related-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.qkl-related-card {
	display: block;
	overflow: hidden;
	border-radius: min(2vw, 20px);
	border: 1px solid var(--ck-line, rgba(26, 24, 22, 0.1));
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease;
}

.qkl-related-card:hover,
.qkl-related-card:focus {
	border-color: var(--ck-coral, #f04a2a);
}

.qkl-related-img {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: rgba(26, 24, 22, 0.05);
}

.qkl-related-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.qkl-related-card:hover .qkl-related-img img {
	transform: scale(1.05);
}

.qkl-related-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 1rem;
}

body.ck-shop-page .qkl-related-name {
	margin: 0;
	font-family: var(--ck-display, "Archivo Black", system-ui, sans-serif);
	font-size: 0.875rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: -0.025em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

body.ck-shop-page .qkl-related-price {
	margin: 0;
	flex-shrink: 0;
	font-family: var(--ck-display, "Archivo Black", system-ui, sans-serif);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--ck-coral, #f04a2a);
}
