/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ARCO SMART brand (Brand Identity Deliverables, Inspirers Media, Sep 2026) */
:root {
	--arco-orange: #EF4E23;
	--arco-orange-dark: #7C210F;
	--arco-ink: #262524;
	--arco-ink-2: #262524;
	--arco-steel: #58595B;
	--arco-grey: #58595B;
	--arco-silver: #BCBEC0;
	--arco-line: #E4E4E5;
	--arco-paper: #F4F4F4;
	--arco-pattern: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 260.88 360.94%22 width=%22260.88%22 height=%22360.94%22%3E%3Cpath fill=%22%23000%22 fill-rule=%22nonzero%22 d=%22M179.57,176.38L179.57,261.27L161.11,273.23L136.01,256.29L136.01,192.73L161.11,192.73L161.11,258.45L166.73,254.54L166.73,176.38L179.57,176.38M255.30,176.38L255.30,256.29L230.49,273.23L211.78,261.29L211.78,239.89L230.49,227.47L230.49,176.38L255.30,176.38M224.59,278.18L224.59,304.86L195.66,324.07L166.73,304.86L166.73,278.18L185.48,265.74L185.48,243.83L195.66,250.59L205.88,243.81L205.88,265.76L224.59,278.18M224.59,192.73L224.59,222.84L195.66,242.04L185.48,235.28L185.48,192.73L224.59,192.73M244.76,321.59L244.76,342.99L226.05,355.41L226.05,360.94L201.24,360.94L201.24,326.59L226.05,309.65L244.76,321.59M260.88,340.84L260.88,360.94L231.95,360.94L231.95,360.05L260.88,340.84M260.88,258.81L260.88,332.30L250.66,339.07L250.66,317.12L231.95,304.70L231.95,278.02L260.88,258.81M190.37,326.59L190.37,360.94L165.56,360.94L165.56,355.41L146.85,342.99L146.85,321.59L165.56,309.65L190.37,326.59M159.65,360.05L159.65,360.94L120.55,360.94L120.55,347.60L130.73,340.84L159.65,360.05M114.64,321.62L114.64,360.94L101.80,360.94L101.80,328.35L96.18,324.43L96.18,360.94L71.08,360.94L71.08,326.59L96.18,309.65L114.64,321.62M159.65,278.02L159.65,304.70L140.94,317.12L140.94,339.07L130.73,332.30L120.55,339.05L120.55,317.15L101.80,304.70L101.80,278.02L130.73,258.81L159.65,278.02M179.57,99.67L179.57,168.21L166.73,168.21L166.73,106.41L161.11,102.49L161.11,184.55L136.01,184.55L136.01,104.64L161.11,87.71L179.57,99.67M255.30,104.64L255.30,168.21L230.49,168.21L230.49,133.47L211.78,121.05L211.78,99.65L230.49,87.71L255.30,104.64M224.59,138.10L224.59,184.55L185.48,184.55L185.48,125.66L195.66,118.89L224.59,138.10M224.59,56.08L224.59,82.76L205.88,95.18L205.88,117.13L195.66,110.35L185.48,117.11L185.48,95.20L166.73,82.76L166.73,56.08L195.66,36.87L224.59,56.08M244.76,17.95L244.76,39.35L226.05,51.29L201.24,34.35L201.24,0.00L226.05,0.00L226.05,5.53L244.76,17.95M260.88,0.00L260.88,20.10L231.95,0.89L231.95,0.00L260.88,0.00M260.88,28.64L260.88,102.13L231.95,82.92L231.95,56.24L250.66,43.82L250.66,21.87L260.88,28.64M59.64,326.59L59.64,360.94L34.55,360.94L34.55,324.43L28.93,328.35L28.93,360.94L16.08,360.94L16.08,321.62L34.55,309.65L59.64,326.59M10.18,347.60L10.18,360.94L0.00,360.94L0.00,340.84L10.18,347.60M28.93,278.02L28.93,304.70L10.18,317.15L10.18,339.05L0.00,332.30L0.00,258.81L28.93,278.02M10.18,0.00L10.18,13.34L0.00,20.10L0.00,0.00L10.18,0.00M59.64,0.00L59.64,34.35L34.55,51.29L16.08,39.32L16.08,0.00L28.93,0.00L28.93,32.59L34.55,36.51L34.55,0.00L59.64,0.00M28.93,56.24L28.93,82.92L0.00,102.13L0.00,28.64L10.18,21.89L10.18,43.79L28.93,56.24M49.10,239.89L49.10,261.29L30.39,273.23L5.58,256.29L5.58,192.73L30.39,192.73L30.39,227.47L49.10,239.89M124.86,176.38L124.86,256.29L99.77,273.23L81.31,261.27L81.31,192.73L94.15,192.73L94.15,254.54L99.77,258.45L99.77,176.38L124.86,176.38M75.40,176.38L75.40,235.28L65.22,242.04L36.29,222.84L36.29,176.38L75.40,176.38M94.15,278.18L94.15,304.86L65.22,324.07L36.29,304.86L36.29,278.18L55.00,265.76L55.00,243.81L65.22,250.59L75.40,243.83L75.40,265.74L94.15,278.18M49.10,99.65L49.10,121.05L30.39,133.47L30.39,184.55L5.58,184.55L5.58,104.64L30.39,87.71L49.10,99.65M94.15,56.08L94.15,82.76L75.40,95.20L75.40,117.11L65.22,110.35L55.00,117.13L55.00,95.18L36.29,82.76L36.29,56.08L65.22,36.87L94.15,56.08M75.40,125.66L75.40,168.21L36.29,168.21L36.29,138.10L65.22,118.89L75.40,125.66M124.86,104.64L124.86,168.21L99.77,168.21L99.77,102.49L94.15,106.41L94.15,184.55L81.31,184.55L81.31,99.67L99.77,87.71L124.86,104.64M190.37,0.00L190.37,34.35L165.56,51.29L146.85,39.35L146.85,17.95L165.56,5.53L165.56,0.00L190.37,0.00M114.64,0.00L114.64,39.32L96.18,51.29L71.08,34.35L71.08,0.00L96.18,0.00L96.18,36.51L101.80,32.59L101.80,0.00L114.64,0.00M159.65,0.00L159.65,0.89L130.73,20.10L120.55,13.34L120.55,0.00L159.65,0.00M159.65,56.24L159.65,82.92L130.73,102.13L101.80,82.92L101.80,56.24L120.55,43.79L120.55,21.89L130.73,28.64L140.94,21.87L140.94,43.82L159.65,56.24%22/%3E%3C/svg%3E");
	--wd-primary-color: #EF4E23;
	--wd-link-color-hover: #EF4E23;
}

body,
.wd-entities-title,
input, select, textarea, button {
	font-family: "IBM Plex Sans Arabic", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.title, .wd-nav > li > a, .arco-stat__num {
	font-family: "Cairo", sans-serif;
}

h1, h2, h3 { letter-spacing: 0; }

a:hover { color: var(--arco-orange); }

/* Corporate header: no shop elements, no top bar */
.whb-top-bar,
.wd-header-cart,
.wd-header-wishlist,
.wd-header-my-account,
.wd-header-compare,
.wd-header-search,
.wd-toolbar,
.footer-container .wd-payments { display: none !important; }
.wd-nav-main > li > a { font-size: 16px; font-weight: 600; text-transform: none; }
.wd-nav-main > li.current-menu-item > a,
.wd-nav-main > li > a:hover { color: var(--arco-orange); }

/* Designed pages: no title bar, sections run edge to edge */
body { overflow-x: clip; }
.arco-landing .wd-page-title { display: none; }
.arco-landing .main-page-wrapper,
.arco-landing .wd-content-layout { padding-top: 0; padding-bottom: 0; }
.arco-landing .entry-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	margin-block: 0;
}
.arco-landing .entry-content > * + * { margin-block-start: 0; }
.arco-hero .wp-block-cover__inner-container { text-align: start; }
.arco-hero h1 { max-width: 780px; line-height: 1.35; }
.arco-hero p:not(.arco-kicker) { max-width: 680px; }

/* Brand pattern (from the identity guide): add class "arco-hex" to any group or cover.
   Only the pattern's gaps are drawn, as faint orange lines over the section colour. */
.arco-hex { position: relative; isolation: isolate; }
.arco-hex::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: var(--arco-orange);
	opacity: .07;
	-webkit-mask: var(--arco-pattern) 0 0 / 150px auto repeat, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: var(--arco-pattern) 0 0 / 150px auto repeat, linear-gradient(#000 0 0);
	mask-composite: exclude;
}
.arco-hex.has-background { background-color: #1C1B1A !important; }

/* Small orange rule above section headings: class "arco-kicker" on a paragraph */
.arco-kicker {
	color: var(--arco-orange);
	font-weight: 600;
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.arco-kicker::before {
	content: "";
	width: 36px;
	height: 3px;
	background: var(--arco-orange);
}
.has-text-align-center.arco-kicker { justify-content: center; }

/* Stats */
.arco-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 3px solid var(--arco-orange);
}
.arco-stat {
	padding: 28px 24px;
	border-inline-start: 1px solid rgba(255,255,255,.12);
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.arco-stat:first-child { border-inline-start: 0; }
.arco-stat__num {
	font-size: 46px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--arco-orange);
}
.arco-stat__label { font-size: 15px; opacity: .85; }

/* Featured project cards */
.arco-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}
.arco-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	color: var(--arco-ink);
	border: 1px solid var(--arco-line);
	transition: transform .25s ease, box-shadow .25s ease;
}
.arco-card:hover {
	color: var(--arco-ink);
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0,0,0,.10);
}
.arco-card__img {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--arco-paper);
}
.arco-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.arco-card:hover .arco-card__img img { transform: scale(1.05); }
.arco-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 24px;
	border-top: 3px solid var(--arco-orange);
}
.arco-card__tag { color: var(--arco-orange); font-size: 13px; font-weight: 600; }
.arco-card__title { font-family: "Cairo", sans-serif; font-size: 19px; font-weight: 700; line-height: 1.45; }
.arco-card__meta { color: var(--arco-grey); font-size: 14px; }

/* Executed projects record */
.arco-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.arco-filter button {
	padding: 8px 18px;
	min-height: 0;
	border: 1px solid var(--arco-line);
	background: #fff;
	color: var(--arco-ink);
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	border-radius: 0;
	cursor: pointer;
}
.arco-filter button:hover { border-color: var(--arco-orange); color: var(--arco-orange); }
.arco-filter button.is-active { background: var(--arco-orange); border-color: var(--arco-orange); color: #fff; }
.arco-table-wrap { overflow-x: auto; }
.arco-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.arco-table th {
	background: var(--arco-ink);
	color: #fff;
	font-weight: 600;
	text-align: start;
	padding: 14px 16px;
	white-space: nowrap;
}
.arco-table td { padding: 13px 16px; border-bottom: 1px solid var(--arco-line); vertical-align: top; }
.arco-table tbody tr:hover { background: var(--arco-paper); }
.arco-table td:first-child { color: var(--arco-orange); font-weight: 600; }
.arco-num { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Single project details */
.arco-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0;
	margin: 0 0 32px;
	border: 1px solid var(--arco-line);
	border-top: 3px solid var(--arco-orange);
}
.arco-details div { padding: 16px 20px; border-inline-start: 1px solid var(--arco-line); }
.arco-details div:first-child { border-inline-start: 0; }
.arco-details dt { color: var(--arco-grey); font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.arco-details dd { margin: 0; font-weight: 600; color: var(--arco-ink); }

/* Value / sector cards (class "arco-box" on a column) */
.arco-box {
	background: #fff;
	padding: 32px 28px;
	border-top: 3px solid var(--arco-orange);
	box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* Logos row: grayscale until hover */
.arco-logos img { filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.arco-logos img:hover { filter: none; opacity: 1; }

/* Galleries: uniform tiles */
.wp-block-gallery.is-cropped .wp-block-image img {
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
}

/* Single project */
.wp-block-gallery.has-nested-images figure.wp-block-image { flex-grow: 0; }
.single-project .wd-post-meta { display: none !important; }
.single-project .wd-post-image { display: block; width: 100%; }
.single-project .wd-post-image img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	max-height: 520px;
	object-fit: cover;
}

/* Buttons & forms in brand colour */
:root {
	--btn-accented-bgcolor: #EF4E23;
	--btn-accented-bgcolor-hover: #7C210F;
	--btn-default-bgcolor-hover: #7C210F;
}
.wpcf7-submit {
	background-color: var(--arco-orange) !important;
	color: #fff !important;
	padding-inline: 40px;
	border-radius: 0;
}
.wpcf7-submit:hover { background-color: var(--arco-orange-dark) !important; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--arco-orange); }

/* Numbered cards */
.arco-index {
	font-family: "Cairo", sans-serif;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	color: var(--arco-orange);
	margin-bottom: 14px;
}
.arco-box { height: 100%; }
.wp-block-columns + .wp-block-columns { margin-top: 24px; }

/* Portrait / uncropped galleries */
.wp-block-gallery.arco-tall.is-cropped .wp-block-image img { aspect-ratio: 3 / 4; }
.wp-block-gallery.arco-contain figure.wp-block-image { flex-direction: column !important; background: #fff; }
.wp-block-gallery.arco-contain figure.wp-block-image img {
	aspect-ratio: 4 / 3 !important;
	height: auto !important;
	object-fit: contain !important;
	background: #fff;
	padding: 10px;
	border: 1px solid var(--arco-line);
	flex: none !important;
}
.wp-block-gallery.arco-contain figure.wp-block-image figcaption {
	position: static !important;
	background: none !important;
	color: var(--arco-ink) !important;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	padding: 12px 6px 4px !important;
	max-height: none !important;
	overflow: visible !important;
	text-shadow: none;
}
.wp-block-gallery.arco-contain figure.wp-block-image a { display: block; width: 100%; }

/* Framed image */
.arco-frame img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	box-shadow: -18px 18px 0 var(--arco-orange);
}

/* Capacity figures */
.arco-capacity {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 28px;
	border-top: 3px solid var(--arco-orange);
}
.arco-capacity div { padding: 20px 16px 0; border-inline-start: 1px solid rgba(255,255,255,.12); }
.arco-capacity div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.arco-capacity strong {
	display: block;
	font-family: "Cairo", sans-serif;
	font-size: 30px;
	font-weight: 800;
	color: var(--arco-orange);
}
.arco-capacity bdi { direction: ltr; display: inline-block; }
.arco-capacity span { font-size: 14px; color: #cfcfcf; }
@media (max-width: 600px) {
	.arco-capacity { grid-template-columns: 1fr; }
	.arco-capacity div { border-inline-start: 0; padding-inline-start: 0; }
	.arco-frame img { box-shadow: -10px 10px 0 var(--arco-orange); }
}

/* Footer (HTML block) */
.footer-container { background: var(--arco-ink); border-top: 0; }
.footer-container .main-footer { padding: 0; }
.footer-container .main-footer > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	margin-block: 0;
}
.arco-footer { font-size: 15px; line-height: 1.8; }
.arco-footer a { color: #d9d9d9; }
.arco-footer a:hover { color: var(--arco-orange); }
.arco-footer strong { color: #fff; }
.arco-foot-title { position: relative; padding-bottom: 14px; margin-bottom: 18px; }
.arco-foot-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 36px;
	height: 3px;
	background: var(--arco-orange);
}
.arco-links { list-style: none; padding: 0; margin: 0; }
.arco-links li { margin: 0 0 10px; padding: 0; }
.arco-links li::before { content: none; }
.arco-links a { display: inline-flex; align-items: center; gap: 8px; }
.arco-links a::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--arco-orange);
	transform: rotate(45deg);
	flex: none;
}
.arco-footer .wp-block-social-links .wp-social-link { color: #fff; }
.arco-footer .wp-block-social-links .wp-social-link svg { fill: #fff; }
.arco-footer .wp-block-social-links .wp-social-link:hover svg { fill: var(--arco-orange); }
.wd-copyrights {
	background: #1b1a19;
	color: #a9a9a9;
	border-top: 1px solid rgba(255,255,255,.08);
}
.wd-copyrights a { color: #fff; }
.wd-copyrights a:hover { color: var(--arco-orange); }

/* Maps */
.arco-map iframe { width: 100%; height: 360px; border: 0; display: block; }

@media (max-width: 1024px) {
	.arco-stats { grid-template-columns: repeat(2, 1fr); }
	.arco-stat:nth-child(3) { border-inline-start: 0; }
}
.arco-more {
	display: none;
	width: 100%;
	margin-top: 4px;
	padding: 14px;
	background: var(--arco-ink);
	color: #fff;
	font-weight: 600;
	border-radius: 0;
	text-transform: none;
}

/* ---------- Mobile review fixes ---------- */
@media (max-width: 781px) {
	/* tighter section rhythm */
	.arco-landing .entry-content > .wp-block-group.alignfull,
	.arco-footer {
		padding-top: 56px !important;
		padding-bottom: 56px !important;
		padding-inline: 18px !important;
	}
	/* four-card rows become a 2 x 2 grid instead of four stacked cards */
	.wp-block-columns:has(> .arco-box:nth-child(4)) {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		gap: 12px !important;
	}
	.wp-block-columns:has(> .arco-box:nth-child(4)) > .wp-block-column {
		flex-basis: calc(50% - 6px) !important;
		flex-grow: 0 !important;
		padding: 20px 14px;
	}
	.wp-block-columns:has(> .arco-box:nth-child(4)) .arco-index { font-size: 24px; margin-bottom: 8px; }
	.wp-block-columns:has(> .arco-box:nth-child(4)) h3 { font-size: 16px !important; line-height: 1.5; }
	.wp-block-columns:has(> .arco-box:nth-child(4)) p:not(.arco-index) { font-size: 13px !important; line-height: 1.7; }
	.wp-block-columns:has(> .arco-box:nth-child(4)) .wp-block-image img { max-height: 90px; width: auto; object-fit: contain; }
	.wp-block-columns + .wp-block-columns { margin-top: 12px; }
	.arco-box { padding: 24px 20px; }
	/* footer: links and services side by side */
	.arco-footer .wp-block-columns { flex-direction: row !important; flex-wrap: wrap !important; column-gap: 16px !important; row-gap: 32px !important; }
	.arco-footer .wp-block-column { flex-basis: 100% !important; }
	.arco-footer .wp-block-column:nth-child(2),
	.arco-footer .wp-block-column:nth-child(3) { flex-basis: calc(50% - 8px) !important; }
	.arco-footer { font-size: 14px; }
	.arco-foot-cta .wp-block-buttons { justify-content: flex-start !important; }
}
@media (max-width: 600px) {
	/* executed projects record: each row becomes a card */
	.arco-table thead { display: none; }
	.arco-table, .arco-table tbody, .arco-table tr, .arco-table td { display: block; width: 100%; }
	.arco-table { background: none; }
	.arco-table tr {
		background: #fff;
		border: 1px solid var(--arco-line);
		border-top: 3px solid var(--arco-orange);
		margin-bottom: 12px;
		padding: 12px 14px;
	}
	.arco-table tr[hidden] { display: none; }
	.arco-table td {
		border: 0;
		padding: 4px 0;
		display: flex;
		justify-content: space-between;
		gap: 12px;
		text-align: end;
	}
	.arco-table td::before {
		content: attr(data-label);
		color: var(--arco-grey);
		font-size: 12.5px;
		font-weight: 500;
		text-align: start;
		flex: none;
	}
	.arco-table td:first-child { display: none; }
	.arco-table td:nth-child(2) { display: block; text-align: start; font-weight: 700; font-size: 15px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--arco-line); }
	.arco-table td:nth-child(2)::before { content: none; }
	.arco-table td.arco-num { color: var(--arco-orange); font-weight: 700; }
	.arco-record:not(.is-expanded) .arco-table tbody tr:nth-child(n+9) { display: none; }
	.arco-record:not(.is-expanded) .arco-more { display: block; }
	.arco-filter { gap: 6px; }
	.arco-filter button { padding: 7px 12px; font-size: 13px; }
	.arco-landing h1.has-custom-font-size { font-size: 34px !important; }
	.arco-landing h2 { font-size: 26px; }
	.arco-stat { padding: 20px 16px; }
	.arco-stat__num { font-size: 36px; }
	.arco-table { font-size: 14px; }
}
