:root {
	--lulu-primary: #061A33;
	--lulu-accent: #0B5C9C;
	--lulu-ink: #071832;
	--lulu-muted: #69758a;
	--lulu-border: #e6eaf0;
	--lulu-bg: #f7f9fc;
	--lulu-card: #ffffff;
	--lulu-success: #28b43d;
	--lulu-warning: #d69a00;
	--lulu-danger: #b42318;
	--lulu-shadow: 0 10px 28px rgba(6, 26, 51, 0.08);
}

@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
	margin: 0;
	background: var(--lulu-bg);
	color: var(--lulu-ink);
	font-family: "Vazirmatn", "IRANSansX", Tahoma, Arial, sans-serif;
	line-height: 1.7;
	letter-spacing: 0;
	direction: rtl;
	text-rendering: optimizeLegibility;
	padding-bottom: calc(168px + env(safe-area-inset-bottom));
}

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

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.lulu-site-header {
	background: #fff;
	border-bottom: 1px solid rgba(6, 26, 51, 0.06);
}

.lulu-header-update {
	width: 100%;
	background: #f4fff7;
	color: var(--lulu-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 16px;
	font-size: 0.95rem;
	font-weight: 700;
	border-bottom: 1px solid rgba(40, 180, 61, 0.16);
}

.lulu-header-update svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #4eea70;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.lulu-header-inner {
	width: min(100%, 1180px);
	margin: 0 auto;
	padding: 22px 20px 18px;
	display: grid;
	justify-items: center;
	gap: 14px;
}

.lulu-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lulu-logo-img,
.custom-logo {
	width: min(280px, 68vw);
	max-height: 92px;
	object-fit: contain;
}

.lulu-nav {
	width: 100%;
}

.lulu-menu {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	font-weight: 600;
	color: var(--lulu-primary);
}

.lulu-main {
	width: min(100%, 1180px);
	margin: 0 auto;
}

.lulu-update-bar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 20px;
	background: var(--lulu-primary);
	color: #fff;
	padding: 22px clamp(18px, 4vw, 44px);
}

.lulu-update-title {
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-weight: 800;
	text-align: right;
}

.lulu-update-time {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-start;
	font-size: clamp(0.95rem, 2.2vw, 1.2rem);
	color: rgba(255, 255, 255, 0.92);
}

.lulu-update-time svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: #4eea70;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.lulu-slider {
	padding: 22px clamp(14px, 3vw, 28px) 0;
}

.lulu-slider-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
}

.lulu-slider-head h2 {
	margin: 0;
	color: var(--lulu-primary);
	font-size: clamp(1.25rem, 2.6vw, 1.7rem);
	font-weight: 800;
}

.lulu-slider-actions {
	display: inline-flex;
	gap: 8px;
}

.lulu-slider-button {
	width: 38px;
	height: 38px;
	border: 1px solid var(--lulu-border);
	border-radius: 8px;
	background: #fff;
	color: var(--lulu-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.lulu-slider-button svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lulu-slider-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(210px, 24%);
	gap: 14px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: inline mandatory;
	scrollbar-width: thin;
	padding: 2px 0 12px;
}

.lulu-slide {
	background: #fff;
	border: 1px solid rgba(6, 26, 51, 0.08);
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(6, 26, 51, 0.07);
	display: grid;
	gap: 9px;
	padding: 10px;
	scroll-snap-align: start;
	min-width: 0;
}

.lulu-slide img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	background: #eef3f7;
}

.lulu-slide .lulu-status {
	font-size: 0.78rem;
	padding: 5px 10px;
}

.lulu-slide strong {
	color: var(--lulu-primary);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lulu-slide em {
	color: var(--lulu-primary);
	font-style: normal;
	font-weight: 800;
	font-size: 1.25rem;
	line-height: 1;
}

.lulu-products {
	padding: 24px clamp(14px, 3vw, 28px) 10px;
	display: grid;
	gap: 16px;
}

.lulu-product-card {
	background: var(--lulu-card);
	border: 1px solid rgba(6, 26, 51, 0.08);
	border-radius: 8px;
	box-shadow: var(--lulu-shadow);
	display: grid;
	direction: ltr;
	grid-template-columns: clamp(190px, 34%, 320px) minmax(0, 1fr);
	gap: clamp(18px, 3vw, 34px);
	padding: clamp(14px, 2.4vw, 28px);
	align-items: center;
	min-height: 210px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lulu-product-card:hover {
	box-shadow: 0 14px 34px rgba(6, 26, 51, 0.12);
	transform: translateY(-1px);
}

.lulu-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.lulu-card-link:focus-visible {
	outline: 3px solid var(--lulu-accent);
	outline-offset: -3px;
}

.lulu-product-image {
	grid-column: 1;
	border-radius: 8px;
	overflow: hidden;
	background: #eef3f7;
	aspect-ratio: 1 / 1;
	min-height: 0;
}

.lulu-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1 / 1;
}

.lulu-product-body {
	grid-column: 2;
	direction: rtl;
	display: grid;
	align-content: center;
	gap: clamp(12px, 2vw, 18px);
	min-width: 0;
}

.lulu-card-heading {
	display: grid;
	direction: ltr;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(12px, 2vw, 22px);
	align-items: center;
	padding-bottom: clamp(12px, 2vw, 18px);
	border-bottom: 1px solid var(--lulu-border);
}

.lulu-card-heading h2 {
	grid-column: 2;
	margin: 0;
	color: var(--lulu-primary);
	font-size: clamp(1.65rem, 3vw, 2.4rem);
	font-weight: 800;
	line-height: 1.25;
	text-align: right;
	direction: rtl;
	min-width: 0;
}

.lulu-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	border-radius: 999px;
	padding: 7px 16px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	color: #fff;
	background: var(--lulu-success);
	justify-self: start;
}

.lulu-status.is-limited {
	background: var(--lulu-warning);
	color: #101820;
}

.lulu-status.is-unavailable {
	background: var(--lulu-danger);
}

.lulu-format-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--lulu-primary);
}

.lulu-format-list li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: clamp(0.95rem, 1.7vw, 1.12rem);
	font-weight: 500;
	white-space: nowrap;
	padding-left: 12px;
	border-left: 1px solid var(--lulu-border);
}

.lulu-format-list li:last-child {
	border-left: 0;
	padding-left: 0;
}

.lulu-format-icon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.lulu-format-icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lulu-card-footer {
	display: grid;
	direction: ltr;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 16px;
}

.lulu-unit {
	color: var(--lulu-primary);
	font-size: clamp(0.98rem, 2vw, 1.18rem);
	font-weight: 500;
	padding-bottom: 8px;
	text-align: right;
	direction: rtl;
}

.lulu-price {
	color: var(--lulu-primary);
	font-size: clamp(2.35rem, 5vw, 3.8rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	direction: rtl;
}

.lulu-price.is-call-price,
.lulu-detail-call-price {
	position: relative;
	z-index: 3;
	color: var(--lulu-primary);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.lulu-price.is-call-price {
	font-size: clamp(1.55rem, 4vw, 2.65rem);
}

.lulu-card-note {
	margin: -4px 0 0;
	color: var(--lulu-muted);
	font-size: 0.95rem;
}

.lulu-empty-state {
	background: #fff;
	border: 1px solid var(--lulu-border);
	border-radius: 8px;
	padding: 28px;
	text-align: center;
	color: var(--lulu-muted);
}

.lulu-notes {
	padding: 8px clamp(18px, 3vw, 28px) 28px;
	color: var(--lulu-muted);
	font-size: 0.98rem;
}

.lulu-notes p {
	margin: 8px 0;
}

.lulu-site-footer {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 50;
	width: 100%;
	margin: 0;
	padding: 0 clamp(14px, 3vw, 28px) calc(12px + env(safe-area-inset-bottom));
	pointer-events: none;
}

.lulu-call-band {
	background: var(--lulu-primary);
	color: #fff;
	border-radius: 8px;
	min-height: 136px;
	display: grid;
	grid-template-columns: 132px 1px 1fr;
	align-items: center;
	gap: clamp(20px, 4vw, 36px);
	padding: 22px clamp(22px, 5vw, 48px);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	width: min(100%, 1180px);
	margin: 0 auto;
	pointer-events: auto;
}

.lulu-call-band:focus-visible {
	outline: 3px solid var(--lulu-accent);
	outline-offset: 3px;
}

.lulu-call-icon {
	width: 90px;
	height: 90px;
	border: 3px solid #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
}

.lulu-call-icon svg {
	width: 48px;
	height: 48px;
	fill: currentColor;
}

.lulu-call-separator {
	width: 1px;
	height: 82px;
	background: rgba(255, 255, 255, 0.72);
}

.lulu-call-copy {
	display: grid;
	text-align: center;
	gap: 2px;
}

.lulu-call-copy strong {
	font-size: clamp(1.55rem, 3vw, 2.15rem);
	font-weight: 800;
	line-height: 1.3;
}

.lulu-call-copy span {
	font-size: clamp(1rem, 2.2vw, 1.25rem);
	color: rgba(255, 255, 255, 0.9);
}

.lulu-call-phone,
.lulu-call-copy a {
	font-size: clamp(1.65rem, 3.5vw, 2.35rem);
	font-weight: 800;
	letter-spacing: 0.08em;
	direction: ltr;
	unicode-bidi: embed;
}

.lulu-content-page {
	padding: 36px 20px;
}

.lulu-page-article,
.lulu-comments {
	background: #fff;
	border: 1px solid var(--lulu-border);
	border-radius: 8px;
	padding: clamp(22px, 4vw, 42px);
	box-shadow: var(--lulu-shadow);
}

.lulu-page-article h1 {
	margin: 0 0 18px;
	color: var(--lulu-primary);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.lulu-entry-content {
	color: #26364d;
}

.lulu-single-product {
	padding: 26px clamp(14px, 3vw, 28px);
}

.lulu-product-detail {
	background: #fff;
	border: 1px solid var(--lulu-border);
	border-radius: 8px;
	box-shadow: var(--lulu-shadow);
	padding: clamp(18px, 3vw, 30px);
	display: grid;
	direction: ltr;
	grid-template-columns: minmax(260px, 40%) minmax(0, 1fr);
	gap: clamp(22px, 4vw, 42px);
	align-items: start;
}

.lulu-detail-media {
	grid-column: 1;
	border-radius: 8px;
	overflow: hidden;
	background: #eef3f7;
}

.lulu-detail-media img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.lulu-detail-content {
	grid-column: 2;
	direction: rtl;
	display: grid;
	gap: 16px;
}

.lulu-back-link {
	color: var(--lulu-accent);
	font-weight: 700;
	width: max-content;
}

.lulu-detail-content h1 {
	margin: 0;
	color: var(--lulu-primary);
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.25;
}

.lulu-product-en {
	margin: -8px 0 0;
	color: var(--lulu-muted);
	direction: ltr;
	text-align: right;
}

.lulu-detail-price {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	align-items: end;
	border-top: 1px solid var(--lulu-border);
	border-bottom: 1px solid var(--lulu-border);
	padding: 18px 0;
}

.lulu-detail-price strong {
	color: var(--lulu-primary);
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1;
}

.lulu-detail-call-price {
	font-size: clamp(2rem, 4.5vw, 3.3rem);
	line-height: 1;
}

.lulu-detail-price span {
	color: var(--lulu-primary);
	font-weight: 600;
	padding-bottom: 8px;
}

.lulu-product-note {
	background: #f8fafc;
	border: 1px solid var(--lulu-border);
	border-radius: 8px;
	padding: 16px 18px;
}

.lulu-product-note h2 {
	margin: 0 0 6px;
	font-size: 1.1rem;
	color: var(--lulu-primary);
}

.lulu-product-note p {
	margin: 0;
	color: #34435c;
}

.lulu-detail-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	color: var(--lulu-muted);
	font-weight: 600;
}

.lulu-detail-stats span {
	background: #f8fafc;
	border: 1px solid var(--lulu-border);
	border-radius: 8px;
	padding: 8px 12px;
}

.lulu-primary-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	background: var(--lulu-primary);
	color: #fff;
	border-radius: 8px;
	padding: 12px 22px;
	font-weight: 800;
}

.lulu-comments {
	margin-top: 22px;
}

.lulu-comments h2,
.lulu-comments h3 {
	color: var(--lulu-primary);
}

.lulu-comments textarea,
.lulu-comments input[type="text"],
.lulu-comments input[type="email"],
.lulu-comments input[type="url"] {
	width: 100%;
	border: 1px solid var(--lulu-border);
	border-radius: 8px;
	padding: 10px 12px;
	font: inherit;
}

.lulu-comments input[type="submit"] {
	border: 0;
	background: var(--lulu-primary);
	color: #fff;
	border-radius: 8px;
	padding: 11px 20px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.lulu-admin-wrap {
	direction: rtl;
}

.lulu-admin-panel,
.lulu-admin-help {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 20px;
	margin-top: 16px;
	max-width: 1100px;
}

.lulu-admin-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 16px;
}

.lulu-admin-field {
	display: grid;
	gap: 6px;
	font-weight: 700;
	color: #1d2327;
}

.lulu-admin-field small,
.lulu-admin-field .description {
	font-weight: 400;
	color: #646970;
}

.lulu-admin-field input:not([type="checkbox"]),
.lulu-admin-field textarea,
.lulu-price-table input {
	width: 100%;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	padding: 8px 10px;
	font: inherit;
}

.lulu-admin-field-textarea,
.lulu-admin-field-textarea,
.lulu-admin-field-checkbox {
	grid-column: 1 / -1;
}

.lulu-admin-logo-field {
	display: grid;
	grid-template-columns: 120px 180px auto auto;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
}

.lulu-admin-logo-field img {
	width: 180px;
	max-height: 90px;
	object-fit: contain;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
	padding: 8px;
}

.lulu-price-table th,
.lulu-price-table td {
	vertical-align: middle;
}

.lulu-price-table input[type="checkbox"] {
	width: 18px;
	height: 18px;
}

@media (min-width: 960px) {
	.lulu-product-card {
		min-height: 250px;
	}
}

@media (max-width: 760px) {
	body {
		padding-bottom: calc(122px + env(safe-area-inset-bottom));
	}

	.lulu-header-inner {
		padding-top: 18px;
	}

	.lulu-update-bar {
		grid-template-columns: 1fr;
		gap: 10px;
		text-align: center;
	}

	.lulu-update-title,
	.lulu-update-time {
		justify-content: center;
		text-align: center;
	}

	.lulu-slider {
		display: none;
	}

	.lulu-products {
		gap: 10px;
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.lulu-product-card {
		grid-template-columns: clamp(104px, 34vw, 148px) minmax(0, 1fr);
		gap: 10px;
		padding: 10px;
		min-height: 0;
		align-items: start;
	}

	.lulu-product-image {
		min-height: 0;
		align-self: start;
	}

	.lulu-card-heading {
		direction: rtl;
		grid-template-columns: 1fr;
		gap: 6px;
		justify-items: end;
		padding-bottom: 8px;
	}

	.lulu-status {
		justify-self: end;
		padding: 4px 9px;
		font-size: 0.68rem;
	}

	.lulu-product-body {
		gap: 8px;
		align-content: start;
	}

	.lulu-card-heading h2 {
		grid-column: auto;
		width: 100%;
		font-size: 1.08rem;
		line-height: 1.25;
	}

	.lulu-format-list {
		gap: 5px 7px;
	}

	.lulu-format-list li {
		font-size: 0.74rem;
		gap: 4px;
		padding-left: 6px;
		line-height: 1.4;
	}

	.lulu-format-icon,
	.lulu-format-icon svg {
		width: 18px;
		height: 18px;
	}

	.lulu-card-footer {
		grid-template-columns: 1fr auto;
		gap: 6px;
		align-items: end;
	}

	.lulu-unit {
		font-size: 0.76rem;
		padding-bottom: 2px;
	}

	.lulu-price {
		font-size: clamp(1.75rem, 8vw, 2.35rem);
		white-space: nowrap;
	}

	.lulu-card-note {
		display: none;
	}

	.lulu-call-band {
		border-radius: 16px 16px 0 0;
		box-shadow: 0 -10px 28px rgba(6, 26, 51, 0.18);
		grid-template-columns: 72px 1px 1fr;
		min-height: 102px;
		gap: 14px;
		padding: 16px 18px;
	}

	.lulu-call-icon {
		width: 62px;
		height: 62px;
		border-width: 2px;
	}

	.lulu-call-icon svg {
		width: 34px;
		height: 34px;
	}

	.lulu-call-separator {
		height: 62px;
	}

	.lulu-site-footer {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 50;
		width: 100%;
		margin: 0;
		padding: 0 10px env(safe-area-inset-bottom);
		pointer-events: none;
	}

	.lulu-site-footer .lulu-call-band {
		width: min(100%, 720px);
		margin: 0 auto;
		pointer-events: auto;
	}

	.lulu-product-detail {
		grid-template-columns: minmax(104px, 36%) minmax(0, 1fr);
		direction: ltr;
		gap: 12px;
		padding: 12px;
	}

	.lulu-detail-media {
		grid-column: 1;
	}

	.lulu-detail-content {
		grid-column: 2;
		gap: 10px;
	}

	.lulu-detail-content h1 {
		font-size: 1.25rem;
		line-height: 1.3;
	}

	.lulu-detail-price {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 10px 0;
	}

	.lulu-detail-price strong,
	.lulu-detail-call-price {
		font-size: clamp(1.65rem, 7vw, 2.25rem);
	}

	.lulu-admin-grid,
	.lulu-admin-logo-field {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 460px) {
	.lulu-products {
		padding-left: 8px;
		padding-right: 8px;
	}

	.lulu-product-card {
		grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
	}

	.lulu-product-detail {
		grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
	}

	.lulu-product-image {
		min-height: 0;
	}
}
