/*
Theme Name: 与乐小宇宙
Description: Child-led handcraft shop starter theme for WooCommerce.
Version: 0.13.5
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yule-handcraft
*/

:root {
	--ink: #20262e;
	--body: #576471;
	--canvas: #ffffff;
	--surface: #ffffff;
	--line: #e4e7eb;
	--hover-line: #b9c2cc;
	--yellow: #fdb016;
	--mint: #8bd3c3;
	--pink: #f2a4b4;
	--sky: #9ecdf2;
	--focus: #176b4d;
	--disabled: #b6bcc3;
	--soft: #f9fafb;
	--focus-soft: rgba(23, 107, 77, 0.12);
	--yellow-soft: #fff5d8;
	--yellow-line: #f0c65d;
	--max: 1290px;
	--shadow: 0 8px 22px rgba(32, 38, 46, 0.07);
	--shadow-soft: 0 12px 30px rgba(32, 38, 46, 0.09);
	--shadow-hover: 0 18px 40px rgba(32, 38, 46, 0.13);
	--motion-fast: 140ms cubic-bezier(0.2, 0.8, 0.2, 1);
	--motion-smooth: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 176px; }
body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: Alexandria, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.62;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--focus); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a, button, select, .collection-card { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-icon .icon, .tool-icon .icon { width: 20px; height: 20px; }
.shell { width: min(calc(100% - 128px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -70px; z-index: 20; background: var(--surface); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 15; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.98); box-shadow: 0 1px 0 rgba(32, 38, 46, 0.02); }
.header-inner { display: grid; grid-template-columns: auto minmax(300px, 498px) auto; align-items: center; justify-content: space-between; min-height: 100px; gap: 24px; padding: 25px 0; }
.header-inner > * { min-width: 0; }
.brand-row { display: flex; align-items: center; gap: 12px; }
.custom-logo { max-width: 48px; }
.brand { color: var(--ink); font-size: 20px; font-weight: 800; white-space: nowrap; }
.header-nav-row { border-top: 1px solid var(--line); }
.nav-shell { overflow-x: auto; }
.main-nav ul { display: flex; justify-content: center; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: flex; align-items: center; min-height: 50px; padding: 15px 18px; color: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: color var(--motion-fast), background-color var(--motion-fast); }
.main-nav a:hover { color: var(--ink); background: var(--soft); }
.main-nav .is-current a, .main-nav a[aria-current="page"] { color: var(--ink); background: var(--yellow-soft); box-shadow: inset 0 -3px 0 var(--yellow); }
.header-search { display: grid; grid-template-columns: minmax(0, 1fr) 149px 50px; width: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); transition: border-color var(--motion-fast), box-shadow var(--motion-fast); }
.header-search:focus-within { border-color: var(--hover-line); box-shadow: 0 0 0 3px var(--focus-soft); }
.header-search input[type="search"] { min-width: 0; height: 50px; border: 0; border-radius: 8px 0 0 8px; background: transparent; padding: 0 15px; font-size: 16px; font-weight: 300; color: var(--ink); }
.header-search input[type="search"]::placeholder { color: #77828d; }
.header-search select { min-width: 0; height: 50px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; padding: 0 11px; font-size: 14px; font-weight: 300; color: var(--body); }
.header-search input[type="search"], .header-search select, .header-search button { transition: background-color var(--motion-fast), color var(--motion-fast); }
.header-search button { display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-left: 1px solid var(--line); border-radius: 0 8px 8px 0; background: var(--ink); color: #ffffff; cursor: pointer; }
.header-search button:hover { background: #0f1821; color: #ffffff; }
.header-search button:active { background: #182230; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.language-control { display: flex; align-items: center; min-height: 44px; }
.language-tool select { min-height: 44px; max-width: 124px; border: 1px solid var(--line); border-radius: 8px; appearance: auto; background: var(--surface); padding: 8px 10px; color: var(--ink); font-size: 13px; font-weight: 650; cursor: pointer; transition: border-color var(--motion-fast), box-shadow var(--motion-fast); }
.language-tool select:hover { border-color: var(--hover-line); box-shadow: 0 3px 10px rgba(32, 38, 46, 0.06); }
.language-fallback { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.tool-link, .cart-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 650; transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background-color var(--motion-fast), transform var(--motion-fast); }
.tool-link:hover, .cart-link:hover { border-color: var(--hover-line); color: var(--ink); box-shadow: 0 4px 12px rgba(32, 38, 46, 0.07); }
.tool-link:active, .cart-link:active { transform: translateY(1px); box-shadow: none; }
.tool-link { max-width: min(224px, 100%); }
.tool-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-icon { display: inline-flex; flex: 0 0 auto; color: var(--body); }
.tool-link:hover .tool-icon, .cart-link:hover .tool-icon { color: var(--focus); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 750; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], select, textarea { min-height: 50px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 0 15px; font-size: 16px; font-weight: 300; }
textarea { min-height: 104px; padding: 12px 15px; resize: vertical; }

.hero { min-height: 680px; padding: 52px 0 36px; background: var(--surface); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 548px) minmax(0, 1fr); gap: 30px; align-items: center; min-height: 540px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: #76540d; font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 8px; background: var(--yellow); }
h1, h2, h3 { color: var(--ink); line-height: 1.16; overflow-wrap: anywhere; }
.hero h1 { margin: 0 0 20px; font-size: 72px; font-weight: 700; line-height: 1.1; text-wrap: balance; }
.hero-lede { max-width: 486px; margin: 0 0 30px; color: var(--body); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 25px; border: 0; border-radius: 8px; font-size: 15px; font-weight: 700; line-height: 1.25; cursor: pointer; transition: background-color var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast); }
.button.primary { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 rgba(157, 101, 16, 0.24); }
.button.primary:hover { background: #ffc23d; color: var(--ink); box-shadow: 0 7px 14px rgba(157, 101, 16, 0.2); }
.button.primary:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(157, 101, 16, 0.24); }
.button.secondary { border: 1px solid var(--ink); background: var(--surface); color: var(--ink); }
.button.secondary:hover { border-color: #0f1821; background: var(--soft); color: #0f1821; }
.button.secondary:active { transform: translateY(1px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-stage { position: relative; min-height: 0; }
.hero-stage::before, .hero-stage::after { content: ""; position: absolute; z-index: 1; border-radius: 8px; }
.hero-stage::before { right: 14px; bottom: 34px; width: 170px; height: 150px; background: rgba(139, 211, 195, 0.5); }
.hero-stage::after { left: 28px; top: 6px; width: 118px; height: 112px; background: rgba(158, 205, 242, 0.42); }
.hero-photo { position: absolute; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 18px 42px rgba(32, 38, 46, 0.1); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.main { position: relative; z-index: 3; width: min(100%, 576px); aspect-ratio: 4 / 3; justify-self: end; }
.hero-photo.accent { left: 42px; top: 42px; width: 106px; height: 106px; border: 0; background: var(--yellow); }
.hero-banner, .hero-banner-empty { display: grid; width: 100%; height: 100%; min-height: 0; }
.hero-banner { grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; background: linear-gradient(135deg, #ffffff 0%, #ffffff 62%, var(--soft) 100%); }
.hero-banner-empty { background: linear-gradient(135deg, #ffffff 0%, #fff5d8 100%); }
.hero-banner-slide { display: none; min-height: 0; }
.hero-banner-slide.is-active { display: grid; }
.hero-photo .hero-banner-slide img { width: 100%; height: 100%; object-fit: contain; padding: 5% 7% 0; }
.banner-controls { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px 10px; }
.banner-arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.banner-arrow svg { width: 13px; height: 13px; }
.banner-arrow:hover { border-color: var(--hover-line); color: var(--focus); }
.banner-dots { display: flex; align-items: center; gap: 6px; }
.banner-dot { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #d9dde3; padding: 0; }
.banner-dot[aria-pressed="true"] { background: var(--ink); }
.media-pending { display: grid; place-content: center; width: 100%; height: 100%; padding: 28px; border: 1px dashed var(--hover-line); border-radius: 8px; background: #ffffff; background-image: radial-gradient(#dfe4e9 1px, transparent 1px); background-size: 11px 11px; background-position: 5px 5px; text-align: center; }
.media-pending strong { color: var(--ink); font-size: 21px; line-height: 1.3; }
.media-pending p { max-width: 360px; margin: 10px auto 0; color: var(--body); }
.media-pending.compact strong { font-size: 20px; }

.section { padding: 68px 0; }
.collection-section { background: var(--surface); }
.section h2 { margin: 0; font-size: 36px; font-weight: 700; text-wrap: balance; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-intro { max-width: 620px; margin: 14px 0 0; color: var(--body); }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--yellow); transition: color var(--motion-fast), border-color var(--motion-fast); }
.text-link:hover { color: var(--focus); border-color: var(--focus); }
.link-icon { display: inline-flex; color: currentColor; transition: transform var(--motion-fast); }
.text-link:hover .link-icon { transform: translateX(3px); }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.collection-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: inherit; transition: border-color var(--motion-smooth), box-shadow var(--motion-smooth), transform var(--motion-smooth); }
.collection-card::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--yellow); }
.collection-card:nth-child(2)::after { background: var(--mint); }
.collection-card:nth-child(3)::after { background: var(--pink); }
.collection-card:hover { border-color: var(--hover-line); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.collection-card:active { transform: translateY(-1px); box-shadow: var(--shadow); }
.collection-card:hover .collection-body h3, .collection-card:hover .text-link { color: var(--focus); }
.collection-media { aspect-ratio: 4 / 3; background: #f4f6f7; overflow: hidden; }
.collection-media img { width: 100%; height: 100%; object-fit: cover; }
.collection-media .media-pending { padding: 20px; }
.collection-body { display: flex; flex: 1; padding: 25px 24px 24px; flex-direction: column; align-items: flex-start; }
.collection-body h3 { margin: 8px 0 10px; font-size: 20px; font-weight: 650; transition: color var(--motion-fast); }
.collection-body p { margin: 0 0 18px; color: var(--body); }
.collection-body .text-link { margin-top: auto; }
.status-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px; border-radius: 8px; background: #eef2f5; color: var(--body); font-size: 12px; font-weight: 750; }
.status-pill::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.status-pill.ready { color: #176b4d; background: #e8f6f0; }
.status-pill.info { color: #76540d; background: #fff4d8; }
.status-pill.blocked { color: #9b2218; background: #fdeae7; }

.products-section { background: var(--soft); }
.home-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.product-card { height: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; transition: border-color var(--motion-smooth), box-shadow var(--motion-smooth), transform var(--motion-smooth); }
.product-card:hover { border-color: var(--hover-line); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.product-card:active { transform: translateY(-1px); box-shadow: var(--shadow); }
.product-card:hover .product-info h3 { color: var(--focus); }
.product-card > a { display: flex; height: 100%; flex-direction: column; color: inherit; }
.product-media { aspect-ratio: 1 / 1; background: #f4f6f7; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; min-height: 168px; padding: 18px; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; }
.product-kind { color: #9d6510; font-size: 12px; font-weight: 700; }
.product-info h3 { margin: 0; font-size: 17px; font-weight: 650; transition: color var(--motion-fast); }
.product-info .price { margin-top: auto; font-weight: 750; }
.empty-state { padding: 34px; border: 1px dashed var(--disabled); border-radius: 8px; background: var(--surface); color: var(--body); }
.empty-state h1, .empty-state h3 { margin-top: 0; }

.about-section { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr); gap: 42px; }
.about-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.about-cards article { padding: 24px; border: 1px solid var(--line); border-left: 5px solid var(--mint); border-radius: 8px; background: var(--surface); }
.about-cards article:nth-child(2) { border-left-color: var(--yellow); }
.about-cards article:nth-child(3) { border-left-color: var(--sky); }
.about-cards article:nth-child(4) { border-left-color: var(--pink); }
.about-cards h3 { margin: 0 0 10px; font-size: 19px; font-weight: 650; }
.about-cards p { margin: 0; color: var(--body); }

.notice-section { background: var(--soft); padding-top: 0; }
.notice-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 54px 56px; border: 1px solid var(--yellow-line); border-radius: 8px; background: #ffebbe; box-shadow: var(--shadow); }
.notice-panel h2 { font-size: 34px; }
.notice-panel > div > p { max-width: 620px; margin: 0; color: var(--body); }
.notice-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.notice-actions .button.secondary { border-color: var(--ink); }
.notice-actions .button.primary { background: var(--ink); color: #ffffff; box-shadow: none; }
.notice-actions .button.primary:hover { background: #0f1821; }

.site-footer { border-top: 1px solid var(--line); background: var(--soft); color: var(--body); }
.footer-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-content: center; min-height: 234px; padding-top: 42px; padding-bottom: 42px; background: var(--surface); }
.footer-services h2 { margin: 0 0 5px; font-size: 16px; }
.footer-services p { margin: 0; color: var(--body); font-size: 13px; }
.footer-service { display: flex; gap: 13px; align-items: flex-start; }
.service-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--ink); }
.footer-service:nth-child(2) .service-icon { background: var(--yellow-soft); }
.footer-service:nth-child(3) .service-icon { background: #e8f6f0; }
.footer-service:nth-child(4) .service-icon { background: #edf5fc; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(2, minmax(0, 0.9fr)); gap: 28px; align-content: center; min-height: 291px; padding-top: 40px; padding-bottom: 40px; }
.footer-brand { margin: 0 0 8px; color: var(--ink); font-size: 20px; font-weight: 800; }
.footer-grid p { margin: 0; max-width: 280px; }
.footer-grid h2 { margin: 0 0 14px; font-size: 14px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; transition: color var(--motion-fast); }
.footer-grid a:hover { color: var(--ink); }
.footer-note { display: flex; align-items: center; justify-content: center; min-height: 71px; border-top: 1px solid var(--line); background: var(--surface); padding: 12px 16px; text-align: center; font-size: 12px; }

.content-area { width: min(calc(100% - 32px), 900px); margin: 56px auto 80px; }
.content-area h1 { margin-top: 0; font-size: 46px; }
.entry-content { max-width: 780px; }
.entry-content a { color: var(--focus); text-decoration: underline; }
.page-template-about .about-cards { margin-top: 30px; }
.page-template-help .empty-state { margin-bottom: 30px; }
.help-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.help-section { margin-top: 30px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.help-section h2 { margin: 0 0 8px; font-size: 20px; }
.help-section p { margin: 0; color: var(--body); }
.woo-area { padding: 44px 0 76px; }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0 !important; padding: 0 !important; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button { min-height: 48px; border-radius: 8px; background: var(--ink); color: #ffffff; cursor: pointer; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: #0f1821; color: #ffffff; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 8px; }

@media (max-width: 1100px) {
	html { scroll-padding-top: 352px; }
	.header-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 25px; padding-bottom: 25px; }
	.header-search { grid-template-columns: minmax(0, 1fr) 50px; }
	.header-search input[type="search"] { grid-column: 1; grid-row: 1; }
	.header-search select { grid-column: 1; grid-row: 2; border-top: 1px solid var(--line); border-radius: 0 0 0 8px; }
	.header-search button { grid-column: 2; grid-row: 1 / 3; height: 100%; border-top: 1px solid var(--line); }
	.header-tools { flex-wrap: wrap; justify-content: flex-start; row-gap: 8px; }
	.hero { min-height: 0; padding-top: 42px; padding-bottom: 34px; }
	.hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.hero h1 { font-size: 56px; }
	.hero-stage { min-height: 218px; margin-top: 18px; }
	.hero-stage::before { right: 8px; bottom: 16px; width: 88px; height: 78px; }
	.hero-stage::after { left: 16px; top: 2px; width: 64px; height: 60px; }
	.hero-photo.main { left: 0; top: 12px; width: calc(100% - 34px); height: 174px; }
	.hero-photo.accent { left: 18px; top: 18px; width: 48px; height: 48px; }
	.hero-caption { position: static; display: inline-flex; margin-top: 10px; }
	.collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-products, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-grid { grid-template-columns: 1fr; }
	.footer-services, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
	.notice-panel { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 900px) {
	html { scroll-padding-top: 224px; }
	.header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; padding: 10px 0; }
	.brand-row { grid-column: 1; grid-row: 1; min-height: 44px; }
	.brand { font-size: 18px; }
	.header-search { grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0, 1fr) 50px; }
	.header-search input[type="search"] { grid-column: 1; grid-row: 1; }
	.header-search select { display: none; }
	.header-search button { grid-column: 2; grid-row: 1; height: 50px; border-top: 0; }
	.header-tools { grid-column: 2; grid-row: 1; flex-wrap: nowrap; justify-content: flex-end; row-gap: 0; }
	.main-nav a { min-height: 44px; padding: 10px 14px; }
	.hero { padding-top: 24px; padding-bottom: 22px; }
}

@media (max-width: 700px) {
	html { scroll-padding-top: 210px; }
	.shell { width: calc(100% - 32px); }
	.header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 8px; align-items: center; padding: 10px 0; }
	.brand-row { grid-column: 1; grid-row: 1; min-height: 44px; }
	.header-search { grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0, 1fr) 50px; }
	.header-search input[type="search"] { grid-column: 1; grid-row: 1; }
	.header-search select { display: none; }
	.header-search button { grid-column: 2; grid-row: 1; height: 50px; border-top: 0; }
	.header-tools { grid-column: 2; grid-row: 1; flex-wrap: nowrap; justify-content: flex-end; gap: 6px; }
	.language-control { flex: 0 0 78px; }
	.language-tool select { width: 78px; max-width: 78px; min-height: 44px; padding: 8px; }
	.tool-link, .cart-link { position: relative; flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; }
	.tool-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; margin: 0; border-radius: 8px; font-size: 12px; }
	.main-nav a { min-height: 44px; padding: 10px 14px; }
	.main-nav ul { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
	.hero { padding: 22px 0 20px; }
	.hero h1 { margin-bottom: 16px; font-size: 36px; line-height: 1.12; }
	.hero-lede { margin-bottom: 22px; font-size: 16px; line-height: 1.55; }
	.hero-actions .button { flex: 1 1 150px; }
	.hero-meta { flex-wrap: nowrap; gap: 6px; margin-top: 16px; overflow-x: auto; padding-bottom: 2px; }
	.status-pill { flex: 0 0 auto; min-height: 24px; }
	.hero-stage { min-height: 170px; margin-top: 12px; }
	.hero-stage::before { display: none; }
	.hero-stage::after { left: 8px; top: 8px; width: 40px; height: 40px; }
	.hero-photo.main { left: 0; top: 0; width: 100%; height: 170px; }
	.hero-photo.accent { left: 10px; top: 10px; width: 36px; height: 36px; }
	.hero-caption { min-height: 30px; margin-top: 8px; padding: 4px 9px; font-size: 12px; }
	.section { padding: 52px 0; }
	.section h2 { font-size: 30px; }
	.section-top { display: block; }
	.section-top .text-link { margin-top: 16px; }
	.collection-grid, .home-products, .about-cards, .footer-services, .footer-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
	.notice-panel { padding: 32px 20px; }
	.notice-panel h2 { font-size: 28px; }
	.notice-actions .button { width: 100%; }
	.content-area h1 { font-size: 38px; }
}

@media (max-width: 360px) {
	.shell { width: calc(100% - 24px); }
	.header-tools { gap: 4px; }
	.language-control { flex-basis: 68px; }
	.language-tool select { width: 68px; max-width: 68px; }
	.hero h1 { font-size: 34px; }
	.hero-actions .button { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
