/* Redesigned homepage, product category and product pages (inc/ac-redesign.php).
   Builds on assets/ac-pages.css (same tokens and components as the landing pages). */

.acr {
	overflow-x: clip;
}
.acr ul,
.acr ol {
	list-style: none !important;
}

/* Small buttons (cards) */
.acp-btn--sm {
	min-height: 42px;
	padding: 0 18px;
	font-size: 14px;
}

/* Section heading with an action on the right */
.acr-head-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 36px;
}
.acr-head-row .acp-head {
	margin-bottom: 0;
}

/* Hero tweaks */
.acr-kicker-light {
	color: #ffb4ab;
}
.acr-hero-home {
	min-height: 720px;
}
.acr-hero-home > .acp-wrap {
	padding-bottom: 104px;
}
.acr-hero-video {
	opacity: 0;
	transition: opacity .6s ease;
}
.acr-hero-video.is-playing {
	opacity: 1;
}
.acr-hero-cat {
	min-height: 520px;
}
.acr-hero-cat > .acp-wrap {
	padding-bottom: 96px;
}
.acr-lead p {
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
}
.acr .acp-chips {
	margin-top: 28px !important;
}

/* Badges on images */
.acr-badges {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.acr-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--acp-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(28, 27, 31, .12);
}
.acr-badge--new {
	background: var(--acp-red);
	color: #fff;
}
.acr-ccard .acp-card__img {
	position: relative;
}

/* Product grid + cards */
.acr-pgrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.acr-pcard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--acp-line);
	border-radius: var(--acp-radius);
	background: #fff;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.acr-pcard:hover {
	border-color: transparent;
	box-shadow: 0 2px 4px rgba(28, 27, 31, .06), 0 18px 40px rgba(28, 27, 31, .12);
	transform: translateY(-3px);
}
.acr-pcard[hidden] {
	display: none;
}
.acr-pcard__img {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--acp-soft);
}
.acr-pcard__img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform .4s ease;
}
.acr-pcard:hover .acr-pcard__img img {
	transform: scale(1.04);
}
.acr-pcard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 20px 20px 22px;
}
.acr .acr-pcard__title {
	font-size: 18px;
	line-height: 1.3;
}
.acr-pcard__title a {
	color: var(--acp-ink) !important;
	text-decoration: none !important;
}
.acr-pcard__title a:hover {
	color: var(--acp-red) !important;
}
.acr-specs {
	display: grid;
	gap: 6px;
	padding: 12px 0 !important;
	border-top: 1px solid var(--acp-line);
	border-bottom: 1px solid var(--acp-line);
}
.acr-specs li {
	display: grid;
	grid-template-columns: 18px auto 1fr;
	gap: 6px;
	align-items: center;
	font-size: 14px;
	line-height: 1.35;
}
.acr-specs svg {
	width: 18px;
	height: 18px;
	color: var(--acp-red);
}
.acr-specs span {
	color: var(--acp-muted);
}
.acr-specs b {
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}
.acr-pcard__text {
	flex: 1;
	color: var(--acp-muted);
	font-size: 14px;
	line-height: 1.55;
}
.acr-pcard__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.acr-pcard__actions .acp-btn {
	width: 100%;
	padding: 0 10px;
	white-space: normal;
	text-align: center;
	line-height: 1.15;
}

/* Filter pills */
.acr-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.acr-filter button {
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--acp-line);
	border-radius: 999px;
	background: #fff;
	color: var(--acp-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.acr-filter button:hover {
	border-color: var(--acp-ink);
}
.acr-filter button.is-active {
	border-color: var(--acp-ink);
	background: var(--acp-ink);
	color: #fff;
}

/* Comparison + specs tables */
body .acr .acr-cmp table {
	min-width: 720px;
	font-size: 15px;
}
body .acr .acr-cmp td a {
	color: var(--acp-ink) !important;
	text-decoration: none;
}
body .acr .acr-cmp td a:hover {
	color: var(--acp-red) !important;
}
body .acr .acr-cmp td:not(:first-child) {
	font-weight: 500;
	white-space: nowrap;
}
body .acr .acr-specs-table table {
	min-width: 0;
}
body .acr .acr-specs-table th {
	width: 42%;
	background: transparent;
	color: var(--acp-muted);
	font-weight: 600;
	text-align: left;
	border-bottom: 1px solid var(--acp-line);
}
body .acr .acr-specs-table td {
	font-weight: 700 !important;
}
body .acr .acr-specs-table tr:nth-child(even) th,
body .acr .acr-specs-table tr:nth-child(even) td {
	background: #faf8f6;
}
body .acr .acr-specs-table tr:last-child th {
	border-bottom: 0;
}

/* Category long text */
.acr-catdesc > h2:first-child,
.acr-desc > h2:first-child {
	margin-top: 0 !important;
}
.acr-catdesc h3,
.acr-desc h3 {
	margin-top: 28px !important;
	font-size: 20px;
	color: var(--acp-ink);
}
.acr-catdesc ul,
.acr-desc ul {
	display: grid;
	gap: 8px;
}
.acr-catdesc li,
.acr-desc li {
	position: relative;
	padding-left: 22px;
}
.acr-catdesc li:before,
.acr-desc li:before {
	content: "";
	position: absolute;
	left: 2px;
	top: .7em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--acp-red);
}

/* Reviews */
.acr-review {
	margin: 0;
	padding: 28px;
	border-radius: var(--acp-radius);
	background: var(--acp-soft);
}
.acr-stars {
	display: flex;
	gap: 3px;
	margin-bottom: 16px;
	color: #f2a51a;
}
.acr-stars svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
.acr-review h3 {
	margin-bottom: 8px !important;
	font-size: 19px;
}
.acr-review p {
	color: var(--acp-muted);
	font-size: 16px;
}

/* ---------- Product page ---------- */
.acr-ptop {
	padding: 28px 0 64px;
	background: linear-gradient(180deg, var(--acp-soft) 0%, #fff 100%);
}
.acr-crumbs-dark,
.acr-crumbs-dark a,
.acr-crumbs-dark span {
	color: var(--acp-muted) !important;
}
.acr-crumbs-dark a:hover {
	color: var(--acp-red) !important;
}
.acr-ptop__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}
.acr-gallery__main {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--acp-shadow);
}
.acr-gallery__slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s;
}
.acr-gallery__slide.is-active {
	opacity: 1;
	visibility: visible;
}
.acr-gallery__slide img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.acr-gallery__zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--acp-ink);
	box-shadow: 0 2px 8px rgba(28, 27, 31, .15);
}
.acr-gallery__zoom svg {
	width: 22px;
	height: 22px;
}
.acr-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	padding-bottom: 4px;
	overflow-x: auto;
	scrollbar-width: thin;
}
.acr-gallery__thumb {
	flex: none;
	width: 84px;
	height: 64px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 12px;
	background: var(--acp-soft);
	cursor: pointer;
	opacity: .7;
	transition: opacity .15s ease, border-color .15s ease;
}
.acr-gallery__thumb img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.acr-gallery__thumb:hover,
.acr-gallery__thumb.is-active {
	opacity: 1;
}
.acr-gallery__thumb.is-active {
	border-color: var(--acp-red);
}
.acr-catlink {
	text-decoration: none !important;
}
.acr .acr-ptitle {
	margin-bottom: 18px !important;
	font-size: clamp(30px, 3.4vw, 46px) !important;
	line-height: 1.12 !important;
	color: var(--acp-ink) !important;
}
.acr-short {
	position: relative;
	margin-bottom: 24px;
	color: #3d3a40;
	font-size: 16px;
	line-height: 1.65;
}
.acr-short p {
	margin: 0 0 10px !important;
	padding: 0 !important;
}
.acr-short.is-clamped {
	max-height: 7.6em;
	overflow: hidden;
}
.acr-short.is-clamped:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3em;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
.acr-more {
	margin: -14px 0 22px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--acp-red);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.acr-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 26px !important;
}
.acr-facts li {
	display: grid;
	grid-template-columns: 36px 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	padding: 14px 16px;
	border: 1px solid var(--acp-line);
	border-radius: 14px;
	background: #fff;
}
.acr-facts svg {
	grid-row: 1 / 3;
	width: 36px;
	height: 36px;
	padding: 7px;
	border-radius: 10px;
	background: #fbe9e7;
	color: var(--acp-red);
}
.acr-facts span {
	color: var(--acp-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}
.acr-facts b {
	font-size: 15px;
	line-height: 1.3;
}
.acr-pbtns .acp-btn--dark:hover {
	background: #000;
}
.acr-trust {
	display: grid;
	gap: 8px;
	margin-top: 24px !important;
}
.acr-trust li {
	position: relative;
	padding-left: 30px;
	color: #3d3a40;
	font-size: 15px;
	font-weight: 600;
}
.acr-trust li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e7f4ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e8e3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* In-page navigation */
.acr-subnav {
	border-top: 1px solid var(--acp-line);
	border-bottom: 1px solid var(--acp-line);
	background: #fff;
}
.acr-subnav ul {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
}
.acr-subnav a {
	display: inline-flex;
	align-items: center;
	min-height: 56px;
	padding: 0 16px;
	border-bottom: 3px solid transparent;
	color: var(--acp-ink) !important;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none !important;
}
.acr-subnav a:hover {
	border-bottom-color: var(--acp-red);
	color: var(--acp-red) !important;
}
.acr-block + .acr-block {
	margin-top: 56px;
}
.acr-desc {
	font-size: 17px;
}

/* Mobile quote button (product pages) */
.acr-mquote {
	display: none;
}

/* Preview badge */
.acr-preview {
	position: fixed;
	left: 50%;
	bottom: 18px;
	z-index: 100000;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #1c1b1f;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	transform: translateX(-50%);
	white-space: nowrap;
}
.acr-preview a {
	color: #ffb4ab !important;
	text-decoration: underline !important;
}
.acr-preview__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #34c759;
}

/* Responsive */
@media (max-width: 1280px) {
	.acr-pgrid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 1080px) {
	.acr-ptop__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}
@media (max-width: 860px) {
	.acr-pgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.acr-hero-home {
		min-height: 620px;
	}
	.acr-head-row {
		margin-bottom: 28px;
	}
}
@media (max-width: 768px) {
	.acr--product .acr-mquote {
		position: fixed;
		right: 16px;
		bottom: 16px;
		z-index: 999;
		display: inline-flex;
		align-items: center;
		min-height: 46px;
		padding: 0 20px;
		border: 0;
		border-radius: 9999px;
		background: var(--acp-red);
		color: #fff;
		font: inherit;
		font-size: 16px;
		font-weight: 700;
		box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
	}
	.acr-preview {
		bottom: 76px;
		font-size: 13px;
	}
}
@media (max-width: 600px) {
	.acr-pgrid {
		grid-template-columns: 1fr;
	}
	.acr-facts {
		grid-template-columns: 1fr;
	}
	.acr-hero-cat {
		min-height: 0;
	}
	.acr-hero-home > .acp-wrap,
	.acr-hero-cat > .acp-wrap {
		padding-bottom: 80px;
	}
	.acr-ptop {
		padding-top: 20px;
	}
	.acr-gallery__main {
		border-radius: 18px;
	}
	.acr-filter {
		flex-wrap: nowrap;
		overflow-x: auto;
		width: 100%;
		padding-bottom: 4px;
	}
	.acr-filter button {
		flex: none;
	}
	.acr-head-row > .acp-btn {
		width: 100%;
	}
}

/* Header/footer rows: Divi customizer CSS sets category rows to 90% (and Theme Builder body pages follow);
   keep the same 80% box as the homepage and the landing pages. */
body.ac-rd .et-l--header .et_pb_row,
body.ac-rd .et-l--footer .et_pb_row {
	width: 80% !important;
}
@media (max-width: 980px) {
	body.ac-rd .et-l--header .et_pb_row,
	body.ac-rd .et-l--footer .et_pb_row {
		width: 90% !important;
	}
}

/* Product description: list items written as <li><p>…</p></li> */
.acr-desc li p,
.acr-catdesc li p {
	margin: 0 !important;
	padding: 0 !important;
}
.acr-desc ul + p,
.acr-desc p + ul {
	margin-top: 10px !important;
}
.acr-pbtns .acp-btn {
	flex: 1 1 auto;
}
.acr-desc li,
.acr-catdesc li {
	margin: 0 !important;
}

/* Homepage link directory */
.acr-dir__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.acr-dir__col {
	padding: 26px 26px 22px;
	border-radius: var(--acp-radius);
	background: #fff;
	box-shadow: var(--acp-shadow);
}
.acr .acr-dir__col h3 {
	margin-bottom: 14px !important;
	padding-bottom: 12px;
	border-bottom: 2px solid #fbe9e7;
	font-size: 18px;
}
.acr-dir__col ul {
	display: grid;
	gap: 4px;
}
.acr-dir__col a {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
	color: var(--acp-ink) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none !important;
	transition: color .15s ease;
}
.acr-dir__col a:before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	margin-top: .55em;
	border-radius: 50%;
	background: var(--acp-red);
}
.acr-dir__col a:hover {
	color: var(--acp-red) !important;
}
@media (max-width: 1080px) {
	.acr-dir__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.acr-dir__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Quote / contact form ---------- */
.acr-qform__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}
.acr-f {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	min-width: 0;
}
.acr-f--full {
	grid-column: 1 / -1;
}
.acr-f > span,
.acr-seg legend {
	color: var(--acp-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}
.acr .acr-f input,
.acr .acr-f select,
.acr .acr-f textarea {
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 16px;
	border: 1.5px solid var(--acp-line);
	border-radius: 12px;
	background: #fff;
	color: var(--acp-ink);
	font: inherit;
	font-size: 16px; /* no iOS zoom */
	line-height: 1.4;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.acr .acr-f select {
	padding-right: 44px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1b1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.acr .acr-f textarea {
	min-height: 110px;
	resize: vertical;
}
.acr .acr-f input::placeholder,
.acr .acr-f textarea::placeholder {
	color: #9a949c;
	opacity: 1;
}
.acr .acr-f input:focus,
.acr .acr-f select:focus,
.acr .acr-f textarea:focus {
	outline: 0;
	border-color: var(--acp-red);
	box-shadow: 0 0 0 4px rgba(179, 38, 30, .12);
}
.acr .acr-f.is-invalid input,
.acr .acr-f.is-invalid textarea {
	border-color: var(--acp-red);
	background: #fff8f7;
}
.acr-seg {
	margin: 0;
	padding: 0;
	border: 0;
}
.acr-seg legend {
	margin-bottom: 6px;
	padding: 0;
}
.acr-seg > div {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	padding: 4px;
	border-radius: 14px;
	background: var(--acp-soft);
}
.acr-seg label {
	position: relative;
	margin: 0;
	cursor: pointer;
}
.acr-seg input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.acr-seg span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 8px;
	border-radius: 10px;
	color: var(--acp-muted);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.acr-seg input:checked + span {
	background: #fff;
	color: var(--acp-red);
	box-shadow: 0 1px 2px rgba(28, 27, 31, .08), 0 4px 10px rgba(28, 27, 31, .08);
}
.acr-seg input:focus-visible + span {
	outline: 2px solid var(--acp-red);
	outline-offset: 2px;
}
.acr-chosen {
	flex-direction: row;
	align-items: center;
	gap: 14px;
	padding: 10px 14px 10px 10px;
	border: 1.5px solid var(--acp-line);
	border-radius: 14px;
	background: var(--acp-soft);
}
.acr-chosen img {
	flex: none;
	width: 56px;
	height: 56px !important;
	border-radius: 10px;
	object-fit: cover;
}
.acr-chosen small {
	display: block;
	color: var(--acp-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.acr-chosen b {
	display: block;
	font-size: 16px;
	line-height: 1.3;
}
.acr-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.acr-qform__err {
	margin-top: 14px !important;
	padding: 12px 16px !important;
	border-radius: 12px;
	background: #fdecea;
	color: var(--acp-red-dark) !important;
	font-size: 15px;
	font-weight: 600;
}
.acr-qform__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	align-items: center;
	margin-top: 20px;
}
.acr-qform__foot .acp-btn {
	min-width: 220px;
}
.acr-qform__foot .acp-btn[disabled] {
	opacity: .7;
	cursor: progress;
}
.acr-qform__privacy {
	flex: 1 1 220px;
	color: var(--acp-muted) !important;
	font-size: 13px;
	line-height: 1.5;
}
.acr-qform__privacy a {
	text-decoration: underline !important;
}
.acr-qdone {
	padding: 40px 8px;
	text-align: center;
}
.acr-qdone__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: #e7f4ea;
	color: #1e8e3e;
}
.acr-qdone__ico svg {
	width: 36px;
	height: 36px;
	stroke-width: 2.4;
}
.acr .acr-qdone h3 {
	margin-bottom: 10px !important;
	font-size: 24px;
}
.acr-qdone p {
	max-width: 420px;
	margin: 0 auto !important;
	color: var(--acp-muted);
}

/* ---------- Quote dialog ---------- */
html.acr-modal-open {
	overflow: hidden;
}
.acr-modal {
	width: min(980px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100% - 32px);
	margin: auto;
	padding: 0;
	overflow: visible;
	border: 0;
	border-radius: 24px;
	background: transparent;
	color: var(--acp-ink);
}
.acr-modal::backdrop {
	background: rgba(18, 16, 20, .62);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.acr-modal[open] {
	animation: acr-pop .22s ease-out;
}
@keyframes acr-pop {
	from { opacity: 0; transform: translateY(12px) scale(.98); }
	to { opacity: 1; transform: none; }
}
.acr-modal__box {
	position: relative;
	display: grid;
	grid-template-columns: 340px 1fr;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.acr-modal__side {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 40px 32px 32px;
	overflow: hidden;
	background: linear-gradient(160deg, #1c1b1f 0%, #2a2326 100%);
	color: #fff;
}
.acr-modal__side:after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -80px;
	width: 240px;
	height: 240px;
	border: 36px solid rgba(179, 38, 30, .35);
	border-radius: 50%;
}
.acr-modal__side h2 {
	margin-bottom: 12px !important;
	color: #fff;
	font-size: 30px;
}
.acr-modal__side p {
	color: rgba(255, 255, 255, .78);
	font-size: 16px;
}
.acr-modal__side ul {
	display: grid;
	gap: 12px;
	margin-top: 24px !important;
}
.acr-modal__side li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}
.acr-modal__side li svg {
	flex: none;
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	background: rgba(255, 180, 171, .16);
	color: #ffb4ab;
	stroke-width: 3;
}
.acr-modal__call {
	position: relative;
	z-index: 1;
	margin-top: auto;
	padding-top: 28px;
}
.acr-modal__call small {
	display: block;
	margin-bottom: 4px;
	color: rgba(255, 255, 255, .6);
	font-size: 13px;
	font-weight: 600;
}
.acr-modal__call a {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	color: #fff !important;
	font-size: 22px;
	font-weight: 700;
	text-decoration: none !important;
}
.acr-modal__call svg {
	width: 22px;
	height: 22px;
	color: #ffb4ab;
}
.acr-modal__main {
	padding: 36px 36px 30px;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.acr-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--acp-soft);
	color: var(--acp-ink);
	cursor: pointer;
	transition: background-color .15s ease;
}
.acr-modal__close:hover {
	background: var(--acp-line);
}
.acr-modal__close svg {
	width: 20px;
	height: 20px;
}

/* ---------- Contact page ---------- */
.acr-hero-contact > .acp-wrap {
	padding-bottom: 104px;
}
.acr-qcards__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: hidden;
	border-radius: var(--acp-radius);
	background: #fff;
	box-shadow: var(--acp-shadow);
}
.acr-qc {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 24px 22px;
	border-right: 1px solid var(--acp-line);
	color: var(--acp-ink) !important;
	text-decoration: none !important;
	transition: background-color .15s ease;
}
.acr-qc:last-child {
	border-right: 0;
}
a.acr-qc:hover {
	background: #fffaf9;
}
.acr-qc__ico {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #fbe9e7;
	color: var(--acp-red);
}
.acr-qc__ico svg {
	width: 22px;
	height: 22px;
}
.acr-qc__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.acr-qc small {
	color: var(--acp-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.acr-qc b {
	font-size: 17px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
.acr-qc .acp-link {
	margin-top: 4px;
	color: var(--acp-red);
	font-size: 14px;
}
.acr-contact__grid {
	grid-template-columns: minmax(0, 1fr) 400px;
}
.acr-formcard {
	padding: 40px;
	border: 1px solid var(--acp-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--acp-shadow);
}
.acr-formcard .acp-head {
	margin-bottom: 28px;
}
.acr .acr-info-h {
	margin-bottom: 18px !important;
	font-size: 22px;
	color: #fff;
}
.acr-contact .acp-info b {
	display: block;
	color: #fff;
	font-weight: 600;
	line-height: 1.5;
}
.acr-map {
	position: relative;
	min-height: 460px;
	overflow: hidden;
	border-radius: 24px;
	background: #ddd;
	box-shadow: var(--acp-shadow);
}
.acr-map__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	filter: saturate(.7);
}
.acr-map:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(12, 11, 13, .55) 0%, rgba(12, 11, 13, .1) 70%);
}
.acr-map__card {
	position: absolute;
	left: 32px;
	top: 50%;
	z-index: 2;
	width: min(500px, calc(100% - 64px));
	padding: 30px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
	transform: translateY(-50%);
}
.acr .acr-map__card h2 {
	margin-bottom: 8px !important;
	font-size: 24px;
}
.acr-map__card > p {
	margin-bottom: 20px !important;
	color: var(--acp-muted);
}
.acr-map__card .acp-btns .acp-btn {
	min-height: 46px;
	padding: 0 20px;
	font-size: 15px;
}
.acr-map iframe {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	border: 0;
}
.acr-map.is-loaded .acr-map__card,
.acr-map.is-loaded:before {
	display: none;
}

@media (max-width: 1080px) {
	.acr-qcards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.acr-qc:nth-child(2) {
		border-right: 0;
	}
	.acr-qc:nth-child(-n+2) {
		border-bottom: 1px solid var(--acp-line);
	}
	.acr-contact__grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 860px) {
	.acr-modal__box {
		grid-template-columns: 1fr;
		overflow-y: auto;
	}
	.acr-modal__side {
		padding: 28px 24px 22px;
	}
	.acr-modal__side ul,
	.acr-modal__side:after {
		display: none;
	}
	.acr-modal__call {
		padding-top: 14px;
	}
	.acr-modal__main {
		overflow: visible;
	}
}
@media (max-width: 600px) {
	.acr-modal {
		width: 100%;
		max-height: 100%;
		height: 100%;
		margin: 0;
		border-radius: 0;
	}
	.acr-modal__box {
		height: 100%;
		max-height: none;
		border-radius: 0;
	}
	.acr-modal__side h2 {
		font-size: 24px;
		padding-right: 40px;
	}
	.acr-modal__side p {
		font-size: 15px;
	}
	.acr-modal__call a {
		font-size: 19px;
	}
	.acr-modal__main {
		padding: 22px 18px 28px;
	}
	.acr-qform__grid {
		grid-template-columns: 1fr;
	}
	.acr-qform__foot .acp-btn {
		width: 100%;
	}
	.acr-qcards__grid {
		grid-template-columns: 1fr;
	}
	.acr-qc {
		border-right: 0;
		border-bottom: 1px solid var(--acp-line);
	}
	.acr-qc:last-child {
		border-bottom: 0;
	}
	.acr-formcard {
		padding: 24px 18px;
		border-radius: 18px;
	}
	.acr-map {
		min-height: 520px;
	}
	.acr-map__card {
		left: 16px;
		top: auto;
		bottom: 16px;
		width: calc(100% - 32px);
		padding: 22px;
		transform: none;
	}
	.acr-seg span {
		font-size: 13px;
	}
}
/* Dialog on small screens: stacked blocks (a grid row with overflow:hidden would shrink the dark panel). */
@media (max-width: 860px) {
	.acr-modal__box {
		display: block;
	}
	.acr-modal__side {
		overflow: visible;
	}
}

/* Tables inside article text (guides, category / product descriptions): full width on desktop.
   ac-pages.css makes them display:block (for horizontal scroll), which left the rows content-wide. */
@media (min-width: 701px) {
	body .acp .acp-article-body table {
		display: table;
		width: 100% !important;
		min-width: 0;
		overflow: hidden;
		border-collapse: separate;
		border-spacing: 0;
	}
	body .acp .acp-article-body thead th:first-child {
		border-top-left-radius: 13px;
	}
	body .acp .acp-article-body thead th:last-child {
		border-top-right-radius: 13px;
	}
}

/* Homepage hero: shipping / office / sanitary cards next to the text */
.acr-hero-home__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 48px;
	align-items: end;
}
.acr-htypes {
	display: grid;
	gap: 12px;
}
.acr-htype {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) 28px;
	gap: 14px;
	align-items: center;
	padding: 10px 14px 10px 10px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 18px;
	background: rgba(255, 255, 255, .94);
	color: var(--acp-ink) !important;
	text-decoration: none !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: transform .2s ease, box-shadow .2s ease;
}
.acr-htype:hover {
	transform: translateX(-4px);
	box-shadow: 0 14px 36px rgba(0, 0, 0, .32);
}
.acr-htype__img {
	width: 104px !important;
	height: 78px !important;
	border-radius: 12px;
	object-fit: cover;
}
.acr-htype__txt {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.acr-htype__txt b {
	font-size: 17px;
	line-height: 1.25;
}
.acr-htype__txt small {
	color: var(--acp-muted);
	font-size: 13px;
	line-height: 1.4;
}
.acr-htype__go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fbe9e7;
	color: var(--acp-red);
}
.acr-htype__go svg {
	width: 16px;
	height: 16px;
	stroke-width: 2.4;
}
@media (max-width: 1180px) {
	.acr-hero-home__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.acr-htypes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.acr-htype {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 10px 10px 14px;
	}
	.acr-htype__img {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 16 / 10;
	}
	.acr-htype__txt {
		padding: 0 4px;
	}
	.acr-htype__go {
		display: none;
	}
}
@media (max-width: 600px) {
	.acr-htypes {
		display: flex;
		gap: 10px;
		margin: 0 -5vw;
		padding: 2px 5vw 6px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.acr-htype {
		flex: 0 0 62%;
		scroll-snap-align: start;
	}
	.acr-htype__txt b {
		font-size: 15px;
	}
	.acr-htype__txt small {
		font-size: 12px;
	}
}

/* Homepage hero: longer H1 (shipping, office and sanitary) and content a bit higher */
.acr-hero-home h1 {
	font-size: clamp(32px, 4.2vw, 56px) !important;
}
.acr-hero-home > .acp-wrap {
	padding-top: 72px;
	padding-bottom: 150px;
}
@media (max-width: 600px) {
	.acr-hero-home > .acp-wrap {
		padding-top: 48px;
		padding-bottom: 96px;
	}
}

/* Solution pages (view-solution.php): text from the old Divi pages */
.acr-sol-prose h2,
.acr-sol-prose h3,
.acr-sol-prose h4 {
	margin: 22px 0 8px !important;
	padding: 0;
	font-size: 19px;
	line-height: 1.3;
	color: var(--acp-ink);
}
.acr-sol-prose strong {
	color: var(--acp-ink);
}
.acr-sol-prose > :first-child {
	margin-top: 0 !important;
}
.acr-sol-split .acp-split__media img {
	aspect-ratio: 4 / 3;
}
.acr-sol-code .acp-sec:first-child {
	padding-top: 72px;
}
