/* ZHIYAR — homepage / about / contact / quote pages */

.zhiyar-home,
.zhiyar-page {
	direction: rtl;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Front page only: the banner slider sits above this, and the hero
   logo block was removed — Astra's own auto page title ("خانه") is hidden
   too, so the story rail is the very first thing under the banner. */
.home .entry-header {
	display: none;
}

.zhiyar-home {
	padding-top: 20px;
}

/* Minimal, consistent inter-section gap — used sitewide (homepage sections,
   contact/quote page blocks below) so no page eats up screen space with
   oversized gaps between blocks. */
.zhiyar-section {
	margin: 20px 0;
}

/* Sits right after the story rail, which already carries its own 50px
   bottom margin — no extra top margin here or the gap would double up. */
.zhiyar-carousels {
	margin-top: 0;
}

.zhiyar-section__title {
	font-size: 1.5em;
	color: var(--ast-global-color-2, #1a3d2e);
	margin: 0 0 20px;
	text-align: center;
}

/* Generic glass panel, matching the product/category glass frames. */
.zhiyar-glass-card {
	position: relative;
	border-radius: 20px;
	padding: 28px 30px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.14) 55%, rgba(201, 160, 84, 0.10) 100%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	backdrop-filter: blur(16px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow:
		0 18px 40px -14px rgba(13, 31, 23, 0.22),
		0 2px 8px rgba(13, 31, 23, 0.08),
		inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.zhiyar-glass-card h2,
.zhiyar-glass-card h3 {
	color: var(--ast-global-color-2, #1a3d2e);
}

.zhiyar-glass-card h3 {
	margin: 22px 0 8px;
	font-size: 1.15em;
}

.zhiyar-glass-card p {
	line-height: 2;
}

/* Buttons */
.zhiyar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 26px;
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zhiyar-btn--primary {
	background: linear-gradient(135deg, var(--ast-global-color-0, #c9a054), var(--ast-global-color-1, #a9813f));
	color: var(--ast-global-color-3, #12241c) !important;
	box-shadow: 0 10px 24px -10px rgba(201, 160, 84, 0.6);
}

.zhiyar-btn--ghost {
	background: rgba(255, 255, 255, 0.4);
	color: var(--ast-global-color-2, #1a3d2e) !important;
	border: 1px solid rgba(201, 160, 84, 0.4);
	backdrop-filter: blur(10px);
}

.zhiyar-btn:hover {
	transform: translateY(-2px);
}


/* Icon buttons — phone / whatsapp / instagram */
.zhiyar-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid rgba(201, 160, 84, 0.4);
	color: var(--ast-global-color-2, #1a3d2e);
	backdrop-filter: blur(10px);
	transition: transform 0.25s ease, background 0.25s ease;
}

.zhiyar-icon-btn svg {
	width: 20px;
	height: 20px;
}

.zhiyar-icon-btn:hover {
	transform: translateY(-2px);
	background: rgba(201, 160, 84, 0.18);
}

.zhiyar-icon-inline {
	display: inline-flex;
	width: 18px;
	height: 18px;
	vertical-align: -3px;
	color: var(--ast-global-color-1, #a9813f);
	margin-inline-end: 4px;
}

.zhiyar-icon-inline svg {
	width: 100%;
	height: 100%;
}

/* Contact page */
.zhiyar-contact-cards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.zhiyar-contact-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.35);
	border: 1px solid rgba(201, 160, 84, 0.25);
}

.zhiyar-contact-card__info {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.zhiyar-contact-card__info strong {
	color: var(--ast-global-color-2, #1a3d2e);
}

.zhiyar-contact-card__actions {
	display: flex;
	gap: 8px;
}

.zhiyar-contact-social {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
}

.zhiyar-contact-address__text {
	display: flex;
	align-items: center;
	margin: 10px 0 16px;
}

.zhiyar-map-wrap {
	margin-top: 18px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(201, 160, 84, 0.3);
}

.zhiyar-map-wrap iframe {
	width: 100%;
	height: 320px;
	border: 0;
	display: block;
}

.zhiyar-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin: 20px 0;
}

@media (max-width: 991px) {
	.zhiyar-contact {
		grid-template-columns: 1fr;
	}
}

/* Quote form */
.zhiyar-quote {
	margin: 20px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.zhiyar-quote-form .form-row {
	margin: 0 0 16px;
}

.zhiyar-quote-form label {
	display: block;
	margin: 0 0 6px;
	font-weight: 600;
}

.zhiyar-quote-form input[type="text"],
.zhiyar-quote-form input[type="tel"],
.zhiyar-quote-form input[type="file"],
.zhiyar-quote-form select,
.zhiyar-quote-form textarea {
	width: 100%;
	max-width: 420px;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid rgba(201, 160, 84, 0.4);
	background: rgba(255, 255, 255, 0.5);
	font-family: inherit;
	color: var(--ast-global-color-3, #12241c);
}

.zhiyar-quote-form select {
	cursor: pointer;
}

/* Subject "other" + material reveal rows fade in instead of just popping in. */
.zhiyar-quote-subject-other,
.zhiyar-quote-reveal {
	animation: zhiyar-quote-reveal-in 0.25s ease;
}

@keyframes zhiyar-quote-reveal-in {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

.zhiyar-quote-location__modes {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 6px 0 12px;
}

.zhiyar-quote-location__mode {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	cursor: pointer;
}

.zhiyar-quote-location__mode input {
	accent-color: var(--ast-global-color-1, #a9813f);
}

.zhiyar-quote-location__gps {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.zhiyar-quote-location__btn {
	padding: 9px 18px;
	font-size: 0.92em;
}

.zhiyar-quote-location__status {
	font-size: 0.88em;
	color: var(--ast-global-color-2, #1a3d2e);
}

.zhiyar-quote-location__manual input {
	max-width: 420px;
}

.zhiyar-form-notice {
	padding: 12px 16px;
	border-radius: 10px;
	margin: 0 0 18px;
	display: flex;
	align-items: center;
}

.zhiyar-form-notice--success {
	background: rgba(26, 61, 46, 0.1);
	color: var(--ast-global-color-2, #1a3d2e);
	border: 1px solid rgba(26, 61, 46, 0.25);
}

.zhiyar-form-notice--error {
	background: rgba(180, 60, 60, 0.1);
	color: #8a2f2f;
	border: 1px solid rgba(180, 60, 60, 0.25);
}

.zhiyar-quote-special__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.zhiyar-quote-special__phone {
	font-weight: 700;
	color: var(--ast-global-color-2, #1a3d2e);
	direction: ltr;
}
