/*
Theme Name:   BabyLumina — Fine Children's Jewelry
Theme URI:    http://localhost:8080
Description:  A refined boutique storefront for high-end children's jewelry: ivory, soft aqua and antique gold. Child theme of Storefront.
Author:       BabyLumina
Version:      1.1.2
Template:     storefront
Text Domain:  an-loc
Tags:         e-commerce, jewelry, clean, elegant
*/

/* ══════════════════════════════════════════════════════════
   0. Variables & foundations
   ══════════════════════════════════════════════════════════ */
:root {
	--ink:        #2b3033;
	--ink-soft:   #6f7377;
	--line:       #e8e3dc;
	--line-soft:  #f1eee9;
	--cream:      #fdf9f4;
	--blush:      #fef4f3;
	--aqua:       #6cccd1;
	--aqua-deep:  #3aa8b0;
	--aqua-soft:  #e9f8f7;
	--gold:       #c69e58;
	--gold-line:  rgba(198, 158, 88, .5);
	--white:      #ffffff;
	--sans: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--shadow: 0 2px 18px rgba(43, 48, 51, .07);
	--shadow-lg: 0 12px 40px rgba(43, 48, 51, .12);
	--ease: .28s ease;
}

html { scroll-behavior: smooth; }

/* Mobile hardening: nothing may push the page wider than the viewport */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }

/* Storefront leftovers that would render unstyled after the footer */
.storefront-sticky-add-to-cart,
#photoswipe-fullscreen-dialog,
.pswp:not(.pswp--open) { display: none !important; }

body,
button, input, select, textarea,
.widget, .site-header {
	font-family: var(--sans);
	color: var(--ink);
}

body {
	background: var(--white);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.75;
	letter-spacing: .012em;
}

b, strong { font-weight: 500; }

h1, h2, h3, h4,
.site-title, .page-title, .entry-title,
.woocommerce-loop-product__title,
.product_title {
	font-family: var(--serif);
	color: var(--ink);
	font-weight: 600;
	letter-spacing: .012em;
}

a { color: var(--ink); text-decoration: none; transition: color var(--ease), border-color var(--ease), background var(--ease); }
a:hover { color: var(--aqua-deep); }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

.col-full { max-width: 1320px; padding: 0 24px; }

/* Gold eyebrow label, reused across sections */
.al-eyebrow {
	font-size: 11px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--gold);
	display: block;
	margin-bottom: 12px;
	font-weight: 400;
}

/* Centered gold hairline ornament with a rotated diamond */
.al-orn {
	display: block;
	width: 56px;
	height: 9px;
	margin: 12px auto 18px;
	position: relative;
	background:
		linear-gradient(var(--gold), var(--gold)) left center / 20px 1px no-repeat,
		linear-gradient(var(--gold), var(--gold)) right center / 20px 1px no-repeat;
	opacity: .85;
}
.al-orn::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	width: 6px; height: 6px;
	border: 1px solid var(--gold);
	transform: translate(-50%, -50%) rotate(45deg);
}

/* Shared buttons — sharp corners, spaced uppercase, jeweler's-house style */
.button,
button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--ink);
	color: var(--white);
	border-radius: 0;
	border: 1px solid var(--ink);
	font-family: var(--sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	padding: 14px 30px;
	line-height: 1.2;
	transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
	text-shadow: none;
	box-shadow: none;
}
.button:hover,
button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--aqua-deep);
	border-color: var(--aqua-deep);
	color: var(--white);
}
.al-btn-ghost {
	background: transparent !important;
	color: var(--ink) !important;
	border: 1px solid var(--ink) !important;
}
.al-btn-ghost:hover {
	background: var(--ink) !important;
	color: var(--white) !important;
}
.al-btn-light {
	background: var(--white) !important;
	color: var(--ink) !important;
	border-color: var(--white) !important;
}

/* Gentle entrance for the hero only — settles well under 1s, no JS */
@keyframes al-rise {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}
@keyframes al-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-delay: 0s !important;
		transition-duration: .01ms !important;
	}
}

/* ══════════════════════════════════════════════════════════
   1. Announcement bar + sticky header
   ══════════════════════════════════════════════════════════ */
.al-announce {
	background: var(--ink);
	color: #f4f2ef;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: center;
	padding: 10px 16px;
}
.al-announce span { margin: 0 14px; white-space: nowrap; }
.al-announce strong { color: var(--aqua); font-weight: 500; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 990;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 6px 24px rgba(43, 48, 51, .06);
	padding: 0;
	margin-bottom: 0;
}
.site-header .col-full { padding-top: 22px; padding-bottom: 0; }

.site-branding { text-align: center; float: none; width: 100%; margin: 0 0 6px; }
/* BabyLumina wordmark logo (custom logo replaces the text title) */
.site-header .site-branding .custom-logo-link { display: inline-block; line-height: 0; }
.site-header .site-branding img.custom-logo {
	max-height: 58px;
	width: auto;
	margin: 4px auto 0;
}
.site-header .site-branding .site-title {
	font-family: var(--serif);
	font-size: 29px;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin: 0;
	line-height: 1.1;
}
.site-header .site-branding .site-title a { color: var(--ink); }
.site-header .site-description {
	display: block !important;
	position: static !important;
	clip: auto !important;
	width: auto !important;
	height: auto !important;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin: 6px 0 0;
	text-align: center;
}

/* Primary navigation: centred, thin uppercase */
.storefront-primary-navigation { background: transparent; clear: both; }
.main-navigation { width: 100%; float: none; }
.main-navigation ul.menu, .main-navigation ul.nav-menu {
	text-align: center;
	border-top: 1px solid var(--line-soft);
	margin-top: 14px;
	padding: 4px 0;
}
.main-navigation ul li { float: none; display: inline-block; }
.main-navigation ul li a {
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink);
	padding: 16px 18px;
	font-weight: 400;
	transition: color var(--ease);
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--aqua-deep); }
.main-navigation ul.menu ul.sub-menu,
.main-navigation ul.nav-menu ul.children {
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	text-align: left;
	padding: 8px 0;
}
.main-navigation ul.menu ul li a { padding: 9px 22px; letter-spacing: .08em; }

/* Search + cart in the header corners */
.site-header .site-search {
	position: absolute;
	top: 32px; left: 24px;
	width: 200px;
	clear: none;
	margin: 0;
}
/* keep the centred title clear of the corner widgets */
@media (min-width: 1025px) {
	.site-header .site-branding { padding: 0 240px; }
}
/* magnifier glyph inside the field, left of the placeholder */
.site-header .site-search form,
.site-header .site-search .widget_product_search form { position: relative; }
.site-header .site-search .widget_product_search form::before {
	position: absolute;
	left: 4px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	font-size: 13px;
	line-height: 1;
	opacity: .45;
}
.site-header .site-search .widget_product_search input[type="search"],
.site-header .site-search input[type="search"] {
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-size: 13px;
	padding: 8px 4px 8px 28px;
	width: 100%;
	transition: border-color var(--ease);
}
.site-header .site-search input[type="search"]:focus { border-bottom-color: var(--gold); outline: none; }
.site-header .site-header-cart {
	position: absolute;
	top: 22px; right: 24px;
	width: auto;
	margin: 0;
}
.site-header-cart .cart-contents {
	padding: 10px 14px;
	background: transparent;
	color: var(--ink);
	font-size: 13px;
	letter-spacing: .06em;
	transition: background var(--ease);
}
.site-header-cart .cart-contents:hover { background: var(--aqua-soft); }
.site-header .col-full { position: relative; }

/* ══════════════════════════════════════════════════════════
   2. Homepage — hero with product collage
   ══════════════════════════════════════════════════════════ */
.al-hero {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	background:
		radial-gradient(1200px 600px at 78% 40%, var(--aqua-soft) 0%, rgba(233, 248, 247, 0) 62%),
		linear-gradient(160deg, var(--cream) 0%, var(--blush) 55%, #f6f1ea 100%);
	overflow: hidden;
}
.al-hero__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 84px 24px;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 48px;
	align-items: center;
	width: 100%;
}
.al-hero__text { animation: al-rise .6s ease-out both; }
.al-hero__eyebrow {
	font-size: 11px;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 22px;
	display: block;
	font-weight: 400;
}
.al-hero h1 {
	font-size: clamp(40px, 5vw, 70px);
	line-height: 1.06;
	margin: 0 0 22px;
	font-weight: 500;
}
.al-hero h1 em { font-style: italic; color: var(--aqua-deep); }
.al-hero p {
	font-size: 16.5px;
	color: var(--ink-soft);
	max-width: 480px;
	margin-bottom: 36px;
}
.al-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Staggered 2×2 collage of featured pieces */
.al-hero__art { position: relative; }
.al-hero__collage {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	width: min(470px, 100%);
	margin: 0 auto;
	padding: 14px 0 30px;
}
.al-hero__card {
	background: var(--white);
	border: 1px solid var(--gold-line);
	padding: 10px;
	box-shadow: var(--shadow-lg);
	animation: al-fade .5s ease both;
}
.al-hero__card img { display: block; width: 100%; height: auto; }
.al-hero__card--1 { transform: rotate(-2.4deg); animation-delay: .05s; }
.al-hero__card--2 { transform: translateY(26px); animation-delay: .15s; }
.al-hero__card--3 { transform: translateY(-8px); animation-delay: .25s; }
.al-hero__card--4 { transform: translateY(18px) rotate(2deg); animation-delay: .35s; }

/* Fallback monogram when too few product images exist */
.al-hero__fallback {
	width: min(340px, 80%);
	aspect-ratio: 1;
	margin: 0 auto;
	border-radius: 50%;
	background: var(--white);
	border: 1px solid var(--gold-line);
	box-shadow: var(--shadow-lg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.al-hero__fallback strong {
	font-family: var(--serif);
	font-size: 42px;
	line-height: 1;
	color: var(--gold);
	font-weight: 600;
}
.al-hero__fallback span {
	font-size: 10px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-top: 8px;
}

/* Twin collection panels under the hero */
.al-panels {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2px;
	background: var(--line);
}
.al-panel {
	position: relative;
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 56px 32px;
	background: var(--cream);
	transition: background .3s ease;
}
.al-panel:nth-child(2) { background: var(--aqua-soft); }
.al-panel:hover { background: #f6efe4; }
.al-panel:nth-child(2):hover { background: #ddf1f1; }
.al-panel h2 {
	font-size: 13px;
	letter-spacing: .28em;
	text-transform: uppercase;
	font-family: var(--sans);
	font-weight: 500;
	margin: 0 0 10px;
	color: var(--ink-soft);
}
.al-panel p {
	font-family: var(--serif);
	font-size: 30px;
	line-height: 1.25;
	margin: 0 0 22px;
	color: var(--ink);
}
.al-panel .al-link {
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--ink);
	padding-bottom: 4px;
	transition: color var(--ease), border-color var(--ease);
}
.al-panel:hover .al-link { color: var(--aqua-deep); border-color: var(--aqua-deep); }

/* ══════════════════════════════════════════════════════════
   3. Promise strip
   ══════════════════════════════════════════════════════════ */
.al-usp {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--white);
}
.al-usp__grid {
	max-width: 1320px;
	margin: 0 auto;
	padding: 36px 24px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	text-align: center;
}
.al-usp__item svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.3; margin-bottom: 10px; }
.al-usp__item h3 {
	font-family: var(--sans);
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	margin: 0 0 5px;
	font-weight: 500;
}
.al-usp__item p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ══════════════════════════════════════════════════════════
   4. Shared homepage blocks
   ══════════════════════════════════════════════════════════ */
.al-section { padding: 84px 0; }
.al-section--tint { background: var(--cream); }
.al-section__head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.al-section__head span {
	font-size: 11px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--gold);
	display: block;
	font-weight: 400;
}
.al-section__head h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 12px; font-weight: 500; }
.al-section__head p { color: var(--ink-soft); margin: 0; }
.al-section__more { text-align: center; margin-top: 48px; }

/* Category grid */
.al-cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}
.al-cat {
	display: block;
	background: var(--white);
	border: 1px solid var(--line);
	text-align: center;
	padding: 0 0 24px;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.al-cat:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gold-line); }
.al-cat__media { display: block; overflow: hidden; }
.al-cat img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.al-cat:hover img { transform: scale(1.06); }
.al-cat__ph {
	aspect-ratio: 1;
	background: linear-gradient(160deg, var(--cream), var(--aqua-soft));
}
.al-cat h3 {
	font-family: var(--sans);
	font-size: 12.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin: 20px 14px 6px;
	font-weight: 500;
}
.al-cat .al-cat__count { font-size: 12px; color: var(--ink-soft); }

/* Brand story */
.al-story {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 60px;
	align-items: center;
}
.al-story__media {
	aspect-ratio: 4 / 3;
	background: linear-gradient(150deg, var(--blush), var(--aqua-soft) 70%, var(--cream));
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.al-story__media div {
	width: 62%; aspect-ratio: 1;
	border: 1px solid var(--gold-line);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--serif);
	font-size: 62px;
	color: var(--gold);
	background: rgba(255, 255, 255, .55);
}
.al-story h2 { font-size: clamp(30px, 3.2vw, 44px); margin: 0 0 18px; font-weight: 500; }
.al-story p { color: var(--ink-soft); margin-bottom: 16px; }
.al-story ul { list-style: none; margin: 0 0 26px; padding: 0; }
.al-story li { padding-left: 26px; position: relative; margin-bottom: 9px; font-size: 14.5px; }
.al-story li::before {
	content: "";
	position: absolute; left: 0; top: 9px;
	width: 9px; height: 9px;
	border: 1px solid var(--gold);
	transform: rotate(45deg);
}

/* Twin promo tiles */
.al-promos {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 22px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}
.al-promo {
	padding: 64px 46px;
	background: var(--blush);
	text-align: center;
}
.al-promo:nth-child(2) { background: var(--aqua-soft); }
.al-promo span {
	font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
	color: var(--gold); display: block; margin-bottom: 12px;
}
.al-promo h3 { font-size: 30px; margin: 0 0 12px; font-weight: 500; }
.al-promo p { color: var(--ink-soft); margin: 0 auto 26px; max-width: 400px; }

/* Customer reviews */
.al-reviews {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}
.al-review {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 30px 30px 28px;
}
.al-review::before {
	content: "\201C";
	display: block;
	font-family: var(--serif);
	font-size: 64px;
	line-height: .65;
	height: .5em;
	color: var(--gold);
	margin-bottom: 14px;
}
.al-review__stars { color: var(--gold); letter-spacing: .18em; font-size: 13px; margin-bottom: 14px; }
.al-review p { font-family: var(--serif); font-size: 18.5px; line-height: 1.6; margin: 0 0 20px; }
.al-review footer {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.al-review__avatar {
	flex: 0 0 auto;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--cream);
	border: 1px solid var(--gold-line);
	color: var(--gold);
	font-family: var(--serif);
	font-size: 19px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Newsletter band */
.al-news { background: var(--ink); color: #f2f0ed; padding: 76px 24px; text-align: center; }
.al-news h2 { color: var(--white); font-size: clamp(28px, 3vw, 38px); margin: 0 0 10px; font-weight: 500; }
.al-news p { color: #b9bec1; margin: 0 auto 30px; max-width: 520px; }
.al-news form { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: flex-end; }
.al-news input[type="email"] {
	background: transparent;
	border: 0;
	border-bottom: 1px solid #5a6164;
	border-radius: 0;
	color: var(--white);
	padding: 12px 6px;
	min-width: 320px;
	font-size: 14px;
	letter-spacing: .04em;
	box-shadow: none;
	transition: border-color var(--ease);
}
.al-news input[type="email"]:focus { border-bottom-color: var(--gold); outline: none; }
.al-news input[type="email"]::placeholder { color: #8b9295; }
.al-news .al-btn-light { letter-spacing: .22em; }

/* ══════════════════════════════════════════════════════════
   5. Products (grid + single)
   ══════════════════════════════════════════════════════════ */
/* CSS-grid product loop — independent of Storefront's float/width rules
   (those require a .site-main ancestor the homepage template doesn't use). */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin: 0 0 1em;
}
.woocommerce ul.products.columns-3, .woocommerce-page ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-2, .woocommerce-page ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* the parent theme's clearfix ::before/::after would become grid items — disable */
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
@media (max-width: 1024px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 768px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 0 0 18px;
	text-align: center;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
	position: relative;
	overflow: hidden;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gold-line); }

/* image frame: clipped zoom on hover; add-to-cart overlays the frame bottom */
.al-card__media { display: block; overflow: hidden; margin: 0 0 16px; position: relative; }
.al-card__media img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 !important;
	border-radius: 0;
	box-shadow: none;
	transition: transform .35s ease;
}
.woocommerce ul.products li.product:hover .al-card__media img { transform: scale(1.06); }

.al-card__media .button {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	width: 100%;
	margin: 0;
	border: 0;
	background: rgba(43, 48, 51, .92);
	font-size: 10.5px;
	letter-spacing: .18em;
	padding: 13px 10px;
}
.al-card__media .button:hover { background: var(--aqua-deep); }
/* "View cart" link that appears after an AJAX add */
.al-card__media .added_to_cart {
	position: absolute;
	left: 0; right: 0; bottom: 42px;
	background: rgba(255, 255, 255, .94);
	color: var(--ink);
	font-size: 10.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: 9px 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink);
	padding: 0 18px;
	margin-bottom: 6px;
}
.woocommerce ul.products li.product .price {
	color: var(--ink);
	font-size: 15px;
	font-weight: 400;
	font-family: var(--sans);
	display: block;
	margin-bottom: 14px;
}
.woocommerce ul.products li.product .price del { color: #a8adb0; font-weight: 300; margin-right: 6px; font-size: 13px; }
.woocommerce ul.products li.product .price ins { color: #c0392b; text-decoration: none; font-weight: 500; }
.woocommerce ul.products li.product .button {
	font-size: 10.5px;
	padding: 12px 20px;
	letter-spacing: .18em;
}
.woocommerce ul.products li.product .star-rating { margin: 0 auto 10px; color: var(--gold); font-size: 12px; }

/* Reveal add-to-cart on hover (pointer devices only; always visible on touch) */
@media (hover: hover) and (pointer: fine) {
	.al-card__media .button {
		opacity: 0;
		transform: translateY(100%);
		transition: opacity .28s ease, transform .28s ease, background var(--ease), color var(--ease);
	}
	.woocommerce ul.products li.product:hover .al-card__media .button,
	.woocommerce ul.products li.product:focus-within .al-card__media .button {
		opacity: 1;
		transform: none;
	}
}

/* Sale badge — antique gold, sharp corners */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	background: var(--gold);
	color: var(--ink);
	border-radius: 0;
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 500;
	padding: 7px 12px;
	min-height: 0;
	min-width: 0;
	line-height: 1;
	top: 12px; left: 12px; right: auto;
	margin: 0;
	position: absolute;
	z-index: 5;
}

/* Single product */
.woocommerce div.product .product_title { font-size: 36px; font-weight: 500; margin-bottom: 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	font-family: var(--sans);
	font-size: 26px;
	font-weight: 400;
	color: var(--ink);
}
.woocommerce div.product p.price ins { color: #c0392b; text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--ink-soft);
	border-left: 2px solid var(--gold);
	padding-left: 18px;
	margin: 18px 0 24px;
}
.woocommerce div.product form.cart .button { padding: 16px 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-radius: 0;
	background: var(--cream);
	border-color: var(--line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--white); }
.woocommerce .quantity .qty { border: 1px solid var(--line); border-radius: 0; padding: 12px 8px; }

/* Shop / category pages */
.woocommerce .page-title, .woocommerce-products-header__title { font-size: 40px; text-align: center; font-weight: 500; }
.term-description, .woocommerce-products-header p { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 12px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--ink-soft); font-size: 13px; }
.storefront-sorting select, .woocommerce-ordering select { border: 1px solid var(--line); border-radius: 0; padding: 10px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--aqua);
	background: var(--aqua-soft);
	border-radius: 0;
	color: var(--ink);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--aqua-deep); }

/* ══════════════════════════════════════════════════════════
   6. Footer
   ══════════════════════════════════════════════════════════ */
.site-footer {
	background: var(--cream);
	color: var(--ink);
	border-top: 1px solid var(--gold-line);
	padding: 0;
	font-size: 14px;
}
.al-footer { max-width: 1320px; margin: 0 auto; padding: 70px 24px 34px; }
.al-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 44px; }
.al-footer h4 {
	font-family: var(--sans);
	font-size: 11.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	margin: 0 0 18px;
	font-weight: 500;
}
.site-footer a:not(.button) { text-decoration: none; }
.al-footer a { display: block; color: var(--ink-soft); padding: 5px 0; font-size: 14px; text-decoration: none; }
.al-footer a:hover { color: var(--aqua-deep); }
.al-footer p { color: var(--ink-soft); margin: 0 0 14px; }
.al-footer__brand {
	font-family: var(--serif);
	font-size: 32px;
	letter-spacing: .3em;
	text-transform: uppercase;
	margin-bottom: 16px;
	display: block;
	color: var(--ink);
}
.al-footer__pay { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.al-footer__pay span {
	border: 1px solid var(--line);
	background: var(--white);
	font-size: 10.5px;
	letter-spacing: .1em;
	padding: 7px 11px;
	color: var(--ink-soft);
	text-transform: uppercase;
}
.al-footer__bottom {
	border-top: 1px solid var(--line);
	margin-top: 44px;
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--ink-soft);
}
.site-footer .site-info, .storefront-handheld-footer-bar { display: none !important; }

/* Cart: larger line-item thumbnails so the piece is recognizable */
.woocommerce-cart table.cart img,
.woocommerce table.shop_table img { width: 84px; height: auto; }

/* ══════════════════════════════════════════════════════════
   7. Responsive
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
	.al-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.al-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.al-reviews { grid-template-columns: 1fr; }
	.al-hero__collage { width: min(400px, 100%); gap: 16px; }
}

@media (max-width: 768px) {
	.al-announce span:nth-child(n+3) { display: none; }
	.site-header { position: static; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
	.site-header .site-search, .site-header .site-header-cart { position: static; width: 100%; margin: 12px 0 0; }
	.site-header .site-header-cart { text-align: center; }
	.al-hero__inner { grid-template-columns: 1fr; padding: 54px 24px 64px; gap: 40px; }
	.al-hero { min-height: 0; }
	.al-hero__collage {
		width: min(360px, 100%);
		gap: 12px;
		padding: 0;
	}
	.al-hero__card--1 { transform: rotate(-1.5deg); }
	.al-hero__card--2 { transform: translateY(14px); }
	.al-hero__card--3 { transform: translateY(-4px); }
	.al-hero__card--4 { transform: translateY(10px) rotate(1.5deg); }
	.al-hero__fallback { display: none; }
	.al-panels, .al-promos, .al-story { grid-template-columns: 1fr; }
	.al-story { gap: 30px; }
	.al-usp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 12px; }
	.al-section { padding: 56px 0; }
	.al-promo { padding: 48px 28px; }
	.al-news input[type="email"] { min-width: 0; width: 100%; }
	/* handheld footer bar stays disabled — boutique look, and its widgets render broken */

	/* tracked uppercase titles must never split mid-word in narrow 2-col grids:
	   keep-all forbids intra-word breaks; tighter type keeps whole words on a line. */
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.al-cat h3 {
		font-size: 11px;
		letter-spacing: .03em;
		word-break: keep-all;
		overflow-wrap: break-word;
		hyphens: none;
	}
	.al-cat h3 { margin: 16px 6px 6px; padding: 0; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 8px; }
}

/* Footer collapses to one column before the wordmark can break */
@media (max-width: 600px) {
	.al-footer__grid { grid-template-columns: 1fr; gap: 34px; }
	.al-footer__brand { font-size: 26px; letter-spacing: .18em; white-space: nowrap; }
	.al-footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.al-cat h3 { font-size: 10px; letter-spacing: .02em; }
	.site-header .site-branding .site-title { font-size: 24px; letter-spacing: .14em; }
}
