/* Agalite Ceramic — main stylesheet */

:root {
	--charcoal: #16181c;
	--charcoal-2: #1f232a;
	--slate: #2b313a;
	--kiln: #e2622a;
	--kiln-dark: #c14f1d;
	--sand: #f5f2ee;
	--paper: #ffffff;
	--ink: #14161a;
	--muted: #5f6772;
	--line: #e2ded8;
	--radius: 4px;
	--maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

body.agalite {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--paper);
	line-height: 1.65;
	font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--kiln-dark); }

h1, h2, h3, .brand__mark, .fact__value {
	font-family: "Barlow Condensed", "Inter", sans-serif;
	letter-spacing: 0.01em;
	line-height: 1.1;
	margin: 0 0 .6rem;
	text-transform: uppercase;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--kiln); color: #fff; padding: 10px 14px; z-index: 999; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 22px; border-radius: var(--radius);
	background: var(--charcoal); color: #fff; text-decoration: none;
	font-weight: 600; font-size: .92rem; letter-spacing: .03em; text-transform: uppercase;
	border: 2px solid var(--charcoal); transition: all .18s ease; cursor: pointer;
}
.btn:hover { background: var(--slate); border-color: var(--slate); color: #fff; }
.btn--accent { background: var(--kiln); border-color: var(--kiln); }
.btn--accent:hover { background: var(--kiln-dark); border-color: var(--kiln-dark); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--line); }
.btn--ghost:hover { background: var(--sand); color: var(--charcoal); border-color: var(--muted); }
.btn--sm { padding: 8px 14px; font-size: .8rem; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }

/* Topbar */
.topbar { background: var(--charcoal); color: rgba(255,255,255,.75); font-size: .82rem; }
.topbar__inner { display: flex; gap: 18px; align-items: center; min-height: 40px; flex-wrap: wrap; }
.topbar__spacer { flex: 1; }
.topbar a { color: rgba(255,255,255,.8); text-decoration: none; }
.topbar a:hover { color: var(--kiln); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.brand__text { text-decoration: none; display: block; }
.brand__mark { font-size: 1.85rem; font-weight: 700; color: var(--charcoal); display: block; }
.brand__mark--footer { color: #fff; }
.brand__sub { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.custom-logo { max-height: 58px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 22px; }
.menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.menu a {
	text-decoration: none; color: var(--charcoal); font-weight: 600;
	font-size: .9rem; letter-spacing: .05em; text-transform: uppercase;
	padding: 6px 0; border-bottom: 2px solid transparent;
}
.menu a:hover, .menu .current-menu-item > a { color: var(--kiln); border-bottom-color: var(--kiln); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
	display: block; width: 26px; height: 2px; background: var(--charcoal); position: relative;
}
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -8px; }
.nav-toggle__bar::after { top: 8px; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--charcoal); overflow: hidden; }
.hero__bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: .38; filter: grayscale(.25);
}
.hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(22,24,28,.94) 20%, rgba(22,24,28,.55) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 110px 20px 120px; max-width: 820px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); color: #fff; }
.accent { color: var(--kiln); }
.hero__text { font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 620px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.eyebrow {
	text-transform: uppercase; letter-spacing: .24em; font-size: .74rem;
	font-weight: 700; color: var(--kiln); margin: 0 0 .6rem;
}

/* Sections */
.section { padding: 82px 0; }
.section--muted { background: var(--sand); }
.section--dark { background: var(--charcoal); color: rgba(255,255,255,.82); }
.section--dark .section__title { color: #fff; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 760px; }
.section__more { margin-top: 34px; }

.intro__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.intro__media img { border-radius: var(--radius); border: 1px solid var(--line); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; }
.feature { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--kiln); padding: 24px; border-radius: var(--radius); }
.feature__title { font-size: 1.25rem; }
.feature__text { margin: 0; color: var(--muted); font-size: .95rem; }

.facts { background: var(--charcoal-2); padding: 54px 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.fact__value { display: block; font-size: 2.8rem; font-weight: 700; color: var(--kiln); }
.fact__label { color: rgba(255,255,255,.7); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.catalog-filters {
	margin: 28px 0 12px; padding: 22px; background: var(--sand);
	border: 1px solid var(--line); border-radius: var(--radius);
}
.catalog-filters__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.catalog-filters label { display: flex; flex-direction: column; gap: 7px; color: var(--charcoal); font-size: .88rem; font-weight: 600; }
.catalog-filters select {
	width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line);
	border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit;
}
.catalog-filters select:focus { outline: 2px solid var(--kiln); outline-offset: 1px; border-color: var(--kiln); }
.catalog-filters__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.catalog-results { margin: 0; color: var(--muted); font-size: .9rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__media { display: block; background: var(--sand); aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.35rem; margin: 0; }
.card__title a { color: var(--charcoal); text-decoration: none; }
.card__title a:hover { color: var(--kiln); }
.card__text { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.card__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 30px 0 0; }
.tags li {
	border: 1px solid rgba(255,255,255,.22); padding: 9px 16px; border-radius: 999px;
	font-size: .86rem; color: rgba(255,255,255,.85);
}

/* CTA band */
.cta-band { background: var(--kiln); color: #fff; padding: 52px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: 2rem; margin: 0; }
.cta-band__text { margin: .3rem 0 0; color: rgba(255,255,255,.9); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--accent { background: var(--charcoal); border-color: var(--charcoal); }
.cta-band .btn--accent:hover { background: var(--charcoal-2); border-color: var(--charcoal-2); }

/* Page head */
.page-head { background: var(--charcoal); color: #fff; padding: 66px 0 58px; }
.page-head__title { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 0; }
.page-head__text { color: rgba(255,255,255,.78); max-width: 640px; margin-top: .8rem; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }
.prose p { margin: 0 0 1rem; }

/* Panels */
.panel { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel + .panel, .panel + .map { margin-top: 22px; }
.panel__title { font-size: 1.45rem; }
.panel__address { font-style: normal; color: var(--muted); margin-bottom: .8rem; }
.panel--form { background: #fff; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 22px; position: relative; margin-bottom: .5rem; }
.ticks li::before { content: "▪"; color: var(--kiln); position: absolute; left: 0; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.spec-table th { width: 45%; color: var(--charcoal); font-weight: 600; }
.spec-table td { color: var(--muted); }

/* Product single */
.product-single__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-single__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.product-single__title { font-size: clamp(2rem, 4vw, 3rem); }
.product-single__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.product-single__details { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; }
.product-single__related { margin-top: 64px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.contact__alt { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.preselect { background: var(--sand); border-left: 3px solid var(--kiln); padding: 10px 14px; font-weight: 600; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map iframe { display: block; }

.notice-box { background: var(--sand); border-left: 3px solid var(--kiln); padding: 16px 18px; color: var(--muted); }

/* Form plugin styling harmonisation */
.panel--form input[type="text"],
.panel--form input[type="email"],
.panel--form input[type="tel"],
.panel--form input[type="number"],
.panel--form select,
.panel--form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line);
	border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink);
}
.panel--form input:focus, .panel--form select:focus, .panel--form textarea:focus {
	outline: 2px solid var(--kiln); outline-offset: 1px; border-color: var(--kiln);
}
.panel--form button[type="submit"], .panel--form input[type="submit"] {
	background: var(--kiln); border: 2px solid var(--kiln); color: #fff;
	padding: 13px 26px; border-radius: var(--radius); font-weight: 600;
	text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.panel--form button[type="submit"]:hover { background: var(--kiln-dark); border-color: var(--kiln-dark); }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.72); padding: 62px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 38px; }
.site-footer__heading { color: #fff; font-size: 1.2rem; }
.site-footer__text { font-size: .93rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--kiln); }
.site-footer__address { font-style: normal; font-size: .93rem; }
.site-footer__bar {
	margin-top: 46px; padding: 20px; border-top: 1px solid rgba(255,255,255,.12);
	display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem;
}
.site-footer__bar p { margin: 0; }
.menu--footer { gap: 16px; }
.menu--footer a { color: rgba(255,255,255,.75); text-transform: none; font-weight: 500; border: 0; }

/* WhatsApp float */
.whatsapp-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 90;
	width: 54px; height: 54px; border-radius: 50%;
	background: #25d366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 22px rgba(0,0,0,.24);
}
.whatsapp-float:hover { background: #1eb955; }

.pagination { margin-top: 34px; }
.notfound { text-align: center; }

/* Responsive */
@media (max-width: 980px) {
	.features { grid-template-columns: repeat(2, 1fr); }
	.grid { grid-template-columns: repeat(2, 1fr); }
	.intro__grid, .contact__grid, .product-single__grid, .product-single__details { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.catalog-filters { padding: 18px; }
	.catalog-filters__fields { grid-template-columns: 1fr; }
	.nav-toggle { display: block; }
	.primary-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: #fff;
		border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
		gap: 0; padding: 12px 20px 20px; display: none;
	}
	.primary-nav.is-open { display: flex; }
	.menu { flex-direction: column; gap: 0; }
	.menu li { border-bottom: 1px solid var(--line); }
	.menu a { display: block; padding: 13px 0; }
	.nav-cta { margin-top: 14px; }
	.site-header__inner { position: relative; }
	.facts__grid { grid-template-columns: repeat(2, 1fr); }
	.grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.hero__inner { padding: 72px 20px 80px; }
	.section { padding: 58px 0; }
}
