﻿/*
Theme Name: Maison Pets
Theme URI: https://veloviora.com
Author: Codex
Description: A local WordPress catalog theme inspired by cross-border cycling catalog layouts, using imported product assets.
Version: 1.0.0
Text Domain: maison-pets
*/

:root {
	--paper: #ffffff;
	--soft: #f4f4f2;
	--line: #dedbd5;
	--ink: #171717;
	--muted: #6d6a64;
	--accent: #7e1f2c;
	--green: #245c4c;
	--blue: #244f83;
	--gold: #b7832e;
	--shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
	--header-height: 76px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Arial, "Microsoft YaHei", sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

body.filter-is-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

.skip-link {
	position: fixed;
	left: 16px;
	top: -80px;
	z-index: 200;
	background: var(--ink);
	color: #fff;
	padding: 10px 14px;
}

.skip-link:focus {
	top: 16px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: grid;
	grid-template-columns: 180px minmax(160px, 1fr) auto;
	align-items: center;
	min-height: var(--header-height);
	padding: 0 34px;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(14px);
}

.brand {
	justify-self: center;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 176px;
}

.brand-logo-button {
	display: grid;
	place-items: center;
	width: 48px;
	height: 30px;
	border: 1px solid var(--ink);
	background: #fff;
	transition: background 160ms ease, color 160ms ease;
}

.brand-logo-button:hover,
.brand-logo-button:focus {
	background: var(--ink);
	color: #fff;
	outline: 0;
}

.brand-logo-button img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.brand-logo-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
}

.brand-name {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	line-height: 1;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 13px;
	color: var(--muted);
}

.main-nav > a,
.nav-item > a {
	display: block;
	padding: 28px 0 25px;
	border-bottom: 2px solid transparent;
}

.main-nav > a:hover,
.main-nav > a.is-current,
.nav-item:hover > a,
.nav-item:focus-within > a {
	color: var(--ink);
	border-color: var(--ink);
}

.nav-item {
	position: relative;
}

.nav-menu {
	position: absolute;
	top: calc(100% - 1px);
	left: 50%;
	z-index: 120;
	display: grid;
	min-width: 190px;
	padding: 10px 0;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 8px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.nav-menu a {
	padding: 10px 18px;
	white-space: nowrap;
	color: var(--ink);
	border: 0;
}

.nav-menu a:hover {
	background: var(--soft);
}

.header-actions {
	justify-self: end;
	display: flex;
	gap: 16px;
	align-items: center;
	font-size: 13px;
}

.language-control select {
	width: 112px;
	height: 34px;
	border: 0;
	background: transparent;
	color: var(--ink);
	padding: 0 4px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.text-button,
.icon-button,
.filter-open,
.reset-filters,
.load-more,
.newsletter button {
	border: 0;
	background: none;
	color: inherit;
}

.nav-toggle {
	display: none;
	width: 38px;
	height: 38px;
	padding: 8px;
}

.nav-toggle span {
	display: block;
	height: 1px;
	width: 20px;
	margin: 5px auto;
	background: var(--ink);
}

.catalog-shell {
	width: min(1500px, 100%);
	margin: 0 auto;
	padding: 54px 34px 88px;
}

.catalog-heading {
	display: grid;
	justify-items: center;
	text-align: center;
	margin: 0 auto 42px;
	max-width: 560px;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--accent);
	font-size: 12px;
	text-transform: uppercase;
}

.catalog-heading h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.05;
}

.catalog-heading p:not(.eyebrow) {
	margin: 16px 0 0;
	color: var(--muted);
}

.mobile-toolbar {
	display: none;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
	margin-bottom: 20px;
}

.catalog-layout {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}

.filters {
	position: sticky;
	top: calc(var(--header-height) + 24px);
	padding-right: 18px;
	color: var(--ink);
}

.filters-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	margin-bottom: 18px;
}

.filters-head button {
	display: none;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
}

.search-box {
	display: block;
	margin-bottom: 24px;
}

.search-box span,
.filters legend {
	display: block;
	margin-bottom: 11px;
	color: var(--muted);
	font-size: 12px;
	text-transform: uppercase;
}

.search-box input,
.list-top select,
.newsletter input {
	width: 100%;
	height: 40px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	padding: 0 12px;
	border-radius: 0;
}

.filters fieldset {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 0;
	padding: 20px 0 6px;
}

.filters label {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 30px;
	color: #383531;
	font-size: 14px;
}

.filters input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--accent);
}

.reset-filters {
	margin-top: 22px;
	border-bottom: 1px solid currentColor;
	color: var(--muted);
	padding: 0 0 3px;
}

.product-area {
	min-width: 0;
}

.list-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	color: var(--muted);
	font-size: 13px;
}

.list-top select {
	width: 170px;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.product-card {
	min-width: 0;
	text-align: center;
	transition: opacity 180ms ease, transform 180ms ease;
}

.product-card.is-hidden {
	display: none;
}

.product-card.is-soft-hidden {
	opacity: 0.2;
	transform: translateY(4px);
}

.product-card a {
	display: block;
}

.product-visual {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	margin: 0;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(36, 92, 76, 0.08), transparent 28%),
		linear-gradient(315deg, rgba(126, 31, 44, 0.08), transparent 24%),
		var(--soft);
}

.product-visual::after {
	content: "";
	position: absolute;
	inset: 18px;
	border: 1px solid rgba(0, 0, 0, 0.05);
	pointer-events: none;
}

.product-visual img {
	width: 78%;
	max-height: 82%;
	object-fit: contain;
	transition: transform 240ms ease;
}

.product-card:hover .product-visual img {
	transform: scale(1.035);
}

.discount-badge {
	position: absolute;
	z-index: 2;
	top: 14px;
	left: 14px;
	display: inline-grid;
	place-items: center;
	min-height: 28px;
	max-width: calc(100% - 28px);
	padding: 6px 10px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	line-height: 1.2;
	text-align: left;
}

.product-meta {
	padding: 16px 10px 0;
}

.product-meta p {
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 12px;
}

.product-meta h2 {
	min-height: 42px;
	margin: 0;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.25;
}

.swatches {
	display: flex;
	justify-content: center;
	gap: 7px;
	min-height: 20px;
	margin-top: 13px;
}

.swatches span {
	width: 13px;
	height: 13px;
	border: 1px solid rgba(0, 0, 0, 0.22);
	background: var(--swatch);
	border-radius: 50%;
}

.color-count {
	display: block;
	margin-top: 7px;
	color: var(--muted);
	font-size: 12px;
}

.empty-state {
	margin: 80px auto;
	text-align: center;
	color: var(--muted);
}

.load-more {
	display: block;
	min-width: 190px;
	height: 44px;
	margin: 46px auto 0;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fff;
}

.load-more[hidden] {
	display: none;
}

.service-panels {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1px;
	width: min(1500px, 100%);
	margin: 0 auto 72px;
	padding: 0 34px;
	background: var(--line);
}

.service-panel {
	min-height: 190px;
	padding: 26px 24px;
	background: #fff;
	scroll-margin-top: calc(var(--header-height) + 20px);
}

.service-panel p {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 12px;
	text-transform: uppercase;
}

.service-panel h2 {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.2;
}

.service-panel span {
	display: block;
	color: var(--muted);
}

.new-series-page {
	width: min(1180px, 100%);
	margin: 0 auto;
	padding: 42px 34px 72px;
}

.series-image-options {
	position: relative;
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) 54px;
	align-items: center;
	gap: 18px;
	margin: 0 auto 34px;
	width: min(780px, 100%);
}

.series-card-stack {
	position: relative;
	height: clamp(360px, 48vw, 480px);
	outline: none;
	touch-action: pan-y;
}

.series-card {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto auto;
	align-content: end;
	background: var(--soft);
	padding: 18px;
	text-align: center;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.08);
	opacity: 0;
	pointer-events: none;
	transform: translateX(0) scale(0.88);
	transition: transform 260ms ease, opacity 260ms ease, box-shadow 260ms ease;
}

.series-card .discount-badge {
	top: 18px;
	left: 18px;
}

.series-card.is-active {
	z-index: 3;
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0) scale(1);
}

.series-card.is-next {
	z-index: 2;
	opacity: 0.82;
	transform: translateX(34px) scale(0.92);
}

.series-card.is-prev {
	z-index: 1;
	opacity: 0.62;
	transform: translateX(-34px) scale(0.88);
}

.series-card.is-after {
	z-index: 0;
	opacity: 0;
	transform: translateX(0) scale(0.82);
}

.series-card-image {
	display: block;
	min-height: 0;
	height: 100%;
}

.series-card-image:hover img,
.series-card-image:focus img {
	transform: scale(1.02);
}

.series-card img {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	transition: transform 220ms ease;
}

.series-card p {
	margin: 16px 0 7px;
	color: var(--accent);
	font-size: 12px;
	text-transform: uppercase;
}

.series-card h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: 20px;
	font-weight: 400;
}

.discount-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	width: min(960px, 100%);
	margin: 0 auto;
	background: var(--line);
}

.discount-strip article {
	min-height: 170px;
	padding: 26px 24px;
	background: #fff;
	text-align: left;
}

.discount-strip p {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 12px;
	text-transform: uppercase;
}

.discount-strip h2 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.2;
}

.discount-strip span {
	color: var(--muted);
	line-height: 1.7;
}

.series-nav {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ink);
	background: #fff;
	color: var(--ink);
	font-size: 28px;
	line-height: 1;
}

.series-nav:hover,
.series-nav:focus {
	background: var(--ink);
	color: #fff;
	outline: 0;
}

.series-nav-prev {
	justify-self: end;
}

.series-nav-next {
	justify-self: start;
}

.series-carousel-dots {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: 9px;
	margin-top: 6px;
}

.series-carousel-dots span {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 1px solid var(--ink);
	background: transparent;
	border-radius: 50%;
}

.series-carousel-dots span.is-active {
	background: var(--ink);
}

.series-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	padding: 34px 0;
	border-top: 1px solid var(--line);
}

.series-feature:last-child {
	border-bottom: 1px solid var(--line);
}

.series-feature p {
	margin: 0 0 10px;
	color: var(--accent);
	font-size: 12px;
	text-transform: uppercase;
}

.series-feature h2 {
	margin: 0 0 10px;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: 28px;
	font-weight: 400;
}

.series-feature span {
	display: block;
	color: var(--muted);
}

.series-feature a {
	display: inline-grid;
	place-items: center;
	min-width: 150px;
	height: 42px;
	border: 1px solid var(--ink);
	color: var(--ink);
}

.series-feature a:hover {
	background: var(--ink);
	color: #fff;
}

.content-page {
	width: min(1180px, 100%);
	margin: 0 auto;
	padding: 54px 34px 84px;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-bottom: 34px;
	background: var(--line);
}

.info-grid article {
	min-height: 210px;
	padding: 28px 24px;
	background: #fff;
	scroll-margin-top: calc(var(--header-height) + 20px);
}

.info-grid p,
.story-copy p {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 12px;
	text-transform: uppercase;
}

.info-grid h2,
.story-copy h2,
.contact-form h2 {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.2;
}

.info-grid span,
.story-copy span {
	color: var(--muted);
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	padding: 30px;
	border: 1px solid var(--line);
	background: #fff;
}

.contact-form h2,
.contact-form .form-message,
.contact-form .form-wide {
	grid-column: 1 / -1;
}

.contact-form label {
	display: block;
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 13px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: #fff;
	padding: 12px;
	border-radius: 0;
}

.contact-form button {
	justify-self: start;
	min-width: 160px;
	height: 44px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fff;
}

.service-chat-box {
	display: grid;
	grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
	gap: 1px;
	margin: 0 0 34px;
	background: var(--line);
}

.service-chat-copy,
.service-chat-form {
	background: #fff;
	padding: 30px;
}

.service-chat-copy h2 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
}

.service-chat-copy span {
	color: var(--muted);
}

.service-chat-form {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.service-chat-form .assistant-chat-log,
.service-chat-form .form-wide {
	grid-column: 1 / -1;
}

.service-chat-form label {
	display: block;
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 13px;
}

.service-chat-form input,
.service-chat-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: #fff;
	padding: 12px;
	border-radius: 0;
	resize: vertical;
}

.service-chat-form button {
	justify-self: start;
	min-width: 150px;
	height: 44px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fff;
}

.form-message {
	margin: 0;
	padding: 12px 14px;
}

.form-message.is-success {
	background: rgba(36, 92, 76, 0.1);
	color: var(--green);
}

.form-message.is-error {
	background: rgba(126, 31, 44, 0.1);
	color: var(--accent);
}

.purchase-assistant {
	position: fixed;
	right: 26px;
	bottom: 26px;
	z-index: 180;
	display: grid;
	justify-items: end;
	gap: 12px;
}

.assistant-trigger {
	display: grid;
	place-items: center;
	gap: 5px;
	width: 78px;
	height: 78px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
}

.assistant-trigger strong {
	font-size: 12px;
	line-height: 1;
}

.assistant-mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #244f83, #7e1f2c);
}

.assistant-mark::before,
.assistant-mark::after {
	content: "";
	position: absolute;
	top: 10px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
}

.assistant-mark::before {
	left: 8px;
}

.assistant-mark::after {
	right: 8px;
}

.assistant-mark span {
	width: 18px;
	height: 12px;
	border: 2px solid rgba(255, 255, 255, 0.86);
	border-radius: 999px;
}

.assistant-panel {
	position: absolute;
	right: 0;
	bottom: 88px;
	width: min(318px, calc(100vw - 34px));
	border: 1px solid var(--line);
	background: #fff;
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.purchase-assistant:hover .assistant-panel,
.purchase-assistant:focus-within .assistant-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.assistant-panel-head {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin-bottom: 16px;
}

.assistant-panel h2 {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 500;
}

.assistant-panel p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.assistant-chat-log {
	margin: 0 0 14px;
	padding: 12px;
	background: var(--soft);
}

.assistant-message {
	width: fit-content;
	max-width: 100%;
	margin: 0;
	border-left: 2px solid var(--accent);
	padding-left: 10px;
	color: var(--ink);
}

.assistant-panel form {
	display: grid;
	gap: 9px;
}

.assistant-panel label {
	color: var(--muted);
	font-size: 12px;
}

.assistant-panel input,
.assistant-panel textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: #fff;
	padding: 10px 11px;
	border-radius: 0;
	resize: vertical;
}

.assistant-panel button[type="submit"] {
	height: 44px;
	margin-top: 4px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fff;
}

.assistant-panel button[type="submit"]:disabled {
	opacity: 0.62;
	cursor: wait;
}

.assistant-status {
	margin: 2px 0 0;
	padding: 9px 10px;
	font-size: 12px;
}

.assistant-status.is-success {
	background: rgba(36, 92, 76, 0.1);
	color: var(--green);
}

.assistant-status.is-error {
	background: rgba(126, 31, 44, 0.1);
	color: var(--accent);
}

.assistant-panel > a {
	display: inline-block;
	margin-top: 12px;
	color: var(--accent);
	font-size: 13px;
	border-bottom: 1px solid currentColor;
}

.story-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 42px;
	align-items: center;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 36px 0;
}

.story-media {
	background: var(--soft);
	padding: 26px;
}

.story-media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: contain;
	background: #fff;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
}

.news-card {
	min-height: 100%;
	background: #fff;
}

.news-card-link {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
}

.news-card-link:hover h2,
.article-back:hover {
	color: var(--accent);
}

.news-card-media {
	margin: 0;
	background: var(--soft);
}

.news-card-media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.news-card-copy {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 26px 24px 28px;
}

.news-card-copy time,
.article-header time {
	color: var(--accent);
	font-size: 12px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.news-card-copy h2,
.news-empty h2,
.article-header h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-weight: 400;
	line-height: 1.18;
}

.news-card-copy h2 {
	font-size: 24px;
}

.news-card-copy p,
.news-empty p,
.article-content {
	color: var(--muted);
}

.news-card-copy p {
	margin: 0;
	line-height: 1.75;
}

.news-card-copy span,
.article-back {
	justify-self: start;
	color: var(--ink);
	font-size: 13px;
	border-bottom: 1px solid currentColor;
}

.news-empty {
	padding: 42px;
	border: 1px solid var(--line);
	background: #fff;
	text-align: center;
}

.article-detail {
	width: min(860px, 100%);
	margin: 0 auto;
}

.article-header {
	display: grid;
	gap: 14px;
	margin-bottom: 30px;
	text-align: center;
}

.article-header h1 {
	font-size: clamp(34px, 5vw, 58px);
}

.article-featured {
	margin: 0 0 34px;
	background: var(--soft);
}

.article-featured img {
	display: block;
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.article-content {
	font-size: 16px;
	line-height: 1.9;
}

.article-content p {
	margin: 0 0 18px;
}

.article-content h2,
.article-content h3 {
	margin: 34px 0 14px;
	color: var(--ink);
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-weight: 400;
}

.article-back {
	display: inline-block;
	margin-top: 30px;
}

.product-detail-page {
	width: min(1440px, 100%);
	margin: 0 auto;
	padding: 30px 34px 88px;
}

.product-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
	color: var(--muted);
	font-size: 13px;
}

.product-breadcrumb a:hover {
	color: var(--ink);
}

.product-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.68fr);
	gap: 48px;
	align-items: start;
}

.product-gallery-panel {
	display: grid;
	gap: 14px;
}

.product-main-image {
	display: grid;
	place-items: center;
	min-height: min(760px, calc(100vh - 170px));
	margin: 0;
	background:
		linear-gradient(135deg, rgba(36, 92, 76, 0.08), transparent 28%),
		linear-gradient(315deg, rgba(126, 31, 44, 0.08), transparent 24%),
		var(--soft);
	border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-main-image img {
	width: min(76%, 680px);
	max-height: 78%;
	object-fit: contain;
}

.product-thumb-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(82px, 1fr));
	gap: 12px;
}

.product-thumb-grid button {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	background: var(--soft);
	border: 1px solid transparent;
	cursor: pointer;
	padding: 0;
}

.product-thumb-grid button.is-active,
.product-thumb-grid button:hover {
	border-color: var(--ink);
}

.product-thumb-grid img {
	width: 76%;
	height: 76%;
	object-fit: contain;
}

.product-info-panel {
	position: sticky;
	top: calc(var(--header-height) + 28px);
	border-top: 1px solid var(--line);
	padding-top: 26px;
}

.product-category-label {
	margin: 0 0 10px;
	color: var(--accent);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0;
}

.product-info-panel h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 400;
	line-height: 1.08;
}

.product-summary {
	margin: 20px 0 0;
	color: var(--muted);
}

.price,
.product-price-line,
.woocommerce-Price-amount,
.cart-subtotal,
.order-total,
.product-total {
	display: none !important;
}

.detail-section-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 13px;
}

.detail-section-title span {
	color: var(--muted);
}

.detail-section-title strong {
	color: var(--ink);
	font-weight: 400;
}

.detail-swatches {
	margin-top: 28px;
	border-top: 1px solid var(--line);
	padding-top: 22px;
}

.swatch-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.detail-swatches button {
	width: 28px;
	height: 28px;
	border: 1px solid rgba(0, 0, 0, 0.22);
	background: var(--swatch);
	border-radius: 50%;
}

.detail-swatches button.is-selected {
	outline: 1px solid var(--ink);
	outline-offset: 3px;
}

.order-options {
	margin-top: 28px;
	border-top: 1px solid var(--line);
	padding-top: 22px;
}

.product-actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.product-actions .cart {
	margin: 0;
}

.product-actions button,
.product-actions a {
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 360px;
	min-height: 48px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fff;
	text-align: center;
}

.product-actions a {
	background: var(--ink);
	color: #fff;
}

.product-actions a:hover {
	background: #fff;
	color: var(--ink);
}

.product-service-note {
	display: grid;
	gap: 6px;
	margin-top: 18px;
	color: var(--muted);
	font-size: 13px;
	border-left: 2px solid var(--accent);
	padding-left: 14px;
}

.product-extra {
	margin-top: 42px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}

.product-tab-list {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 28px;
	border-bottom: 1px solid var(--line);
	padding: 0 0 18px;
}

.product-tab-list button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: 18px;
	font-weight: 400;
}

.product-tab-list button.is-active {
	color: var(--ink);
	font-weight: 700;
}

.product-tab-panels {
	padding-top: 26px;
}

.product-tab-panel h2 {
	margin: 0 0 18px;
	font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.15;
}

.empty-review {
	color: var(--muted);
}

.attribute-table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid #e4e0d8;
	border-right: 0;
	border-bottom: 0;
}

.attribute-row {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	border-right: 1px solid #e4e0d8;
	border-bottom: 1px solid #e4e0d8;
	min-height: 44px;
}

.attribute-row span,
.attribute-row strong {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.4;
}

.attribute-row span {
	background: #f8f6f2;
	color: var(--ink);
}

.attribute-row strong {
	color: var(--muted);
}

.detail-copy {
	color: var(--muted);
}

.detail-copy p:first-child {
	margin-top: 0;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.related-card {
	display: grid;
	gap: 10px;
	color: var(--ink);
}

.related-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--soft);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.related-card span {
	font-size: 14px;
}

.detail-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding-left: 18px;
}

.site-footer {
	background: #1b1b1b;
	color: #f6f3ee;
	padding: 46px 34px;
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1.1fr;
	gap: 32px;
	width: min(1380px, 100%);
	margin: 0 auto;
}

.site-footer h2 {
	margin: 0 0 10px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-weight: 400;
}

.site-footer p {
	margin: 0;
	max-width: 360px;
	color: #c9c4bc;
}

.site-footer nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 20px;
	align-content: start;
}

.newsletter label {
	display: block;
	margin-bottom: 10px;
	color: #c9c4bc;
}

.newsletter div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 92px;
	gap: 8px;
}

.newsletter input {
	border-color: #555;
	background: #222;
	color: #fff;
}

.newsletter button {
	border: 1px solid #f6f3ee;
	color: #f6f3ee;
}

@media (max-width: 1040px) {
	.site-header {
		grid-template-columns: 48px 1fr auto;
		padding: 0 20px;
	}

	.nav-toggle {
		display: block;
	}

	.main-nav {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		display: none;
		padding: 20px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
	}

	.main-nav.is-open {
		display: grid;
		gap: 0;
	}

	.main-nav > a,
	.nav-item > a {
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
	}

	.nav-item {
		display: grid;
	}

	.nav-menu {
		position: static;
		display: grid;
		min-width: 0;
		padding: 0 0 10px 14px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.nav-menu a {
		padding: 8px 0;
		color: var(--muted);
	}

	.catalog-layout {
		grid-template-columns: 1fr;
	}

	.mobile-toolbar {
		display: flex;
	}

	.filter-open {
		border-bottom: 1px solid currentColor;
		padding: 0 0 3px;
	}

	.filters {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 150;
		width: min(360px, 88vw);
		overflow: auto;
		background: #fff;
		box-shadow: var(--shadow);
		padding: 24px;
		transform: translateX(-105%);
		transition: transform 180ms ease;
	}

	.filters.is-open {
		transform: translateX(0);
	}

	.filters-head button {
		display: block;
	}

	.list-top {
		display: none;
	}

	.service-panels {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0 20px;
	}

	.series-feature {
		grid-template-columns: 1fr;
	}

	.info-grid,
	.service-chat-box,
	.service-chat-form,
	.contact-form,
	.discount-strip,
	.news-grid,
	.story-layout,
	.product-detail-layout {
		grid-template-columns: 1fr;
	}

	.series-image-options {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 10px;
	}

	.series-card-stack {
		height: clamp(430px, 78vw, 560px);
	}

	.series-card.is-next {
		transform: translateX(22px) scale(0.92);
	}

	.series-card.is-prev {
		transform: translateX(-22px) scale(0.88);
	}

	.product-info-panel {
		position: static;
	}
}

@media (max-width: 760px) {
	.header-actions {
		gap: 8px;
	}

	.text-button {
		font-size: 12px;
	}

	.catalog-shell {
		padding: 34px 18px 68px;
	}

	.new-series-page {
		padding: 34px 18px 68px;
	}

	.catalog-heading {
		margin-bottom: 30px;
	}

	.series-image-options {
		grid-template-columns: 1fr;
		width: min(420px, 100%);
	}

	.series-card-stack {
		height: min(440px, 102vw);
	}

	.series-nav {
		position: absolute;
		top: calc(50% - 38px);
		z-index: 6;
		width: 38px;
		height: 38px;
		background: rgba(255, 255, 255, 0.94);
	}

	.series-nav-prev {
		left: -2px;
	}

	.series-nav-next {
		right: -2px;
	}

	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 14px;
	}

	.product-meta {
		padding: 13px 2px 0;
	}

	.product-meta h2 {
		min-height: 48px;
		font-size: 15px;
	}

	.swatches {
		gap: 5px;
	}

	.swatches span {
		width: 11px;
		height: 11px;
	}

	.footer-inner {
		grid-template-columns: 1fr;
	}

	.service-panels {
		grid-template-columns: 1fr;
		padding: 0 18px;
		margin-bottom: 52px;
	}

	.product-detail-page {
		padding: 24px 18px 64px;
	}

	.product-actions {
		grid-template-columns: 1fr;
	}

	.purchase-assistant {
		right: 16px;
		bottom: 16px;
	}

	.assistant-trigger {
		width: 68px;
		height: 68px;
	}

	.assistant-panel {
		bottom: 78px;
	}
}

@media (max-width: 430px) {
	.brand-name {
		font-size: 12px;
	}

	.header-actions .text-button:first-child {
		display: none;
	}

	.product-grid {
		gap: 24px 12px;
	}
}

