/*
 * Uiccer sitewide visual polish.
 *
 * This stylesheet is deliberately isolated from the theme foundation. It
 * changes presentation only: WordPress content, CMS fields, URLs, SEO output
 * and business logic remain untouched. Removing this one enqueue restores the
 * approved 0.11.1 visual state.
 */

@font-face {
	font-display: swap;
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-upright.woff2") format("woff2-variations");
}

:root {
	--accent: #c44722;
	--accent-dark: #a9391a;
	--accent-light: #f1a087;
	--ink: #202422;
	--muted: #626965;
	--surface: #f4f2ed;
	--line: #dcdad4;
	--white: #fff;
	--footer: #1d2220;
	--radius: 8px;
	--shadow: 0 12px 30px rgba(28, 32, 30, 0.08);
	--shell: min(1200px, calc(100% - 64px));
}

body {
	color: var(--ink);
	font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.62;
}

h1,
h2,
h3 {
	font-family: inherit;
	font-weight: 680;
	letter-spacing: -0.022em;
	line-height: 1.1;
}

h1 {
	font-size: clamp(2.6rem, 4.4vw, 3.5rem);
}

h2 {
	font-size: clamp(2.15rem, 3vw, 2.55rem);
}

h3 {
	font-size: 1.35rem;
}

p {
	text-wrap: pretty;
}

.section {
	padding-block: clamp(72px, 6.4vw, 88px);
}

.eyebrow {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	margin-bottom: 13px;
}

.section-heading {
	margin-bottom: 36px;
	max-width: 760px;
}

.section-heading > h2 {
	margin-bottom: 0;
}

.section-heading > h2 + p {
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.65;
	margin: 18px 0 0;
	max-width: 690px;
}

.button {
	border-radius: 7px;
	font-size: 0.93rem;
	font-weight: 650;
	min-height: 46px;
	padding: 10px 21px;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button:hover,
.button:focus-visible {
	transform: none;
}

.button-secondary {
	background: transparent;
	border-color: #c9c7c1;
	color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
	background: var(--surface);
	border-color: var(--ink);
	color: var(--ink);
}

.button-outline-light {
	border-color: rgba(255, 255, 255, 0.58);
}

.text-link {
	font-size: 0.9rem;
	font-weight: 650;
}

/* Header and navigation */
.site-header {
	background: rgba(255, 255, 255, 0.985);
	border-bottom-color: rgba(32, 36, 34, 0.1);
	box-shadow: 0 1px 0 rgba(32, 36, 34, 0.02);
}

.header-inner {
	gap: 30px;
	min-height: 72px;
}

.custom-logo {
	max-height: 46px;
}

.site-menu {
	gap: 4px;
}

.site-menu a {
	border-radius: 0;
	font-size: 0.92rem;
	font-weight: 620;
	padding: 24px 12px 22px;
	position: relative;
}

.site-menu a::after {
	background: var(--accent);
	bottom: -1px;
	content: "";
	height: 2px;
	left: 12px;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 150ms ease;
	width: calc(100% - 24px);
}

.site-menu a:hover,
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a,
.site-menu .current-menu-ancestor > a {
	background: transparent;
	color: var(--ink);
}

.site-menu a:hover::after,
.site-menu .current-menu-item > a::after,
.site-menu .current_page_item > a::after,
.site-menu .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.header-cta {
	min-height: 42px;
	padding-inline: 18px;
}

.menu-toggle {
	border-radius: 5px;
}

/* Shared inner-page banner */
.inner-hero {
	min-height: 340px;
}

.inner-hero-media::after {
	background: linear-gradient(90deg, rgba(8, 11, 10, 0.84) 0%, rgba(8, 11, 10, 0.58) 48%, rgba(8, 11, 10, 0.2) 100%);
}

.inner-hero-content {
	padding-block: 82px;
}

.inner-hero h1 {
	font-size: clamp(2.8rem, 4.4vw, 3.4rem);
	margin-bottom: 18px;
	max-width: 900px;
}

.inner-hero-content > p:last-child:not(.eyebrow) {
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.1rem;
	line-height: 1.55;
	margin: 0;
	max-width: 760px;
}

.inner-hero-compact {
	min-height: 330px;
}

/* Product category archive */
.archive-main {
	background: var(--white);
	padding-top: 76px;
}

.archive-main .page-header {
	margin: 0 0 34px;
	max-width: 760px;
	text-align: left;
}

.archive-main .page-header h1 {
	font-size: clamp(2.6rem, 4vw, 3.4rem);
	margin-bottom: 14px;
}

.archive-main .page-header p,
.archive-main .term-description {
	color: var(--muted);
	font-size: 1.04rem;
	font-weight: 400;
	line-height: 1.65;
	margin-inline: 0;
	max-width: 680px;
}

.archive-main .page-header .eyebrow {
	color: var(--accent);
	font-size: 0.76rem;
	font-weight: 700;
}

.category-tabs {
	border-bottom: 1px solid var(--line);
	flex-wrap: nowrap;
	gap: 28px;
	justify-content: flex-start;
	margin: 0 0 42px;
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
	scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
	display: none;
}

.category-tabs a {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 620;
	margin-bottom: -1px;
	padding: 10px 0 12px;
	white-space: nowrap;
}

.category-tabs a:hover,
.category-tabs a.is-active {
	background: transparent;
	border-color: var(--accent);
	color: var(--ink);
}

.archive-main .product-grid {
	gap: 38px 28px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
}

.product-card-image {
	aspect-ratio: 1 / 1;
	background: #f3f2ee;
	border: 1px solid var(--line);
	border-radius: 6px;
}

.product-card-image img {
	object-fit: contain;
	transition: transform 180ms ease;
}

.product-card-content {
	border-bottom: 1px solid var(--line);
	min-height: 132px;
	padding: 16px 1px 17px;
}

.product-card-content h2 {
	font-size: 1.12rem;
	font-weight: 650;
	line-height: 1.3;
	margin-bottom: 6px;
}

.product-card-content h2 a:hover {
	color: var(--accent-dark);
}

.product-model {
	font-size: 0.83rem;
	margin: 0 0 11px;
}

.status-tag {
	border-radius: 4px;
}

.empty-state {
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 46px 32px;
}

/* Product detail page */
.product-main {
	background: linear-gradient(180deg, #f7f6f2 0, #fff 620px);
	padding-block: 26px 84px;
}

.breadcrumbs {
	font-size: 0.84rem;
	margin-bottom: 24px;
}

.breadcrumbs a:hover {
	color: var(--accent-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.product-hero-grid {
	align-items: start;
	gap: clamp(42px, 5.5vw, 68px);
	grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
	margin-bottom: 52px;
}

.product-main-image {
	background: #f3f2ee;
	border: 1px solid var(--line);
	border-radius: 6px;
	box-shadow: none;
}

.product-main-image img {
	object-fit: contain;
}

.product-thumbnails img {
	border-radius: 4px;
}

.product-summary {
	align-self: start;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 8px 0 0;
}

.product-summary h1 {
	font-size: clamp(2.15rem, 3.3vw, 2.8rem);
	font-weight: 650;
	line-height: 1.08;
	margin-bottom: 18px;
}

.product-intro {
	font-size: 1rem;
	line-height: 1.65;
}

.product-summary .summary-list {
	margin-block: 22px;
}

.summary-list > div,
.data-list > div {
	gap: 18px;
	padding: 10px 0;
}

.summary-list dt,
.data-list dt {
	font-size: 0.92rem;
}

.summary-list dd,
.data-list dd {
	font-weight: 620;
}

.product-inquiry-note {
	background: #f7f1ec;
	border-left: 3px solid var(--accent);
	border-radius: 0;
	margin: 21px 0;
	padding: 12px 15px;
}

.product-cta-actions {
	gap: 10px;
}

.product-proof-links {
	gap: 8px 20px;
	margin-top: 22px;
}

.product-proof-links a {
	background: transparent;
	border-radius: 0;
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 620;
	padding: 0;
	text-decoration: underline;
	text-decoration-color: #bebcb6;
	text-underline-offset: 4px;
}

.product-trust-strip {
	background: #242927;
	border-radius: 5px;
	margin-bottom: 22px;
}

.product-trust-strip > div {
	padding: 20px 18px;
}

.product-trust-strip strong {
	font-size: 1rem;
}

.product-section {
	padding-block: 50px;
}

.product-section h2 {
	font-size: clamp(1.8rem, 2.5vw, 2.2rem);
}

.data-columns {
	gap: clamp(42px, 6vw, 76px);
}

.data-columns.has-three-columns {
	gap: clamp(30px, 4vw, 52px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.data-columns > div {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.data-columns > div h2 {
	font-size: 1.8rem;
}

.specification-request {
	background: var(--surface);
	border-left: 3px solid var(--accent);
	border-radius: 0;
	gap: 40px;
	margin-bottom: 44px;
	padding: 38px 42px;
}

.check-grid {
	gap: 10px;
}

.check-grid li {
	background: var(--surface);
	border-radius: 4px;
	font-weight: 620;
	padding: 13px 15px 13px 40px;
}

.detail-image-grid {
	gap: 16px;
}

.detail-image-grid img {
	border-radius: 5px;
}

.faq-list summary {
	font-weight: 650;
}

/* About / company */
.about-intro-grid {
	gap: clamp(48px, 6vw, 76px);
}

.about-intro-media {
	border-radius: 6px;
	box-shadow: none;
}

.about-intro-media img {
	transform: scale(1.035);
}

.about-intro-copy-text {
	font-size: 1rem;
	line-height: 1.72;
}

.about-facts {
	background: #242927;
	padding-block: 34px;
}

.about-facts .fact {
	padding-block: 8px;
}

.about-facts .fact strong {
	font-size: clamp(1.8rem, 2.8vw, 2.35rem);
}

.about-factory-section {
	background: var(--surface);
}

.about-factory-gallery {
	grid-auto-flow: dense;
	grid-auto-rows: 168px;
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.about-factory-gallery figure,
.about-factory-gallery .is-featured {
	aspect-ratio: auto;
	border-radius: 5px;
	box-shadow: none;
	grid-column: span 3;
	grid-row: span 1;
}

.about-factory-gallery .is-featured {
	grid-column: span 6;
	grid-row: span 2;
}

.about-story-card {
	border-left-width: 3px;
	max-width: 880px;
	padding-left: clamp(28px, 4vw, 52px);
}

.about-story-card .entry-content {
	font-size: 1rem;
	line-height: 1.72;
}

/* Contact and RFQ */
.inner-split {
	align-items: start;
	gap: clamp(48px, 7vw, 88px);
}

.inner-split > div:first-child > h2 {
	font-size: clamp(2.2rem, 3.2vw, 2.7rem);
	margin-bottom: 18px;
}

.inner-split > div:first-child > p:not(.eyebrow) {
	color: var(--muted);
	font-size: 1.02rem;
	max-width: 580px;
}

.contact-card.contact-details {
	background: transparent;
	border-radius: 0;
	gap: 0;
	padding: 4px 0 0;
}

.contact-details > div {
	padding: 0 0 16px;
}

.contact-details > div + div {
	padding-top: 16px;
}

.contact-details strong {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.contact-details span,
.contact-details a {
	font-size: 1rem;
	line-height: 1.5;
}

.rfq-page-section {
	background: var(--surface);
}

.rfq-panel {
	border-radius: 6px;
	box-shadow: none;
	margin-block: 48px;
	padding: clamp(34px, 4vw, 48px);
}

.rfq-panel-heading {
	margin-bottom: 30px;
}

.rfq-panel-heading h2 {
	font-size: clamp(2rem, 3vw, 2.4rem);
}

.rfq-fields {
	gap: 18px 20px;
}

.rfq-fields label,
.rfq-consent {
	font-size: 0.91rem;
	font-weight: 620;
}

.rfq-fields input,
.rfq-fields textarea,
.rfq-fields select {
	border-color: #c9c7c1;
	border-radius: 5px;
	min-height: 46px;
}

.rfq-advanced {
	border-radius: 5px;
}

.rfq-advanced summary {
	font-weight: 650;
	padding: 14px 15px;
}

.form-message {
	border-radius: 5px;
}

/* Footer and persistent inquiry actions */
.site-footer {
	background: var(--footer);
	padding-top: 64px;
}

.footer-grid {
	gap: 56px;
	grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.8fr) minmax(170px, 0.7fr);
}

.footer-brand {
	font-size: 1.65rem;
	letter-spacing: 0.06em;
}

.footer-grid h2 {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.footer-menu li,
.contact-list li {
	margin: 6px 0;
}

.footer-bottom {
	font-size: 0.86rem;
	margin-top: 48px;
	padding-block: 19px;
}

.floating-whatsapp {
	border: 0;
	border-radius: 8px;
	bottom: 22px;
	box-shadow: 0 8px 24px rgba(18, 83, 48, 0.22);
	min-height: 54px;
	right: 22px;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.product-card:hover {
		box-shadow: none;
		transform: none;
	}

	.product-card:hover .product-card-image img {
		transform: scale(1.015);
	}

	.floating-whatsapp:hover,
	.floating-whatsapp:focus-visible {
		box-shadow: 0 10px 28px rgba(18, 83, 48, 0.28);
		transform: none;
	}
}

@media (min-width: 1001px) {
	.product-summary {
		top: 96px;
	}
}

@media (max-width: 1100px) {
	.archive-main .product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-menu a {
		padding-inline: 9px;
	}
}

@media (max-width: 1000px) {
	:root {
		--shell: min(100% - 48px, 1200px);
	}

	.header-inner {
		min-height: 68px;
	}

	.custom-logo {
		max-height: 42px;
	}

	.primary-navigation {
		background: var(--white);
		border-top: 1px solid var(--line);
		margin-inline: calc((100vw - 100%) / -2);
		padding: 8px calc((100vw - 100%) / 2) 16px;
	}

	.site-menu {
		gap: 0;
	}

	.site-menu a {
		border-bottom: 1px solid var(--line);
		padding: 13px 2px;
	}

	.site-menu a::after {
		display: none;
	}

	.product-hero-grid {
		grid-template-columns: 1fr;
	}

	.product-summary {
		max-width: 760px;
	}

	.about-factory-gallery {
		grid-auto-rows: 145px;
	}
}

@media (max-width: 782px) {
	.data-columns.has-three-columns {
		grid-template-columns: 1fr;
	}

	:root {
		--shell: min(100% - 32px, 1200px);
	}

	body {
		font-size: 16px;
	}

	.section {
		padding-block: 56px;
	}

	.header-inner {
		min-height: 64px;
	}

	.custom-logo {
		max-height: 40px;
	}

	.inner-hero,
	.inner-hero-compact {
		min-height: 330px;
	}

	.inner-hero-content {
		padding-block: 58px;
	}

	.inner-hero h1 {
		font-size: clamp(2.25rem, 10vw, 2.55rem);
		margin-bottom: 15px;
	}

	.inner-hero-content > p:last-child:not(.eyebrow) {
		font-size: 1rem;
	}

	.archive-main {
		padding-top: 54px;
	}

	.archive-main .page-header {
		margin-bottom: 28px;
	}

	.archive-main .page-header h1 {
		font-size: 2.35rem;
	}

	.category-tabs {
		gap: 22px;
		margin-bottom: 32px;
	}

	.archive-main .product-grid {
		gap: 32px 20px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.product-card-content {
		min-height: 126px;
	}

	.product-main {
		padding-block: 20px 68px;
	}

	.product-hero-grid {
		gap: 30px;
		margin-bottom: 36px;
	}

	.product-summary {
		padding: 0;
	}

	.product-summary h1 {
		font-size: 2.15rem;
	}

	.product-trust-strip {
		border-radius: 4px;
	}

	.product-trust-strip > div {
		padding: 17px 10px;
	}

	.product-section {
		padding-block: 42px;
	}

	.data-columns {
		gap: 36px;
	}

	.specification-request {
		padding: 30px 26px;
	}

	.about-intro-grid {
		gap: 36px;
	}

	.about-factory-gallery {
		gap: 9px;
		grid-auto-rows: 112px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.about-factory-gallery figure,
	.about-factory-gallery .is-featured {
		grid-column: span 1;
		grid-row: span 1;
	}

	.about-factory-gallery .is-featured {
		grid-column: span 2;
		grid-row: span 2;
	}

	.inner-split {
		gap: 42px;
	}

	.contact-card.contact-details {
		padding-top: 0;
	}

	.contact-action-list {
		display: none;
	}

	.rfq-panel {
		border-radius: 5px;
		padding: 28px 24px;
	}

	.rfq-panel-heading h2 {
		font-size: 2rem;
	}

	.site-footer {
		padding-top: 52px;
	}

	.footer-grid {
		gap: 34px;
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		margin-top: 38px;
	}

	.mobile-contact-bar {
		gap: 6px;
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
	}

	.mobile-contact-bar a {
		border-radius: 5px;
		font-size: 0.81rem;
		font-weight: 700;
	}
}

@media (max-width: 520px) {
	:root {
		--shell: min(100% - 28px, 1200px);
	}

	.archive-main .product-grid {
		grid-template-columns: 1fr;
	}

	.product-card-image {
		aspect-ratio: 1 / 1;
	}

	.product-card-content {
		min-height: 0;
	}

	.product-cta-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.product-cta-actions .button {
		width: 100%;
	}

	.summary-list > div,
	.data-list > div {
		grid-template-columns: minmax(90px, 0.72fr) 1.28fr;
	}

	.check-grid {
		grid-template-columns: 1fr;
	}

	.about-heading {
		font-size: 1.9rem;
	}

	.about-story-card {
		padding-left: 19px;
	}

	.rfq-panel {
		padding: 25px 19px;
	}

	.rfq-submit-row .button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-card-image img,
	.site-menu a::after {
		transition: none;
	}
}
