/*
 * Mobile UX layer — bookstore.
 * Everything here is scoped to max-width 1024px (WoodMart's mobile header
 * breakpoint) or narrower, so the desktop design is unaffected.
 */

:root {
	--warf-accent: #a8743f;
	--warf-accent-soft: #f6efe7;
	--warf-ink: #222;
	--warf-muted: #8a8580;
	--warf-line: #eee8e1;
	--warf-card: #fff;
	--warf-radius: 12px;
	--warf-bnav-h: 62px;
	--warf-safe: env(safe-area-inset-bottom, 0px);
}

/* New components never render on desktop. */
.warf-bnav,
.warf-sheet,
.warf-search {
	display: none;
}

.warf-menu-count,
.warf-menu-thumb {
	display: none;
}

/* ======================================================================
 * Product card purchase area — all screen sizes.
 * "إضافة إلى السلة" + "اشتري الآن" as two equal full-width buttons pinned to
 * the bottom of every card, so rows stay aligned whatever the title length.
 * ==================================================================== */

/* WoodMart's old icon button inside the image area is replaced. */
.wd-product .wd-add-btn {
	display: none !important;
}

/* Equal-height cards in grids and carousels. */
.wd-carousel .wd-carousel-wrap {
	align-items: stretch;
}

.wd-carousel .wd-carousel-item {
	height: auto;
}

.wd-carousel-item > .wd-product,
.wd-grid-g > .wd-product,
.products > .wd-product {
	height: 100%;
}

/* Column layout for grid cards; WoodMart's horizontal list cards are left alone. */
.wd-product:not(.wd-hover-list) .product-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.wd-product .product-element-top {
	position: relative;
}

.warf-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	margin-top: auto; /* pins the buttons to the card bottom */
	padding-top: 12px;
}

.warf-actions > .button,
.warf-actions > .warf-buy-now {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	box-shadow: none;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}

.warf-actions > .button > span,
.warf-actions > .warf-buy-now > span {
	overflow: hidden;
	text-overflow: ellipsis;
	transform: none !important;
}

.warf-actions > .button:active,
.warf-actions > .warf-buy-now:active {
	transform: scale(.98);
}

.warf-actions > .button:focus-visible,
.warf-actions > .warf-buy-now:focus-visible {
	outline: 2px solid #a8743f;
	outline-offset: 2px;
}

/* Icons (inline SVG masks, inherit the text colour). */
.warf-actions > .button::before,
.warf-actions > .warf-buy-now::before {
	content: "";
	position: static;
	display: block;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	opacity: 1;
	transform: none;
	background: currentColor;
	-webkit-mask: var(--warf-btn-icon) center / contain no-repeat;
	mask: var(--warf-btn-icon) center / contain no-repeat;
}

.warf-actions > .button {
	--warf-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 11.2a1 1 0 0 0 1 .8h9.4a1 1 0 0 0 1-.8L20 8H6.2'/%3E%3Ccircle cx='9' cy='20' r='1.3'/%3E%3Ccircle cx='17' cy='20' r='1.3'/%3E%3C/svg%3E");
}

.warf-actions > .warf-buy-now {
	--warf-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E");
}

/* "إضافة إلى السلة": the store's brown/gold. */
.warf-actions > .button {
	background: #a8743f;
	color: #fff;
}

.warf-actions > .button:hover,
.warf-actions > .button:focus {
	background: #8f6134;
	color: #fff;
	box-shadow: 0 4px 12px rgba(168, 116, 63, .28);
}

/* "اشتري الآن": deep espresso, same size — distinct but in the same family. */
.warf-actions > .warf-buy-now {
	background: #2b2119;
	color: #f3e3cf;
}

.warf-actions > .warf-buy-now:hover,
.warf-actions > .warf-buy-now:focus {
	background: #17110c;
	color: #fff;
	box-shadow: 0 4px 12px rgba(43, 33, 25, .28);
}

/* Loading state while WooCommerce adds via AJAX. */
.warf-actions > .button.loading {
	pointer-events: none;
}

.warf-actions > .button.loading::before,
.warf-actions > .button.loading > span {
	visibility: hidden;
}

.warf-actions > .button.loading::after {
	content: "";
	position: absolute;
	top: calc(50% - 9px);
	left: calc(50% - 9px);
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	opacity: 1;
	animation: warf-spin .6s linear infinite;
}

.warf-actions > .button.added::after {
	display: none;
}

/* WooCommerce's "عرض السلة" link that appears after adding. */
.warf-actions > .added_to_cart {
	display: block;
	margin: -2px 0 0;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #a8743f;
	text-decoration: underline;
}

@keyframes warf-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Tablets & phones: slightly more compact. */
@media (max-width: 1024px) {
	.warf-actions > .button,
	.warf-actions > .warf-buy-now {
		height: 42px;
		font-size: 13.5px;
	}
}

@media (max-width: 767px) {
	.warf-actions {
		gap: 6px;
		padding-top: 10px;
	}

	.warf-actions > .button,
	.warf-actions > .warf-buy-now {
		height: 40px;
		gap: 6px;
		padding: 0 8px;
		border-radius: 9px;
		font-size: 13px;
	}

	.warf-actions > .button::before,
	.warf-actions > .warf-buy-now::before {
		flex-basis: 16px;
		width: 16px;
		height: 16px;
	}
}

@media (max-width: 359px) {
	.warf-actions > .button,
	.warf-actions > .warf-buy-now {
		height: 38px;
		gap: 4px;
		padding: 0 4px;
		font-size: 12px;
	}

	.warf-actions > .button::before,
	.warf-actions > .warf-buy-now::before {
		flex-basis: 14px;
		width: 14px;
		height: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.warf-actions > .button.loading::after {
		animation-duration: 1.5s;
	}
}

@media (max-width: 1024px) {

	/* ------------------------------------------------------------------
	 * Global guards
	 * ------------------------------------------------------------------ */
	html,
	body {
		overflow-x: clip; /* no horizontal scroll, without creating a scroll container */
	}

	body.warf-has-bnav {
		padding-bottom: calc(var(--warf-bnav-h) + var(--warf-safe));
	}

	body.warf-lock {
		overflow: hidden;
	}

	/* Floating buttons sit clear above the bottom navigation (search/cart).
	 * Joinchat redefines --bottom on .joinchat itself, hence the doubled class. */
	body .joinchat.joinchat {
		--s: 52px;
		--sep: 14px;
		--bottom: calc(var(--warf-bnav-h) + var(--warf-safe) + 24px) !important;
	}

	.chaty-widget,
	.chaty-i-trigger,
	[id^="chaty-widget"] {
		bottom: calc(var(--warf-bnav-h) + var(--warf-safe) + 24px) !important;
	}

	.scrollToTop,
	.wd-scroll-top {
		bottom: calc(var(--warf-bnav-h) + var(--warf-safe) + 24px) !important;
	}

	body.warf-lock .joinchat,
	body.warf-lock .chaty-widget,
	body.warf-lock .scrollToTop {
		display: none !important;
	}

	/* ------------------------------------------------------------------
	 * Header
	 * ------------------------------------------------------------------ */
	/* The header builder's bottom row is empty but still reserved 52px on
	 * mobile (--wd-header-sm-h = 60 + 52), leaving a blank band under the header. */
	html:root {
		--wd-header-bottom-sm-h: .00001px;
		--wd-header-general-sm-h: 68px;
	}

	.whb-header .whb-general-header {
		border-bottom: 1px solid var(--warf-line);
		box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
	}

	.whb-header .whb-general-header-inner {
		height: 68px !important;
		max-height: 68px;
	}

	.whb-header .whb-mobile-left,
	.whb-header .whb-mobile-right {
		flex: 1 1 0;
		min-width: 0;
	}

	.whb-header .whb-mobile-center {
		flex: 0 1 auto;
		min-width: 0;
		display: flex;
		justify-content: center;
	}

	.whb-header .whb-mobile-center .wd-logo img {
		max-height: 56px !important;
		width: auto !important;
		max-width: 132px !important;
		object-fit: contain;
	}

	.whb-header .whb-mobile-left .wd-tools-element > a,
	.whb-header .whb-mobile-right .wd-tools-element > a {
		width: 44px;
		height: 44px;
		justify-content: center;
		padding: 0;
	}

	.whb-header .whb-mobile-right .wd-tools-count {
		background: var(--warf-accent);
		color: #fff;
	}

	/* ------------------------------------------------------------------
	 * Mobile drawer (WoodMart side menu)
	 * ------------------------------------------------------------------ */
	.mobile-nav.wd-side-hidden {
		width: min(320px, 86vw);
	}

	.mobile-nav .wd-nav-mob-tab {
		margin: 0;
		border-bottom: 1px solid var(--warf-line);
	}

	.mobile-nav .wd-nav-mob-tab > li > a {
		font-size: 15px;
		font-weight: 700;
		padding: 16px 10px;
	}

	.mobile-nav .wd-nav-mobile > li > a {
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 52px;
		padding-block: 10px;
		padding-inline: 20px 56px;
		font-size: 15px;
		font-weight: 600;
		text-transform: none;
		text-align: start;
		border-bottom: 1px solid var(--warf-line);
	}

	.mobile-nav .wd-nav-mobile > li.current-menu-item > a {
		color: var(--warf-accent);
	}

	.mobile-nav .wd-nav-mobile .wd-sub-menu {
		background: #faf8f5;
	}

	.mobile-nav .wd-nav-mobile .wd-sub-menu li a {
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 46px;
		padding-inline: 32px 20px;
		font-size: 14px;
		text-align: start;
	}

	.mobile-nav .warf-menu-count {
		display: inline-block;
		margin-inline-start: auto;
		padding: 2px 9px;
		border-radius: 20px;
		background: var(--warf-accent-soft);
		color: var(--warf-accent);
		font-size: 12px;
		font-weight: 600;
		white-space: nowrap;
	}

	.mobile-nav .mobile-categories-menu > li > a {
		padding-inline-end: 20px;
	}

	.mobile-nav .warf-menu-thumb {
		display: block;
		flex: 0 0 38px;
		width: 38px;
		height: 38px;
		border-radius: 10px;
		object-fit: cover;
	}

	/* Book sub-categories: line icon in a soft circle. */
	.mobile-nav .warf-menu-icon {
		display: inline-flex;
		flex: 0 0 34px;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		border-radius: 50%;
		background: #eeebe6;
		color: #233f66;
	}

	.mobile-nav .warf-menu-icon .warf-icon {
		width: 18px;
		height: 18px;
	}

	/* ------------------------------------------------------------------
	 * Bottom navigation
	 * ------------------------------------------------------------------ */
	.warf-bnav {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 390; /* below WoodMart side panels (400+) */
		display: flex;
		align-items: stretch;
		height: calc(var(--warf-bnav-h) + var(--warf-safe));
		padding-bottom: var(--warf-safe);
		background: #fff;
		border-top: 1px solid var(--warf-line);
		box-shadow: 0 -4px 18px rgba(0, 0, 0, .06);
		direction: rtl;
	}

	.warf-bnav__item {
		flex: 1 1 0;
		min-width: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		color: var(--warf-muted);
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
		position: relative;
		transition: color .2s;
	}

	.warf-bnav__item:hover,
	.warf-bnav__item:focus {
		color: var(--warf-ink);
	}

	.warf-bnav__item.is-active {
		color: var(--warf-accent);
	}

	.warf-bnav__item.is-active::before {
		content: "";
		position: absolute;
		top: 0;
		width: 28px;
		height: 3px;
		border-radius: 0 0 3px 3px;
		background: var(--warf-accent);
	}

	.warf-bnav__icon {
		position: relative;
		display: inline-flex;
		line-height: 0;
	}

	.warf-bnav .warf-icon {
		width: 24px;
		height: 24px;
	}

	.warf-bnav__item.is-active .warf-icon {
		stroke-width: 2.1;
	}

	.warf-bnav__label {
		font-size: 11.5px;
		font-weight: 600;
		line-height: 1.1;
		white-space: nowrap;
	}

	.warf-cart-badge {
		position: absolute;
		top: -6px;
		inset-inline-end: -9px;
		min-width: 18px;
		height: 18px;
		padding: 0 5px;
		border-radius: 9px;
		background: #d9443b;
		color: #fff;
		font-size: 11px;
		font-weight: 700;
		line-height: 18px;
		text-align: center;
		box-shadow: 0 0 0 2px #fff;
	}

	.warf-cart-badge.is-empty {
		display: none;
	}

	/* ------------------------------------------------------------------
	 * Shared overlay bits
	 * ------------------------------------------------------------------ */
	.warf-iconbtn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		min-height: 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: var(--warf-ink);
		box-shadow: none;
	}

	.warf-iconbtn:hover,
	.warf-iconbtn:focus {
		background: var(--warf-accent-soft);
		color: var(--warf-ink);
	}

	/* ------------------------------------------------------------------
	 * Categories bottom sheet
	 * ------------------------------------------------------------------ */
	.warf-sheet:not([hidden]) {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 100000;
	}

	.warf-sheet__backdrop {
		position: absolute;
		inset: 0;
		background: rgba(20, 16, 12, .45);
		animation: warf-fade .2s ease;
	}

	.warf-sheet__panel {
		position: absolute;
		inset-inline: 0;
		bottom: 0;
		max-height: 82vh;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px 16px calc(16px + var(--warf-safe));
		background: #fff;
		border-radius: 20px 20px 0 0;
		animation: warf-up .25s ease;
	}

	.warf-sheet__handle {
		width: 40px;
		height: 4px;
		margin: 0 auto 6px;
		border-radius: 2px;
		background: #ddd;
	}

	.warf-sheet__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 12px;
	}

	.warf-sheet__head h2 {
		margin: 0;
		font-size: 18px;
		font-weight: 700;
		color: var(--warf-ink);
	}

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

	.warf-catcard {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		padding: 8px 6px 10px;
		border: 1px solid var(--warf-line);
		border-radius: var(--warf-radius);
		background: var(--warf-card);
		text-align: center;
		text-decoration: none;
		color: var(--warf-ink);
	}

	.warf-catcard:active {
		transform: scale(.98);
	}

	.warf-catcard__img {
		display: block;
		width: 100%;
		aspect-ratio: 1;
		border-radius: 9px;
		overflow: hidden;
		background: var(--warf-accent-soft);
	}

	.warf-catcard__img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.warf-catcard__name {
		margin-top: 4px;
		font-size: 13px;
		font-weight: 700;
		line-height: 1.3;
	}

	.warf-catcard__count {
		font-size: 11.5px;
		color: var(--warf-muted);
	}

	/* Book sub-categories: line icon in a soft circle on a beige tile. */
	.warf-sheet__label {
		margin: 18px 0 10px;
		font-size: 14px;
		font-weight: 700;
		color: var(--warf-ink);
	}

	.warf-icongrid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
		padding: 12px;
		border-radius: var(--warf-radius);
		background: #eeebe6;
	}

	.warf-iconcard {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		padding: 10px 4px;
		border-radius: 10px;
		text-align: center;
		text-decoration: none;
		color: #2a2a2a;
		transition: background-color .2s ease;
	}

	.warf-iconcard:hover,
	.warf-iconcard:focus-visible {
		background: #dcd9d4;
		color: #2a2a2a;
	}

	.warf-iconcard__circle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 64px;
		height: 64px;
		border-radius: 50%;
		background: #f8f8f6;
		color: #233f66;
	}

	.warf-iconcard__circle .warf-icon {
		width: 26px;
		height: 26px;
	}

	.warf-iconcard__name {
		font-size: 13px;
		line-height: 1.3;
	}

	.warf-sheet__all {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 46px;
		margin-top: 14px;
		border-radius: 10px;
		background: var(--warf-ink);
		color: #fff;
		font-weight: 700;
		text-decoration: none;
	}

	.warf-sheet__all:hover,
	.warf-sheet__all:focus {
		color: #fff;
		opacity: .9;
	}

	/* ------------------------------------------------------------------
	 * Search overlay
	 * ------------------------------------------------------------------ */
	.warf-search:not([hidden]) {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0;
		z-index: 100000;
		background: #fff;
		animation: warf-fade .15s ease;
	}

	.warf-search__bar {
		display: flex;
		align-items: center;
		gap: 6px;
		padding: 8px 10px;
		border-bottom: 1px solid var(--warf-line);
	}

	[dir="rtl"] .warf-search__back .warf-icon {
		transform: scaleX(-1);
	}

	.warf-search__bar input[type="search"] {
		flex: 1 1 auto;
		min-width: 0;
		height: 44px;
		padding: 0 14px;
		border: 1px solid var(--warf-line);
		border-radius: 22px;
		background: #f7f5f2;
		font-size: 16px; /* prevents iOS zoom */
		text-align: start;
		-webkit-appearance: none;
		appearance: none;
	}

	.warf-search__bar input[type="search"]:focus {
		border-color: var(--warf-accent);
		background: #fff;
	}

	.warf-search__go {
		background: var(--warf-accent);
		color: #fff;
	}

	.warf-search__go:hover,
	.warf-search__go:focus {
		background: var(--warf-accent);
		color: #fff;
		opacity: .9;
	}

	.warf-search__body {
		flex: 1 1 auto;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 12px 16px calc(24px + var(--warf-safe));
	}

	.warf-search__label {
		margin: 4px 0 10px;
		font-size: 13px;
		font-weight: 700;
		color: var(--warf-muted);
	}

	.warf-chips {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.warf-chip {
		display: inline-flex;
		align-items: center;
		min-height: 36px;
		padding: 0 14px;
		border-radius: 18px;
		background: var(--warf-accent-soft);
		color: var(--warf-ink);
		font-size: 14px;
		font-weight: 600;
		text-decoration: none;
	}

	.warf-search__results:empty {
		display: none;
	}

	.warf-search__results {
		margin-bottom: 18px;
	}

	.warf-result {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 0;
		border-bottom: 1px solid var(--warf-line);
		color: var(--warf-ink);
		text-decoration: none;
	}

	.warf-result img,
	.warf-result__ph {
		flex: 0 0 48px;
		width: 48px;
		height: 64px;
		border-radius: 6px;
		object-fit: cover;
		background: var(--warf-accent-soft);
	}

	.warf-result__meta {
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
	}

	.warf-result__name {
		font-size: 14px;
		font-weight: 700;
		line-height: 1.35;
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.warf-result__cat {
		font-size: 12px;
		color: var(--warf-muted);
	}

	.warf-result__price {
		font-size: 13px;
		font-weight: 700;
		color: var(--warf-accent);
	}

	.warf-result__price del {
		margin-inline-start: 6px;
		color: var(--warf-muted);
		font-weight: 400;
	}

	.warf-search__msg {
		padding: 18px 0;
		color: var(--warf-muted);
		text-align: center;
	}

	.warf-search__all {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 44px;
		margin-top: 12px;
		border-radius: 10px;
		border: 1px solid var(--warf-ink);
		color: var(--warf-ink);
		font-weight: 700;
		text-decoration: none;
	}

	.warf-search.is-loading .warf-search__results {
		opacity: .5;
	}

	@keyframes warf-fade {
		from { opacity: 0; }
		to { opacity: 1; }
	}

	@keyframes warf-up {
		from { transform: translateY(100%); }
		to { transform: none; }
	}
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
	.warf-sheet__backdrop,
	.warf-sheet__panel,
	.warf-search:not([hidden]) {
		animation: none;
	}
}

/* ======================================================================
 * Phone layout (≤ 767px)
 * ==================================================================== */
@media (max-width: 767px) {

	/* ------------------------------------------------------------------
	 * Homepage spacing (Elementor page 3669): compact, app-like rhythm.
	 * ------------------------------------------------------------------ */
	body .elementor.elementor-3669 > .e-con.e-parent.elementor-element {
		--margin-top: 0px;
		--margin-bottom: 26px;
	}

	/* Hero banner: image only, flush under the header. */
	body .elementor.elementor-3669 > .elementor-element.elementor-element-36122b2 {
		--padding-top: 0px;
		--padding-bottom: 0px;
		--padding-left: 0px;
		--padding-right: 0px;
		--margin-top: 0px;
		--margin-bottom: 20px;
		--min-height: 0px;
	}

	body .elementor.elementor-3669 .elementor-element-f3d9f4a .title-wrapper {
		margin-bottom: 16px;
	}

	body .elementor.elementor-3669 .elementor-element-f3d9f4a .woodmart-title-container {
		font-size: 26px;
		line-height: 1.3;
	}

	body .elementor.elementor-3669 .elementor-element-f3d9f4a .title-after_title,
	body .elementor.elementor-3669 .elementor-element-f3d9f4a .title-subtitle {
		font-size: 14px;
		line-height: 1.7;
	}

	body .elementor.elementor-3669 .elementor-element-51eeb1f {
		--gap: 10px;
		gap: 10px;
		justify-content: center;
	}

	body .elementor.elementor-3669 .elementor-element-51eeb1f .btn {
		min-height: 42px;
		padding: 8px 20px;
		font-size: 14px;
	}

	body .elementor.elementor-3669 .wd-negative-gap > .e-con-inner {
		--gap: 12px;
		gap: 12px;
	}

	/* Page content starts right under the header. */
	.wd-content-layout {
		padding-block: 16px 24px;
	}

	.home .wd-content-layout {
		padding-top: 0;
	}

	/* Section titles */
	body .elementor.elementor-3669 .elementor-widget-wd_title:not(.elementor-element-f3d9f4a) .title-wrapper {
		margin-bottom: 4px;
	}

	body .elementor.elementor-3669 .elementor-widget-wd_title:not(.elementor-element-f3d9f4a) .woodmart-title-container {
		position: relative;
		display: inline-block;
		padding-inline-start: 12px;
		font-size: 20px;
		font-weight: 700;
		line-height: 1.3;
		color: var(--warf-ink);
	}

	body .elementor.elementor-3669 .elementor-widget-wd_title:not(.elementor-element-f3d9f4a) .woodmart-title-container::before {
		content: "";
		position: absolute;
		inset-inline-start: 0;
		top: 15%;
		bottom: 15%;
		width: 4px;
		border-radius: 2px;
		background: var(--warf-accent);
	}

	/* ------------------------------------------------------------------
	 * Category cards (WoodMart product categories widget)
	 * ------------------------------------------------------------------ */
	.wd-cats-element .wd-carousel-item {
		height: auto;
	}

	.wd-cats-element .wd-carousel-wrap {
		align-items: stretch;
	}

	.wd-cats-element .wd-cat,
	.wd-cats-element .wd-cat .wd-cat-inner {
		height: 100%;
	}

	.wd-cats-element .wd-cat .wd-cat-inner {
		display: flex;
		flex-direction: column;
		padding: 8px 8px 12px;
		border: 1px solid var(--warf-line);
		border-radius: var(--warf-radius);
		background: var(--warf-card);
		box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
		overflow: hidden;
	}

	.wd-cats-element .wd-cat.categories-with-shadow .wd-cat-thumb {
		box-shadow: none;
	}

	.wd-cats-element .wd-cat .wd-cat-thumb {
		max-width: none;
		width: 100%;
		margin: 0;
		border-radius: 9px;
		overflow: hidden;
		aspect-ratio: 1;
		background: var(--warf-accent-soft);
	}

	.wd-cats-element .wd-cat .wd-cat-thumb a,
	.wd-cats-element .wd-cat .wd-cat-thumb img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.wd-cats-element .wd-cat .wd-cat-content {
		position: static;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		padding: 10px 2px 0;
		margin: 0;
		background: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		text-align: center;
	}

	.wd-cats-element .wd-cat .wd-entities-title {
		margin: 0;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.3;
		text-transform: none;
		color: var(--warf-ink);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 100%;
	}

	.wd-cats-element .wd-cat .wd-cat-count {
		display: inline-block;
		margin: 0;
		padding: 2px 10px;
		border-radius: 20px;
		background: var(--warf-accent-soft);
		opacity: 1;
		visibility: visible;
		transform: none;
		position: static;
		font-size: 12px;
		line-height: 1.6;
	}

	.wd-cats-element .wd-cat .wd-cat-count a {
		color: var(--warf-accent);
		font-weight: 600;
		text-transform: none;
	}

	.wd-cats-element .wd-nav-pagin-wrap,
	.wd-cats-element .wd-nav-arrows {
		display: none !important;
	}

	/* ------------------------------------------------------------------
	 * Product cards on phones (grids and carousels).
	 * The purchase buttons are styled for all widths further below.
	 * ------------------------------------------------------------------ */
	.wd-product .product-wrapper {
		padding: 6px 6px 10px;
		border: 1px solid var(--warf-line);
		border-radius: var(--warf-radius);
		background: var(--warf-card);
		text-align: start;
	}

	.wd-product .product-element-top {
		border-radius: 8px;
		overflow: hidden;
		background: #f7f5f2;
	}

	.wd-product .product-image-link img {
		display: block;
		width: 100%;
		aspect-ratio: 4 / 5;
		height: auto;
		object-fit: cover;
	}

	.wd-product .hover-img {
		display: none !important;
	}

	.wd-product .product-labels {
		inset-inline-start: 6px;
		top: 6px;
	}

	.wd-product .product-labels .product-label {
		min-width: 0;
		min-height: 0;
		padding: 3px 7px;
		border-radius: 6px;
		font-size: 11px;
		line-height: 1.3;
	}

	.wd-product .product-labels .onsale {
		background: #d9443b;
	}

	/* Only the wishlist heart on phones; compare & quick view are desktop tools. */
	.wd-product .wd-buttons {
		position: absolute;
		top: 6px;
		inset-inline-end: 6px;
		inset-inline-start: auto;
		z-index: 3;
		display: flex;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		background: none;
		box-shadow: none;
		border-radius: 0;
	}

	.wd-product .wd-buttons .wd-compare-btn,
	.wd-product .wd-buttons .quick-view {
		display: none !important;
	}

	.wd-product .wd-buttons .wd-wishlist-btn > a {
		width: 34px;
		height: 34px;
		border-radius: 50%;
		background: rgba(255, 255, 255, .95);
		box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
	}

	.wd-product .wd-entities-title {
		margin: 10px 2px 2px;
		font-size: 14px;
		font-weight: 700;
		line-height: 1.4;
		min-height: calc(1.4em * 2);
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		text-align: start;
	}

	.wd-product .wd-entities-title a {
		color: var(--warf-ink);
	}

	.wd-product .wd-product-cats,
	.wd-product .wd-product-brands-links {
		margin: 0 2px 4px;
		font-size: 12px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		text-align: start;
	}

	.wd-product .wd-product-cats a {
		color: var(--warf-muted);
	}

	.wd-product .price {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 2px 8px;
		margin-inline: 2px;
		font-size: 15px;
		font-weight: 700;
		color: var(--warf-accent);
		text-align: start;
	}

	.wd-product .price del {
		order: 2;
		font-size: 12px;
		font-weight: 400;
		color: var(--warf-muted);
	}

	.wd-product .price ins {
		text-decoration: none;
	}

	.wd-product .wd-product-countdown,
	.wd-product .wd-swatches-grid,
	.wd-product .wd-more-desc,
	.wd-product .fade-in-block {
		display: none !important;
	}

	/* Two per row with a comfortable gap. */
	.wd-products.elements-grid,
	.products.elements-grid {
		--wd-gap-sm: 10px;
	}

	/* ------------------------------------------------------------------
	 * Shop / category archive
	 * ------------------------------------------------------------------ */
	.page-title.page-title-default {
		padding-block: 20px;
	}

	.page-title .entry-title {
		font-size: 24px;
	}

	.shop-loop-head {
		margin-bottom: 12px;
	}

	/* ------------------------------------------------------------------
	 * Single product
	 * ------------------------------------------------------------------ */
	.single-product .product_title {
		font-size: 22px;
		line-height: 1.4;
	}

	.single-product .summary .price {
		font-size: 22px;
	}

	.single-product form.cart .single_add_to_cart_button {
		min-height: 48px;
		border-radius: 10px;
		flex: 1 1 auto;
	}

	/* ------------------------------------------------------------------
	 * Cart & checkout touch targets
	 * ------------------------------------------------------------------ */
	.woocommerce-cart .checkout-button,
	.woocommerce-checkout #place_order {
		min-height: 50px;
		border-radius: 10px;
		font-size: 16px;
	}

	.woocommerce input.input-text,
	.woocommerce select,
	.woocommerce textarea {
		font-size: 16px; /* prevents iOS zoom on focus */
	}
}

@media (max-width: 359px) {
	.warf-bnav__label {
		font-size: 10.5px;
	}

	.warf-catgrid {
		gap: 8px;
	}

	.wd-cats-element .wd-cat .wd-entities-title {
		font-size: 14px;
	}
}

/* ======================================================================
 * Categories section — desktop / laptop / tablet (≥ 768px).
 * Phones keep their own slider design above.
 * ==================================================================== */
@media (min-width: 768px) {

	/* Homepage section spacing: tighter to the hero and to "وصل حديثاً". */
	body .elementor.elementor-3669 > .elementor-element.elementor-element-f75cbfc {
		--margin-top: 32px;
		--margin-bottom: 40px;
	}

	/* Show every category at once (WoodMart reads these to size the carousel;
	 * with all items visible it stays still). More than 5 categories slide. */
	.wd-cats-element .wd-carousel {
		--wd-col-lg: 5 !important;
		--wd-col-md: 5 !important;
		--wd-gap-lg: 18px !important;
		--wd-gap-md: 14px !important;
		/* Room for the hover lift + shadow inside Swiper's clipped viewport. */
		padding-block: 6px 16px;
		margin-block: -6px -16px;
	}

	.wd-cats-element .wd-carousel-wrap {
		align-items: stretch;
	}

	.wd-cats-element .wd-carousel-item {
		height: auto;
	}

	/* Card: image → name → count, all aligned on the same baseline. */
	.wd-cats-element .wd-cat,
	.wd-cats-element .wd-cat .wd-cat-inner {
		height: 100%;
	}

	.wd-cats-element .wd-cat .wd-cat-inner {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 18px 14px 16px;
		border: 1px solid #efe7de;
		border-radius: 16px;
		background: #fbf8f4;
		transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
	}

	.wd-cats-element .wd-cat .wd-cat-inner:hover {
		transform: translateY(-3px);
		border-color: #e3d3c0;
		background: #fff;
		box-shadow: 0 10px 24px rgba(88, 60, 30, .08);
	}

	.wd-cats-element .wd-cat.categories-with-shadow .wd-cat-thumb {
		box-shadow: none;
	}

	.wd-cats-element .wd-cat .wd-cat-thumb {
		width: min(140px, 78%);
		max-width: none;
		margin: 0 auto;
		aspect-ratio: 1;
		border-radius: 12px;
		overflow: hidden;
		background: #f1e8dd;
		box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
	}

	.wd-cats-element .wd-cat .wd-cat-thumb a,
	.wd-cats-element .wd-cat .wd-cat-thumb img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.wd-cats-element .wd-cat .wd-cat-thumb img {
		transition: transform .4s ease;
	}

	.wd-cats-element .wd-cat .wd-cat-inner:hover .wd-cat-thumb img {
		transform: scale(1.05);
	}

	.wd-cats-element .wd-cat .wd-cat-content {
		position: static;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
		width: 100%;
		margin: 0;
		padding: 14px 0 0;
		background: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		text-align: center;
	}

	.wd-cats-element .wd-cat .wd-entities-title {
		max-width: 100%;
		margin: 0;
		font-size: 17px;
		font-weight: 700;
		line-height: 1.3;
		text-transform: none;
		color: #222;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.wd-cats-element .wd-cat .wd-cat-count {
		position: static;
		display: inline-block;
		margin: 0;
		padding: 3px 12px;
		border-radius: 20px;
		background: #f1e6d9;
		opacity: 1;
		visibility: visible;
		transform: none;
		font-size: 13px;
		line-height: 1.5;
	}

	.wd-cats-element .wd-cat .wd-cat-count a {
		font-weight: 600;
		text-transform: none;
		color: #8f6134;
	}

	.wd-cats-element .wd-cat .wd-cat-inner:hover .wd-entities-title {
		color: #8f6134;
	}
}

/* Narrow tablets: smaller type so five cards still fit comfortably. */
@media (min-width: 768px) and (max-width: 1024px) {
	.wd-cats-element .wd-cat .wd-cat-inner {
		padding: 14px 10px 12px;
		border-radius: 14px;
	}

	.wd-cats-element .wd-cat .wd-entities-title {
		font-size: 15px;
	}

	.wd-cats-element .wd-cat .wd-cat-count {
		font-size: 12px;
		padding-inline: 9px;
	}
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
	.wd-cats-element .wd-cat .wd-cat-inner,
	.wd-cats-element .wd-cat .wd-cat-thumb img {
		transition: none;
	}

	.wd-cats-element .wd-cat .wd-cat-inner:hover,
	.wd-cats-element .wd-cat .wd-cat-inner:hover .wd-cat-thumb img {
		transform: none;
	}
}

/* ======================================================================
 * Homepage category cards (نديم / ظل / صوت / الكتب) — all screen sizes.
 * Static grid instead of the carousel: 4 per row on laptops, 2 per row on
 * phones. Category image on top, name with a short accent line below.
 * ==================================================================== */
.elementor-element-f301057 {
	--warf-cat-gap: 24px;
	margin-top: 32px;
}

.elementor-element-f301057 .wd-cats-element .wd-carousel-inner,
.elementor-element-f301057 .wd-cats-element .wd-carousel {
	overflow: visible;
	padding: 0;
	margin: 0;
}

.elementor-element-f301057 .wd-cats-element .wd-carousel-wrap {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--warf-cat-gap);
	transform: none !important;
	width: auto !important;
	align-items: stretch;
}

.elementor-element-f301057 .wd-cats-element .wd-carousel-item {
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	height: auto;
	margin: 0 !important;
	padding: 0 !important;
	flex: none !important;
}

.elementor-element-f301057 .wd-cats-element .wd-cat,
.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-inner {
	width: 100%;
	max-width: none;
}

.elementor-element-f301057 .wd-cats-element .wd-carousel-item.swiper-slide-duplicate,
.elementor-element-f301057 .wd-cats-element .wd-carousel-item.wd-slide-duplicate,
.elementor-element-f301057 .wd-cats-element .wd-nav-arrows,
.elementor-element-f301057 .wd-cats-element .wd-nav-pagin-wrap {
	display: none !important;
}

.elementor-element-f301057 .wd-cats-element .wd-cat,
.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-inner {
	height: 100%;
	margin: 0;
}

.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 20px 20px 22px;
	border: 1px solid #ece6de;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(30, 58, 95, .04);
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.elementor-element-f301057 .wd-cats-element .wd-cat:hover .wd-cat-inner {
	border-color: #f0c79a;
	box-shadow: 0 10px 24px rgba(30, 58, 95, .09);
	transform: translateY(-3px);
}

.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-thumb {
	flex: none;
	width: 100%;
	max-width: 190px;
	margin: 0 auto;
	aspect-ratio: 1;
	border-radius: 0;
	background: none;
	box-shadow: none;
	overflow: visible;
}

.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-thumb a,
.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-content {
	position: static;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0;
	margin: 0;
	background: none;
	opacity: 1;
	visibility: visible;
	transform: none;
	text-align: center;
}

.elementor-element-f301057 .wd-cats-element .wd-cat .wd-entities-title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: #1e3a5f;
	white-space: nowrap;
}

.elementor-element-f301057 .wd-cats-element .wd-cat .wd-entities-title::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin: 10px auto 0;
	border-radius: 2px;
	background: #f0a050;
}

.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-count {
	display: none;
}

@media (max-width: 1024px) {
	.elementor-element-f301057 {
		--warf-cat-gap: 16px;
		margin-top: 24px;
	}

	.elementor-element-f301057 .wd-cats-element .wd-cat .wd-entities-title {
		font-size: 21px;
	}
}

@media (max-width: 767px) {
	.elementor-element-f301057 {
		--warf-cat-gap: 12px;
		margin-top: 18px;
	}

	.elementor-element-f301057 .wd-cats-element .wd-carousel-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-inner {
		gap: 10px;
		padding: 14px 12px 16px;
		border-radius: 14px;
	}

	.elementor-element-f301057 .wd-cats-element .wd-cat .wd-cat-thumb {
		max-width: 130px;
	}

	.elementor-element-f301057 .wd-cats-element .wd-cat .wd-entities-title {
		font-size: 18px;
	}

	.elementor-element-f301057 .wd-cats-element .wd-cat .wd-entities-title::after {
		width: 22px;
		margin-top: 8px;
	}
}

/* ======================================================================
 * Search.
 * Laptop: soft pill field at the far left of the header.
 * Phone/tablet: a search icon beside the cart that opens the live
 * search overlay.
 * ==================================================================== */
.whb-header .whb-warfsearchdesktop01 {
	flex: 0 1 280px;
	width: 280px;
	max-width: 280px;
	margin-inline-start: 18px;
}

.whb-header .whb-warfsearchdesktop01 .searchform {
	--wd-form-height: 44px;
}

.whb-header .whb-warfsearchdesktop01 input[type="text"] {
	height: 44px;
	padding-inline: 20px 48px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #f5f1ec;
	color: #1e3a5f;
	font-size: 14px;
	box-shadow: none;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.whb-header .whb-warfsearchdesktop01 input[type="text"]::placeholder {
	color: #8a8580;
	opacity: 1;
}

.whb-header .whb-warfsearchdesktop01 input[type="text"]:focus {
	border-color: #f0c79a;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(240, 160, 80, .14);
}

.whb-header .whb-warfsearchdesktop01 .searchsubmit {
	width: 48px;
	color: #1e3a5f;
}

.whb-header .whb-warfsearchdesktop01 .searchsubmit:hover {
	color: var(--warf-accent);
}

@media (max-width: 1200px) {
	.whb-header .whb-warfsearchdesktop01 {
		flex-basis: 210px;
		width: 210px;
	}
}

.warf-hsearch {
	display: none;
}

@media (max-width: 1024px) {
	.whb-header .whb-mobile-right {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
	}

	.whb-header .warf-hsearch {
		display: flex;
	}

	.whb-header .warf-hsearch > a {
		display: flex;
		align-items: center;
		justify-content: center;
		color: #1e3a5f;
	}

	.whb-header .warf-hsearch .warf-icon {
		width: 22px;
		height: 22px;
	}
}

/* ======================================================================
 * Homepage banners between sections and the contact block — all sizes.
 * Markup lives in Elementor HTML widgets on the homepage.
 * ==================================================================== */
.warf-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 320px;
	padding: 56px 64px;
	border-radius: 16px;
	overflow: hidden;
	background: #1e3a5f var(--warf-banner-img) center / cover no-repeat;
	color: #fff;
	isolation: isolate;
}

.warf-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(270deg, rgba(20, 38, 64, .92) 0%, rgba(20, 38, 64, .72) 45%, rgba(20, 38, 64, .25) 100%);
}

.warf-banner__inner {
	max-width: 520px;
	text-align: start;
}

.warf-banner__kicker {
	display: inline-block;
	margin: 0 0 14px;
	padding: 4px 14px;
	border-radius: 999px;
	background: rgba(240, 160, 80, .18);
	color: #f6b366;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
}

.warf-banner__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.25;
}

.warf-banner__text {
	margin: 0 0 26px;
	color: rgba(255, 255, 255, .85);
	font-size: 16px;
	line-height: 1.8;
}

.warf-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--warf-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	transition: background-color .2s ease, transform .2s ease;
}

.warf-banner__btn:hover,
.warf-banner__btn:focus-visible {
	background: #8f6033;
	color: #fff;
	transform: translateY(-1px);
}

.warf-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	align-items: center;
	gap: 40px;
	padding: 48px 56px;
	border: 1px solid #ece6de;
	border-radius: 16px;
	background: #faf7f3;
}

.warf-contact__title {
	position: relative;
	margin: 0 0 12px;
	color: #1e3a5f;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
}

.warf-contact__title::after {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	margin-top: 12px;
	border-radius: 2px;
	background: #f0a050;
}

.warf-contact__text p {
	margin: 0;
	color: #6b6660;
	font-size: 16px;
	line-height: 1.8;
}

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

.warf-contact__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 24px 14px;
	border: 1px solid #ece6de;
	border-radius: 14px;
	background: #fff;
	color: #1e3a5f;
	text-align: center;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.warf-contact__card:hover,
.warf-contact__card:focus-visible {
	border-color: #f0c79a;
	box-shadow: 0 10px 24px rgba(30, 58, 95, .08);
	transform: translateY(-2px);
	color: #1e3a5f;
}

.warf-contact__card svg {
	width: 30px;
	height: 30px;
	margin-bottom: 6px;
	color: var(--warf-accent);
}

.warf-contact__card.is-wa svg {
	color: #25d366;
}

.warf-contact__card strong {
	font-size: 17px;
	font-weight: 700;
}

.warf-contact__card span {
	color: #8a8580;
	font-size: 14px;
}

@media (max-width: 1024px) {
	.warf-banner {
		min-height: 280px;
		padding: 44px 40px;
	}

	.warf-banner__title {
		font-size: 30px;
	}

	.warf-contact {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 36px 32px;
		text-align: center;
	}

	.warf-contact__title::after {
		margin-inline: auto;
	}
}

@media (max-width: 767px) {
	.warf-banner {
		min-height: 0;
		padding: 36px 22px;
		border-radius: 14px;
	}

	.warf-banner::before {
		background: linear-gradient(0deg, rgba(20, 38, 64, .92) 0%, rgba(20, 38, 64, .7) 100%);
	}

	.warf-banner__inner {
		max-width: none;
		text-align: center;
		margin-inline: auto;
	}

	.warf-banner__title {
		font-size: 24px;
	}

	.warf-banner__text {
		margin-bottom: 20px;
		font-size: 15px;
	}

	.warf-contact {
		padding: 28px 18px;
	}

	.warf-contact__title {
		font-size: 26px;
	}

	.warf-contact__actions {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.warf-contact__card {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		gap: 12px;
		padding: 14px 16px;
		text-align: start;
	}

	.warf-contact__card svg {
		width: 26px;
		height: 26px;
		margin: 0;
	}
}
