/* =========================================================
   Showroom Faucet Theme — Design Tokens
   الهام از دنیای شیرآلات: فلز کروم مات، آب، و دقت مهندسی
   ========================================================= */
:root {
	--color-bg:          #F4F7F8;   /* پس‌زمینه روشن، رنگ چینی سینک */
	--color-surface:     #FFFFFF;
	--color-ink:         #101E27;   /* متن اصلی - سرمه‌ای فولادی تیره */
	--color-steel:       #55697A;   /* متن ثانویه - خاکستری فولادی */
	--color-steel-light: #8FA1AF;
	--color-border:      #E1E7EA;
	--color-accent:      #0891A6;   /* آبی-فیروزه‌ای آب - رنگ اصلی برند */
	--color-accent-dark: #066575;
	--color-accent-soft: #E3F4F6;

	--chrome-gradient: linear-gradient(100deg, #C7CFD4 0%, #F3F6F7 22%, #AAB4BA 45%, #F3F6F7 68%, #C7CFD4 100%);

	--font-display: 'Vazirmatn', Tahoma, sans-serif;
	--font-body: 'Vazirmatn', Tahoma, sans-serif;
	--font-mono: 'JetBrains Mono', 'Courier New', monospace;

	--radius: 10px;
	--container-width: 1200px;
	--shadow-sm: 0 2px 8px rgba(16, 30, 39, 0.06);
	--shadow-md: 0 8px 24px rgba(16, 30, 39, 0.10);
}

/* =========================================================
   Reset / Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-ink);
	background: var(--color-bg);
	line-height: 1.75;
	font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.35;
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
}
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}
.section { padding: 64px 0; }
.section-title {
	position: relative;
	font-size: 1.9rem;
	display: inline-block;
	padding-bottom: 14px;
	margin-bottom: 40px;
}
/* عنصر امضادار طراحی: زیرخط با گرادیان کروم، یادآور بدنه فلزی شیرآلات */
.section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 64px;
	height: 4px;
	border-radius: 4px;
	background: var(--chrome-gradient);
}

/* دکمه‌ها */
.btn {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 100px;
	font-weight: 700;
	font-size: .95rem;
	transition: all .2s ease;
	border: 2px solid transparent;
}
.btn-primary {
	background: var(--color-accent);
	color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-outline {
	border-color: var(--color-border);
	color: var(--color-ink);
	background: var(--color-surface);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 100;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 16px;
	gap: 24px;
}
.site-title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.4rem;
	color: var(--color-ink);
}
.primary-menu {
	display: flex;
	gap: 32px;
	font-weight: 600;
}
.primary-menu a:hover { color: var(--color-accent); }
.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 6px;
}
.menu-toggle span {
	width: 24px;
	height: 2px;
	background: var(--color-ink);
	border-radius: 2px;
}

.showroom-breadcrumb {
	display: block;
	padding: 16px 0;
	font-size: .875rem;
	color: var(--color-steel);
}
.showroom-breadcrumb a:hover { color: var(--color-accent); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
	background: linear-gradient(180deg, #0E2530 0%, #123543 100%);
	background-size: cover;
	background-position: center;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.hero::before {
	/* حلقه‌های آب - عنصر بصری امضادار صفحه اصلی */
	content: "";
	position: absolute;
	inset: -20% -10%;
	background: radial-gradient(circle at 75% 30%, rgba(8,145,166,0.35), transparent 45%),
	            radial-gradient(circle at 20% 80%, rgba(8,145,166,0.18), transparent 40%);
	pointer-events: none;
}
.hero__content {
	position: relative;
	padding: 120px 0;
	max-width: 640px;
}
.hero__content h1 {
	font-size: 2.6rem;
	color: #fff;
}
.hero__content p {
	color: #C8D6DC;
	font-size: 1.1rem;
	margin-bottom: 28px;
}

/* =========================================================
   Category Grid
   ========================================================= */
.category-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.category-card {
	background: var(--color-surface);
	border-radius: var(--radius);
	overflow: hidden;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
	border: 1px solid var(--color-border);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card img,
.category-card__placeholder {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	background: var(--color-accent-soft);
}
.category-card span {
	display: block;
	padding: 14px;
	font-weight: 700;
}

/* =========================================================
   Product Grid / Card
   ========================================================= */
.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.product-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card__image,
.product-card__placeholder {
	aspect-ratio: 1/1;
	background: var(--color-accent-soft);
	overflow: hidden;
}
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-steel-light);
}
.product-card__body { padding: 16px; }
.product-card__title { font-size: 1.05rem; margin-bottom: 6px; }
.product-card__model {
	display: block;
	font-family: var(--font-mono);
	font-size: .8rem;
	color: var(--color-steel);
	direction: ltr;
	text-align: right;
	margin-bottom: 8px;
}
.product-card__price {
	display: block;
	font-weight: 700;
	color: var(--color-accent-dark);
}
.section-cta { text-align: center; margin-top: 40px; }

/* =========================================================
   About teaser
   ========================================================= */
.about-teaser { background: var(--color-surface); }
.about-teaser__inner { max-width: 720px; text-align: center; margin: 0 auto; }
.about-teaser__text p { color: var(--color-steel); font-size: 1.05rem; margin-bottom: 24px; }

/* =========================================================
   Archive / Filters
   ========================================================= */
.archive-product__layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 40px;
	align-items: start;
}
.product-filters {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 20px;
	position: sticky;
	top: 90px;
}
.product-filters h3 { font-size: 1rem; margin-bottom: 14px; }
.product-filters li { padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.product-filters li:last-child { border-bottom: none; }
.product-filters a { color: var(--color-steel); font-weight: 600; }
.product-filters li.active a,
.product-filters a:hover { color: var(--color-accent); }
.page-title { font-size: 1.8rem; margin-bottom: 28px; }

/* =========================================================
   Single Product
   ========================================================= */
.single-product__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	padding-block: 40px;
}
.single-product__main-image {
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-accent-soft);
	aspect-ratio: 1/1;
}
.single-product__main-image img { width: 100%; height: 100%; object-fit: cover; }
.single-product__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}
.single-product__thumbs .thumb {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 6px;
	cursor: pointer;
	border: 2px solid transparent;
	opacity: .7;
}
.single-product__thumbs .thumb.active,
.single-product__thumbs .thumb:hover { opacity: 1; border-color: var(--color-accent); }

.single-product__info h1 { font-size: 1.8rem; }
.single-product__price {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--color-accent-dark);
	margin-bottom: 16px;
}
.single-product__excerpt { color: var(--color-steel); margin-bottom: 20px; }

.specs-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 28px;
	font-family: var(--font-mono);
	font-size: .9rem;
}
.specs-table th, .specs-table td {
	text-align: right;
	padding: 10px 12px;
	border-bottom: 1px solid var(--color-border);
}
.specs-table th { color: var(--color-steel); font-weight: 600; width: 40%; }

.single-product__description { padding-block: 20px 40px; border-top: 1px solid var(--color-border); }
.related-products { padding-block: 20px 60px; }

/* =========================================================
   Static Page / About
   ========================================================= */
.static-page .page-featured-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.page-content { max-width: 800px; color: var(--color-steel); }
.page-content h2 { color: var(--color-ink); margin-top: 1.5em; }

/* =========================================================
   Contact Page
   ========================================================= */
.contact-page__layout {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
}
.contact-details { margin-top: 24px; }
.contact-details li { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.contact-form-wrap {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .9rem; }
.form-row input, .form-row textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: .95rem;
	background: var(--color-bg);
}
.form-row input:focus, .form-row textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	background: var(--color-surface);
}
.form-notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-weight: 600;
}
.form-notice--success { background: #E4F6EC; color: #146C3C; }
.form-notice--error { background: #FBE7E7; color: #A32424; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	background: #0E1F28;
	color: #C8D6DC;
	margin-top: 60px;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	padding-block: 56px;
}
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col p { color: #93A6B0; font-size: .9rem; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a:hover { color: var(--color-accent); }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding-block: 20px;
	text-align: center;
	font-size: .85rem;
	color: #7D8F99;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
	.category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
	.archive-product__layout,
	.single-product__layout,
	.contact-page__layout { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.menu-toggle { display: flex; }
	.primary-menu {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		background: var(--color-surface);
		flex-direction: column;
		padding: 16px 24px;
		border-bottom: 1px solid var(--color-border);
	}
	.primary-menu.is-open { display: flex; }
	.hero__content h1 { font-size: 1.9rem; }
	.category-grid, .product-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
}
