/* Little & Large shop components. Colours come from the child theme tokens,
   with fallbacks so the plugin still looks right on its own. */

/* Height picker */
.llct-sizes {
	border: 0;
	padding: 0;
	margin: 0 0 20px;
	min-width: 0;
}
.llct-sizes__legend {
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--llct-ink, #17251A);
	margin-bottom: 12px;
	padding: 0;
}
.llct-sizes__req {
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--llct-muted, #47584A);
}
.llct-sizes__options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 10px;
}
.llct-sizes__option {
	position: relative;
}
.llct-sizes__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
.llct-sizes__label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px 10px;
	border: 2px solid var(--llct-line-strong, #C9BB9B);
	border-radius: 6px;
	background: var(--llct-surface, #FFFDF8);
	color: var(--llct-ink, #17251A);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
	margin: 0;
}
.llct-sizes__label:hover {
	border-color: var(--llct-accent, #0B4A0B);
}
.llct-sizes__input:checked + .llct-sizes__label {
	background: var(--llct-accent, #0B4A0B);
	border-color: var(--llct-accent, #0B4A0B);
	color: #FFFDF8;
}
.llct-sizes__input:focus-visible + .llct-sizes__label {
	outline: 3px solid var(--llct-gold-ink, #7D5F23);
	outline-offset: 3px;
}
.llct-sizes__selected {
	margin: 12px 0 0;
	font-size: 0.95rem;
	color: var(--llct-muted, #47584A);
}
.llct-sizes.has-selection .llct-sizes__selected {
	color: var(--llct-ink, #17251A);
	font-weight: 600;
}
.llct-has-picker table.variations tr.llct-hidden-row {
	display: none;
}
.llct-has-picker table.variations.llct-replaced {
	margin: 0;
}

/* Height links on the homepage */
.llct-heights {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}
.llct-heights__link {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	padding: 12px 14px;
	min-height: 48px;
	border: 1px solid var(--llct-line-strong, #C9BB9B);
	border-radius: 6px;
	background: var(--llct-surface, #FFFDF8);
	color: var(--llct-ink, #17251A);
	text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease;
}
.llct-heights__link:hover {
	border-color: var(--llct-accent, #0B4A0B);
	background: #F3EEE1;
	color: var(--llct-ink, #17251A);
}
.llct-heights__size {
	font-weight: 700;
	color: var(--llct-accent-deep, #063506);
}
.llct-heights__price {
	color: var(--llct-muted, #47584A);
}
@media (max-width: 480px) {
	.llct-heights {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Listing price prefix */
.llct-from {
	font-weight: 400;
	color: var(--llct-muted, #47584A);
}

/* Size guide and help box on the product page */
.llct-guide {
	margin: 28px 0 8px;
	padding: 20px 22px;
	background: var(--llct-surface, #FFFDF8);
	border: 1px solid var(--llct-line, #E6DCC6);
	border-left: 3px solid var(--llct-gold, #B8954A);
	border-radius: 10px;
}
.llct-guide h2 {
	font-size: 1.3rem;
	margin: 0 0 8px;
	line-height: 1.2;
}
.llct-guide p {
	margin: 0 0 10px;
	line-height: 1.6;
}
.llct-guide p:last-child {
	margin-bottom: 0;
}

/* Contact form */
.llct-form {
	max-width: 640px;
}
.llct-form__field {
	margin: 0 0 18px;
}
.llct-form__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--llct-ink, #17251A);
}
.llct-form__hint {
	font-weight: 400;
	color: var(--llct-muted, #47584A);
}
.llct-form input[type=text],
.llct-form input[type=email],
.llct-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--llct-line-strong, #C9BB9B);
	border-radius: 6px;
	background: #FFFFFF;
	color: var(--llct-ink, #17251A);
	font: inherit;
	line-height: 1.5;
}
.llct-form textarea {
	min-height: 160px;
	resize: vertical;
}
.llct-form input:focus-visible,
.llct-form textarea:focus-visible {
	outline: 3px solid var(--llct-gold-ink, #7D5F23);
	outline-offset: 2px;
	border-color: var(--llct-accent, #0B4A0B);
}
.llct-form [aria-invalid=true] {
	border-color: #A3271F;
}
.llct-form__error {
	color: #A3271F;
	font-size: 0.95rem;
	margin: 6px 0 0;
}
.llct-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.llct-notice {
	padding: 16px 18px;
	border-radius: 6px;
	margin: 0 0 22px;
	line-height: 1.5;
}
.llct-notice--success {
	background: #E8F1E6;
	border: 1px solid #0B4A0B;
	color: #063506;
}
.llct-notice--error {
	background: #FBECEA;
	border: 1px solid #A3271F;
	color: #7A1C16;
}

/* Placeholder notice used while real photos are pending */
.llct-placeholder-note {
	font-size: 0.9rem;
	color: var(--llct-muted, #47584A);
	font-style: italic;
}
