/* ==========================================================================
   SLY — product listing + product page
   Palette matches the redesigned homepage (navy #0b1b2b / blue #0084d6)
   ========================================================================== */

body.sly-shop-page,
body.sly-pdp-page {
	--sly-navy: #0b1b2b;
	--sly-navy-2: #16324f;
	--sly-blue: #0084d6;
	--sly-blue-d: #0073bd;
	--sly-blue-l: #e8f4fd;
	--sly-ink: #12212f;
	--sly-body: #46586c;
	--sly-muted: #708095;
	--sly-line: #e3eaf2;
	--sly-line-2: #eef2f7;
	--sly-soft: #f6f9fc;
	--sly-radius: 14px;
}

/* ---------- shell: take over Astra's content area ---------- */
body.sly-shop-page #content.site-content,
body.sly-pdp-page #content.site-content {
	padding-top: 0;
	padding-bottom: 0;
	background: #fff;
}
body.sly-shop-page #content.site-content > .ast-container,
body.sly-pdp-page #content.site-content > .ast-container {
	max-width: 1280px;
	padding-left: 20px;
	padding-right: 20px;
	display: block;
}
body.sly-shop-page #primary,
body.sly-pdp-page #primary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
}
body.sly-shop-page #secondary,
body.sly-pdp-page #secondary {
	display: none !important;
}
body.sly-shop-page .site-main,
body.sly-pdp-page .site-main {
	padding: 0;
	margin: 0;
}
body.sly-shop-page .ast-woocommerce-container,
body.sly-pdp-page .ast-woocommerce-container {
	padding: 0;
	margin: 0;
}

/* ---------- breadcrumbs ---------- */
.sly-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: var(--sly-muted);
	padding: 22px 0 0;
}
.sly-crumbs a {
	color: var(--sly-muted) !important;
	text-decoration: none;
}
.sly-crumbs a:hover {
	color: var(--sly-blue) !important;
}
.sly-crumbs span {
	color: #c3cedb;
}
.sly-crumbs strong {
	font-weight: 600;
	color: var(--sly-ink);
}

/* ---------- listing shell ---------- */
.sly-shop-wrap {
	padding-bottom: 64px;
	font-family: Roboto, -apple-system, "Segoe UI", Arial, sans-serif;
}
.sly-shop-head {
	padding: 20px 0 24px;
	max-width: 760px;
}
.sly-eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sly-blue);
	margin-bottom: 8px;
}
.sly-shop-head__t {
	margin: 0 0 8px;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--sly-navy);
}
.sly-shop-head__d {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--sly-body);
}

.sly-shop {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}
.sly-shop__side {
	position: sticky;
	top: 20px;
}
.sly-shop__filter {
	display: none;
}

/* ---------- category rail (reference: solid blue header, hairline list) ---------- */
.sly-catnav {
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}
.sly-catnav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(135deg, #12a3e8 0%, var(--sly-blue) 100%);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .01em;
	padding: 14px 18px;
}
.sly-catnav__total {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .78);
	background: rgba(255, 255, 255, .16);
	border-radius: 20px;
	padding: 2px 9px;
}
.sly-catnav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--sly-line);
	border-top: 0;
	background: #fff;
}
.sly-catnav__item {
	border-bottom: 1px solid var(--sly-line-2);
}
.sly-catnav__item:last-child {
	border-bottom: 0;
}
.sly-catnav__row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px 0 18px;
	min-height: 46px;
}
.sly-catnav__link {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14.5px;
	line-height: 1.35;
	color: #3d4b5c !important;
	text-decoration: none !important;
	padding: 13px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sly-catnav__link:hover {
	color: var(--sly-blue) !important;
}
.sly-catnav__count {
	flex: 0 0 auto;
	font-size: 11.5px;
	color: #9aa8b8;
	font-variant-numeric: tabular-nums;
}
.sly-catnav__chev {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	color: #9aa8b8;
	border-radius: 50%;
	transition: background .15s ease, color .15s ease;
}
.sly-catnav__chev svg {
	width: 15px;
	height: 15px;
	transition: transform .22s ease;
}
.sly-catnav__chev:hover {
	background: #eef4fa;
	color: var(--sly-blue);
}
.sly-catnav__item.is-open > .sly-catnav__row .sly-catnav__chev svg {
	transform: rotate(180deg);
}
.sly-catnav__sub {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height .28s ease;
	background: #fbfdff;
	border-top: 1px solid transparent;
}
.sly-catnav__item.is-open > .sly-catnav__sub {
	max-height: 1600px;
	border-top-color: var(--sly-line-2);
}
/* third level (LV > Circuit Breakers > MCCB) sits one step deeper */
.sly-catnav__sub--d2 {
	background: #f6f9fd;
	width: 100%;
	flex: none;
}
/* rows inside a sub list: the <li> is a block, the row carries the flex */
.sly-catnav__sub > li {
	display: block;
	width: 100%;
	min-width: 0;
	flex: none;
	float: none;
	padding: 0;
	position: relative;
	border-bottom: 1px solid #f4f7fb;
}
.sly-catnav__sub > li:last-child {
	border-bottom: 0;
}
.sly-catnav__sub > li > .sly-catnav__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 0 18px 0 30px;
	min-height: 34px;
}
.sly-catnav__sub > li::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 15px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #cfdae6;
}
/* third level: one step deeper, quieter */
.sly-catnav__sub--d2 > li > .sly-catnav__row {
	padding-left: 46px;
}
.sly-catnav__sub--d2 > li::before {
	left: 33px;
}
.sly-catnav__sub--d2 > li > .sly-catnav__row a {
	font-size: 12.5px;
}
.sly-catnav__sub a {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 13.5px;
	line-height: 1.4;
	color: #55657a !important;
	text-decoration: none !important;
	padding: 10px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sly-catnav__sub a:hover {
	color: var(--sly-blue) !important;
}

/* active states */
.sly-catnav__item.is-active > .sly-catnav__row {
	background: linear-gradient(135deg, #12a3e8 0%, var(--sly-blue) 100%);
}
.sly-catnav__item.is-active > .sly-catnav__row .sly-catnav__link,
.sly-catnav__item.is-active > .sly-catnav__row .sly-catnav__count {
	color: #fff !important;
	font-weight: 600;
}
.sly-catnav__item.is-active > .sly-catnav__row .sly-catnav__chev {
	color: rgba(255, 255, 255, .85);
}
/* the "All products" row stays light so it does not read as a second header */
.sly-catnav__item--all.is-active > .sly-catnav__row {
	background: var(--sly-blue-l);
}
.sly-catnav__item--all.is-active > .sly-catnav__row .sly-catnav__link,
.sly-catnav__item--all.is-active > .sly-catnav__row .sly-catnav__count {
	color: var(--sly-blue-d) !important;
	font-weight: 700;
}
.sly-catnav__sub li.is-active {
	background: var(--sly-blue-l);
}
.sly-catnav__sub li.is-active a {
	color: var(--sly-blue-d) !important;
	font-weight: 700;
}
.sly-catnav__sub li.is-active::before {
	background: var(--sly-blue);
}

.sly-catnav__help {
	display: block;
	margin-top: 14px;
	padding: 14px 16px;
	border: 1px dashed #d6e2ee;
	border-radius: 10px;
	background: var(--sly-soft);
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--sly-body) !important;
	text-decoration: none !important;
}
.sly-catnav__help strong {
	color: var(--sly-blue-d);
	font-weight: 700;
}

/* ---------- toolbar ---------- */
.sly-shop__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--sly-line);
	margin-bottom: 22px;
}
.sly-shop__bar::after,
.sly-shop__bar::before {
	display: none;
}
.sly-shop__bar .woocommerce-result-count {
	margin: 0 auto 0 0 !important;
	font-size: 13px;
	color: var(--sly-muted);
	float: none !important;
}
.sly-shop__bar .woocommerce-notices-wrapper {
	flex: 0 0 auto;
}
.sly-shop__bar .woocommerce-ordering {
	margin: 0 !important;
	float: none !important;
}
.sly-shop__bar .woocommerce-ordering select {
	height: 38px;
	min-width: 190px;
	padding: 0 34px 0 12px;
	border: 1px solid var(--sly-line);
	border-radius: 8px;
	background-color: #fff;
	font-size: 13px;
	color: var(--sly-ink);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23708095' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 14px;
}

/* ---------- product grid ---------- */
.sly-shop ul.products,
body.sly-pdp-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	clear: both;
}
.sly-shop ul.products::before,
.sly-shop ul.products::after {
	display: none;
}
.sly-shop ul.products li.product,
body.sly-pdp-page ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sly-line);
	border-radius: 12px;
	overflow: hidden;
	text-align: left;
	padding: 0 !important;
	transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.sly-shop ul.products li.product:hover {
	transform: translateY(-2px);
	border-color: #cfe0ee;
	box-shadow: 0 14px 30px rgba(13, 44, 74, .09);
}
.sly-shop ul.products li.product .astra-shop-thumbnail-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	height: auto;
	padding: 13%;
	background: #fff;
	border-bottom: 1px solid var(--sly-line-2);
	margin: 0 !important;
	overflow: hidden;
}
.sly-shop ul.products li.product .astra-shop-thumbnail-wrap img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
	transition: transform .3s ease;
}
.sly-shop ul.products li.product:hover .astra-shop-thumbnail-wrap img {
	transform: scale(1.04);
}
.sly-shop ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 13px 15px 14px;
	margin: 0 !important;
	text-align: left;
}
.sly-shop ul.products li.product .ast-woo-product-category {
	display: inline-block;
	align-self: flex-start;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--sly-blue) !important;
	margin: 0 0 7px;
	line-height: 1.4;
	background: var(--sly-blue-l);
	border-radius: 4px;
	padding: 3px 7px;
	order: -1;
}
.sly-shop ul.products li.product .woocommerce-loop-product__title {
	font-size: 14px !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
	color: var(--sly-ink) !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 39px;
}
.sly-shop ul.products li.product .ast-loop-product__link {
	text-decoration: none;
}
.sly-shop ul.products li.product .sly-card__more {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 5px;
	margin: 0 0 0 15px;
	padding: 2px 0 18px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--sly-blue-d) !important;
	text-decoration: none !important;
}
.sly-shop ul.products li.product .sly-card__more > span {
	transition: transform .16s ease;
}
.sly-shop ul.products li.product:hover .sly-card__more {
	color: var(--sly-blue) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.sly-shop ul.products li.product:hover .sly-card__more > span {
	transform: translateX(3px);
}
.sly-shop ul.products li.product .ast-woo-product-category:empty,
.sly-shop ul.products li.product .button {
	display: none;
}

/* ---------- pagination ---------- */
.sly-shop .woocommerce-pagination,
.sly-pdp-page .woocommerce-pagination {
	margin: 34px 0 0 !important;
	text-align: center;
}
.sly-shop .woocommerce-pagination ul.page-numbers,
.sly-pdp-page .woocommerce-pagination ul.page-numbers {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	border: 0;
	margin: 0;
	padding: 0;
}
.sly-shop .woocommerce-pagination ul.page-numbers li,
.sly-pdp-page .woocommerce-pagination ul.page-numbers li {
	border: 0 !important;
	margin: 0 !important;
}
.sly-shop .woocommerce-pagination ul.page-numbers .page-numbers,
.sly-pdp-page .woocommerce-pagination ul.page-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--sly-line);
	border-radius: 8px;
	font-size: 13.5px;
	color: var(--sly-ink) !important;
	text-decoration: none !important;
	background: #fff;
	transition: border-color .18s ease, color .18s ease;
}
.sly-shop .woocommerce-pagination ul.page-numbers .page-numbers:hover,
.sly-pdp-page .woocommerce-pagination ul.page-numbers .page-numbers:hover {
	border-color: var(--sly-blue);
	color: var(--sly-blue-d) !important;
}
.sly-shop .woocommerce-pagination ul.page-numbers .page-numbers.current,
.sly-pdp-page .woocommerce-pagination ul.page-numbers .page-numbers.current {
	background: var(--sly-blue);
	border-color: var(--sly-blue);
	color: #fff !important;
	font-weight: 600;
}

/* ==========================================================================
   Product page
   ========================================================================== */

body.sly-pdp-page .sly-crumbs {
	padding-top: 20px;
}
body.sly-pdp-page div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
	gap: 16px 44px;
	align-items: start;
	margin-top: 18px;
}
body.sly-pdp-page div.product::before,
body.sly-pdp-page div.product::after {
	display: none;
}

/* gallery */
body.sly-pdp-page div.product .woocommerce-product-gallery {
	grid-column: 1;
	grid-row: 1;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	background: #fff;
	border: 1px solid var(--sly-line);
	border-radius: var(--sly-radius);
	padding: 18px;
	position: sticky;
	top: 18px;
}
body.sly-pdp-page .woocommerce-product-gallery__wrapper {
	margin: 0;
	background: #fff;
	border-radius: 10px;
}
body.sly-pdp-page .woocommerce-product-gallery .flex-viewport {
	background: #fff;
}
body.sly-pdp-page .woocommerce-product-gallery__image img {
	width: 100% !important;
	max-width: 100%;
	max-height: 470px;
	margin: 0 auto;
	object-fit: contain;
	display: block;
}
body.sly-pdp-page .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
body.sly-pdp-page .woocommerce-product-gallery .flex-control-thumbs li {
	width: 66px !important;
	float: none !important;
	margin: 0 !important;
}
body.sly-pdp-page .woocommerce-product-gallery .flex-control-thumbs img {
	border: 1px solid var(--sly-line) !important;
	border-radius: 8px;
	padding: 4px;
	background: #fff;
	opacity: .75;
}
body.sly-pdp-page .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--sly-blue) !important;
	opacity: 1;
}

/* summary */
body.sly-pdp-page div.product .summary {
	grid-column: 2;
	grid-row: 1;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 4px 0 0;
}
body.sly-pdp-page .single-product-category {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 0;
	line-height: 0;
	margin: 0 0 14px;
}
body.sly-pdp-page .single-product-category a {
	font-size: 11px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--sly-blue-d) !important;
	background: var(--sly-blue-l);
	border-radius: 5px;
	padding: 5px 9px;
	text-decoration: none !important;
	margin: 0 !important;
}
body.sly-pdp-page div.product .product_title {
	font-size: 32px;
	line-height: 1.18;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--sly-navy);
	margin: 0 0 12px;
	padding: 0;
}
body.sly-pdp-page .sly-pdp__lede {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--sly-body);
	margin: 0 0 20px;
}
/* Astra also prints the raw excerpt and the SKU/category line; ours replaces both */
body.sly-pdp-page .summary .woocommerce-product-details__short-description,
body.sly-pdp-page .summary .product_meta {
	display: none !important;
}
body.sly-pdp-page .sly-pdp__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 22px;
	background: var(--sly-line);
	border: 1px solid var(--sly-line);
	border-radius: 12px;
	overflow: hidden;
}
body.sly-pdp-page .sly-pdp__fact {
	background: #fff;
	padding: 11px 14px;
}
body.sly-pdp-page .sly-pdp__fact dt {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sly-muted);
	margin: 0 0 4px;
}
body.sly-pdp-page .sly-pdp__fact dd {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--sly-ink);
	overflow: hidden;
	text-overflow: ellipsis;
}
body.sly-pdp-page .sly-pdp__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 12px;
}
body.sly-pdp-page .sly-pdp__note {
	font-size: 12px;
	line-height: 1.6;
	color: var(--sly-muted);
	margin: 0;
}

/* buttons */
.sly-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	padding: 0 22px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.sly-btn--primary {
	background: linear-gradient(135deg, #12a3e8 0%, var(--sly-blue) 100%);
	color: #fff !important;
	box-shadow: 0 10px 22px rgba(0, 132, 214, .22);
}
.sly-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 26px rgba(0, 132, 214, .28);
}
.sly-btn--ghost {
	background: #fff;
	border-color: var(--sly-line);
	color: var(--sly-ink) !important;
}
.sly-btn--ghost:hover {
	border-color: var(--sly-blue);
	color: var(--sly-blue-d) !important;
}

/* ---------- detail tabs + document body ---------- */
body.sly-pdp-page .sly-pdp-doc {
	grid-column: 1 / -1;
	margin-top: 46px;
}
.sly-doc-tabs {
	display: flex;
	gap: 2px;
	border-bottom: 2px solid var(--sly-blue);
	margin: 0 0 28px;
}
.sly-doc-tab {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: #eff5fa;
	color: var(--sly-navy);
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	padding: 15px 34px;
	cursor: pointer;
	transition: background .18s ease, color .18s ease;
}
.sly-doc-tab:hover {
	background: #e2eefa;
	color: var(--sly-blue-d);
}
.sly-doc-tab.is-on {
	background: var(--sly-blue);
	color: #fff;
}
.sly-doc-panel {
	display: none;
}
.sly-doc-panel.is-on {
	display: block;
}
/* prose keeps a comfortable measure, the spec table spans the column */
.sly-doc-panel#sly-doc-desc {
	max-width: 980px;
}
.sly-spec-table th {
	width: 30%;
}

/* lead callout */
.sly-doc-lead {
	margin: 0 0 20px;
	padding: 14px 18px;
	background: #f7f9fc;
	border-left: 3px solid var(--sly-blue);
	font-size: 13.8px;
	line-height: 1.78;
	color: #3f4c5c;
}

/* long-form body */
.sly-doc-prose {
	position: relative;
	font-size: 13.8px;
	line-height: 1.78;
	color: #3f4c5c;
	overflow: hidden;
}
.sly-doc-prose.is-clipped {
	max-height: 380px;
}
.sly-doc-prose.is-clipped::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 78%);
	pointer-events: none;
}
.sly-doc-prose p {
	margin: 0 0 12px;
}
.sly-doc-prose > p:first-of-type {
	margin: 0 0 20px;
	padding: 14px 18px;
	background: #f7f9fc;
	border-left: 3px solid var(--sly-blue);
	color: #3f4c5c;
}
.sly-doc-prose h2 {
	position: relative;
	margin: 30px 0 12px;
	padding: 22px 0 0 13px;
	border-top: 1px solid var(--sly-line);
	font-size: 17.5px;
	line-height: 1.35;
	font-weight: 800;
	color: var(--sly-navy);
	letter-spacing: -.01em;
}
.sly-doc-prose h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 24px;
	width: 3px;
	height: 22px;
	background: var(--sly-blue);
}
.sly-doc-prose h3,
.sly-doc-prose h4 {
	margin: 24px 0 10px;
	font-size: 14.5px;
	line-height: 1.4;
	font-weight: 800;
	color: var(--sly-navy);
}
.sly-doc-prose ul,
.sly-doc-prose ol {
	margin: 0 0 16px;
	padding-left: 20px;
}
.sly-doc-prose li {
	margin: 0 0 7px;
}
.sly-doc-prose li::marker {
	color: var(--sly-blue);
}
.sly-doc-prose strong {
	color: var(--sly-navy);
	font-weight: 700;
}
.sly-doc-prose a {
	color: var(--sly-blue-d);
}
.sly-doc-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 6px 0 14px;
}
.sly-doc-prose blockquote {
	margin: 18px 0;
	padding: 13px 18px;
	background: #fff8f2;
	border-left: 3px solid #e8a06a;
	font-size: 13px;
	line-height: 1.7;
	color: #6b4a33;
}
.sly-doc-prose blockquote p:last-child {
	margin: 0;
}

/* tables inside the description */
.sly-doc-prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 14px 0 20px;
	font-size: 12.5px;
	line-height: 1.6;
	border: 1px solid #d9e2ec;
}
.sly-doc-prose table th,
.sly-doc-prose table td {
	border: 1px solid #dfe8f1;
	padding: 9px 12px;
	text-align: left;
	vertical-align: top;
}
.sly-doc-prose table thead th,
.sly-doc-prose table tr:first-child th {
	background: #1b3a57;
	color: #fff;
	font-weight: 700;
	border-color: #1b3a57;
}
.sly-doc-prose table tbody tr:nth-child(even) td {
	background: #fafcfe;
}
.sly-doc-prose table tbody th {
	background: #f4f8fb;
	font-weight: 700;
	color: var(--sly-navy);
}

.sly-pdp-prose__empty {
	font-size: 14px;
	line-height: 1.75;
	color: var(--sly-body);
	margin: 0;
}
.sly-doc-note {
	margin: 22px 0 0;
	font-size: 12px;
	line-height: 1.7;
	color: var(--sly-muted);
}
.sly-doc-hint {
	margin: 0 0 16px;
	padding: 11px 14px;
	border: 1px dashed #cfe0ef;
	border-radius: 9px;
	background: #f5faff;
	font-size: 12.5px;
	line-height: 1.65;
	color: #2c5675;
}
.sly-doc-hint code {
	background: #e8f4fd;
	border-radius: 4px;
	padding: 1px 5px;
	font-size: 12px;
	color: #0b5f92;
}
.sly-doc-hint strong {
	color: #123b57;
}
.sly-prose-toggle {
	margin-top: 14px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--sly-line);
	background: #fff;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--sly-ink);
	cursor: pointer;
}
.sly-prose-toggle:hover {
	border-color: var(--sly-blue);
	color: var(--sly-blue-d);
}

/* imported catalogue data, kept behind a disclosure */
.sly-pdp-raw {
	margin: 4px 0 0;
	border: 1px solid var(--sly-line);
	border-radius: 10px;
	background: #fcfdff;
	padding: 0 16px;
}
.sly-pdp-raw summary {
	cursor: pointer;
	padding: 12px 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--sly-blue-d);
	list-style: none;
}
.sly-pdp-raw summary::-webkit-details-marker {
	display: none;
}
.sly-pdp-raw summary::before {
	content: "+";
	display: inline-block;
	width: 14px;
	font-weight: 700;
}
.sly-pdp-raw[open] summary::before {
	content: "\2013";
}
.sly-pdp-raw .sly-doc-prose {
	padding-bottom: 16px;
	max-height: 520px;
	overflow: auto;
	font-size: 13px;
}

/* spec table (Specifications tab) */
.sly-spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	border: 1px solid var(--sly-line);
	border-radius: 8px;
}
.sly-spec-table th,
.sly-spec-table td {
	padding: 12px 15px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--sly-line-2);
}
.sly-spec-table tr:last-child th,
.sly-spec-table tr:last-child td {
	border-bottom: 0;
}
.sly-spec-table th {
	width: 42%;
	font-weight: 600;
	color: #54657a;
	background: #f7f9fc;
	font-size: 12.5px;
}
.sly-spec-table td {
	color: var(--sly-ink);
	font-weight: 500;
}
.sly-pdp-details__ask {
	display: inline-block;
	margin-top: 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--sly-blue-d) !important;
	text-decoration: none !important;
}

/* hot tags */
.sly-pdp-tags {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	max-width: 980px;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--sly-line);
}
.sly-pdp-tags__k {
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sly-navy);
	margin-right: 4px;
}
.sly-pdp-tags__i {
	font-size: 11.5px;
	color: #54657a;
	background: #f4f8fb;
	border: 1px solid #e3eaf2;
	border-radius: 4px;
	padding: 4px 9px;
}

/* related products */
body.sly-pdp-page section.related {
	grid-column: 1 / -1;
	margin-top: 46px;
	padding-top: 36px;
	border-top: 1px solid var(--sly-line);
}
body.sly-pdp-page section.related > h2 {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--sly-navy);
	margin: 0 0 20px;
}
/* related products: let however many cards WooCommerce returns fill the row */
body.sly-pdp-page section.related ul.products {
	display: flex !important;
	flex-wrap: wrap;
	gap: 20px;
	align-items: stretch;
}
body.sly-pdp-page section.related ul.products li.product {
	flex: 1 1 200px;
	min-width: 0;
}
/* two cards per row on phones instead of one tall column */
@media (max-width: 560px) {
	body.sly-pdp-page section.related ul.products li.product {
		flex: 1 1 calc(50% - 10px);
	}
}
body.sly-pdp-page section.related ul.products li.product .ast-woo-product-category {
	display: inline-block;
	align-self: flex-start;
	order: -1;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--sly-blue) !important;
	background: var(--sly-blue-l);
	border-radius: 4px;
	padding: 3px 7px;
	margin: 0 0 7px;
	line-height: 1.4;
}
body.sly-pdp-page section.related ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 13px 15px 14px;
	margin: 0 !important;
	text-align: left;
}
body.sly-pdp-page section.related ul.products li.product .woocommerce-loop-product__title {
	font-size: 13.5px !important;
	line-height: 1.42 !important;
	font-weight: 600 !important;
	color: var(--sly-ink) !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 38px;
}
body.sly-pdp-page section.related ul.products li.product .sly-card__more {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 5px;
	margin: 0 0 0 15px;
	padding: 2px 0 18px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--sly-blue-d) !important;
	text-decoration: none !important;
}
body.sly-pdp-page section.related ul.products li.product .sly-card__more > span {
	transition: transform .16s ease;
}
body.sly-pdp-page section.related ul.products li.product:hover .sly-card__more > span {
	transform: translateX(3px);
}

/* ==========================================================================
   Inquiry form
   ========================================================================== */

body.sly-pdp-page .sly-inq {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	margin-top: 50px;
	padding: 36px;
	background: var(--sly-soft);
	border: 1px solid var(--sly-line);
	border-radius: 18px;
	scroll-margin-top: 90px;
}
.sly-inq__title {
	font-size: 25px;
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -.015em;
	color: var(--sly-navy);
	margin: 0 0 10px;
}
.sly-inq__lead {
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--sly-body);
	margin: 0 0 22px;
	max-width: 560px;
}

.sly-form {
	margin: 0;
}
.sly-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.sly-field {
	display: block;
	margin: 0 0 12px;
}
.sly-field--full {
	display: block;
	width: 100%;
}
.sly-field__label {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--sly-muted);
	margin-bottom: 6px;
}
.sly-field__label em {
	color: #d9534f;
	font-style: normal;
}
.sly-field input[type="text"],
.sly-field input[type="email"],
.sly-field textarea {
	width: 100%;
	border: 1px solid #d9e3ee;
	border-radius: 9px;
	background: #fff;
	padding: 11px 13px;
	font-size: 14px;
	color: var(--sly-ink);
	box-shadow: none;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.sly-field input[type="text"],
.sly-field input[type="email"] {
	height: 44px;
}
.sly-field input::placeholder,
.sly-field textarea::placeholder {
	color: #9fadbd;
}
.sly-field input:focus,
.sly-field textarea:focus {
	outline: none;
	border-color: var(--sly-blue);
	box-shadow: 0 0 0 3px rgba(0, 132, 214, .13);
}
.sly-field textarea {
	resize: vertical;
	min-height: 108px;
}
.sly-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.sly-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 6px;
}
.sly-form__submit {
	min-width: 168px;
}
.sly-form__hint {
	font-size: 11.5px;
	color: var(--sly-muted);
}
.sly-form__msg {
	display: none;
	margin-top: 14px;
	padding: 12px 15px;
	border-radius: 9px;
	font-size: 13.5px;
	line-height: 1.55;
}
.sly-form__msg.is-on {
	display: block;
}
.sly-form__msg.is-ok {
	background: #e8f6ee;
	border: 1px solid #b7e2c8;
	color: #1c6b3c;
}
.sly-form__msg.is-err {
	background: #fdeeea;
	border: 1px solid #f3c3b6;
	color: #a63a22;
}
.sly-form .is-invalid {
	border-color: #e0866f !important;
	box-shadow: 0 0 0 3px rgba(217, 83, 79, .12) !important;
}

/* contact card */
.sly-inq__contact {
	background: #fff;
	border: 1px solid var(--sly-line);
	border-radius: 14px;
	padding: 24px;
	align-self: start;
}
.sly-inq__contact h3 {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .01em;
	color: var(--sly-navy);
	margin: 0 0 16px;
}
.sly-contact-list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.sly-contact-list li {
	padding: 11px 0;
	border-bottom: 1px solid var(--sly-line-2);
}
.sly-contact-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.sly-contact-list__k {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sly-muted);
	margin-bottom: 3px;
}
.sly-contact-list a {
	font-size: 14px;
	font-weight: 600;
	color: var(--sly-blue-d) !important;
	text-decoration: none !important;
	word-break: break-word;
}
.sly-contact-list a:hover {
	color: var(--sly-blue) !important;
}
.sly-inq__tip {
	font-size: 12px;
	line-height: 1.65;
	color: var(--sly-muted);
	margin: 0 0 14px;
	padding-top: 14px;
	border-top: 1px solid var(--sly-line-2);
}
.sly-inq__more {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--sly-blue-d) !important;
	text-decoration: none !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.sly-shop {
		grid-template-columns: 236px minmax(0, 1fr);
		gap: 26px;
	}
	body.sly-pdp-page .sly-inq {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

@media (max-width: 980px) {
	.sly-shop {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
	.sly-shop__side {
		position: static;
	}
	.sly-shop__filter {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 46px;
		padding: 0 16px;
		background: #fff;
		border: 1px solid var(--sly-line);
		border-radius: 10px;
		font-size: 14px;
		font-weight: 600;
		color: var(--sly-ink);
		cursor: pointer;
	}
	.sly-shop__filter-ico svg {
		width: 18px;
		height: 18px;
		color: var(--sly-muted);
		transition: transform .22s ease;
	}
	.sly-shop__filter[aria-expanded="true"] .sly-shop__filter-ico svg {
		transform: rotate(180deg);
	}
	.sly-shop__filter-body {
		display: none;
		padding-top: 12px;
	}
	.sly-shop__filter-body.is-open {
		display: block;
	}
	.sly-shop-head__t {
		font-size: 27px;
	}
}

@media (max-width: 900px) {
	body.sly-pdp-page div.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
	body.sly-pdp-page div.product .woocommerce-product-gallery,
	body.sly-pdp-page div.product .summary {
		grid-column: 1;
		grid-row: auto;
		position: static;
	}
	body.sly-pdp-page div.product .product_title {
		font-size: 26px;
	}
	body.sly-pdp-page .sly-pdp-doc {
		margin-top: 30px;
	}
	body.sly-pdp-page .sly-inq {
		padding: 24px;
		border-radius: 14px;
	}
	body.sly-pdp-page section.related ul.products li.product {
		flex: 1 1 42%;
	}
}

@media (max-width: 760px) {
	.sly-shop ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.sly-shop ul.products li.product .astra-shop-thumbnail-wrap {
		padding: 11%;
	}
	.sly-shop ul.products li.product .astra-shop-summary-wrap {
		padding: 10px 12px 12px;
	}
	.sly-shop ul.products li.product .woocommerce-loop-product__title {
		font-size: 13px !important;
		min-height: 36px;
	}
	.sly-shop__bar {
		gap: 8px;
	}
	.sly-shop__bar .woocommerce-ordering select {
		min-width: 150px;
		font-size: 12.5px;
	}
	.sly-crumbs {
		font-size: 11.5px;
	}
	.sly-inq__title {
		font-size: 21px;
	}
	.sly-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	body.sly-pdp-page .sly-pdp__facts {
		grid-template-columns: minmax(0, 1fr);
	}
	body.sly-pdp-page .sly-pdp__cta .sly-btn {
		flex: 1 1 auto;
	}
	body.sly-pdp-page .sly-inq {
		padding: 20px 16px;
	}
	.sly-inq__contact {
		padding: 20px;
	}
}
