/* ==========================================================================
   Amsterdam Typewriters — skins for the Divi layouts
   --------------------------------------------------------------------------
   Every Divi module in the import files carries a CSS class (at-hero-title,
   at-products, …). This file styles those classes. The six designs differ
   only in the variables below plus a short block of per-skin layout rules.

   Sections:
     1. Skin variables (one block per design)
     2. Base and Divi resets
     3. Header and footer
     4. Hero (homepage featured machine + single product page)
     5. Trust strip
     6. Product grids (shop module, related products)
     7. Product details, archive heading, cart and checkout touch-ups
     8. Per-skin layout rules
     9. Mobile
   ========================================================================== */

/* 1. SKIN VARIABLES ======================================================== */

/* 1 · Cream editorial — Olivetti Lettera 32 */
body.at-skin-editorial {
	--at-bg: #f4efe4;
	--at-surface: #e7e0d0;
	--at-ink: #1c1a17;
	--at-muted: #4a4640;
	--at-line: #1c1a17;
	--at-accent: #a3221c;
	--at-accent-ink: #ffffff;
	--at-hl: #a3221c;
	--at-strip-bg: #1c1a17;
	--at-strip-ink: #e9e3d6;
	--at-strip-head: #ffffff;
	--at-c1: #e7e0d0;
	--at-c2: #e7e0d0;
	--at-c3: #e7e0d0;
	--at-display: "Newsreader", Georgia, serif;
	--at-body: "Newsreader", Georgia, serif;
	--at-mono: "Courier Prime", "Courier New", monospace;
	--at-r: 0px;
	--at-btn-r: 0px;
	--at-h1: clamp(44px, 5.6vw, 72px);
	--at-h1-w: 400;
	--at-h1-ls: -0.01em;
	--at-h2: clamp(28px, 3vw, 36px);
	--at-h2-w: 400;
}

/* 2 · Colourful rounded — Hermes 3000 */
body.at-skin-colour {
	--at-bg: #fbf6ef;
	--at-surface: #ffffff;
	--at-ink: #1f282d;
	--at-muted: #4b5459;
	--at-line: #e6ddd0;
	--at-accent: #c2410c;
	--at-accent-ink: #ffffff;
	--at-hl: #e3a72a;
	--at-hero-bg: #1f6f68;
	--at-strip-bg: transparent;
	--at-strip-ink: #1f282d;
	--at-strip-head: #1f282d;
	--at-c1: #f2d9cc;
	--at-c2: #f5e6bf;
	--at-c3: #cfe4e0;
	--at-display: "Jost", "Helvetica Neue", sans-serif;
	--at-body: "Jost", "Helvetica Neue", sans-serif;
	--at-mono: "Space Mono", monospace;
	--at-r: 16px;
	--at-btn-r: 999px;
	--at-h1: clamp(40px, 5vw, 58px);
	--at-h1-w: 700;
	--at-h1-ls: -0.01em;
	--at-h2: clamp(26px, 3vw, 32px);
	--at-h2-w: 700;
}

/* 3 · Dark workshop — Olympia SM3 */
body.at-skin-workshop {
	--at-bg: #18191b;
	--at-surface: #222527;
	--at-ink: #ede8de;
	--at-muted: #b9b3a8;
	--at-line: #34373a;
	--at-accent: #d4a24c;
	--at-accent-ink: #18191b;
	--at-hl: #d4a24c;
	--at-strip-bg: #e8e3d8;
	--at-strip-ink: #1f2022;
	--at-strip-head: #8a5a14;
	--at-c1: #222527;
	--at-c2: #222527;
	--at-c3: #222527;
	--at-display: "DM Serif Display", Georgia, serif;
	--at-body: "Inter", "Helvetica Neue", sans-serif;
	--at-mono: "IBM Plex Mono", monospace;
	--at-r: 0px;
	--at-btn-r: 0px;
	--at-h1: clamp(40px, 4.8vw, 56px);
	--at-h1-w: 400;
	--at-h1-ls: -0.01em;
	--at-h2: clamp(26px, 3vw, 32px);
	--at-h2-w: 400;
}

/* 4 · Space age — Smith-Corona Skyriter */
body.at-skin-spaceage {
	--at-bg: #f5ede1;
	--at-surface: #f5ede1;
	--at-ink: #222e2e;
	--at-muted: #3f4a4a;
	--at-line: #222e2e;
	--at-accent: #b8432f;
	--at-accent-ink: #ffffff;
	--at-hl: #b8432f;
	--at-teal: #2e8b86;
	--at-strip-bg: #222e2e;
	--at-strip-ink: #e9e2d6;
	--at-strip-head: #e8b33a;
	--at-c1: #e8b33a;
	--at-c2: #efb5a3;
	--at-c3: #a9d5d1;
	--at-display: "Josefin Sans", "Futura", sans-serif;
	--at-body: "Josefin Sans", "Futura", sans-serif;
	--at-mono: "Space Mono", monospace;
	--at-r: 50%;
	--at-btn-r: 999px;
	--at-h1: clamp(42px, 5.6vw, 66px);
	--at-h1-w: 700;
	--at-h1-ls: 0;
	--at-h2: clamp(24px, 3vw, 32px);
	--at-h2-w: 700;
}

/* 5 · Bold colour blocks — Olivetti Studio 44 */
body.at-skin-blocks {
	--at-bg: #f1ece4;
	--at-surface: #ffffff;
	--at-ink: #111111;
	--at-muted: #333333;
	--at-line: #111111;
	--at-accent: #c8361a;
	--at-accent-ink: #ffffff;
	--at-hl: #c8361a;
	--at-blue: #1f5e8f;
	--at-yellow: #e8b220;
	--at-strip-bg: transparent;
	--at-strip-ink: #111111;
	--at-strip-head: #111111;
	--at-c1: #1f5e8f;
	--at-c2: #e8b220;
	--at-c3: #c8361a;
	--at-display: "Archivo", "Helvetica Neue", sans-serif;
	--at-body: "Archivo", "Helvetica Neue", sans-serif;
	--at-mono: "Space Mono", monospace;
	--at-r: 0px;
	--at-btn-r: 0px;
	--at-h1: clamp(48px, 6.4vw, 84px);
	--at-h1-w: 900;
	--at-h1-ls: -0.02em;
	--at-h2: clamp(36px, 4.4vw, 52px);
	--at-h2-w: 900;
}

/* 6 · Olive catalogue — Olympia Monica */
body.at-skin-catalogue {
	--at-bg: #ede4d2;
	--at-surface: #f7f0e3;
	--at-ink: #3b2a1e;
	--at-muted: #5a4636;
	--at-line: #3b2a1e;
	--at-accent: #8e3a1f;
	--at-accent-ink: #ffffff;
	--at-hl: #c98f2e;
	--at-olive: #6e7a3a;
	--at-strip-bg: #3b2a1e;
	--at-strip-ink: #efe6d6;
	--at-strip-head: #e0a940;
	--at-c1: #6e7a3a;
	--at-c2: #c98f2e;
	--at-c3: #8e3a1f;
	--at-display: "Young Serif", Georgia, serif;
	--at-body: "Jost", "Helvetica Neue", sans-serif;
	--at-mono: "Jost", "Helvetica Neue", sans-serif;
	--at-r: 14px;
	--at-btn-r: 10px;
	--at-h1: clamp(40px, 4.8vw, 56px);
	--at-h1-w: 400;
	--at-h1-ls: 0;
	--at-h2: clamp(26px, 3vw, 32px);
	--at-h2-w: 400;
}

/* 2. BASE AND DIVI RESETS ================================================== */

body.at-site,
body.at-site #page-container,
body.at-site #main-content,
body.at-site .et-l--body,
body.at-site .et_pb_section {
	background-color: var(--at-bg);
}

body.at-site {
	color: var(--at-ink);
	font-family: var(--at-body);
	font-size: 17px;
	line-height: 1.55;
}

body.at-site h1,
body.at-site h2,
body.at-site h3,
body.at-site h4 {
	color: var(--at-ink);
	font-family: var(--at-display);
	padding-bottom: 0;
}

body.at-site a {
	color: inherit;
}

body.at-site p:last-of-type {
	padding-bottom: 0;
}

/* Our sections set their own spacing instead of Divi's 4% defaults. */
body.at-site .et_pb_section[class*="at-"] {
	padding: 0;
}

body.at-site .et_pb_section[class*="at-"] > .et_pb_row {
	width: 92%;
	max-width: 1180px;
	padding: 0;
}

body.at-site .et_pb_section[class*="at-"] .et_pb_module {
	margin-bottom: 0;
}

/* Divi's blank-theme header stays hidden; the Theme Builder header replaces it. */
body.at-site #main-header,
body.at-site #top-header {
	display: none;
}

/* Small mono labels used across all skins */
.at-site .at-eyebrow,
.at-site .at-shipping-note,
.at-site .at-specs,
.at-site .at-trust-num,
.at-site .at-topbar-text {
	font-family: var(--at-mono);
}

/* 3. HEADER AND FOOTER ===================================================== */

.at-site .at-topbar {
	background: var(--at-strip-bg) !important;
}

/* Empty top bar text in the Customizer = no bar at all */
.at-site .at-topbar:not(:has(.at-topbar-text)) {
	display: none;
}

.at-site .at-topbar-row {
	padding: 6px 0 !important;
	text-align: center;
}

.at-site .at-topbar-text {
	color: var(--at-strip-ink);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.at-site .at-header-row {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0 !important;
}

.at-site .at-header-row > .et_pb_column {
	width: auto !important;
	margin: 0 !important;
	float: none;
}

.at-site .at-header-row > .et_pb_column:last-child {
	display: flex;
	align-items: center;
	gap: 28px;
}

.at-site .at-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--at-ink);
}

.at-site .at-logo-words {
	display: flex;
	flex-direction: column;
}

.at-site .at-logo-text {
	font-family: var(--at-display);
	font-size: 22px;
	line-height: 1.1;
}

.at-site .at-logo-sub {
	font-family: var(--at-mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--at-hl);
	margin-top: 3px;
}

.at-site .at-nav .et-menu > li > a,
.at-site .at-nav .et_pb_menu__menu a {
	color: var(--at-ink) !important;
	font-family: var(--at-body);
	font-size: 14px;
	padding-bottom: 0 !important;
}

.at-site .at-nav .et-menu > li {
	padding-left: 14px;
	padding-right: 14px;
}

.at-site .at-nav,
.at-site .at-nav .et_pb_menu_inner_container {
	background: transparent !important;
}

.at-site .at-cart {
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}

.at-site .at-footer {
	border-top: 1px solid var(--at-line);
}

.at-site .at-footer-row {
	padding: 26px 0 40px !important;
}

.at-site .at-footer-text .et_pb_text_inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--at-mono);
	font-size: 12px;
}

.at-site .at-footer-text p {
	padding: 0;
}

.at-site .at-footer-text a {
	text-decoration: none;
}

.at-site .at-footer-text a:hover {
	text-decoration: underline;
}

/* 4. HERO ================================================================== */

.at-site .at-hero > .et_pb_row {
	padding: 56px 0 64px !important;
}

.at-site .at-hero-row {
	display: flex !important;
	align-items: flex-start;
	gap: 48px;
}

.at-site .at-hero-row > .et_pb_column {
	flex: 1 1 0;
	width: auto !important;
	margin: 0 !important;
	float: none;
}

/* Text column: modules stack, price / cart / second button sit on one line */
.at-site .at-hero-text {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	align-content: flex-start;
	column-gap: 14px;
	row-gap: 14px;
}

.at-site .at-hero-text > .et_pb_module {
	flex: 0 0 100%;
}

.at-site .at-hero-text > .at-hero-cart,
.at-site .at-hero-text > .et_pb_button_module_wrapper {
	flex: 0 0 auto;
}

.at-site .at-eyebrow {
	order: 1;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--at-hl);
}

.at-site .at-eyebrow p {
	display: inline;
}

.at-site .at-products li.product a {
	text-decoration: none;
}

.at-site .at-hero-title { order: 2; }
.at-site .at-hero-meta { order: 3; }
.at-site .at-hero-desc { order: 4; }
.at-site .at-hero-price { order: 5; }
.at-site .at-hero-ship { order: 6; }
.at-site .at-hero-cart { order: 7; }
.at-site .at-hero-text > .et_pb_button_module_wrapper { order: 8; }

.at-site .at-hero-title h1,
.at-site .at-hero-title h2 {
	font-size: var(--at-h1);
	font-weight: var(--at-h1-w);
	letter-spacing: var(--at-h1-ls);
	line-height: 1.02;
	margin: 0;
}

.at-site .at-meta {
	font-family: var(--at-display);
	font-style: italic;
	font-size: calc(var(--at-h1) * 0.55);
	line-height: 1.1;
	margin: 0;
	padding: 0;
}

.at-site .at-hero-desc {
	max-width: 30em;
	color: var(--at-muted);
}

.at-site .at-hero-price .price,
.at-site .at-hero-price p.price {
	font-family: var(--at-mono);
	font-size: 28px !important;
	font-weight: 700;
	color: var(--at-ink) !important;
	margin: 0;
}

.at-site .at-shipping-note {
	font-size: 12px;
	color: var(--at-muted);
	margin: 0;
}

/* Buttons: WooCommerce add-to-cart + Divi button module */
.at-site .at-hero-cart form.cart {
	margin: 0 !important;
}

.at-site .at-hero-cart .quantity {
	display: none !important; /* one-of-a-kind: no quantity box */
}

.at-site .at-hero-cart .single_add_to_cart_button,
.at-site .woocommerce .at-hero-cart button.button,
.at-site .at-btn-secondary,
.at-site .at-wk-btn,
.at-site .at-products .button,
.at-site .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.at-site .woocommerce #place_order {
	background: var(--at-accent) !important;
	color: var(--at-accent-ink) !important;
	border: 2px solid var(--at-accent) !important;
	border-radius: var(--at-btn-r) !important;
	font-family: var(--at-mono) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 12px 22px !important;
	line-height: 1.2 !important;
}

.at-site .at-hero-cart .single_add_to_cart_button::after,
.at-site .at-wk-btn::after,
.at-site .at-btn-secondary::after {
	display: none !important; /* Divi's arrow icon on hover */
}

.at-site .at-btn-secondary {
	background: transparent !important;
	color: var(--at-ink) !important;
	border-color: var(--at-ink) !important;
}

/* Media column */
/* The frame (background, corners, border) sits on the main photo only, so the
   thumbnail row under it is never clipped by a rounded or oval shape. */
.at-site .at-hero-media .woocommerce-product-gallery .flex-viewport,
.at-site .at-hero-media .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
	background: var(--at-surface);
	border-radius: var(--at-r);
	overflow: hidden;
}

.at-site .at-hero-media .woocommerce-product-gallery {
	margin: 0 !important;
	width: 100% !important;
	float: none !important;
}

.at-site .at-hero-media .woocommerce-product-gallery__image img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	display: block;
}

/* Product gallery thumbnails: up to 10 small photos under the main photo.
   Click one to show it large; click the large photo to open it full screen. */
.at-site .at-hero-media .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	list-style: none;
}

.at-site .at-hero-media .flex-control-thumbs::before,
.at-site .at-hero-media .flex-control-thumbs::after {
	display: none !important;
}

.at-site .at-hero-media .flex-control-thumbs li {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	padding: 0 !important;
}

.at-site .at-hero-media .flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	cursor: pointer;
	opacity: 0.6;
	border: 2px solid transparent;
	border-radius: min(var(--at-img-r, var(--at-r)), 10px);
	transition: opacity 0.15s ease, border-color 0.15s ease;
}

.at-site .at-hero-media .flex-control-thumbs img:hover,
.at-site .at-hero-media .flex-control-thumbs img.flex-active {
	opacity: 1;
}

.at-site .at-hero-media .flex-control-thumbs img.flex-active {
	border-color: var(--at-accent);
}

/* Full-screen button on the main photo, in the skin's colours */
.at-site .at-hero-media .woocommerce-product-gallery__trigger {
	background: var(--at-bg) !important;
	color: var(--at-ink) !important;
	z-index: 5;
}

.at-site .at-hero-specs {
	margin-top: 10px !important;
}

.at-site .at-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	font-size: 12px;
	color: var(--at-muted);
	margin: 0;
}

.at-site .at-spec {
	display: flex;
	gap: 6px;
}

.at-site .at-spec dt::after {
	content: ":";
}

.at-site .at-spec dd {
	margin: 0;
	color: var(--at-ink);
}

.at-site .at-badge {
	display: inline-block;
	font-family: var(--at-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: var(--at-btn-r);
	background: var(--at-hl);
	color: var(--at-ink);
}

/* 5. TRUST STRIP =========================================================== */

.at-site .at-trust {
	background: var(--at-strip-bg) !important;
}

.at-site .at-trust-row {
	display: flex !important;
	gap: 32px;
	padding: 32px 0 !important;
}

.at-site .at-trust-row > .et_pb_column {
	flex: 1 1 0;
	width: auto !important;
	margin: 0 !important;
	float: none;
}

.at-site .at-trust-row > .at-trust-intro-col {
	display: none; /* shown only in the workshop skin */
}

.at-site .at-trust-item {
	color: var(--at-strip-ink);
	font-size: 14px;
}

.at-site .at-trust-item h4 {
	color: var(--at-strip-head);
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 4px;
	font-family: var(--at-mono);
}

.at-site .at-trust-num {
	margin-right: 6px;
}

.at-site .at-trust-intro h2 {
	font-size: var(--at-h2);
	color: var(--at-strip-ink);
	line-height: 1.1;
}

/* 6. PRODUCT GRIDS ========================================================= */

.at-site .at-grid > .et_pb_row {
	padding: 0 !important;
}

.at-site .at-grid > .at-grid-head-row {
	padding-top: 64px !important;
}

.at-site .at-grid-head .et_pb_text_inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid var(--at-line);
	padding-bottom: 14px;
	margin-bottom: 22px !important;
}

.at-site .at-grid-head h2 {
	font-size: var(--at-h2);
	font-weight: var(--at-h2-w);
	line-height: 1.05;
	margin: 0;
}

.at-site .at-grid-head p {
	padding: 0;
}

.at-site .at-grid-head a {
	font-family: var(--at-mono);
	font-size: 12px;
	text-decoration: underline;
	white-space: nowrap;
}

.at-site .at-grid > .at-grid-row {
	padding-bottom: 72px !important;
}

.at-site .at-products ul.products {
	display: grid !important;
	grid-template-columns: repeat(var(--at-cols, 3), minmax(0, 1fr));
	gap: 20px;
	margin: 0 !important;
}

.at-site .at-products ul.products::before,
.at-site .at-products ul.products::after {
	display: none !important;
}

.at-site .at-products ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
}

.at-site .at-products.at-cols-4 { --at-cols: 4; }

.at-site .at-products .et_shop_image {
	display: block;
	border-radius: var(--at-r);
	overflow: hidden;
	background: var(--at-c1);
}

.at-site .at-products li.product:nth-child(3n + 2) .et_shop_image { background: var(--at-c2); }
.at-site .at-products li.product:nth-child(3n + 3) .et_shop_image { background: var(--at-c3); }

.at-site .at-products .et_shop_image img,
.at-site .at-products li.product a img {
	width: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0 !important;
}

.at-site .at-products .et_overlay {
	display: none !important; /* Divi's zoom overlay */
}

.at-site .at-products .woocommerce-loop-product__title {
	font-family: var(--at-display) !important;
	font-size: 19px !important;
	color: var(--at-ink) !important;
	padding: 12px 0 2px !important;
	margin: 0 !important;
}

.at-site .at-products .price {
	font-family: var(--at-mono);
	font-size: 13px !important;
	color: var(--at-ink) !important;
}

.at-site .at-sold {
	color: var(--at-hl);
	font-family: var(--at-mono);
	font-size: 13px;
}

.at-site .at-products .onsale {
	display: none !important;
}

/* 7. DETAILS, ARCHIVE, CART & CHECKOUT ===================================== */

.at-site .at-details > .et_pb_row {
	padding: 0 0 64px !important;
	max-width: 760px;
}

.at-site .at-details h2 {
	font-size: var(--at-h2);
	font-weight: var(--at-h2-w);
	margin-bottom: 12px;
}

.at-site .at-details .woocommerce-product-attributes {
	border: 0;
	font-family: var(--at-mono);
	font-size: 14px;
}

.at-site .at-details .woocommerce-product-attributes th,
.at-site .at-details .woocommerce-product-attributes td {
	border: 0;
	border-bottom: 1px solid var(--at-line);
	background: transparent;
	padding: 10px 0;
}

.at-site .at-archive-head > .et_pb_row {
	padding: 56px 0 8px !important;
}

.at-site .at-archive-head h1 {
	font-size: var(--at-h1);
	font-weight: var(--at-h1-w);
	letter-spacing: var(--at-h1-ls);
	line-height: 1.02;
}

.at-site .at-archive-head p {
	color: var(--at-muted);
	margin-top: 10px;
}

body.at-site.woocommerce-cart #main-content,
body.at-site.woocommerce-checkout #main-content {
	color: var(--at-ink);
}

body.at-site.woocommerce-cart table.shop_table,
body.at-site.woocommerce-checkout table.shop_table {
	border-color: var(--at-line);
	border-radius: var(--at-r) !important;
}

/* 8. PER-SKIN LAYOUT RULES ================================================= */

/* --- 1 · Cream editorial ------------------------------------------------- */
.at-skin-editorial .at-header {
	border-bottom: 1px solid var(--at-line);
}
.at-skin-editorial .at-eyebrow .et_pb_text_inner::before { content: "— "; }
.at-skin-editorial .at-hero-media .woocommerce-product-gallery .flex-viewport,
.at-skin-editorial .at-hero-media .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper { border: 1px solid var(--at-line); }
.at-skin-editorial .at-hero-ship { order: 6; flex: 0 0 100% !important; }
.at-skin-editorial .at-nav .et_pb_menu__menu a { text-decoration: underline; font-family: var(--at-mono); font-size: 12px; }
.at-skin-editorial .at-footer-row { padding-top: 18px !important; }

/* --- 2 · Colourful rounded ----------------------------------------------- */
.at-skin-colour .at-hero > .et_pb_row {
	background: var(--at-hero-bg);
	border-radius: 24px;
	padding: 48px 44px !important;
	margin-top: 8px;
	margin-bottom: 36px;
	align-items: center;
}
.at-skin-colour .at-hero-text *,
.at-skin-colour .at-hero-title h1,
.at-skin-colour .at-hero-price .price { color: #ffffff !important; }
.at-skin-colour .at-hero-desc { color: rgba(255, 255, 255, 0.85) !important; }
.at-skin-colour .at-eyebrow {
	align-self: flex-start;
	flex: 0 0 auto !important;
	background: var(--at-hl);
	color: var(--at-ink) !important;
	border-radius: 999px;
	padding: 6px 12px;
}
.at-skin-colour .at-meta { font-style: normal; font-weight: 700; font-size: var(--at-h1); margin-top: -14px; }
.at-skin-colour .at-hero-price { display: none; } /* price sits inside the button in this design */
.at-skin-colour .at-btn-secondary { display: none !important; }
.at-skin-colour .at-hero-cart .single_add_to_cart_button { text-transform: none; letter-spacing: 0; font-family: var(--at-body) !important; font-size: 16px !important; padding: 14px 26px !important; }
.at-skin-colour .at-hero-media .woocommerce-product-gallery .flex-viewport,
.at-skin-colour .at-hero-media .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
	border-radius: 999px 999px 16px 16px;
	background: #f0e7d8;
}
.at-skin-colour .at-hero-media .woocommerce-product-gallery__image img { aspect-ratio: 4 / 4.4; }
.at-skin-colour .at-hero-specs { display: none; }
.at-skin-colour .at-trust { padding-bottom: 8px; }
.at-skin-colour .at-trust-row { padding: 0 !important; gap: 16px; }
.at-skin-colour .at-trust-item { border-radius: 16px; padding: 16px 18px; color: var(--at-ink); }
.at-skin-colour .at-trust-row > .et_pb_column:nth-child(2) .at-trust-item { background: var(--at-c1); }
.at-skin-colour .at-trust-row > .et_pb_column:nth-child(3) .at-trust-item { background: var(--at-c2); }
.at-skin-colour .at-trust-row > .et_pb_column:nth-child(4) .at-trust-item { background: var(--at-c3); }
.at-skin-colour .at-trust-num { display: none; }
.at-skin-colour .at-trust-item h4 { font-family: var(--at-body); }
.at-skin-colour .at-grid-head .et_pb_text_inner { border-bottom: 0; }
.at-skin-colour .at-products li.product {
	background: #ffffff;
	border-radius: 16px;
	padding: 10px 10px 14px !important;
}
.at-skin-colour .at-products li.product > a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
.at-skin-colour .at-products .et_shop_image { flex: 0 0 100%; }
.at-skin-colour .at-cart,
.at-skin-catalogue .at-cart {
	background: var(--at-ink);
	color: var(--at-bg) !important;
	border-radius: 999px;
	padding: 9px 16px;
	font-weight: 600;
}
.at-skin-colour .at-footer { background: var(--at-ink) !important; border: 0; }
.at-skin-colour .at-footer-text,
.at-skin-colour .at-footer-text a { color: #ffffff; }
.at-skin-colour .at-mark-bars { display: inline-flex; gap: 3px; }
.at-skin-colour .at-mark-bars i { width: 9px; height: 20px; border-radius: 6px; background: #c2410c; }
.at-skin-colour .at-mark-bars i:nth-child(2) { background: #e3a72a; }
.at-skin-colour .at-mark-bars i:nth-child(3) { background: #1f6f68; }
.at-skin-colour .at-logo-text { font-weight: 700; font-size: 18px; text-transform: lowercase; }

/* --- 3 · Dark workshop --------------------------------------------------- */
.at-skin-workshop .at-hero-row { flex-direction: row-reverse; }
.at-skin-workshop .at-hero-media .woocommerce-product-gallery .flex-viewport,
.at-skin-workshop .at-hero-media .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper { border: 1px solid var(--at-line); }
.at-skin-workshop .at-hero-title h1 { line-height: 1.05; }
.at-skin-workshop .at-meta { color: var(--at-hl); }
.at-skin-workshop .at-hero-price .price { font-family: var(--at-display); font-weight: 400; font-size: 34px !important; }
.at-skin-workshop .at-btn-secondary { display: none !important; }
.at-skin-workshop .at-nav .et_pb_menu__menu a { font-family: var(--at-mono); text-transform: uppercase; font-size: 12px; letter-spacing: 0.06em; }
.at-skin-workshop .at-cart { font-family: var(--at-mono); text-transform: uppercase; font-size: 12px; }
.at-skin-workshop .at-mark-house { color: var(--at-hl); }
.at-skin-workshop .at-trust-row { padding: 48px 0 !important; }
.at-skin-workshop .at-trust-row > .at-trust-intro-col { display: block; flex: 1.6 1 0; }
.at-skin-workshop .at-trust-intro h2 { color: var(--at-strip-ink); }
.at-skin-workshop .at-trust-item h4 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.at-skin-workshop .at-grid-head .et_pb_text_inner { border-bottom: 0; }
.at-skin-workshop .at-products li.product { border: 1px solid var(--at-line); background: var(--at-surface); }
.at-skin-workshop .at-products li.product > a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; padding-bottom: 14px; }
.at-skin-workshop .at-products .et_shop_image { flex: 0 0 100%; border-bottom: 1px solid var(--at-line); }
.at-skin-workshop .at-products .woocommerce-loop-product__title { padding: 14px 12px 0 !important; }
.at-skin-workshop .at-products .price { color: var(--at-hl) !important; padding-right: 12px; }
.at-skin-workshop .at-footer-text { text-transform: uppercase; color: var(--at-muted); }

/* --- 4 · Space age ------------------------------------------------------- */
.at-skin-spaceage .at-hero-row { flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.at-skin-spaceage .at-hero-row > .et_pb_column { width: 100% !important; flex: 0 0 auto; }
.at-skin-spaceage .at-hero-text { justify-content: center; }
.at-skin-spaceage .at-eyebrow .et_pb_text_inner::before { content: "★ "; }
.at-skin-spaceage .at-eyebrow .et_pb_text_inner::after { content: " ★"; }
.at-skin-spaceage .at-hero-desc { margin: 0 auto; max-width: 26em; }
.at-skin-spaceage .at-meta { display: none; }
.at-skin-spaceage .at-hero-ship { order: 9; }
.at-skin-spaceage .at-btn-secondary { display: none !important; }
/* The Skyriter mockup puts the photo between the text and the price; Divi keeps a
   column's modules together, so here the photo follows the whole text column. */
.at-skin-spaceage .at-hero-media { max-width: 560px; }
.at-skin-spaceage .at-hero-media .woocommerce-product-gallery .flex-viewport,
.at-skin-spaceage .at-hero-media .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
	border-radius: 58% 42% 50% 50% / 52% 48% 52% 48%;
	background: var(--at-teal);
}
.at-skin-spaceage .at-hero-media .woocommerce-product-gallery__image img { aspect-ratio: 16 / 10; mix-blend-mode: multiply; }
.at-skin-spaceage .at-hero-specs { display: none; }
.at-skin-spaceage .at-hero::before,
.at-skin-spaceage .at-hero::after {
	content: "";
	position: absolute;
	width: 70px;
	height: 76px;
	background: #e8b33a;
	clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
	top: 40px;
	left: 6%;
}
.at-skin-spaceage .at-hero::after { width: 40px; height: 44px; background: #2e8b86; left: auto; right: 12%; top: 100px; }
.at-skin-spaceage .at-hero { position: relative; overflow: hidden; }
.at-skin-spaceage .at-nav .et_pb_menu__menu a,
.at-skin-spaceage .at-cart { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.at-skin-spaceage .at-cart { border: 1.5px solid var(--at-ink); border-radius: 999px; padding: 6px 14px; }
.at-skin-spaceage .at-logo-text { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 18px; }
.at-skin-spaceage .at-mark-star { color: var(--at-accent); }
.at-skin-spaceage .at-trust-row { text-align: center; padding: 26px 0 !important; }
.at-skin-spaceage .at-trust-num { display: none; }
.at-skin-spaceage .at-trust-item h4 { font-family: var(--at-display); font-size: 17px; }
.at-skin-spaceage .at-grid-head .et_pb_text_inner { justify-content: center; border-bottom: 0; text-align: center; }
.at-skin-spaceage .at-grid-head h2 { text-transform: uppercase; letter-spacing: 0.06em; }
.at-skin-spaceage .at-grid-head a { display: none; }
.at-skin-spaceage .at-products li.product { text-align: center; }
.at-skin-spaceage .at-products .et_shop_image { border-radius: 50%; }
.at-skin-spaceage .at-products .woocommerce-loop-product__title { font-weight: 600; }
.at-skin-spaceage .at-footer { border-top: 0; }
.at-skin-spaceage .at-footer-row { border-top: 1px solid var(--at-line); }

/* --- 5 · Bold colour blocks ---------------------------------------------- */
.at-skin-blocks .at-header { border-bottom: 2px solid var(--at-ink); }
.at-skin-blocks .at-logo-text { font-weight: 800; font-size: 17px; line-height: 1.05; max-width: 7.5em; }
.at-skin-blocks .at-hero-row { gap: 8px; align-items: stretch; }
.at-skin-blocks .at-hero > .et_pb_row { padding: 16px 0 28px !important; }
.at-skin-blocks .at-hero-text {
	background: var(--at-accent);
	padding: 24px 24px 24px;
	align-content: space-between;
}
.at-skin-blocks .at-hero-text *,
.at-skin-blocks .at-hero-title h1,
.at-skin-blocks .at-hero-price .price { color: #ffffff !important; }
.at-skin-blocks .at-eyebrow .et_pb_text_inner::after { content: " / 01"; }
.at-skin-blocks .at-hero-title h1 { font-stretch: 125%; line-height: 0.92; }
.at-skin-blocks .at-meta,
.at-skin-blocks .at-hero-desc,
.at-skin-blocks .at-hero-ship,
.at-skin-blocks .at-btn-secondary { display: none !important; }
.at-skin-blocks .at-hero-price { flex: 1 1 auto !important; }
.at-skin-blocks .at-hero-price .price { font-family: var(--at-body); font-size: 26px !important; }
.at-skin-blocks .at-hero-cart .single_add_to_cart_button {
	background: #ffffff !important;
	color: var(--at-ink) !important;
	border-color: #ffffff !important;
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--at-body) !important;
}
.at-skin-blocks .at-hero-media .woocommerce-product-gallery .flex-viewport,
.at-skin-blocks .at-hero-media .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper { background: #e0d6c6; }
.at-skin-blocks .at-specs { gap: 8px; margin-top: 0; flex-wrap: nowrap; }
.at-skin-blocks .at-hero-specs { margin-top: 8px !important; }
.at-skin-blocks .at-spec {
	flex: 1 1 0;
	flex-direction: column;
	justify-content: space-between;
	min-height: 120px;
	padding: 14px;
	background: var(--at-blue);
	color: #ffffff;
}
.at-skin-blocks .at-spec:nth-child(2) { background: var(--at-yellow); }
.at-skin-blocks .at-spec:nth-child(2) dd { color: var(--at-ink); }
.at-skin-blocks .at-spec:nth-child(n + 3) { display: none; }
.at-skin-blocks .at-spec dt { font-size: 10px; text-transform: uppercase; }
.at-skin-blocks .at-spec dt::after { content: ""; }
.at-skin-blocks .at-spec dd { color: #ffffff; font-family: var(--at-display); font-weight: 900; font-size: 26px; }
.at-skin-blocks .at-trust > .et_pb_row { border-top: 2px solid var(--at-ink); border-bottom: 2px solid var(--at-ink); }
.at-skin-blocks .at-trust-row { padding: 14px 0 !important; justify-content: space-between; }
.at-skin-blocks .at-trust-row > .et_pb_column { flex: 0 1 auto; }
.at-skin-blocks .at-trust-item p,
.at-skin-blocks .at-trust-num { display: none; }
.at-skin-blocks .at-trust-item h4 { font-family: var(--at-body); margin: 0; }
.at-skin-blocks .at-grid-head .et_pb_text_inner { border-bottom: 0; }
.at-skin-blocks .at-grid-head h2 { font-stretch: 125%; max-width: 5em; }
.at-skin-blocks .at-products ul.products { gap: 8px; counter-reset: at-num 1; }
.at-skin-blocks .at-products li.product { background: #ffffff; counter-increment: at-num; }
.at-skin-blocks .at-products li.product > a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; padding-bottom: 12px; }
.at-skin-blocks .at-products .et_shop_image { flex: 0 0 100%; }
.at-skin-blocks .at-products .woocommerce-loop-product__title { font-family: var(--at-body) !important; font-weight: 700; font-size: 15px !important; padding: 12px 12px 0 !important; }
.at-skin-blocks .at-products .woocommerce-loop-product__title::before { content: counter(at-num, decimal-leading-zero) " "; }
.at-skin-blocks .at-products .price { font-weight: 700; padding-right: 12px; font-family: var(--at-body); }
.at-skin-blocks .at-footer { background: #111111 !important; border: 0; }
.at-skin-blocks .at-footer-text,
.at-skin-blocks .at-footer-text a { color: #ffffff; }

/* --- 6 · Olive catalogue ------------------------------------------------- */
.at-skin-catalogue .at-topbar { background: var(--at-olive) !important; }
.at-skin-catalogue .at-topbar-text { color: #ffffff; }
.at-skin-catalogue .at-hero > .et_pb_row {
	border: 1.5px solid var(--at-line);
	border-radius: 22px;
	background: var(--at-surface);
	padding: 40px 32px !important;
	margin-top: 8px;
	margin-bottom: 40px;
	align-items: center;
}
.at-skin-catalogue .at-hero-row { flex-direction: row-reverse; }
.at-skin-catalogue .at-eyebrow { color: var(--at-ink); font-weight: 600; }
.at-skin-catalogue .at-eyebrow .et_pb_text_inner::before {
	content: "No. 07";
	background: var(--at-accent);
	color: #ffffff;
	border-radius: 5px;
	padding: 4px 8px;
	margin-right: 10px;
}
.at-skin-catalogue .at-meta { font-style: normal; font-size: var(--at-h1); margin-top: -14px; }
.at-skin-catalogue .at-hero-media .woocommerce-product-gallery .flex-viewport,
.at-skin-catalogue .at-hero-media .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper { background: var(--at-hl); border-radius: 14px; }
.at-skin-catalogue .at-hero-ship,
.at-skin-catalogue .at-btn-secondary { display: none !important; }
.at-skin-catalogue .at-hero-price .price { font-family: var(--at-display); font-weight: 400; font-size: 32px !important; }
.at-skin-catalogue .at-hero-cart .single_add_to_cart_button { text-transform: none; letter-spacing: 0; font-family: var(--at-body) !important; }
.at-skin-catalogue .at-mark-circle {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--at-hl);
	color: var(--at-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--at-display);
	font-size: 15px;
}
.at-skin-catalogue .at-trust-row { padding: 32px 0 !important; gap: 16px; }
.at-skin-catalogue .at-trust-item { border: 1px solid rgba(239, 230, 214, 0.35); border-radius: 12px; padding: 16px; }
.at-skin-catalogue .at-trust-num { display: none; }
.at-skin-catalogue .at-trust-item h4 { font-family: var(--at-display); font-weight: 400; font-size: 17px; }
.at-skin-catalogue .at-grid-head .et_pb_text_inner { border-bottom: 0; }
.at-skin-catalogue .at-products li.product { background: var(--at-surface); border-radius: 16px; padding: 10px 10px 16px !important; }
.at-skin-catalogue .at-products .price { font-weight: 600; font-family: var(--at-body); }
.at-skin-catalogue .at-footer-row { border-top: 1.5px solid var(--at-line); }
.at-skin-catalogue .at-footer { border-top: 0; }

/* Hamburger icon and mobile dropdown in the skin's colours */
.at-site .at-nav .mobile_menu_bar::before,
.at-site .at-nav .mobile_nav .mobile_menu_bar::before {
	color: var(--at-ink) !important;
}

.at-site .at-nav .et_mobile_menu {
	background: var(--at-bg) !important;
	border-top: 3px solid var(--at-accent) !important;
}

.at-site .at-nav .et_mobile_menu a {
	color: var(--at-ink) !important;
}

/* A product grid with nothing to show (e.g. only one machine online yet)
   hides itself instead of showing WooCommerce's blue "No products" box. */
.at-site .at-grid:has(.woocommerce-info) {
	display: none;
}

/* WORKSHOP PAGE ============================================================
   Layout "AT Workshop page": intro, three photo + text blocks, gallery, call
   to action. Uses only the skin variables, so it follows the chosen design. */

.at-site .at-wk-intro > .et_pb_row {
	padding: 56px 0 40px !important;
}

.at-site .at-wk-intro-row,
.at-site .at-wk-block {
	display: flex !important;
	align-items: center;
	gap: 48px;
}

.at-site .at-wk-intro-row > .et_pb_column,
.at-site .at-wk-block > .et_pb_column {
	flex: 1 1 0;
	width: auto !important;
	margin: 0 !important;
	float: none;
}

.at-site .at-wk-intro .at-wk-text > .et_pb_module + .et_pb_module {
	margin-top: 14px !important;
}

.at-site .at-wk-title h1 {
	font-size: var(--at-h1);
	font-weight: var(--at-h1-w);
	letter-spacing: var(--at-h1-ls);
	line-height: 1.04;
	margin: 0;
}

.at-site .at-wk-lead {
	font-size: 19px;
	color: var(--at-muted);
	max-width: 32em;
}

.at-site .at-wk-img .et_pb_image_wrap {
	display: block;
	border-radius: var(--at-img-r, var(--at-r));
	overflow: hidden;
	background: var(--at-surface);
}

.at-site .at-wk-img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.at-site .at-wk-block {
	padding: 40px 0 !important;
	border-top: 1px solid var(--at-line);
}

.at-site .at-wk-flip {
	flex-direction: row-reverse;
}

.at-site .at-wk-copy h2,
.at-site .at-wk-gallery-title h2,
.at-site .at-wk-cta-text h2 {
	font-size: var(--at-h2);
	font-weight: var(--at-h2-w);
	line-height: 1.1;
	margin: 0 0 12px;
}

.at-site .at-wk-copy p {
	color: var(--at-muted);
	max-width: 30em;
}

.at-site .at-wk-gallery-section > .at-wk-gallery-head {
	padding: 56px 0 18px !important;
}

.at-site .at-wk-gallery-section > .at-wk-gallery-row {
	padding: 0 0 64px !important;
}

.at-site .at-wk-gallery .et_pb_gallery_items {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.at-site .at-wk-gallery .et_pb_gallery_item {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	display: block !important;
}

.at-site .at-wk-gallery .et_pb_gallery_image {
	border-radius: var(--at-img-r, var(--at-r));
	overflow: hidden;
	background: var(--at-surface);
}

.at-site .at-wk-gallery img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.at-site .at-wk-gallery .et_overlay {
	display: none !important;
}

.at-site .at-wk-cta {
	background: var(--at-strip-bg) !important;
	border-top: 1px solid var(--at-line);
}

.at-site .at-wk-cta > .et_pb_row {
	padding: 56px 0 !important;
	text-align: center;
}

.at-site .at-wk-cta-text h2 {
	color: var(--at-strip-ink);
	margin-bottom: 22px;
}

/* Photos: no oval crop in the space-age skin, frame in editorial */
.at-skin-spaceage { --at-img-r: 32px; }
.at-skin-editorial .at-wk-img .et_pb_image_wrap,
.at-skin-workshop .at-wk-img .et_pb_image_wrap { border: 1px solid var(--at-line); }
.at-skin-colour .at-wk-intro-row .at-wk-img .et_pb_image_wrap { border-radius: 999px 999px 16px 16px; }
.at-skin-blocks .at-wk-title h1 { font-stretch: 125%; line-height: 0.95; }
.at-skin-blocks .at-wk-copy h2 { font-stretch: 125%; }
/* Hero-only ornaments ("No. 07", "/ 01") stay off the Workshop page */
.at-skin-catalogue .at-wk-intro .at-eyebrow .et_pb_text_inner::before,
.at-skin-blocks .at-wk-intro .at-eyebrow .et_pb_text_inner::after { content: none; }
.at-skin-colour .at-wk-intro .at-eyebrow { display: inline-block; }

/* Desktop menu: one horizontal row, items never break over two lines.
   (Below 980 px Divi swaps the menu for the hamburger icon.) */
.at-site .at-header-row > .et_pb_column {
	flex: 0 1 auto;
	min-width: 0;
}

.at-site .at-header-row > .et_pb_column:last-child {
	flex: 0 0 auto;
}

.at-site .at-nav {
	flex: 0 0 auto;
}

.at-site .at-nav .et-menu,
.at-site .at-nav .et_pb_menu__menu > nav > ul {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: center;
}

.at-site .at-nav .et-menu > li > a {
	display: inline-block !important;
	white-space: nowrap;
}

/* Your own logo image in the header: keep the header compact */
.at-site .at-header .et_pb_image img {
	max-height: 96px;
	width: auto;
}

/* My account page: account menu as a clean list in the skin's style */
.at-site .woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-top: 1px solid var(--at-line);
}

.at-site .woocommerce-MyAccount-navigation li {
	list-style: none !important;
	border-bottom: 1px solid var(--at-line);
	padding: 0 !important;
}

.at-site .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 10px 4px;
	text-decoration: none;
	color: var(--at-ink);
}

.at-site .woocommerce-MyAccount-navigation li.is-active a,
.at-site .woocommerce-MyAccount-navigation li a:hover {
	color: var(--at-accent);
	font-weight: 600;
}

/* MACHINE ROW ([at_machine_row]) ===========================================
   Horizontal row of in-stock machines on the homepage. Swipe on phones,
   arrow buttons on computers. Cards follow the skin's colours and corners. */

.at-site .at-mrow {
	position: relative;
}

.at-site .at-mrow-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--at-line) transparent;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 0 14px !important;
}

.at-site .at-mrow-track:focus-visible {
	outline: 2px solid var(--at-accent);
	outline-offset: 4px;
}

.at-site .at-mrow-item {
	flex: 0 0 clamp(220px, 24vw, 280px);
	scroll-snap-align: start;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.at-site .at-mrow-card {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-decoration: none !important;
	color: var(--at-ink) !important;
}

.at-site .at-mrow-media {
	display: block;
	border-radius: var(--at-r);
	overflow: hidden;
	background: var(--at-c1);
	margin-bottom: 10px;
}

.at-site .at-mrow-item:nth-child(3n + 2) .at-mrow-media { background: var(--at-c2); }
.at-site .at-mrow-item:nth-child(3n + 3) .at-mrow-media { background: var(--at-c3); }

.at-site .at-mrow-media img {
	display: block;
	width: 100% !important;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.at-site .at-mrow-card:hover .at-mrow-media img,
.at-site .at-mrow-card:focus-visible .at-mrow-media img {
	transform: scale(1.04);
}

.at-site .at-mrow-title {
	font-family: var(--at-display);
	font-size: 19px;
	line-height: 1.2;
}

.at-site .at-mrow-meta {
	font-size: 14px;
	color: var(--at-muted);
}

.at-site .at-mrow-price {
	font-family: var(--at-mono);
	font-size: 13px;
	margin-top: 2px;
}

.at-site .at-mrow-price del {
	opacity: 0.6;
}

/* Arrow buttons: computers only, hidden when every card already fits */
.at-site .at-mrow-btn {
	position: absolute;
	top: calc(clamp(220px, 24vw, 280px) / 2 - 22px);
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--at-line);
	background: var(--at-bg);
	color: var(--at-ink);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.at-site .at-mrow-prev { left: -14px; }
.at-site .at-mrow-next { right: -14px; }

.at-site .at-mrow-btn:disabled {
	opacity: 0;
	pointer-events: none;
}

.at-site .at-mrow-btn:hover {
	background: var(--at-accent);
	color: var(--at-accent-ink);
	border-color: var(--at-accent);
}

@media (hover: hover) and (pointer: fine) {
	.at-site .at-mrow-btn { display: block; }
	.at-site .at-mrow-fits .at-mrow-btn { display: none; }
}

/* Nothing in stock: hide the whole section, heading included */
.at-site .at-grid:has(.at-mrow-empty) {
	display: none;
}

/* Skin touches */
.at-skin-workshop .at-mrow-media { border: 1px solid var(--at-line); background: var(--at-surface); }
.at-skin-workshop .at-mrow-price { color: var(--at-hl); }
.at-skin-editorial .at-mrow-media { border: 1px solid var(--at-line); }
.at-skin-spaceage .at-mrow-card { text-align: center; }
.at-skin-blocks .at-mrow-track { gap: 8px; }
.at-skin-blocks .at-mrow-title { font-family: var(--at-body); font-weight: 700; font-size: 16px; }
.at-skin-colour .at-mrow-card,
.at-skin-catalogue .at-mrow-card { background: var(--at-surface); border-radius: 16px; padding: 10px 10px 14px; }

/* CONTENT PAGES (Shipping and similar) ====================================
   Layout "AT Shipping page": one readable column of text modules (class
   at-pg-text). Yellow <mark class="at-fill"> spots are still to be filled in. */

.at-site .at-pg > .at-pg-row {
	max-width: 820px;
	padding: 56px 0 64px !important;
}

.at-site .at-pg-text + .at-pg-text {
	margin-top: 40px !important;
}

.at-site .at-pg-text h1 {
	font-size: var(--at-h1);
	font-weight: var(--at-h1-w);
	letter-spacing: var(--at-h1-ls);
	line-height: 1.04;
	margin: 0 0 16px;
}

.at-site .at-pg-text h2 {
	font-size: var(--at-h2);
	font-weight: var(--at-h2-w);
	line-height: 1.1;
	margin: 0 0 12px;
}

.at-site .at-pg-text p,
.at-site .at-pg-text li {
	color: var(--at-muted);
	max-width: 40em;
}

.at-site .at-pg-text p + p {
	margin-top: 12px;
}

.at-site .at-pg-text p strong {
	color: var(--at-ink);
}

.at-site .at-pg-text ul {
	list-style: disc;
	padding: 0 0 0 1.2em !important;
	margin: 0;
}

.at-site .at-pg-text li + li {
	margin-top: 6px;
}

.at-site .at-pg-lead {
	font-size: 19px;
}

.at-site .at-table-wrap {
	overflow-x: auto;
	margin-top: 16px;
}

.at-site .at-ship-table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	font-size: 16px;
}

.at-site .at-ship-table th,
.at-site .at-ship-table td {
	border: 0;
	border-bottom: 1px solid var(--at-line);
	padding: 12px 10px 12px 0;
	text-align: left;
	vertical-align: top;
	color: var(--at-ink);
	background: transparent;
}

.at-site .at-ship-table th {
	font-family: var(--at-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--at-muted);
}

.at-site .at-ship-table td + td {
	white-space: nowrap;
}

/* Still to fill in: shows as a yellow marker until the text is replaced */
.at-site mark.at-fill {
	background: #ffe27a;
	color: #1c1a17;
	padding: 0 4px;
	border-radius: 3px;
}

/* REVIEWS ([at_reviews]) ===================================================
   Row (homepage) reuses the machine-row scroller; grid for the Reviews page. */

.at-site { --at-card-r: 16px; }
.at-skin-editorial,
.at-skin-workshop,
.at-skin-blocks { --at-card-r: 0px; }

.at-site .at-rev-summary {
	font-family: var(--at-mono);
	font-size: 13px;
	color: var(--at-muted);
	margin: 0 0 18px !important;
	max-width: 46em;
}

.at-site .at-rev-summary a {
	color: var(--at-ink);
	text-decoration: underline;
}

.at-site .at-rev-avg {
	color: var(--at-ink);
	font-weight: 700;
	margin-right: 4px;
}

.at-site .at-rev-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.at-site .at-rev-grid .at-rev-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.at-site .at-rev-row .at-mrow-track {
	gap: 20px;
	padding-bottom: 14px !important;
}

.at-site .at-rev-row .at-rev-item {
	flex: 0 0 clamp(260px, 30vw, 340px);
	scroll-snap-align: start;
}

.at-site .at-rev-item {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
}

.at-site .at-rev-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 22px 22px 20px;
	background: var(--at-surface);
	border: 1px solid var(--at-line);
	border-radius: var(--at-card-r);
	color: var(--at-ink);
}

.at-skin-colour .at-rev-card,
.at-skin-catalogue .at-rev-card {
	border-color: transparent;
}

.at-site .at-rev-stars {
	color: var(--at-hl);
	font-size: 17px;
	letter-spacing: 2px;
	line-height: 1;
}

.at-site .at-rev-off {
	opacity: 0.25;
}

.at-site .at-rev-text {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--at-display);
	font-size: 17px;
	font-style: normal;
	line-height: 1.5;
	color: var(--at-ink);
	flex: 1 1 auto;
}

.at-site .at-rev-text p {
	margin: 0;
	padding: 0;
}

.at-site .at-rev-text p + p {
	margin-top: 8px;
}

/* Row: long reviews are cut after 7 lines; the grid shows them whole. */
.at-site .at-rev-row .at-rev-text {
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.at-site .at-rev-by {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14px;
}

.at-site .at-rev-name {
	font-weight: 700;
}

.at-site .at-rev-meta,
.at-site .at-rev-machine {
	font-family: var(--at-mono);
	font-size: 12px;
	color: var(--at-muted);
}

.at-site .at-rev-more {
	margin-top: 10px !important;
	font-family: var(--at-mono);
	font-size: 13px;
}

.at-site .at-rev-more a {
	color: var(--at-ink);
	text-decoration: underline;
}

.at-site .at-rev-row .at-mrow-btn {
	top: 50%;
	transform: translateY(-50%);
}

.at-skin-blocks .at-rev-text { font-family: var(--at-body); font-weight: 600; }
.at-skin-spaceage .at-rev-card { text-align: center; border-radius: 28px; }
.at-skin-spaceage .at-rev-by { align-items: center; }

/* FEATURED HERO ([at_featured_hero]) ======================================
   Same look as the Divi hero; these rules only fill the gaps a single Text
   module leaves. */

.at-site .at-hero .et_pb_text:has(> .et_pb_text_inner > .at-fhero),
.at-site .at-hero .et_pb_text_inner:has(> .at-fhero) {
	width: 100%;
}

.at-site .at-fhero .at-hero-title a {
	color: inherit;
	text-decoration: none;
}

.at-site .at-fhero .at-hero-title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.at-site .at-fhero .at-hero-cart a.single_add_to_cart_button {
	display: inline-block;
	text-decoration: none;
}

.at-site .at-fhero .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.at-site .at-fhero .woocommerce-product-gallery__image a {
	display: block;
}

.at-site .at-fhero p {
	padding-bottom: 0;
}

/* Nothing in stock: hide the whole hero section */
.at-site .at-hero:has(.at-fhero-empty) {
	display: none;
}

/* 9. MOBILE ================================================================ */

@media (max-width: 980px) {
	.at-site .at-hero-row,
	.at-site .at-trust-row,
	.at-skin-workshop .at-hero-row,
	.at-skin-catalogue .at-hero-row {
		flex-direction: column;
		gap: 28px;
	}

	.at-site .at-wk-intro-row,
	.at-site .at-wk-block,
	.at-site .at-wk-flip {
		flex-direction: column;
		align-items: stretch;
		gap: 22px;
	}

	.at-site .at-wk-intro-row > .et_pb_column,
	.at-site .at-wk-block > .et_pb_column {
		flex: 0 0 auto !important;
		width: 100% !important;
	}

	.at-site .at-wk-media {
		order: -1;
	}

	.at-site .at-wk-gallery .et_pb_gallery_items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Stacked columns must size to their content. "flex: 1 1 0" here makes
	   them collapse to zero height, so sections slide over each other. */
	.at-site .at-hero-row > .et_pb_column,
	.at-site .at-trust-row > .et_pb_column,
	.at-skin-workshop .at-trust-row > .at-trust-intro-col {
		flex: 0 0 auto !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0;
		margin-bottom: 0 !important;
	}

	.at-site .at-hero-row,
	.at-site .at-trust-row {
		align-items: stretch;
		height: auto !important;
	}

	.at-site .at-hero-media {
		order: -1;
	}

	.at-site .at-products ul.products,
	.at-site .at-products.at-cols-4 ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.at-site .at-header-row > .et_pb_column:last-child {
		gap: 12px;
	}

	.at-skin-colour .at-hero > .et_pb_row,
	.at-skin-catalogue .at-hero > .et_pb_row {
		padding: 24px 20px !important;
	}
}

@media (max-width: 560px) {
	.at-site .at-rev-row .at-rev-item {
		flex-basis: 82%;
	}

	.at-site .at-mrow-item {
		flex-basis: 72%;
	}

	.at-site .at-products ul.products,
	.at-site .at-products.at-cols-4 ul.products {
		grid-template-columns: 1fr;
	}

	.at-site .at-footer-text .et_pb_text_inner {
		flex-direction: column;
	}
}
