@font-face {
	font-family: Geist;
	src: url("../fonts/geist/geist-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Geist;
	src: url("../fonts/geist/geist-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Geist;
	src: url("../fonts/geist/geist-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Geist;
	src: url("../fonts/geist/geist-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "PT Serif";
	src: url("../fonts/pt-serif/pt-serif-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "PT Serif";
	src: url("../fonts/pt-serif/pt-serif-400i.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "PT Serif";
	src: url("../fonts/pt-serif/pt-serif-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--am-bg: #cbf0ff;
	--am-accent: #016e8f;
	--am-text: #016e8f;
	--am-card: #ffffff;
	--am-consult-accent: #20536f;
	--am-consult-bg: #a5d7db;
	--am-button-text: #ffffff;
	--am-radius: 0;
	--am-max: 1200px;
	--am-font: Geist, "Segoe UI", sans-serif;
	--am-serif: "PT Serif", Georgia, serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--am-bg);
	color: var(--am-text);
	font-family: var(--am-font);
	font-size: 16px;
	line-height: 1.6;
}

img,
video {
	max-width: 100%;
	height: auto;
}

svg {
	max-width: 100%;
}

a {
	color: var(--am-accent);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--am-font);
	font-weight: 700;
	line-height: 1.2;
	color: var(--am-text);
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.skip-link:focus {
	clip: auto;
	height: auto;
	width: auto;
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 10000;
	background: var(--am-accent);
	color: #fff;
	padding: 8px 12px;
}

.am-container {
	width: min(100% - 2.5rem, var(--am-max));
	margin-inline: auto;
}

.am-site-content {
	min-height: 50vh;
}

.am-main {
	padding: 2.5rem 0 4rem;
}

/* Header */
.am-header {
	background: rgba(203, 240, 255, 0.96);
	position: sticky;
	top: 0;
	z-index: 2000;
	border-bottom: 1px solid rgba(1, 110, 143, 0.08);
	backdrop-filter: blur(8px);
}

.am-header__inner {
	width: min(100% - 2.5rem, 1200px);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: 72px;
}

.am-header__brand img,
.am-header__brand .custom-logo {
	max-height: 48px;
	width: auto;
}

.am-logo-text {
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--am-accent);
	text-decoration: none;
}

.am-nav {
	margin-left: auto;
	position: relative;
	z-index: 2010;
}

.am-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 1.1rem;
}

.am-menu a {
	color: var(--am-accent);
	font-weight: 500;
	font-size: 0.92rem;
	text-decoration: none;
}

.am-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.55rem 0;
	background: var(--am-card);
	box-shadow: 0 8px 24px rgba(1, 110, 143, 0.12), 0 3px 0 0 var(--am-accent);
	min-width: 220px;
	position: absolute;
	z-index: 2010;
	display: none;
}

.am-menu .menu-item-has-children {
	position: relative;
}

.am-menu .menu-item-has-children:hover > .sub-menu,
.am-menu .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.am-menu .sub-menu a {
	display: block;
	padding: 0.35rem 1rem;
}

.am-header__tools {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.am-cart-link {
	position: relative;
	color: var(--am-accent);
	display: inline-flex;
	text-decoration: none;
}

.am-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background: var(--am-accent);
	color: #fff;
	border-radius: 99px;
	font-size: 11px;
	min-width: 16px;
	height: 16px;
	display: grid;
	place-items: center;
	padding: 0 4px;
}

button.am-nav-toggle,
.am-nav-toggle {
	display: none;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	cursor: pointer;
	margin-left: auto;
	color: var(--am-accent) !important;
}

.am-nav-toggle__bar,
.am-nav-toggle__bar::before,
.am-nav-toggle__bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--am-accent);
	position: relative;
}

.am-nav-toggle__bar::before,
.am-nav-toggle__bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.am-nav-toggle__bar::before { top: -7px; }
.am-nav-toggle__bar::after { top: 7px; }

.am-pagehead {
	background: var(--am-accent);
	color: #fff;
	padding: 2.4rem 0;
}

.am-pagehead__title {
	margin: 0.4rem 0 0;
	color: #fff;
	font-size: 2rem;
}

.am-pagehead__desc {
	margin: 0.6rem 0 0;
	max-width: 40rem;
	opacity: 0.9;
	font-size: 0.95rem;
}

.am-breadcrumbs p {
	margin: 0;
}

.am-pagehead .woocommerce-breadcrumb,
.am-pagehead .woocommerce-breadcrumb a,
.am-pagehead .am-breadcrumbs,
.am-pagehead .am-breadcrumbs a {
	color: #fff;
	font-size: 0.85rem;
	opacity: 0.85;
}

.am-pagehead .am-breadcrumbs a:hover,
.am-pagehead .woocommerce-breadcrumb a:hover {
	opacity: 1;
	text-decoration: underline;
}

.am-entry-header .am-breadcrumbs {
	font-size: 0.85rem;
	margin: 0 0 0.8rem;
	color: #6a7a80;
}

.am-entry-header .am-breadcrumbs a {
	color: inherit;
}

/* Buttons */
.am-btn,
button:not(.am-nav-toggle),
.button,
.wp-block-button__link,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
form[data-form-id="65"] input[type="submit"] {
	background: var(--am-text) !important;
	color: var(--am-button-text) !important;
	border: none !important;
	border-radius: var(--am-radius) !important;
	font-family: var(--am-font);
	font-size: 16px;
	font-weight: 500;
	padding: 0.75rem 1.2rem !important;
	cursor: pointer;
	display: inline-block;
	text-decoration: none !important;
	line-height: 1.2;
	transition: background 0.15s ease, transform 0.15s ease;
}

.am-btn:hover,
button:not(.am-nav-toggle):hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: #015a75 !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--am-accent) !important;
}

/* Footer */
.am-footer {
	position: relative;
	z-index: 2;
	background: var(--am-accent);
	color: #fff;
	padding: 3rem 0 2rem;
}

.am-footer a,
.am-footer .widget-title {
	color: #fff;
}

.am-footer__widgets {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.am-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	border-top: 1px solid rgba(255,255,255,.2);
	padding-top: 1.2rem;
}

.am-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1rem;
}

.am-footer .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.am-footer .widget li {
	margin: 0.35rem 0;
}

/* Layout */
.am-layout--sidebar {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 2.5rem;
}

.am-shop-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 2.5rem;
	align-items: start;
}

.am-posts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.am-entry-title {
	font-size: 2rem;
	margin: 0 0 1rem;
}

.am-posts .am-post {
	background: var(--am-card);
	box-shadow: 0 3px 0 0 var(--am-accent);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.am-posts .am-post:hover {
	transform: translateY(-2px);
}

.am-post__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--am-text);
	text-decoration: none;
}

.am-post__link:hover {
	text-decoration: none;
}

.am-post__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: rgba(1, 110, 143, 0.1);
}

.am-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.am-posts .am-post:hover .am-post__media img {
	transform: scale(1.04);
}

.am-post__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.15rem 1.2rem 1.25rem;
}

.am-post__date {
	display: block;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.75;
	margin: 0 0 0.45rem;
}

.am-post__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.65rem;
}

.am-post__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.55;
}

.am-post__more {
	margin-top: auto;
	font-size: 0.85rem;
	font-weight: 600;
}

.am-post__link:hover .am-post__more {
	text-decoration: underline;
}

.am-thumb img {
	width: 100%;
	display: block;
}

/* Query Loop news cards */
.wp-block-query .wp-block-post-template {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	gap: 1.25rem;
}

.entry-content .wp-block-query .wp-block-post-template.is-layout-grid,
.entry-content .wp-block-query .wp-block-post-template[class*="columns-"] {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.wp-block-query .wp-block-post {
	background: var(--am-card);
	box-shadow: 0 3px 0 0 var(--am-accent);
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 0 0 1.2rem;
	transition: transform 0.15s ease;
}

.wp-block-query .wp-block-post:hover {
	transform: translateY(-2px);
}

.wp-block-query .wp-block-post-featured-image {
	order: 1;
	width: 100%;
	max-width: none;
	margin: 0 0 1.1rem !important;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: rgba(1, 110, 143, 0.1);
}

.wp-block-query .wp-block-post-featured-image.alignwide,
.wp-block-query .wp-block-post-featured-image.alignfull {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.wp-block-query .wp-block-post-featured-image a {
	display: block;
	height: 100%;
}

.wp-block-query .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.wp-block-query .wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}

.wp-block-query .wp-block-post-date {
	order: 2;
	padding: 0 1.2rem;
	margin: 0 0 0.4rem;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.75;
}

.wp-block-query .wp-block-post-title,
.wp-block-query .wp-block-post-title.has-medium-font-size {
	order: 3;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding: 0 1.2rem;
	margin: 0 0 0.55rem;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	line-height: 1.25;
}

.wp-block-query .wp-block-post-title a {
	color: var(--am-text);
	text-decoration: none;
}

.wp-block-query .wp-block-post-title a:hover {
	text-decoration: underline;
}

.wp-block-query .wp-block-post-excerpt {
	order: 4;
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 0 1.2rem;
	margin: 0;
}

.wp-block-query .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	line-height: 1.55;
}

.wp-block-query .wp-block-post-excerpt__more-text {
	margin: auto 0 0;
}

.wp-block-query .wp-block-post-excerpt__more-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--am-text);
	text-decoration: none;
}

.wp-block-query .wp-block-post-excerpt__more-link::after {
	content: " \2192";
}

.wp-block-query .wp-block-post-excerpt__more-link:hover {
	text-decoration: underline;
}

/* Home / SiteOrigin restyle */
.am-home .entry-title,
.am-home .page-title,
.home .header-callout,
.footer-credits {
	display: none !important;
}

.am-home-main {
	padding: 0 0 4rem;
}

body.am-home {
	overflow-x: hidden;
}

/* Copy and cards stay in the column. */
body.am-home .am-home-content.entry-content {
	width: min(100% - 2.5rem, var(--am-max, 1200px));
	max-width: var(--am-max, 1200px);
	margin-inline: auto;
}

/* Carousel + section backgrounds break out to the viewport. */
body.am-home #pg-213-0,
body.am-home #pg-213-2,
body.am-home #pg-213-4,
body.am-home #pg-213-5 {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* SiteOrigin JS also stretches these rows; don't double the offset. */
body.am-home #pg-213-0 > .siteorigin-panels-stretch,
body.am-home #pg-213-2 > .siteorigin-panels-stretch,
body.am-home #pg-213-4 > .siteorigin-panels-stretch,
body.am-home #pg-213-5 > .siteorigin-panels-stretch {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.am-home .panel-grid-cell,
.am-home .so-panel {
	margin: 0;
}

.am-home .sow-slider-base,
.am-home .sow-hero,
.am-home .so-widget-sow-hero {
	background: var(--am-bg);
}

.am-home #pg-213-0 .so-widget-sow-hero,
.am-home #pg-213-0 .so-widget-sow-hero-default-848c5c993dbf-213 {
	min-height: 0 !important;
	height: auto !important;
}

.am-home #pg-213-0 .sow-slider-base,
.am-home #pg-213-0 .sow-hero,
.am-home #pg-213-0 .so-widget-sow-hero {
	background: #fff;
}

.am-home #pg-213-0 .sow-slider-base {
	width: 100%;
	max-height: 80vh;
	height: auto !important;
	min-height: 0 !important;
	aspect-ratio: 1640 / 924;
	margin: 0;
	overflow: hidden;
	background: #fff;
}

.am-home #pg-213-0 ul.sow-slider-images,
.am-home #pg-213-0 .sow-slider-image,
.am-home #pg-213-0 .cycle-slide,
.am-home #pg-213-0 .cycle-sentinel,
.am-home #pg-213-0 .sow-slider-image-container,
.am-home #pg-213-0 .sow-slider-image-wrapper {
	min-height: 0 !important;
	height: 100% !important;
	max-height: 100% !important;
	padding: 0 !important;
}

.am-home #pg-213-0 .sow-slider-image-cover {
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-color: #fff !important;
}

.am-home #pg-213-0 .sow-slide-nav {
	display: flex !important;
	align-items: stretch;
	visibility: visible !important;
	position: absolute !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
	pointer-events: auto !important;
	opacity: 1 !important;
	top: 0 !important;
	bottom: 0 !important;
	transform: none !important;
	z-index: 1002 !important;
}

.am-home #pg-213-0 .sow-slide-nav-prev {
	left: 0;
}

.am-home #pg-213-0 .sow-slide-nav-next {
	right: 0;
}

.am-home #pg-213-0 .sow-slide-nav a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1003;
	width: clamp(72px, 11vw, 160px);
	height: 100%;
	padding: 0 1.1rem;
	cursor: pointer;
	color: var(--am-accent) !important;
	text-decoration: none !important;
	background: linear-gradient(90deg, rgba(1, 110, 143, 0.14), rgba(1, 110, 143, 0.05) 42%, rgba(1, 110, 143, 0));
}

.am-home #pg-213-0 .sow-slide-nav-next a {
	background: linear-gradient(270deg, rgba(1, 110, 143, 0.14), rgba(1, 110, 143, 0.05) 42%, rgba(1, 110, 143, 0));
}

.am-home #pg-213-0 .sow-slide-nav a:hover {
	background: linear-gradient(90deg, rgba(1, 110, 143, 0.22), rgba(1, 110, 143, 0.08) 50%, rgba(1, 110, 143, 0));
}

.am-home #pg-213-0 .sow-slide-nav-next a:hover {
	background: linear-gradient(270deg, rgba(1, 110, 143, 0.22), rgba(1, 110, 143, 0.08) 50%, rgba(1, 110, 143, 0));
}

.am-home #pg-213-0 .sow-slide-nav em {
	display: block !important;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1;
	filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.85));
}

@media (max-width: 780px) {
	.am-home #pg-213-0 .sow-slider-base {
		max-height: 52vh;
	}

	.am-home #pg-213-0 .sow-slide-nav a {
		width: 64px;
		padding: 0 0.4rem;
	}
}

.am-home h1,
.am-home h2,
.am-home h3,
.am-home .sow-headline,
.am-home .sow-features-feature h5,
.am-home .sow-features-feature h4 {
	font-family: var(--am-font);
	color: var(--am-text);
}

.am-home .sow-headline {
	font-size: 38px;
	font-weight: 700;
	line-height: 1.2;
}

.am-home p,
.am-home .sow-features-feature p {
	font-size: 16px;
	color: var(--am-text);
}

.am-home .sow-features-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.am-home .sow-features-feature {
	background: var(--am-card);
	box-shadow: 0 3px 0 0 var(--am-accent);
	padding: 1.4rem 1.2rem;
	border-radius: 0;
}

.home .siteorigin-panels {
	background: var(--am-bg);
}

/* Kali form */
form[data-form-id="65"] {
	padding: 25px;
	background: var(--am-accent);
	border-radius: 0;
	color: #fff;
}

form[data-form-id="65"] label {
	color: #fff !important;
	font-weight: 600;
}

form[data-form-id="65"] input[type="text"],
form[data-form-id="65"] input[type="email"],
form[data-form-id="65"] textarea {
	width: 100%;
	border: 0;
	padding: 0.7rem;
	font-family: var(--am-font);
}

form[data-form-id="65"] input[type="submit"] {
	width: 100% !important;
	background: #fff !important;
	color: var(--am-accent) !important;
}

/* Shop */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	background: var(--am-card);
	box-shadow: 0 3px 0 0 var(--am-accent);
	padding: 1rem;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-2px);
}

.woocommerce ul.products li.product img {
	width: 100%;
	border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--am-text);
}

.woocommerce .onsale {
	background: var(--am-accent) !important;
	color: #fff !important;
	border-radius: 0 !important;
	padding: 4px 8px;
	min-height: 0;
	line-height: 1.2;
}

.am-consult-archive ul.products,
.term-consulenze ul.products {
	grid-template-columns: 1fr;
}

.am-consult-card {
	padding: 0 !important;
}

.am-consult-card__link {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"title price"
		"meta arrow";
	gap: 0.2rem 1rem;
	padding: 1.1rem 1.2rem;
	color: var(--am-text);
	text-decoration: none;
	align-items: start;
}

.am-consult-card__title {
	grid-area: title;
	margin: 0;
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	line-height: inherit;
	color: inherit;
}

.am-consult-card__price {
	grid-area: price;
	font-size: 16px;
	font-weight: 700;
	opacity: 0.55;
	white-space: nowrap;
}

.am-consult-card__meta {
	grid-area: meta;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.75;
}

.am-consult-card__arrow {
	grid-area: arrow;
	justify-self: end;
}

.am-shipping-banner {
	position: relative;
	margin-top: 2rem;
	font-size: 1.4rem;
	text-align: center;
	color: var(--am-text);
}

.am-shipping-banner img {
	width: 100%;
	display: block;
}

.am-shipping-banner__text {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.25rem;
	box-sizing: border-box;
}

.am-shipping-banner__text p {
	margin: 0.15rem 0;
	max-width: 100%;
}

.am-shipping-banner__gratis {
	font-size: 2.4rem;
	margin: 0.2rem 0;
}

.am-shipping-banner__note {
	font-size: 1rem;
}

/* Calendly-style product */
body.am-book-page {
	background: #fff;
	overflow-x: hidden;
}

body.am-book-page::before {
	content: "";
	position: fixed;
	top: 72px;
	right: 0;
	bottom: 0;
	width: 62%;
	background-color: var(--am-consult-bg);
	background-image: url("../img/consult-wallpaper.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
	pointer-events: none;
}

body.am-book-page .am-header {
	background: #fff;
	border-bottom: 1px solid rgba(32, 83, 111, 0.08);
}

.am-book-main {
	padding: 0;
	position: relative;
	z-index: 1;
}

.am-book {
	margin: 0;
	max-width: 100%;
}

.am-book__stage {
	display: grid;
	grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
	align-items: stretch;
	min-height: calc(100vh - 72px);
}

.am-book__info {
	background: #fff;
	color: #1a1a1a;
	padding: 1.75rem 2rem 2.8rem;
	min-height: calc(100vh - 72px);
}

.am-book__who {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 1.1rem;
}

.am-book__avatar,
.am-book__who img {
	width: 36px !important;
	height: 36px !important;
	max-width: 36px !important;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.am-book__who-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--am-consult-accent);
}

.am-book .woocommerce-breadcrumb,
.am-book .am-breadcrumbs {
	font-size: 0.8rem;
	margin-bottom: 0.8rem;
	color: #6a7a80;
}

.am-book .woocommerce-breadcrumb a,
.am-book .am-breadcrumbs a {
	color: var(--am-consult-accent);
}

.am-book .product_title {
	font-family: var(--am-serif);
	font-size: 1.65rem;
	font-weight: 700;
	color: #12232b;
	margin: 0 0 0.7rem;
	line-height: 1.25;
}

.am-book__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.15rem;
	margin: 0 0 0.35rem;
	color: #4a5c64;
	font-size: 0.92rem;
}

.am-book__fact {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.am-book .summary .price {
	color: var(--am-consult-accent);
	font-size: 1.15rem;
	font-weight: 600;
	margin: 0.2rem 0 1rem;
}

.am-book .summary,
.am-book .woocommerce-tabs,
.am-book .related,
.am-book .upsells,
.woocommerce div.product.am-book .summary,
.woocommerce #content div.product.am-book .summary {
	float: none !important;
	width: 100% !important;
	max-width: 100%;
}

.woocommerce div.product.am-book form.cart,
.am-book form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	margin-top: 1.1rem;
}

.woocommerce div.product.am-book form.cart .variations,
.woocommerce div.product.am-book form.cart .single_variation_wrap,
.am-book form.cart .variations,
.am-book form.cart .single_variation_wrap {
	flex: 1 1 100%;
	width: 100%;
	float: none !important;
}

.woocommerce div.product.am-book form.cart .woocommerce-variation-add-to-cart,
.am-book form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 8px;
}

.woocommerce div.product.am-book form.cart .quantity,
.am-book form.cart .quantity {
	float: none !important;
	margin: 0 !important;
	display: flex;
	align-items: stretch;
	flex: 0 0 auto;
}

.woocommerce div.product.am-book form.cart .quantity .qty,
.am-book form.cart .quantity input {
	width: 4.25rem;
	height: 48px;
	margin: 0;
	padding: 0 0.4rem;
	text-align: center;
	font-size: 1rem;
	border: 1px solid rgba(32, 83, 111, 0.22);
	border-radius: 10px;
	box-sizing: border-box;
}

.woocommerce div.product.am-book form.cart .single_add_to_cart_button,
.am-book .single_add_to_cart_button {
	float: none !important;
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	height: 48px;
	margin: 0 !important;
	padding: 0 1rem !important;
	border-radius: 10px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.am-book .woocommerce-tabs {
	margin-top: 1.6rem;
}

.am-book .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 1rem;
	border: 0;
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
}

.am-book .woocommerce-tabs ul.tabs li {
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
}

.am-book .woocommerce-tabs ul.tabs li a {
	font-weight: 600;
	color: var(--am-consult-accent);
	padding: 0.2rem 0;
}

.am-book .woocommerce-tabs .panel {
	margin: 0;
	color: #2c3a40;
	font-size: 0.98rem;
}

.am-book__visual {
	position: relative;
	min-height: calc(100vh - 72px);
	min-width: 0;
	max-width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 1.5rem;
	overflow: visible;
	box-sizing: border-box;
	background-color: transparent;
	background-image: url("../img/consult-wallpaper.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.am-book__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(32, 83, 111, 0.28);
	pointer-events: none;
}

.am-book__media {
	position: sticky;
	top: calc(72px + 1.5rem);
	z-index: 1;
	width: 100%;
	max-width: min(480px, 100%);
	max-height: calc(100vh - 72px - 3rem);
	overflow: auto;
	box-sizing: border-box;
	background: #fff;
	border-radius: 16px;
	padding: 1rem;
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}

.woocommerce div.product.am-book .am-book__media .onsale,
.woocommerce div.product.am-book span.onsale {
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	z-index: 10;
	border-radius: 8px !important;
	white-space: nowrap;
}

.woocommerce div.product.am-book div.images,
.woocommerce #content div.product.am-book div.images,
.am-book .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	overflow: hidden;
	box-sizing: border-box;
}

.am-book .flex-viewport {
	width: 100% !important;
	max-width: 100%;
	overflow: hidden;
	margin-bottom: 18px !important;
}

.am-book .woocommerce-product-gallery__wrapper {
	max-width: none;
	overflow: visible;
}

.am-book .woocommerce-product-gallery__image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.woocommerce div.product.am-book .flex-control-thumbs,
.am-book .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin: 18px 0 0 !important;
	padding: 0;
	overflow: hidden;
	float: none !important;
	width: 100% !important;
}

.am-book .flex-control-thumbs li {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.am-book .flex-control-thumbs img {
	width: 100% !important;
	height: auto !important;
	border-radius: 4px;
}

.am-book__after,
.am-book .related,
.am-book .upsells {
	display: none;
}

/* Checkout / cart / account */
.woocommerce-cart .am-pagehead,
.woocommerce-checkout .am-pagehead,
.woocommerce-account .am-pagehead,
.woocommerce-cart .am-entry-header,
.woocommerce-checkout .am-entry-header,
.woocommerce-account .am-entry-header {
	display: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select {
	border: 1px solid rgba(1, 110, 143, 0.25);
	border-radius: 0;
	padding: 0.6rem 0.7rem;
	font-family: var(--am-font);
	color: var(--am-text);
	background: #fff;
}

.woocommerce table.shop_table {
	border: 0;
	background: #fff;
	box-shadow: 0 3px 0 0 var(--am-accent);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	border-top-color: var(--am-accent);
	background: #fff;
}

/* FAQ pattern if used */
.am-faq,
.wp-block-details {
	border-top: 3px solid var(--am-text);
	padding: 1.2rem 0;
}

.am-faq__q,
.wp-block-details summary {
	font-weight: 700;
	color: var(--am-text);
	cursor: pointer;
}

/* Pagination */
.nav-links,
.woocommerce-pagination ul {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
}

.nav-links a,
.woocommerce-pagination a,
.woocommerce-pagination span {
	padding: 0.4rem 0.7rem;
	background: #fff;
	color: var(--am-accent);
	box-shadow: 0 3px 0 0 var(--am-accent);
}

/* Widgets */
.widget-title {
	font-size: 1.2rem;
	margin: 0 0 0.8rem;
}

.am-shop-sidebar .widget {
	background: #fff;
	padding: 1rem;
	margin-bottom: 1rem;
	box-shadow: 0 3px 0 0 var(--am-accent);
}

/* AIOVG */
.single-aiovg_videos .aiovg-social,
.single-aiovg_videos .author-bio,
.shapely-related-posts,
.shapely-next-prev,
.woocommerce div.product p.stock {
	display: none !important;
}

/* Mobile */
@media (max-width: 919px) {
	button.am-nav-toggle,
	.am-nav-toggle {
		display: block !important;
	}

	.am-nav {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		z-index: 2010;
		background: var(--am-bg);
		padding: 1rem 1.25rem 2rem;
		box-shadow: 0 8px 20px rgba(0,0,0,.08);
	}

	.am-nav.is-open {
		display: block;
	}

	.am-menu {
		flex-direction: column;
	}

	.am-menu .sub-menu {
		position: static;
		display: none;
		box-shadow: none;
		padding-left: 0.8rem;
	}

	.am-menu .is-sub-open > .sub-menu {
		display: block;
	}

	.am-home .sow-features-list,
	.am-layout--sidebar,
	.am-shop-layout,
	.am-consult-layout,
	.woocommerce ul.products,
	.am-footer__widgets,
	.am-posts {
		grid-template-columns: 1fr;
	}

	.entry-content .wp-block-query .wp-block-post-template.is-layout-grid,
	.entry-content .wp-block-query .wp-block-post-template[class*="columns-"] {
		grid-template-columns: 1fr !important;
	}

	.am-layout--sidebar {
		align-items: stretch;
	}

	.am-shop-layout {
		display: flex;
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.am-shop-sidebar,
	.am-shop-primary,
	.am-shop-sidebar .widget,
	.am-shipping-banner {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.am-book-page,
	body.am-book-page #page,
	body.am-book-page .am-book-main,
	body.am-book-page .am-book,
	body.am-book-page .am-book__stage {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow-x: hidden;
	}

	.am-book__stage {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		min-height: 0;
	}

	.am-book__visual,
	.am-book__media,
	.am-book__info {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	body.am-book-page::before {
		display: none;
	}

	body.am-book-page .am-header {
		background: #fff;
	}

	body.am-book-page .am-menu a,
	body.am-book-page .am-cart-link {
		color: var(--am-accent);
		filter: none;
	}

	.am-book__stage {
		margin-top: 0;
		min-height: 0;
	}

	.am-book__info {
		padding: 1.35rem 1.2rem 2.2rem;
		min-height: 0;
	}

	.am-book__visual {
		order: -1;
		position: relative;
		top: auto;
		height: auto;
		min-height: 46vh;
		max-height: none;
		padding: 1rem;
		overflow: hidden;
		background-color: var(--am-consult-bg);
		background-image: url("../img/consult-wallpaper.jpg");
	}

	.am-book__media {
		position: relative;
		top: auto;
		max-width: 100%;
		max-height: none;
		padding: 0.75rem;
		border-radius: 14px;
		overflow: hidden;
	}

	.am-book__info {
		padding: 1.35rem 1.2rem 2.2rem;
		position: static;
		max-height: none;
		overflow-x: hidden;
	}

	.woocommerce div.product.am-book div.images,
	.woocommerce-page div.product.am-book div.images,
	.woocommerce #content div.product.am-book div.images,
	.am-book .woocommerce-product-gallery {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	.am-book .flex-viewport {
		width: 100% !important;
		overflow: hidden;
		margin-bottom: 18px !important;
	}

	.am-book__info img:not(.am-book__avatar) {
		max-width: 100%;
		height: auto;
	}

	.am-book__avatar,
	.am-book__who img {
		width: 28px !important;
		height: 28px !important;
		max-width: 28px !important;
	}

	.woocommerce div.product.am-book .flex-control-thumbs,
	.am-book .flex-control-thumbs {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 6px;
		margin: 18px 0 0 !important;
		width: 100% !important;
		float: none !important;
	}

	.am-book .flex-control-thumbs li {
		width: auto !important;
		float: none !important;
	}

	.am-book .product_title {
		font-size: 1.35rem;
	}

	.woocommerce div.product.am-book form.cart .single_add_to_cart_button,
	.am-book .single_add_to_cart_button {
		width: auto !important;
	}

	.am-shipping-banner {
		font-size: 1.05rem;
		background: #fff;
	}

	.am-shipping-banner img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: fill;
	}

	.am-shipping-banner__text {
		position: relative;
		inset: auto;
		padding: 1.35rem 1rem 1.15rem;
	}

	.am-shipping-banner__gratis {
		font-size: 1.7rem;
	}

	.am-shipping-banner__note {
		font-size: 0.85rem;
	}
}
