/* Lavender — Quote page Tailwind overlay.
 * Layered on top of catalog.css. Adds the utility classes used by
 * page-quote.php that are not present in the page-bundled Tailwind v4 build,
 * plus all semantic .lav-quote-* classes for the items list / cards.
 */

/* ─── Spacing helpers ─────────────────────────────── */
.py-10 { padding-block: 2.5rem; }
.py-14 { padding-block: 3.5rem; }
.py-16 { padding-block: 4rem; }
.p-10  { padding: 2.5rem; }
.mt-3  { margin-top: .75rem; }
.mt-6  { margin-top: 1.5rem; }
.ml-2  { margin-left: .5rem; }
.mx-1  { margin-inline: .25rem; }
.min-h-\[40vh\] { min-height: 40vh; }
.tracking-wider { letter-spacing: .05em; }
.flex-shrink-0  { flex-shrink: 0; }

/* space-y-6 on a flex/normal-flow column */
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

/* ─── Colours ─────────────────────────────────────── */
.text-purple-700 { color: #7e22ce; }
.bg-gray-300     { background-color: #d1d5db; }
.bg-white\/15    { background-color: rgba(255,255,255,.15); }
.bg-white\/20    { background-color: rgba(255,255,255,.20); }

/* Honeypot off-screen */
.-left-\[9999px\] { left: -9999px; }

/* ─── Layout — grid & spans (lg = ≥1024px) ────────── */
@media (min-width: 64rem) {
	.lg\:col-span-2 { grid-column: span 2 / span 2; }
	.lg\:col-span-1 { grid-column: span 1 / span 1; }
	.lg\:sticky     { position: sticky; }
	.lg\:top-28     { top: 7rem; }
}

/* md (≥768px) helpers */
@media (min-width: 48rem) {
	.md\:col-span-2 { grid-column: span 2 / span 2; }
	.md\:p-8        { padding: 2rem; }
}

/* ─── Selected-items list (semantic) ──────────────── */
.lav-quote-items { list-style: none; padding: 0; margin: 0; }
.lav-quote-items > li {
	display: grid;
	grid-template-columns: 80px 1fr auto;
	gap: 1rem;
	align-items: flex-start;
	padding: 1rem 0;
	border-top: 1px solid #f3f4f6;
}
.lav-quote-items > li:first-child { border-top: 0; padding-top: 0; }
.lav-quote-items > li:last-child  { padding-bottom: 0; }

.lav-quote-thumb {
	width: 80px; height: 80px; border-radius: 12px;
	overflow: hidden; background: #f3f0ff;
	display: flex; align-items: center; justify-content: center;
	color: #a78bfa;
}
.lav-quote-thumb img { width: 100%; height: 100%; object-fit: cover; }

.lav-quote-cat {
	display: inline-block; font-size: .7rem; font-weight: 700;
	letter-spacing: .05em; text-transform: uppercase;
	color: #7c3aed; margin-bottom: .25rem;
}
.lav-quote-title {
	font-weight: 600; color: #111827; line-height: 1.3;
	display: block; text-decoration: none; font-size: 1rem;
}
.lav-quote-title:hover { color: #7c3aed; }

.lav-quote-attrs { display: block; font-size: .8rem; color: #6b7280; margin-top: .15rem; }
.lav-quote-row-meta { display: flex; align-items: center; gap: .75rem; margin-top: .65rem; flex-wrap: wrap; }
.lav-quote-qty-label { font-size: .85rem; color: #4b5563; }

/* Stepper − [n] + */
.lav-quote-stepper {
	display: inline-flex; align-items: center; border: 1px solid #e9d5ff;
	border-radius: .75rem; overflow: hidden; background: #fff;
	box-shadow: 0 1px 2px rgba( 15, 23, 42, 0.08 );
}
.lav-quote-stepper button {
	width: 44px; height: 44px; background: #faf5ff; border: 0; cursor: pointer;
	color: #6d28d9; font-size: 1.25rem; font-weight: 600; line-height: 1;
	display: inline-flex; align-items: center; justify-content: center;
}
.lav-quote-stepper button:hover,
.lav-quote-stepper button:focus-visible { background: #f3e8ff; color: #5b21b6; outline: 0; }
.lav-quote-stepper input {
	width: 56px; height: 44px; border: 0;
	border-left: 1px solid #e9d5ff; border-right: 1px solid #e9d5ff;
	text-align: center; font-weight: 600; color: #111827; font-size: 1rem;
	-moz-appearance: textfield; outline: 0;
}
.lav-quote-stepper input::-webkit-outer-spin-button,
.lav-quote-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Trash button (top-right of row) */
.lav-quote-remove {
	background: transparent; border: 0; cursor: pointer;
	color: #9ca3af; padding: .25rem; align-self: flex-start;
	border-radius: 6px;
}
.lav-quote-remove:hover { color: #dc2626; background: #fef2f2; }

/* Per-item note input */
.lav-quote-item-note {
	grid-column: 2 / -1;
	margin-top: .65rem;
	width: 100%;
	padding: .5rem .75rem;
	border: 1px solid #e5e7eb;
	border-radius: .5rem;
	font-size: .85rem;
	color: #374151;
	background: #fff;
	resize: vertical;
	min-height: 36px;
	font-family: inherit;
}
.lav-quote-item-note:focus {
	outline: 0; border-color: #c4b5fd;
	box-shadow: 0 0 0 3px rgba(196,181,253,.4);
}

/* Out-of-stock notice on a quote row */
.lav-quote-oos-msg {
	display: inline-flex; align-items: center; gap: .4rem;
	margin-top: .35rem;
	padding: .3rem .55rem;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: .375rem;
	color: #92400e;
	font-size: .75rem;
	font-weight: 500;
	line-height: 1.25;
}
.lav-quote-oos-msg svg { flex-shrink: 0; }

/* File upload (attachments) */
.lav-quote-file:focus-within {
	border-color: #a78bfa;
	box-shadow: 0 0 0 3px rgba(196,181,253,.35);
}

/* Bottom note banner (purple tinted) */
.lav-quote-note {
	display: flex; gap: .75rem; align-items: flex-start;
	background: #f5f3ff; border: 1px solid #ede9fe;
	color: #5b21b6; padding: .85rem 1rem; border-radius: .75rem;
	font-size: .85rem; margin-top: 1.25rem;
}
.lav-quote-note svg { flex-shrink: 0; margin-top: 2px; color: #7c3aed; }

/* Header row of items section */
.lav-quote-items-header {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 1rem; gap: 1rem; flex-wrap: wrap;
}
.lav-quote-items-header h2 { display: inline-flex; align-items: center; gap: .5rem; }
.lav-quote-add-more {
	color: #7c3aed; font-weight: 600; display: inline-flex;
	align-items: center; gap: .35rem; text-decoration: none; font-size: .9rem;
}
.lav-quote-add-more:hover { color: #6d28d9; }

/* Delivery radio cards */
.lav-quote-radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.lav-quote-radio {
	display: flex; align-items: center; gap: .5rem;
	padding: .65rem .75rem; border: 1px solid #d1d5db;
	border-radius: .5rem; cursor: pointer; background: #fff;
	font-size: .9rem; color: #111827;
	transition: border-color .15s, background-color .15s;
}
.lav-quote-radio:hover { border-color: #c4b5fd; }
.lav-quote-radio input { accent-color: #7c3aed; }
.lav-quote-radio:has(input:checked) { border-color: #7c3aed; background: #f5f3ff; }
.lav-quote-radio:has(input:checked) span { color: #6d28d9; font-weight: 600; }

/* Sidebar contact card */
.lav-quote-contact-card {
	background: #f5f3ff; border: 1px solid #ede9fe;
	border-radius: .75rem; padding: 1.25rem;
}
.lav-quote-contact-card a { color: #6d28d9; font-weight: 600; text-decoration: none; }
.lav-quote-contact-card a:hover { color: #5b21b6; }

/* Mobile: stack items column to 2-row layout */
@media (max-width: 640px) {
	.lav-quote-items > li {
		grid-template-columns: 64px 1fr auto;
		gap: .75rem;
	}
	.lav-quote-thumb { width: 64px; height: 64px; }
	.lav-quote-radio-grid { grid-template-columns: 1fr; }
}
