﻿/*
Theme Name: Lilianna Nails
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for Lilianna Nails, a nail studio in Winnipeg.
Version: 1.0.1
Requires at least: 6.7
Text Domain: lilianna-nails
*/

/* Small uppercase label above headings */
.ln-eyebrow {
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* Logo: nail mark in front of the italic wordmark */
.wp-block-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	text-decoration: none;
}

.wp-block-site-title a::before {
	content: "";
	flex: none;
	width: 0.65em;
	height: 1.1em;
	/* Bump ?v= when the SVG changes; Cloudflare caches it for hours */
	background: url("assets/logo-mark.svg?v=2") no-repeat center / contain;
}

/* Full-width sections sit flush against each other and the footer */
.wp-block-post-content > .alignfull,
.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block: 0;
}

/*
 * Header stays visible while scrolling. Sticky goes on the template-part
 * wrapper: the inner group's parent is only as tall as the header itself,
 * so sticking it there has no effect.
 */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .wp-site-blocks > header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.ln-header {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

/* Service and price rows: name on the left, price on the right */
.ln-price-row {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.ln-price-row:last-child {
	border-bottom: 0;
}

.ln-price {
	white-space: nowrap;
}

.ln-card {
	height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ln-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -24px rgba(43, 31, 34, 0.35);
}

/* Gallery tiles: keep them square at any width */
.ln-gallery .wp-block-image img {
	aspect-ratio: 1;
	object-fit: cover;
	width: 100%;
}

.ln-step-number {
	font-feature-settings: "lnum";
}

.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	padding-block: var(--wp--preset--spacing--30);
}

.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
}

.wp-block-details summary + * {
	margin-top: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--accent-4);
}

@media (prefers-reduced-motion: reduce) {
	.ln-card,
	.ln-card:hover {
		transition: none;
		transform: none;
	}
}
