/**
 * TSG Design Store — WooCommerce surfaces (shop, product, cart, checkout)
 * MoMA Design Store–inspired minimalism.
 */

/* --------------------------------------------------------------------------
   Shop collection surface (MoMA-like)
   -------------------------------------------------------------------------- */
body.tsg-shop-surface .wf_pagetitle {
	display: none !important;
}

body.tsg-shop-surface .woo-products {
	padding-top: 0 !important;
	padding-bottom: 4rem !important;
	background: var(--tsg-white, #fff);
}

body.tsg-shop-surface .woo-products > .wf-container {
	max-width: var(--tsg-max, 1440px);
	margin: 0 auto;
	/* Keep hero / Luoghi / grid off the viewport edges (esp. ≤1440px screens) */
	padding-left: clamp(2.5rem, 7vw, 5rem);
	padding-right: clamp(2.5rem, 7vw, 5rem);
	box-sizing: border-box;
}

body.tsg-shop-surface .woo-products .wf-row {
	display: block !important;
	margin: 0 !important;
}

body.tsg-shop-surface .woo-products #wf-main,
body.tsg-shop-surface .woo-products .wf-col-lg-8,
body.tsg-shop-surface .woo-products .wf-col-md-12,
body.tsg-shop-surface .woo-products .wf-col-12 {
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
	padding: 0 !important;
}

body.tsg-shop-surface .woo-products .wf_widget-area {
	display: none !important;
}

/* Hero stays inside the container padding (no full-bleed negative margins) */
body.tsg-shop-surface .woo-products #wf-main > .tsg-shop-hero {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 2rem;
}

body.tsg-shop-surface .woo-products #wf-main > .tsg-shop-hero .tsg-shop-hero__inner {
	padding-left: 0;
	padding-right: 0;
}

.tsg-shop-hero__inner {
	max-width: none;
	margin: 0;
	padding: 2.75rem 0 2.25rem;
}

/* Chapter: where the venue / edit is (text only — no duplicate term image) */
.tsg-lens-chapter {
	max-width: none;
	margin: 0 0 1.75rem;
	padding: 0;
}

body.tsg-shop-surface .tsg-lens-chapter {
	margin-bottom: 1.75rem;
}

.tsg-lens-chapter__inner {
	padding: 0.85rem 0 0;
	border-top: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-lens-chapter__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tsg-muted, #666);
}

.tsg-lens-chapter__aside {
	margin: 0;
	max-width: 40rem;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tsg-muted, #666);
}

.tsg-shop-hero__crumb {
	margin: 0 0 1.25rem;
}

.tsg-shop-hero__crumb-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: var(--tsg-muted, #666);
}

.tsg-shop-hero__crumb-list a {
	color: var(--tsg-muted, #666);
	text-decoration: none;
}

.tsg-shop-hero__crumb-list a:hover {
	color: var(--tsg-black, #000);
}

.tsg-shop-hero__title {
	margin: 0 0 0.75rem;
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--tsg-black, #000);
}

.tsg-shop-hero__desc {
	margin: 0;
	max-width: 42rem;
	font-size: 15px;
	line-height: 1.5;
	color: var(--tsg-text, #222);
}

.tsg-shop-layout {
	display: grid !important;
	grid-template-columns: 260px minmax(0, 1fr) !important;
	gap: 2.5rem 3rem;
	align-items: start;
	margin-top: 0.5rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.tsg-shop-surface .tsg-shop-layout > .tsg-shop-cats,
body.tsg-shop-surface .tsg-shop-layout .tsg-shop-cats {
	width: 260px;
	max-width: 260px;
}

body.tsg-shop-surface .tsg-shop-layout > .tsg-shop-main,
body.tsg-shop-surface .tsg-shop-layout .tsg-shop-main {
	min-width: 0;
	width: auto;
	max-width: none;
}

/* --------------------------------------------------------------------------
   Elementor Pro Theme Builder — product archive MoMA parity
   -------------------------------------------------------------------------- */
body.tsg-shop-surface .elementor-location-archive {
	background: var(--tsg-white, #fff);
	padding-bottom: 2rem;
}

body.tsg-shop-surface .elementor-location-archive .tsg-el-shop-hero.elementor-section,
body.tsg-shop-surface .elementor-location-archive .tsg-el-shop-grid.elementor-section {
	max-width: var(--tsg-max, 1440px) !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: clamp(2.5rem, 7vw, 5rem) !important;
	padding-right: clamp(2.5rem, 7vw, 5rem) !important;
	box-sizing: border-box !important;
}

body.tsg-shop-surface .elementor-location-archive .tsg-el-shop-hero .elementor-container,
body.tsg-shop-surface .elementor-location-archive .tsg-el-shop-grid .elementor-container {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
}

body.tsg-shop-surface .elementor-location-archive .tsg-shop-hero__inner,
body.tsg-shop-surface .elementor-location-archive .tsg-lens-chapter {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

/* MoMA 260px + 1fr inside Elementor section (ignore % column widths) */
body.tsg-shop-surface .elementor-location-archive .tsg-shop-layout.elementor-section {
	display: block !important;
}

body.tsg-shop-surface .elementor-location-archive .tsg-shop-layout > .elementor-container {
	display: grid !important;
	grid-template-columns: 260px minmax(0, 1fr) !important;
	gap: 2.5rem 3rem !important;
	align-items: start !important;
	width: 100% !important;
	max-width: 100% !important;
}

body.tsg-shop-surface .elementor-location-archive .tsg-shop-layout > .elementor-container > .elementor-column {
	width: auto !important;
	max-width: none !important;
	min-height: 0 !important;
}

body.tsg-shop-surface .elementor-location-archive .tsg-el-shop-aside {
	width: 260px !important;
	max-width: 260px !important;
}

body.tsg-shop-surface .elementor-location-archive .tsg-el-shop-main,
body.tsg-shop-surface .elementor-location-archive .tsg-shop-main {
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
}

body.tsg-shop-surface .elementor-location-archive .tsg-shop-layout .elementor-widget-wrap {
	display: block !important;
	width: 100% !important;
}

body.tsg-shop-surface .elementor-location-archive ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 2rem 1.5rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.tsg-shop-surface .elementor-location-archive ul.products li.product {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
}

@media (max-width: 900px) {
	body.tsg-shop-surface .elementor-location-archive .tsg-shop-layout > .elementor-container {
		grid-template-columns: 1fr !important;
	}

	body.tsg-shop-surface .elementor-location-archive ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

.tsg-shop-cats__heading {
	margin: 0 0 1rem;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
}

.tsg-shop-cats__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tsg-shop-cats__item {
	margin: 0;
}

.tsg-shop-cats__item a,
.tsg-shop-cats__link {
	display: block;
	padding: 0.4rem 0;
	font-size: 14px;
	font-weight: 400;
	color: var(--tsg-black, #000);
	text-decoration: none;
	line-height: 1.35;
}

.tsg-shop-cats__list--thumbs .tsg-shop-cats__link {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 0.65rem;
	align-items: center;
	padding: 0.45rem 0;
}

.tsg-shop-cats__thumb {
	display: block;
	width: 44px;
	height: 44px;
	overflow: hidden;
	background: #ececec;
}

.tsg-shop-cats__thumb--all {
	background: linear-gradient(135deg, #f0f0f0 0%, #ddd 100%);
}

.tsg-shop-cats__img,
.tsg-shop-cats__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tsg-shop-cats__label {
	min-width: 0;
}

.tsg-shop-cats__item a:hover,
.tsg-shop-cats__item.is-current a,
.tsg-shop-cats__item a:hover .tsg-shop-cats__label,
.tsg-shop-cats__item.is-current .tsg-shop-cats__label {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Quiet refinements under lens pivot */
.tsg-shop-filters {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-shop-filters__heading {
	margin: 0 0 0.75rem;
	font-size: 15px;
	font-weight: 700;
}

.tsg-shop-filters__active {
	margin: 0 0 0.85rem;
}

.tsg-shop-filters__clear {
	font-size: 12px;
	color: var(--tsg-muted, #666);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tsg-shop-filters__group {
	margin: 0 0 0.35rem;
	border: 0;
	padding: 0;
}

.tsg-shop-filters__summary {
	cursor: pointer;
	list-style: none;
	font-size: 13px;
	font-weight: 600;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-shop-filters__summary::-webkit-details-marker {
	display: none;
}

.tsg-shop-filters__chips {
	list-style: none;
	margin: 0.65rem 0 0.85rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.tsg-shop-filters__chip {
	display: inline-block;
	padding: 0.3rem 0.55rem;
	font-size: 12px;
	line-height: 1.3;
	color: var(--tsg-black, #000);
	text-decoration: none !important;
	border: 1px solid var(--tsg-border, #e5e5e5);
	background: #fff;
}

.tsg-shop-filters__chip:hover,
.tsg-shop-filters__chip.is-active {
	border-color: var(--tsg-black, #000);
	background: var(--tsg-black, #000);
	color: #fff !important;
}

.tsg-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
	background: transparent;
}

body.tsg-shop-surface .woocommerce-result-count {
	display: none !important;
}

body.tsg-shop-surface .woocommerce-ordering {
	margin: 0;
	order: 2;
	margin-left: auto;
}

body.tsg-shop-surface .woocommerce-ordering select {
	border: 0;
	border-bottom: 1px solid var(--tsg-black, #000);
	border-radius: 0;
	background: transparent;
	padding: 0.35rem 1.5rem 0.35rem 0;
	font-size: 13px;
	font-family: inherit;
	min-height: auto;
	box-shadow: none;
	cursor: pointer;
}

/* Product grid — airy MoMA density */
body.tsg-shop-surface ul.products,
body.tsg-shop-surface ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tsg-shop-surface ul.products::before,
body.tsg-shop-surface ul.products::after {
	display: none;
}

body.tsg-shop-surface ul.products li.product,
body.tsg-shop-surface ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	padding: 0;
	border: 0 !important;
	background: transparent;
	text-align: left;
	position: relative;
}

body.tsg-shop-surface ul.products li.product .product,
body.tsg-shop-surface ul.products li.product .product-single,
body.tsg-shop-surface ul.products li.product .product-content-outer,
body.tsg-shop-surface ul.products li.product .product-content {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.tsg-shop-surface ul.products li.product .product-img {
	position: relative;
	margin: 0 0 0.85rem;
	background: #f5f5f5;
	overflow: hidden;
}

body.tsg-shop-surface ul.products li.product .product-img a {
	display: block;
}

body.tsg-shop-surface ul.products li.product .product-img img,
body.tsg-shop-surface ul.products li.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0;
	border-radius: 0;
	display: block;
}

/* Hide Shopire hover-swap / quickview chrome */
body.tsg-shop-surface ul.products li.product .product-img img.info,
body.tsg-shop-surface ul.products li.product .quickview-trigger,
body.tsg-shop-surface ul.products li.product .pro-rating,
body.tsg-shop-surface ul.products li.product .onsale {
	display: none !important;
}

body.tsg-shop-surface ul.products li.product h2,
body.tsg-shop-surface ul.products li.product h3,
body.tsg-shop-surface ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 14px;
	font-weight: 400;
	padding: 0;
	margin: 0 0 0.25rem;
	color: var(--tsg-black, #000);
	line-height: 1.35;
}

body.tsg-shop-surface ul.products li.product h3 a {
	color: inherit;
	text-decoration: none;
}

body.tsg-shop-surface ul.products li.product h3 a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Venue cue on loop cards */
.tsg-venue-badge {
	display: block;
	margin: 0 0 0.2rem;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tsg-muted, #777);
	line-height: 1.3;
}

body.tsg-shop-surface ul.products li.product .tsg-venue-badge {
	padding: 0.65rem 0 0;
	margin: 0;
}

body.tsg-shop-surface ul.products li.product .product-img .tsg-venue-badge,
body.tsg-shop-surface ul.products li.product .woocommerce-LoopProduct-link > .tsg-venue-badge {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	z-index: 2;
	padding: 0.2rem 0.45rem;
	margin: 0;
	background: rgba(255, 255, 255, 0.92);
	font-size: 10px;
}

body.tsg-shop-surface ul.products li.product .price {
	display: block;
	padding: 0;
	margin: 0 0 0.75rem;
	font-size: 14px;
	color: var(--tsg-muted, #666);
	font-weight: 400;
}

body.tsg-shop-surface ul.products li.product .product-action,
body.tsg-shop-surface ul.products li.product .product-action .button,
body.tsg-shop-surface ul.products li.product .product-action a {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	opacity: 1 !important;
	position: static !important;
	transform: none !important;
	box-shadow: none !important;
	width: auto !important;
	max-width: none !important;
	min-height: 0 !important;
	height: auto !important;
	line-height: 1.35 !important;
	float: none !important;
}

body.tsg-shop-surface ul.products li.product .button,
body.tsg-shop-surface ul.products li.product .product-action .button,
body.tsg-shop-surface ul.products li.product .add_to_cart_button,
body.tsg-shop-surface ul.products li.product .added_to_cart {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	width: auto !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--tsg-black, #000) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	letter-spacing: 0.02em;
}

body.tsg-shop-surface ul.products li.product .button:hover,
body.tsg-shop-surface ul.products li.product .product-action .button:hover,
body.tsg-shop-surface ul.products li.product .add_to_cart_button:hover {
	opacity: 0.65 !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--tsg-black, #000) !important;
}

body.tsg-shop-surface nav.woocommerce-pagination {
	margin-top: 3rem;
	text-align: left;
}

body.tsg-shop-surface nav.woocommerce-pagination ul {
	border: 0;
	display: inline-flex;
	gap: 0.5rem;
}

body.tsg-shop-surface nav.woocommerce-pagination ul li {
	border: 0;
}

body.tsg-shop-surface nav.woocommerce-pagination ul li a,
body.tsg-shop-surface nav.woocommerce-pagination ul li span {
	min-width: 2rem;
	padding: 0.35rem 0.5rem;
	border: 0;
	background: transparent;
	color: var(--tsg-black, #000);
}

body.tsg-shop-surface nav.woocommerce-pagination ul li span.current {
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media screen and (max-width: 991px) {
	.tsg-shop-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.tsg-shop-cats {
		border-bottom: 1px solid var(--tsg-border, #e5e5e5);
		padding-bottom: 1rem;
	}

	.tsg-shop-cats__list {
		display: flex;
		flex-wrap: wrap;
		gap: 0.35rem 1rem;
	}

	.tsg-shop-cats__list--thumbs .tsg-shop-cats__link {
		grid-template-columns: 36px minmax(0, 1fr);
		gap: 0.45rem;
	}

	.tsg-shop-cats__thumb {
		width: 36px;
		height: 36px;
	}

	body.tsg-shop-surface ul.products,
	body.tsg-shop-surface ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.75rem 1rem;
	}
}

@media screen and (max-width: 479px) {
	.tsg-shop-hero__inner {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	body.tsg-shop-surface ul.products,
	body.tsg-shop-surface ul.products {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Shop / archive (non-collection fallback + shared)
   -------------------------------------------------------------------------- */
.tsg-design-store .woocommerce ul.products,
.tsg-design-store ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsg-design-store .woocommerce ul.products::before,
.tsg-design-store .woocommerce ul.products::after {
	display: none;
}

.tsg-design-store .woocommerce ul.products li.product,
.tsg-design-store ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	padding: 0;
	border: 1px solid var(--tsg-border, #e5e5e5);
	border-right: none;
	border-bottom: none;
	background: var(--tsg-white, #fff);
	text-align: left;
}

.tsg-design-store .woocommerce ul.products li.product:nth-child(4n),
.tsg-design-store ul.products li.product:nth-child(4n) {
	border-right: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-design-store .woocommerce ul.products li.product:nth-last-child(-n + 4),
.tsg-design-store ul.products li.product:nth-last-child(-n + 4) {
	border-bottom: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-design-store .woocommerce ul.products li.product .woocommerce-loop-product__link,
.tsg-design-store ul.products li.product > a {
	display: block;
	padding: 0;
}

.tsg-design-store .woocommerce ul.products li.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0;
	border-radius: 0;
}

.tsg-design-store .woocommerce ul.products li.product .woocommerce-loop-product__title,
.tsg-design-store .woocommerce ul.products li.product h2,
.tsg-design-store .woocommerce ul.products li.product h3 {
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 14px;
	font-weight: 400;
	padding: 0.85rem 1rem 0.25rem;
	margin: 0;
	color: var(--tsg-black, #000);
}

.tsg-design-store .woocommerce ul.products li.product .price {
	display: block;
	padding: 0 1rem 1rem;
	font-size: 14px;
	color: var(--tsg-muted, #666);
	font-weight: 400;
}

.tsg-design-store .woocommerce ul.products li.product .price del {
	opacity: 0.5;
	margin-right: 0.35rem;
}

.tsg-design-store .woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--tsg-black, #000);
}

.tsg-design-store .woocommerce ul.products li.product .button,
.tsg-design-store .woocommerce ul.products li.product .added_to_cart {
	margin: 0 1rem 1rem;
	display: inline-block;
}

.tsg-design-store .woocommerce .woocommerce-result-count,
.tsg-design-store .woocommerce .woocommerce-ordering {
	font-size: 13px;
	margin-bottom: 1.5rem;
}

.tsg-design-store .woocommerce .woocommerce-ordering select {
	border: 1px solid var(--tsg-border, #e5e5e5);
	border-radius: 0;
	padding: 0.4rem 0.6rem;
	font-family: inherit;
}

.tsg-design-store .woocommerce-products-header__title,
.tsg-design-store .wf_pagetitle .title,
.tsg-design-store .page-title {
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-weight: 400;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	letter-spacing: -0.02em;
}

@media screen and (max-width: 991px) {
	.tsg-design-store:not(.tsg-shop-surface) .woocommerce ul.products,
	.tsg-design-store:not(.tsg-shop-surface) ul.products {
		grid-template-columns: repeat(2, 1fr);
	}

	.tsg-design-store:not(.tsg-shop-surface) .woocommerce ul.products li.product:nth-child(4n) {
		border-right: none;
	}

	.tsg-design-store:not(.tsg-shop-surface) .woocommerce ul.products li.product:nth-child(2n) {
		border-right: 1px solid var(--tsg-border, #e5e5e5);
	}

	.tsg-design-store:not(.tsg-shop-surface) .woocommerce ul.products li.product:nth-last-child(-n + 4),
	.tsg-design-store:not(.tsg-shop-surface) ul.products li.product:nth-last-child(-n + 4) {
		border-bottom: none;
	}

	.tsg-design-store:not(.tsg-shop-surface) .woocommerce ul.products li.product:nth-last-child(-n + 2),
	.tsg-design-store:not(.tsg-shop-surface) ul.products li.product:nth-last-child(-n + 2) {
		border-bottom: 1px solid var(--tsg-border, #e5e5e5);
	}
}

@media screen and (max-width: 479px) {
	.tsg-design-store:not(.tsg-shop-surface) .woocommerce ul.products,
	.tsg-design-store:not(.tsg-shop-surface) ul.products {
		grid-template-columns: 1fr;
	}

	.tsg-design-store:not(.tsg-shop-surface) .woocommerce ul.products li.product {
		border-right: 1px solid var(--tsg-border, #e5e5e5) !important;
	}

	.tsg-design-store:not(.tsg-shop-surface) .woocommerce ul.products li.product:nth-last-child(-n + 2),
	.tsg-design-store:not(.tsg-shop-surface) ul.products li.product:nth-last-child(-n + 2) {
		border-bottom: none;
	}

	.tsg-design-store:not(.tsg-shop-surface) .woocommerce ul.products li.product:last-child,
	.tsg-design-store:not(.tsg-shop-surface) ul.products li.product:last-child {
		border-bottom: 1px solid var(--tsg-border, #e5e5e5);
	}
}

/* --------------------------------------------------------------------------
   Single product (MoMA-like PDP)
   -------------------------------------------------------------------------- */
body.tsg-product-surface .wf_pagetitle {
	display: none !important;
}

body.tsg-product-surface .woo-products {
	padding-top: 1.5rem !important;
	padding-bottom: 4rem !important;
	background: var(--tsg-white, #fff);
}

body.tsg-product-surface .woo-products > .wf-container {
	max-width: var(--tsg-max, 1280px);
	margin: 0 auto;
	padding-left: var(--tsg-gutter, 1.25rem);
	padding-right: var(--tsg-gutter, 1.25rem);
}

body.tsg-product-surface .woo-products .wf-row {
	display: block !important;
	margin: 0 !important;
}

body.tsg-product-surface .woo-products #wf-main,
body.tsg-product-surface .woo-products .wf-col-lg-8,
body.tsg-product-surface .woo-products .wf-col-md-12,
body.tsg-product-surface .woo-products .wf-col-12 {
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
	padding: 0 !important;
}

body.tsg-product-surface .woo-products .wf_widget-area,
body.tsg-product-surface #wf-sidebar,
body.tsg-product-surface .wf_widget-area,
body.tsg-product-surface aside.widget,
body.tsg-product-surface .widget_block,
body.tsg-product-surface .wp-block-latest-posts,
body.tsg-product-surface .wp-block-latest-comments,
body.tsg-product-surface .wp-block-search {
	display: none !important;
}

body.tsg-product-surface .tsg-product-crumb {
	margin: 0 0 1.25rem;
}

body.tsg-product-surface .tsg-product-crumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: var(--tsg-muted, #666);
}

body.tsg-product-surface .tsg-product-crumb__list a {
	color: var(--tsg-muted, #666);
	text-decoration: none;
}

body.tsg-product-surface .tsg-product-crumb__list a:hover {
	color: var(--tsg-black, #000);
}

body.tsg-product-surface div.product[id^="product-"] {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 2.5rem 3.5rem;
	align-items: start;
	margin: 0 !important;
	float: none !important;
	color: var(--tsg-black, #000);
}

/* Shopire nests another .product inside related cards — never grid those */
body.tsg-product-surface .related li.product > .product,
body.tsg-product-surface .upsells li.product > .product,
body.tsg-product-surface .related li.product .product-single,
body.tsg-product-surface .upsells li.product .product-single,
body.tsg-product-surface .related li.product .product-content-outer,
body.tsg-product-surface .upsells li.product .product-content-outer,
body.tsg-product-surface .related li.product .product-content,
body.tsg-product-surface .upsells li.product .product-content,
body.tsg-product-surface .related li.product .product-action,
body.tsg-product-surface .upsells li.product .product-action {
	display: block !important;
	grid-template-columns: none !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	position: static !important;
	min-width: 0 !important;
}

body.tsg-product-surface div.product .woocommerce-product-gallery,
body.tsg-product-surface div.product div.images {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #f5f5f5;
	overflow: hidden !important;
	aspect-ratio: 1 / 1;
	height: auto !important;
	min-height: 0 !important;
	position: relative;
}

body.tsg-product-surface div.product .woocommerce-product-gallery__wrapper {
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	overflow: hidden !important;
	transform: none !important;
}

body.tsg-product-surface div.product .woocommerce-product-gallery__image,
body.tsg-product-surface div.product .woocommerce-product-gallery__image--placeholder,
body.tsg-product-surface div.product div.images .woocommerce-product-gallery__image:nth-child(1) {
	margin: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	overflow: hidden !important;
	position: relative !important;
}

body.tsg-product-surface div.product .woocommerce-product-gallery__image a {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	overflow: hidden !important;
}

body.tsg-product-surface div.product .woocommerce-product-gallery img,
body.tsg-product-surface div.product div.images img,
body.tsg-product-surface div.product div.images .woocommerce-product-gallery__image img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: none !important;
	aspect-ratio: auto !important;
	object-fit: cover !important;
	object-position: center;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	display: block;
	background: #f5f5f5;
}

body.tsg-product-surface div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

body.tsg-product-surface div.product .woocommerce-product-gallery .flex-control-thumbs li {
	width: 64px;
	margin: 0;
}

body.tsg-product-surface div.product .woocommerce-product-gallery .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	opacity: 0.55;
	border: 1px solid transparent;
}

body.tsg-product-surface div.product .woocommerce-product-gallery .flex-control-thumbs .flex-active {
	opacity: 1;
	border-color: var(--tsg-black, #000);
}

body.tsg-product-surface div.product .summary,
body.tsg-product-surface div.product .entry-summary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0.25rem 0 0;
	color: var(--tsg-black, #000);
}

body.tsg-product-surface div.product .product_title {
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-weight: 400;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin: 0 0 0.85rem;
	color: var(--tsg-black, #000) !important;
}

body.tsg-product-surface .tsg-pdp-venue {
	margin: -0.35rem 0 1rem;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tsg-muted, #666);
}

body.tsg-product-surface .tsg-pdp-venue__label {
	font-weight: 600;
	color: var(--tsg-muted, #777);
}

body.tsg-product-surface .tsg-pdp-venue__link,
body.tsg-product-surface .tsg-pdp-venue__name {
	color: var(--tsg-black, #000);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	font-size: 13px;
}

body.tsg-product-surface .tsg-pdp-venue__link:hover {
	color: var(--tsg-muted, #444);
}

body.tsg-product-surface div.product p.price,
body.tsg-product-surface div.product span.price,
body.tsg-product-surface div.product .summary .price {
	font-size: 1.125rem;
	font-weight: 400;
	color: var(--tsg-black, #000) !important;
	margin: 0 0 1.5rem;
}

body.tsg-product-surface div.product .woocommerce-product-details__short-description {
	font-size: 15px;
	line-height: 1.55;
	color: var(--tsg-text, #222);
	margin: 0 0 1.75rem;
}

body.tsg-product-surface div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.75rem;
}

/* Variation attribute row: keep Colore label + select at the same control height */
body.tsg-product-surface div.product form.cart table.variations {
	width: 100%;
	margin: 0 0 0.75rem;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
}

body.tsg-product-surface div.product form.cart table.variations tbody,
body.tsg-product-surface div.product form.cart table.variations tr {
	display: flex;
	align-items: stretch;
	width: 100%;
	gap: 0.75rem;
}

body.tsg-product-surface div.product form.cart table.variations th.label,
body.tsg-product-surface div.product form.cart table.variations td.value {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	vertical-align: middle;
	height: 48px;
	min-height: 48px;
	line-height: 1;
	background: transparent;
	color: inherit;
}

body.tsg-product-surface div.product form.cart table.variations th.label {
	flex: 0 0 auto;
	min-width: 7.5rem;
	justify-content: center;
	padding: 0 1.25rem !important;
	background: var(--tsg-black, #000) !important;
	color: var(--tsg-white, #fff) !important;
}

body.tsg-product-surface div.product form.cart table.variations th.label label {
	margin: 0;
	padding: 0;
	line-height: 1;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: inherit;
}

body.tsg-product-surface div.product form.cart table.variations td.value {
	flex: 1 1 auto;
	min-width: 0;
}

body.tsg-product-surface div.product form.cart table.variations select {
	width: 100%;
	height: 48px !important;
	min-height: 48px !important;
	margin: 0;
	padding: 0 2.5rem 0 0.9rem !important;
	border: 1px solid var(--tsg-black, #000) !important;
	border-radius: 0 !important;
	background-color: var(--tsg-white, #fff) !important;
	color: var(--tsg-black, #000) !important;
	font-size: 14px !important;
	line-height: 1 !important;
	box-shadow: none !important;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

body.tsg-product-surface div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
}

body.tsg-product-surface div.product form.cart .quantity {
	margin: 0;
	display: flex;
	align-items: center;
	height: 48px;
}

body.tsg-product-surface div.product form.cart .quantity .qty {
	border-radius: 0 !important;
	border: 1px solid var(--tsg-black, #000) !important;
	height: 48px !important;
	min-height: 48px !important;
	width: 72px !important;
	padding: 0 !important;
	text-align: center;
	font-family: inherit;
	font-size: 14px !important;
	line-height: 46px !important;
	color: var(--tsg-black, #000);
	background: var(--tsg-white, #fff);
	box-shadow: none;
	box-sizing: border-box;
}

body.tsg-product-surface div.product form.cart .single_add_to_cart_button,
body.tsg-product-surface div.product form.cart button.single_add_to_cart_button {
	flex: 1 1 auto;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px !important;
	height: 48px !important;
	padding: 0 1.75rem !important;
	margin: 0 !important;
	border-radius: 0 !important;
	border: 1px solid var(--tsg-black, #000) !important;
	background: var(--tsg-black, #000) !important;
	background-color: var(--tsg-black, #000) !important;
	color: var(--tsg-white, #fff) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: 0.01em;
	box-shadow: none !important;
	box-sizing: border-box;
}

body.tsg-product-surface div.product form.cart .single_add_to_cart_button:hover {
	background: var(--tsg-near-black, #222) !important;
	color: var(--tsg-white, #fff) !important;
}

body.tsg-product-surface div.product .product_meta {
	font-size: 13px;
	color: var(--tsg-muted, #666);
	border-top: 1px solid var(--tsg-border, #e5e5e5);
	padding-top: 1.25rem;
	margin: 0;
}

body.tsg-product-surface div.product .product_meta a {
	color: var(--tsg-black, #000);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.tsg-product-surface div.product .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: 1rem;
	border: none;
	padding-top: 1rem;
}

/* Hide leftover reviews chrome ("Recensioni (0)") */
body.tsg-product-surface .reviews_tab,
body.tsg-product-surface #tab-reviews,
body.tsg-product-surface .woocommerce-product-rating,
body.tsg-product-surface .woocommerce-review-link {
	display: none !important;
}

body.tsg-product-surface div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 1.25rem;
	border: 0;
	border-bottom: 1px solid var(--tsg-border, #e5e5e5);
	display: flex;
	gap: 1.75rem;
	list-style: none;
}

body.tsg-product-surface div.product .woocommerce-tabs ul.tabs::before,
body.tsg-product-surface div.product .woocommerce-tabs ul.tabs::after {
	display: none;
}

body.tsg-product-surface div.product .woocommerce-tabs ul.tabs li {
	border: none !important;
	background: transparent !important;
	border-radius: 0;
	margin: 0;
	padding: 0 0 0.75rem;
	position: relative;
}

body.tsg-product-surface div.product .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	font-size: 14px;
	font-weight: 400;
	padding: 10px !important;
	color: white !important;
	text-decoration: none !important;
}

body.tsg-product-surface div.product .woocommerce-tabs ul.tabs li.active a {
	font-weight: 600;
	color: white !important;
	padding: 10px !important;
}

body.tsg-product-surface div.product .woocommerce-tabs ul.tabs li.active {
	border-bottom: 2px solid var(--tsg-black, #000) !important;
}

body.tsg-product-surface div.product .woocommerce-tabs .panel {
	border: none;
	padding: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tsg-text, #222);
	background: transparent;
	box-shadow: none;
}

body.tsg-product-surface .related.products,
body.tsg-product-surface .upsells.products,
body.tsg-product-surface .tsg-pdp-rail {
	grid-column: 1 / -1;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--tsg-border, #e5e5e5);
	clear: both;
}

body.tsg-product-surface .tsg-pdp-rail + .tsg-pdp-rail {
	margin-top: 2.25rem;
}

body.tsg-product-surface .related.products > h2,
body.tsg-product-surface .upsells.products > h2,
body.tsg-product-surface .tsg-pdp-rail > h2 {
	font-size: 1.35rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	margin: 0 0 1.5rem;
	color: var(--tsg-black, #000);
}

/* Related products reuse shop-card language */
body.tsg-product-surface .related ul.products,
body.tsg-product-surface .upsells ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 2rem 1.5rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100% !important;
	float: none !important;
}

body.tsg-product-surface .related ul.products::before,
body.tsg-product-surface .related ul.products::after,
body.tsg-product-surface .upsells ul.products::before,
body.tsg-product-surface .upsells ul.products::after {
	display: none !important;
	content: none !important;
}

body.tsg-product-surface .related ul.products li.product,
body.tsg-product-surface .upsells ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	border: 0 !important;
	background: transparent;
	text-align: left;
	min-width: 0;
}

body.tsg-product-surface .related ul.products li.product .product-img,
body.tsg-product-surface .upsells ul.products li.product .product-img {
	background: #f5f5f5;
	margin: 0 0 0.75rem !important;
	overflow: hidden;
}

body.tsg-product-surface .related ul.products li.product img,
body.tsg-product-surface .upsells ul.products li.product img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	margin: 0;
}

body.tsg-product-surface .related ul.products li.product h3,
body.tsg-product-surface .upsells ul.products li.product h3 {
	font-size: 14px;
	font-weight: 400;
	margin: 0 0 0.25rem;
	padding: 0;
	white-space: normal;
	word-break: normal;
}

body.tsg-product-surface .related ul.products li.product .price,
body.tsg-product-surface .upsells ul.products li.product .price {
	display: block;
	margin: 0 0 0.5rem;
	padding: 0;
	font-size: 14px;
	color: var(--tsg-muted, #666);
}

body.tsg-product-surface .related ul.products li.product img.info,
body.tsg-product-surface .related ul.products li.product .quickview-trigger,
body.tsg-product-surface .upsells ul.products li.product img.info,
body.tsg-product-surface .upsells ul.products li.product .quickview-trigger {
	display: none !important;
}

body.tsg-product-surface .related ul.products li.product .button,
body.tsg-product-surface .related ul.products li.product .product-action .button,
body.tsg-product-surface .upsells ul.products li.product .button,
body.tsg-product-surface .upsells ul.products li.product .product-action .button {
	display: inline-block !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--tsg-black, #000) !important;
	border: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	width: auto !important;
	max-width: none !important;
	font-size: 12px !important;
	line-height: 1.35 !important;
	white-space: nowrap !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	box-shadow: none !important;
}

/* Ti può interessare — horizontal carousel */
body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-carousel {
	margin: 0.5rem 0 0;
}

body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-carousel__item {
	flex: 0 0 min(220px, 68vw);
	width: min(220px, 68vw);
}

body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-product-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
}

body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-product-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f0f0f0;
}

body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-product-card__img,
body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-product-card__meta {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.85rem 1rem 1.1rem;
}

body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-venue-badge {
	font-size: 10px;
}

body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-product-card__title {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

body.tsg-product-surface .tsg-pdp-rail--carousel .tsg-product-card__price {
	font-size: 13px;
	color: var(--tsg-muted, #666);
}

/* Completa l'oggetto — add both */
.tsg-add-both {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem 1.25rem;
	margin: -0.5rem 0 2.5rem;
	max-width: var(--tsg-max, 1280px);
	padding: 0 var(--tsg-gutter, 1.25rem);
}

.tsg-add-both__btn {
	display: inline-block;
	padding: 0.75rem 1.25rem;
	background: var(--tsg-black, #000);
	color: #fff !important;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	border: 1px solid var(--tsg-black, #000);
}

.tsg-add-both__btn:hover {
	background: #fff;
	color: var(--tsg-black, #000) !important;
}

.tsg-add-both__hint {
	font-size: 13px;
	color: var(--tsg-muted, #666);
}

/* PDP story columns + authenticity */
.tsg-pdp-story {
	max-width: var(--tsg-max, 1280px);
	margin: 0 auto 2.5rem;
	padding: 2.5rem var(--tsg-gutter, 1.25rem) 0;
	border-top: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-pdp-story__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 2.5rem;
}

.tsg-pdp-story__title {
	margin: 0 0 0.65rem;
	font-size: 14px;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tsg-pdp-story__body {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--tsg-muted, #555);
}

.tsg-pdp-auth {
	max-width: var(--tsg-max, 1280px);
	margin: 0 auto 3rem;
	padding: 2.25rem var(--tsg-gutter, 1.25rem);
	background: #f6f5f3;
	border-top: 1px solid var(--tsg-border, #e5e5e5);
	border-bottom: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-pdp-auth__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tsg-muted, #666);
}

.tsg-pdp-auth__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 500;
	line-height: 1.2;
}

.tsg-pdp-auth__body {
	margin: 0;
	max-width: 40rem;
	font-size: 15px;
	line-height: 1.55;
	color: var(--tsg-muted, #555);
}

@media screen and (max-width: 767px) {
	.tsg-pdp-story__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media screen and (max-width: 991px) {
	body.tsg-product-surface div.product {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	body.tsg-product-surface .related ul.products,
	body.tsg-product-surface .upsells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 479px) {
	body.tsg-product-surface .related ul.products,
	body.tsg-product-surface .upsells ul.products {
		grid-template-columns: 1fr;
	}
}

/* Legacy single-product helpers (non-surface fallback) */
.tsg-design-store .woocommerce div.product {
	margin-top: 2rem;
}

.tsg-design-store .woocommerce div.product div.images {
	margin-bottom: 2rem;
}

.tsg-design-store .woocommerce div.product div.images img {
	border-radius: 0;
	border: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-design-store .woocommerce div.product .product_title {
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-weight: 400;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin-bottom: 0.75rem;
}

.tsg-design-store .woocommerce div.product p.price,
.tsg-design-store .woocommerce div.product span.price {
	font-size: 1.15rem;
	font-weight: 400;
	color: var(--tsg-black, #000);
	margin-bottom: 1.25rem;
}

.tsg-design-store .woocommerce div.product .woocommerce-product-details__short-description {
	font-size: 15px;
	line-height: 1.5;
	color: var(--tsg-muted, #666);
	margin-bottom: 1.5rem;
}

.tsg-design-store .woocommerce div.product form.cart {
	margin-bottom: 2rem;
}

.tsg-design-store .woocommerce div.product form.cart .quantity .qty {
	border-radius: 0;
	border: 1px solid var(--tsg-border, #e5e5e5);
	height: 48px;
	min-height: 48px;
	width: 72px;
}

.tsg-design-store .woocommerce div.product form.cart .single_add_to_cart_button {
	min-height: 48px;
	height: 48px;
	padding: 0 1.75rem;
}

.tsg-design-store .woocommerce div.product .product_meta {
	font-size: 13px;
	color: var(--tsg-muted, #666);
	border-top: 1px solid var(--tsg-border, #e5e5e5);
	padding-top: 1rem;
}

.tsg-design-store .woocommerce div.product .woocommerce-tabs {
	margin-top: 3rem;
	border: none;
}

.tsg-design-store .woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 1.5rem;
	border-bottom: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-design-store .woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: none;
	background: transparent;
	border-radius: 0;
	margin: 0 1.5rem 0 0;
	padding: 0;
}

.tsg-design-store .woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-weight: 500;
	font-size: 14px;
	padding: 10px !important;
	color: white !important;
}

.tsg-design-store .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	border-bottom-color: var(--tsg-black, #000);
	color: white !important;
	padding: 10px !important;
}

.tsg-design-store .woocommerce div.product .woocommerce-tabs .panel {
	border: none;
	box-shadow: none;
	padding: 0;
	font-size: 15px;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Cart / checkout surface (MoMA-like)
   -------------------------------------------------------------------------- */
body.tsg-cart-surface .wf_pagetitle,
body.tsg-checkout-surface .wf_pagetitle,
body.tsg-account-surface .wf_pagetitle {
	display: none !important;
}

/* Cart/checkout/account use Shopire page template (wf_posts), not woo-products */
body.tsg-cart-surface .wf_posts,
body.tsg-checkout-surface .wf_posts,
body.tsg-account-surface .wf_posts,
body.tsg-cart-surface .woo-products,
body.tsg-checkout-surface .woo-products,
body.tsg-account-surface .woo-products,
body.tsg-cart-surface .site-content > .wf-py-default,
body.tsg-checkout-surface .site-content > .wf-py-default,
body.tsg-account-surface .site-content > .wf-py-default {
	padding-top: 0 !important;
	padding-bottom: 4rem !important;
	background: var(--tsg-white, #fff);
}

body.tsg-cart-surface .wf_posts > .wf-container,
body.tsg-checkout-surface .wf_posts > .wf-container,
body.tsg-account-surface .wf_posts > .wf-container,
body.tsg-cart-surface .woo-products > .wf-container,
body.tsg-checkout-surface .woo-products > .wf-container,
body.tsg-account-surface .woo-products > .wf-container,
body.tsg-cart-surface .wf-container,
body.tsg-checkout-surface .wf-container,
body.tsg-account-surface .wf-container {
	max-width: var(--tsg-max, 1280px);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--tsg-gutter, 1.25rem);
	padding-right: var(--tsg-gutter, 1.25rem);
}

body.tsg-cart-surface .wf_posts .wf-row,
body.tsg-checkout-surface .wf_posts .wf-row,
body.tsg-account-surface .wf_posts .wf-row,
body.tsg-cart-surface .woo-products .wf-row,
body.tsg-checkout-surface .woo-products .wf-row,
body.tsg-account-surface .woo-products .wf-row {
	display: block !important;
	margin: 0 !important;
}

body.tsg-cart-surface #wf-main,
body.tsg-checkout-surface #wf-main,
body.tsg-account-surface #wf-main,
body.tsg-cart-surface .wf_posts #wf-main,
body.tsg-checkout-surface .wf_posts #wf-main,
body.tsg-account-surface .wf_posts #wf-main,
body.tsg-cart-surface .woo-products #wf-main,
body.tsg-checkout-surface .woo-products #wf-main,
body.tsg-account-surface .woo-products #wf-main,
body.tsg-cart-surface .wf-col-lg-8,
body.tsg-checkout-surface .wf-col-lg-8,
body.tsg-account-surface .wf-col-lg-8,
body.tsg-cart-surface .wf_posts .wf-col-lg-8,
body.tsg-checkout-surface .wf_posts .wf-col-lg-8,
body.tsg-account-surface .wf_posts .wf-col-lg-8,
body.tsg-cart-surface .woo-products .wf-col-lg-8,
body.tsg-checkout-surface .woo-products .wf-col-lg-8,
body.tsg-account-surface .woo-products .wf-col-lg-8,
body.tsg-cart-surface .wf-col-md-12,
body.tsg-checkout-surface .wf-col-md-12,
body.tsg-account-surface .wf-col-md-12,
body.tsg-cart-surface .wf-col-12,
body.tsg-checkout-surface .wf-col-12,
body.tsg-account-surface .wf-col-12 {
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
	padding: 0 !important;
}

/* Remove blog sidebar (Cerca / Recent Posts / Recent Comments) */
body.tsg-cart-surface #wf-sidebar,
body.tsg-checkout-surface #wf-sidebar,
body.tsg-account-surface #wf-sidebar,
body.tsg-cart-surface .wf_widget-area,
body.tsg-checkout-surface .wf_widget-area,
body.tsg-account-surface .wf_widget-area,
body.tsg-cart-surface .woo-products .wf_widget-area,
body.tsg-checkout-surface .woo-products .wf_widget-area,
body.tsg-account-surface .woo-products .wf_widget-area,
body.tsg-cart-surface aside.widget,
body.tsg-checkout-surface aside.widget,
body.tsg-account-surface aside.widget,
body.tsg-cart-surface .widget_block,
body.tsg-checkout-surface .widget_block,
body.tsg-account-surface .widget_block {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.tsg-cart-surface .tsg-cart-hero,
body.tsg-checkout-surface .tsg-cart-hero,
body.tsg-account-surface .tsg-cart-hero {
	margin-bottom: 1.5rem;
}

body.tsg-cart-surface .wp-block-woocommerce-cart,
body.tsg-cart-surface .wc-block-cart,
body.tsg-checkout-surface .wp-block-woocommerce-checkout,
body.tsg-checkout-surface .wc-block-checkout {
	max-width: none;
	margin: 0;
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	color: var(--tsg-black, #000);
}

body.tsg-cart-surface .wp-block-woocommerce-empty-cart-block {
	text-align: left;
	padding: 0 0 1rem;
}

/* Hero already says "Carrello" — keep empty-state copy quieter */
body.tsg-cart-surface .wc-block-cart__empty-cart__title,
body.tsg-cart-surface .wp-block-woocommerce-empty-cart-block > .wp-block-heading.wc-block-cart__empty-cart__title {
	text-align: left !important;
	font-size: 1.125rem !important;
	font-weight: 400 !important;
	letter-spacing: -0.01em;
	margin: 0 0 2rem !important;
	color: var(--tsg-muted, #666) !important;
}

body.tsg-cart-surface .wp-block-woocommerce-empty-cart-block .wp-block-heading.has-text-align-center {
	text-align: left !important;
}

body.tsg-cart-surface .wp-block-separator,
body.tsg-cart-surface hr.wp-block-separator {
	border: 0 !important;
	border-top: 1px solid var(--tsg-border, #e5e5e5) !important;
	margin: 2rem 0 !important;
	max-width: none !important;
	opacity: 1;
}

body.tsg-cart-surface .wp-block-separator.is-style-dots {
	background: none !important;
	height: 0 !important;
}

body.tsg-cart-surface .wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
	font-size: 1.25rem !important;
	font-weight: 400 !important;
	margin: 0 0 1.5rem !important;
	text-align: left !important;
}

/* Cart cross-sell / "Novità" product grid — match shop cards */
body.tsg-cart-surface .wc-block-grid,
body.tsg-cart-surface .wp-block-product-new,
body.tsg-cart-surface .wp-block-woocommerce-product-new {
	margin: 0 !important;
	max-width: none !important;
}

body.tsg-cart-surface .wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 2rem 1.5rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100% !important;
}

body.tsg-cart-surface .wc-block-grid.has-4-columns .wc-block-grid__product,
body.tsg-cart-surface .wc-block-grid.has-3-columns .wc-block-grid__product,
body.tsg-cart-surface .wc-block-grid.has-2-columns .wc-block-grid__product,
body.tsg-cart-surface .wc-block-grid__product {
	display: flex !important;
	flex-direction: column;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	box-sizing: border-box;
}

body.tsg-cart-surface .wc-block-grid__product-link {
	display: block !important;
	width: 100% !important;
	text-decoration: none;
	color: inherit;
}

body.tsg-cart-surface .wc-block-grid__product-image {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 0.85rem !important;
	padding: 0 !important;
	background: #f5f5f5;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	position: relative;
}

body.tsg-cart-surface .wc-block-grid__product-image img,
body.tsg-cart-surface .wc-block-grid__product-image .woocommerce-placeholder {
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	margin: 0 !important;
	position: absolute;
	inset: 0;
}

body.tsg-cart-surface .wc-block-grid__product-title {
	font-size: 14px !important;
	font-weight: 400 !important;
	padding: 0 !important;
	margin: 0 0 0.25rem !important;
	color: var(--tsg-black, #000) !important;
	text-align: left !important;
}

body.tsg-cart-surface .wc-block-grid__product-price {
	font-size: 14px !important;
	color: var(--tsg-muted, #666) !important;
	margin: 0 0 0.65rem !important;
	padding: 0 !important;
	text-align: left !important;
}

body.tsg-cart-surface .wc-block-grid__product-add-to-cart.wp-block-button {
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	width: auto !important;
	align-self: flex-start;
}

body.tsg-cart-surface .wc-block-grid__product-add-to-cart .wp-block-button__link,
body.tsg-cart-surface .wc-block-grid__product .add_to_cart_button {
	display: inline-block !important;
	width: auto !important;
	min-height: 0 !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--tsg-black, #000) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	white-space: nowrap;
}

/* Filled cart (classic + blocks) */
body.tsg-cart-surface .woocommerce-cart-form,
body.tsg-cart-surface .wc-block-cart-items {
	font-size: 14px;
}

body.tsg-cart-surface table.shop_table,
body.tsg-cart-surface .wc-block-cart-items {
	border: 0 !important;
	border-top: 1px solid var(--tsg-border, #e5e5e5) !important;
	border-bottom: 1px solid var(--tsg-border, #e5e5e5) !important;
	border-radius: 0 !important;
}

body.tsg-cart-surface table.shop_table th,
body.tsg-cart-surface table.shop_table td,
body.tsg-cart-surface .wc-block-cart-items__header,
body.tsg-cart-surface .wc-block-cart-items__row {
	border-color: var(--tsg-border, #e5e5e5) !important;
	padding: 1.25rem 0 !important;
	font-weight: 400;
}

body.tsg-cart-surface .cart-collaterals .cart_totals,
body.tsg-cart-surface .wc-block-components-sidebar {
	border: 1px solid var(--tsg-border, #e5e5e5);
	padding: 1.5rem;
	border-radius: 0;
	background: #fafafa;
}

body.tsg-cart-surface .wc-block-cart__submit-button,
body.tsg-cart-surface .checkout-button,
body.tsg-cart-surface .wc-proceed-to-checkout a.checkout-button,
body.tsg-checkout-surface .wc-block-components-checkout-place-order-button {
	background: var(--tsg-black, #000) !important;
	color: var(--tsg-white, #fff) !important;
	border-radius: 0 !important;
	border: 1px solid var(--tsg-black, #000) !important;
	min-height: 48px !important;
	font-weight: 500 !important;
	text-transform: none !important;
}

@media screen and (max-width: 991px) {
	body.tsg-cart-surface .wc-block-grid__products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media screen and (max-width: 479px) {
	body.tsg-cart-surface .wc-block-grid__products {
		grid-template-columns: 1fr !important;
	}
}

/* --------------------------------------------------------------------------
   My Account surface (login / register / dashboard)
   -------------------------------------------------------------------------- */
body.tsg-account-surface .woocommerce {
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	color: var(--tsg-black, #000);
}

body.tsg-account-surface .u-columns.col2-set,
body.tsg-account-surface .woocommerce .col2-set {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3rem 4rem;
	margin: 0;
}

/* WooCommerce clearfix pseudo-elements steal grid cells */
body.tsg-account-surface .u-columns.col2-set::before,
body.tsg-account-surface .u-columns.col2-set::after,
body.tsg-account-surface .woocommerce .col2-set::before,
body.tsg-account-surface .woocommerce .col2-set::after {
	content: none !important;
	display: none !important;
}

body.tsg-account-surface .u-columns .u-column1,
body.tsg-account-surface .col2-set .col-1 {
	width: 100% !important;
	float: none !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	grid-column: 1;
	grid-row: 1;
}

body.tsg-account-surface .u-columns .u-column2,
body.tsg-account-surface .col2-set .col-2 {
	width: 100% !important;
	float: none !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	grid-column: 2;
	grid-row: 1;
}

body.tsg-account-surface .woocommerce h2,
body.tsg-account-surface .woocommerce-MyAccount-content h2,
body.tsg-account-surface .woocommerce-form-login + h2,
body.tsg-account-surface .u-column1 > h2,
body.tsg-account-surface .u-column2 > h2 {
	font-size: 1.25rem !important;
	font-weight: 400 !important;
	letter-spacing: -0.02em;
	margin: 0 0 1.25rem !important;
	padding: 0 !important;
	border: 0 !important;
}

body.tsg-account-surface .woocommerce form.login,
body.tsg-account-surface .woocommerce form.register,
body.tsg-account-surface .woocommerce-form-login,
body.tsg-account-surface .woocommerce-form-register {
	border: 1px solid var(--tsg-border, #e5e5e5) !important;
	border-radius: 0 !important;
	padding: 1.75rem !important;
	margin: 0 !important;
	background: #fff;
	box-shadow: none !important;
}

body.tsg-account-surface .woocommerce form .form-row {
	margin: 0 0 1rem !important;
	padding: 0 !important;
}

body.tsg-account-surface .woocommerce form .form-row label {
	font-size: 13px;
	font-weight: 400;
	color: var(--tsg-muted, #666);
	margin-bottom: 0.35rem;
	display: block;
}

body.tsg-account-surface .woocommerce form .form-row input.input-text,
body.tsg-account-surface .woocommerce form .form-row textarea,
body.tsg-account-surface .woocommerce form .form-row select {
	border: 1px solid var(--tsg-border, #e5e5e5) !important;
	border-radius: 0 !important;
	min-height: 44px;
	padding: 0.65rem 0.75rem !important;
	font-size: 14px;
	box-shadow: none !important;
	background: #fff;
	width: 100%;
}

body.tsg-account-surface .woocommerce form .form-row input.input-text:focus {
	border-color: var(--tsg-black, #000) !important;
	outline: none;
}

body.tsg-account-surface .woocommerce form .woocommerce-form-login__submit,
body.tsg-account-surface .woocommerce form .woocommerce-form-register__submit,
body.tsg-account-surface .woocommerce form button.button,
body.tsg-account-surface .woocommerce-Button {
	background: var(--tsg-black, #000) !important;
	color: var(--tsg-white, #fff) !important;
	border: 1px solid var(--tsg-black, #000) !important;
	border-radius: 0 !important;
	min-height: 48px;
	padding: 0.75rem 1.5rem !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: 0;
	float: none !important;
}

body.tsg-account-surface .woocommerce form .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 13px;
	margin-right: 1rem;
}

body.tsg-account-surface .woocommerce-LostPassword,
body.tsg-account-surface .woocommerce-form-login .lost_password {
	font-size: 13px;
	margin-top: 1rem;
}

body.tsg-account-surface .woocommerce-LostPassword a {
	color: var(--tsg-black, #000);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Logged-in dashboard — MoMA sidebar + content */
body.tsg-account-logged .woocommerce {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 3rem 4rem;
	align-items: start;
}

body.tsg-account-logged .woocommerce::before,
body.tsg-account-logged .woocommerce::after {
	content: none !important;
	display: none !important;
}

body.tsg-account-logged .tsg-cart-hero {
	grid-column: 1 / -1;
}

body.tsg-account-surface .woocommerce-MyAccount-navigation {
	margin: 0;
	float: none !important;
	width: auto !important;
}

body.tsg-account-logged .woocommerce-MyAccount-navigation {
	position: sticky;
	top: 1.5rem;
}

body.tsg-account-surface .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--tsg-border, #e5e5e5);
}

body.tsg-account-logged .woocommerce-MyAccount-navigation ul {
	border-top: 0;
	border-right: 0;
}

body.tsg-account-surface .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--tsg-border, #e5e5e5);
}

body.tsg-account-surface .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.85rem 0;
	color: var(--tsg-muted, #666);
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	border: 0;
	background: transparent;
}

body.tsg-account-surface .woocommerce-MyAccount-navigation .is-active a,
body.tsg-account-surface .woocommerce-MyAccount-navigation a:hover {
	color: var(--tsg-black, #000);
	text-decoration: none;
}

body.tsg-account-surface .woocommerce-MyAccount-navigation .is-active a {
	font-weight: 500;
	box-shadow: inset 2px 0 0 var(--tsg-black, #000);
	padding-left: 0.85rem;
	margin-left: -0.85rem;
}

body.tsg-account-surface .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tsg-black, #000);
}

body.tsg-account-surface .woocommerce-MyAccount-content > p:first-of-type {
	font-size: 1.05rem;
	margin: 0 0 1rem;
}

body.tsg-account-surface .woocommerce-MyAccount-content a {
	color: var(--tsg-black, #000);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.tsg-account-surface .woocommerce-MyAccount-content a:hover {
	opacity: 0.7;
}

/* Dashboard quick links */
body.tsg-account-logged .tsg-account-quick {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 2rem 0 0;
}

body.tsg-account-logged .tsg-account-quick__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--tsg-border, #e5e5e5);
	text-decoration: none !important;
	color: var(--tsg-black, #000) !important;
	background: #fff;
	transition: background 0.15s ease, border-color 0.15s ease;
}

body.tsg-account-logged .tsg-account-quick__item:hover {
	background: #fafafa;
	border-color: var(--tsg-black, #000);
	opacity: 1;
}

body.tsg-account-logged .tsg-account-quick__label {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

body.tsg-account-logged .tsg-account-quick__desc {
	font-size: 13px;
	color: var(--tsg-muted, #666);
	line-height: 1.4;
}

/* Orders table */
body.tsg-account-logged table.shop_table,
body.tsg-account-logged .woocommerce-orders-table {
	border: 0 !important;
	border-top: 1px solid var(--tsg-border, #e5e5e5) !important;
	border-bottom: 1px solid var(--tsg-border, #e5e5e5) !important;
	border-radius: 0 !important;
	width: 100%;
}

body.tsg-account-logged table.shop_table th,
body.tsg-account-logged table.shop_table td,
body.tsg-account-logged .woocommerce-orders-table th,
body.tsg-account-logged .woocommerce-orders-table td {
	border-color: var(--tsg-border, #e5e5e5) !important;
	padding: 1rem 0.75rem 1rem 0 !important;
	font-weight: 400;
	font-size: 14px;
	background: transparent !important;
}

body.tsg-account-logged table.shop_table thead th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--tsg-muted, #666);
}

body.tsg-account-logged .woocommerce-button.button,
body.tsg-account-logged a.button,
body.tsg-account-logged .woocommerce-MyAccount-content .button {
	background: transparent !important;
	color: var(--tsg-black, #000) !important;
	border: 1px solid var(--tsg-black, #000) !important;
	border-radius: 0 !important;
	min-height: 40px;
	padding: 0.5rem 1rem !important;
	font-weight: 500 !important;
	text-transform: none !important;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
}

body.tsg-account-logged .woocommerce-button.button:hover,
body.tsg-account-logged a.button:hover {
	background: var(--tsg-black, #000) !important;
	color: var(--tsg-white, #fff) !important;
}

body.tsg-account-logged .woocommerce-Button--view,
body.tsg-account-logged .woocommerce-button.view {
	border-color: var(--tsg-border, #e5e5e5) !important;
}

/* Addresses */
body.tsg-account-logged .woocommerce-Addresses,
body.tsg-account-logged .u-columns.woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
}

body.tsg-account-logged .woocommerce-Address,
body.tsg-account-logged .woocommerce-Addresses .u-column1,
body.tsg-account-logged .woocommerce-Addresses .u-column2,
body.tsg-account-logged .woocommerce-Addresses .col-1,
body.tsg-account-logged .woocommerce-Addresses .col-2 {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 1.5rem !important;
	border: 1px solid var(--tsg-border, #e5e5e5);
	background: #fff;
}

body.tsg-account-logged .woocommerce-Address-title,
body.tsg-account-logged .woocommerce-Address header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

body.tsg-account-logged .woocommerce-Address-title h3,
body.tsg-account-logged .woocommerce-Address header h3 {
	font-size: 1rem !important;
	font-weight: 500 !important;
	margin: 0 !important;
}

body.tsg-account-logged .woocommerce-Address address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.55;
	color: var(--tsg-muted, #666);
	margin: 0;
}

/* Edit account / address forms */
body.tsg-account-logged .woocommerce-EditAccountForm,
body.tsg-account-logged .woocommerce-address-fields,
body.tsg-account-logged form.woocommerce-EditAccountForm,
body.tsg-account-logged .woocommerce-MyAccount-content form {
	max-width: 36rem;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
}

body.tsg-account-logged fieldset {
	border: 1px solid var(--tsg-border, #e5e5e5);
	padding: 1.25rem 1.35rem;
	margin: 1.5rem 0;
}

body.tsg-account-logged fieldset legend {
	font-size: 13px;
	padding: 0 0.35rem;
	color: var(--tsg-muted, #666);
}

body.tsg-account-logged .woocommerce-MyAccount-content button.button,
body.tsg-account-logged .woocommerce-EditAccountForm button.button {
	background: var(--tsg-black, #000) !important;
	color: var(--tsg-white, #fff) !important;
	border-color: var(--tsg-black, #000) !important;
	margin-top: 0.5rem;
}

body.tsg-account-logged .woocommerce-info,
body.tsg-account-logged .woocommerce-message,
body.tsg-account-logged .woocommerce-error {
	border-radius: 0 !important;
	border-width: 0 0 0 3px !important;
	background: #fafafa !important;
	padding: 1rem 1.25rem !important;
}

@media screen and (max-width: 991px) {
	body.tsg-account-logged .woocommerce {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	body.tsg-account-logged .woocommerce-MyAccount-navigation {
		position: static;
	}

	body.tsg-account-logged .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0 1.25rem;
		border-bottom: 1px solid var(--tsg-border, #e5e5e5);
		padding-bottom: 0.75rem;
	}

	body.tsg-account-logged .woocommerce-MyAccount-navigation li {
		border-bottom: 0;
	}

	body.tsg-account-logged .woocommerce-MyAccount-navigation .is-active a {
		box-shadow: none;
		padding-left: 0;
		margin-left: 0;
		text-decoration: underline;
		text-underline-offset: 4px;
	}

	body.tsg-account-logged .tsg-account-quick {
		grid-template-columns: 1fr;
	}

	body.tsg-account-logged .woocommerce-Addresses,
	body.tsg-account-logged .u-columns.woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 767px) {
	body.tsg-account-surface .u-columns.col2-set,
	body.tsg-account-surface .woocommerce .col2-set {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	body.tsg-account-surface .u-columns .u-column1,
	body.tsg-account-surface .col2-set .col-1,
	body.tsg-account-surface .u-columns .u-column2,
	body.tsg-account-surface .col2-set .col-2 {
		grid-column: auto;
		grid-row: auto;
	}
}

/* --------------------------------------------------------------------------
   Cart (legacy helpers)
   -------------------------------------------------------------------------- */
.tsg-design-store .woocommerce-cart-form,
.tsg-design-store .woocommerce-cart .cart-collaterals {
	font-size: 14px;
}

.tsg-design-store .woocommerce table.shop_table {
	border-radius: 0;
	border: 1px solid var(--tsg-border, #e5e5e5);
	border-collapse: collapse;
}

.tsg-design-store .woocommerce table.shop_table th,
.tsg-design-store .woocommerce table.shop_table td {
	border-color: var(--tsg-border, #e5e5e5);
	padding: 1rem;
	font-weight: 400;
}

.tsg-design-store .woocommerce table.shop_table th {
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tsg-design-store .woocommerce-cart .cart-collaterals .cart_totals {
	border: 1px solid var(--tsg-border, #e5e5e5);
	padding: 1.5rem;
	border-radius: 0;
}

.tsg-design-store .woocommerce-cart .cart-collaterals .cart_totals h2 {
	font-size: 1.25rem;
	font-weight: 400;
	margin-bottom: 1rem;
}

.tsg-design-store .woocommerce .cart_totals .checkout-button,
.tsg-design-store .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: block;
	text-align: center;
	width: 100%;
}

/* Cart cross-sells / block product grid — WP core sets
   .wp-block-button__link { height:100% }, which stretches Add to cart
   into tall columns over the footer. */
.tsg-design-store .wc-block-grid__product {
	display: flex;
	flex-direction: column;
	height: auto;
	align-items: stretch;
}

.tsg-design-store .wc-block-grid__product-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.tsg-design-store .wc-block-grid__product-title {
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 14px;
	font-weight: 400;
	padding: 0.85rem 1rem 0.25rem;
	margin: 0;
}

.tsg-design-store .wc-block-grid__product-price {
	padding: 0 1rem 0.75rem;
	font-size: 14px;
	color: var(--tsg-muted, #666);
	margin: 0 !important;
}

.tsg-design-store .wc-block-grid__product-add-to-cart.wp-block-button {
	display: block;
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	flex: 0 0 auto !important;
	margin: 0 0 1rem !important;
	padding: 0 1rem;
	align-self: stretch;
}

.tsg-design-store .wc-block-grid__product-add-to-cart .wp-block-button__link,
.tsg-design-store .wc-block-grid__product .add_to_cart_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto !important;
	min-height: 44px;
	max-height: none;
	padding: 0.75rem 1rem !important;
	line-height: 1.25 !important;
	font-size: 14px !important;
	font-weight: 500;
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	background: var(--tsg-black, #000) !important;
	color: var(--tsg-white, #fff) !important;
	border-radius: 0 !important;
	box-sizing: border-box;
	text-decoration: none;
}

.tsg-design-store .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.tsg-design-store .wc-block-grid__product .add_to_cart_button:hover {
	background: var(--tsg-near-black, #222) !important;
	color: var(--tsg-white, #fff) !important;
}

.tsg-design-store .wp-block-button,
.tsg-design-store .wp-block-button__link {
	height: auto !important;
}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */
.tsg-design-store .woocommerce-checkout .woocommerce-billing-fields h3,
.tsg-design-store .woocommerce-checkout .woocommerce-shipping-fields h3,
.tsg-design-store .woocommerce-checkout #order_review_heading {
	font-size: 1.15rem;
	font-weight: 400;
	letter-spacing: -0.01em;
	margin-bottom: 1rem;
}

.tsg-design-store .woocommerce form .form-row input.input-text,
.tsg-design-store .woocommerce form .form-row textarea,
.tsg-design-store .woocommerce form .form-row select,
.tsg-design-store .woocommerce-checkout .select2-container .select2-selection--single {
	border-radius: 0 !important;
	border: 1px solid var(--tsg-border, #e5e5e5);
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	min-height: 44px;
	box-shadow: none;
}

.tsg-design-store .woocommerce-checkout #payment {
	background: var(--tsg-gray, #f5f5f5);
	border-radius: 0;
	border: 1px solid var(--tsg-border, #e5e5e5);
}

.tsg-design-store .woocommerce-checkout #payment div.payment_box {
	background: var(--tsg-white, #fff);
	border-radius: 0;
}

.tsg-design-store .woocommerce-checkout #payment #place_order {
	width: 100%;
	float: none;
	margin-top: 1rem;
}

/* Blocks cart / checkout */
.tsg-design-store .wc-block-cart,
.tsg-design-store .wc-block-checkout {
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
}

.tsg-design-store .wc-block-components-button {
	border-radius: 0 !important;
}

.tsg-design-store .wc-block-components-button:not(.is-link) {
	background: var(--tsg-black, #000) !important;
	color: var(--tsg-white, #fff) !important;
}

/* Breadcrumb quieter */
.tsg-design-store .woocommerce-breadcrumb,
.tsg-design-store .wf_pagetitle {
	font-size: 12px;
	color: var(--tsg-muted, #666);
}

.tsg-design-store .wf_pagetitle {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	background: transparent;
	border-bottom: 1px solid var(--tsg-border, #e5e5e5);
}

/* --------------------------------------------------------------------------
   Info pages (About / Shipping / Contact) — same MoMA chrome as cart
   -------------------------------------------------------------------------- */
body.tsg-page-surface .wf_pagetitle {
	display: none !important;
}

body.tsg-page-surface .wf_posts,
body.tsg-page-surface .site-content > .wf-py-default {
	padding-top: 0 !important;
	padding-bottom: 4rem !important;
	background: var(--tsg-white, #fff);
}

body.tsg-page-surface .wf_posts > .wf-container,
body.tsg-page-surface .wf-container {
	max-width: var(--tsg-max, 1280px);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--tsg-gutter, 1.25rem);
	padding-right: var(--tsg-gutter, 1.25rem);
}

body.tsg-page-surface .wf_posts .wf-row {
	display: block !important;
	margin: 0 !important;
}

body.tsg-page-surface #wf-main,
body.tsg-page-surface .wf_posts #wf-main,
body.tsg-page-surface .wf-col-lg-8,
body.tsg-page-surface .wf-col-md-12,
body.tsg-page-surface .wf-col-12 {
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
	padding: 0 !important;
}

body.tsg-page-surface #wf-sidebar,
body.tsg-page-surface .wf_widget-area {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.tsg-page-surface .tsg-page-hero {
	margin-bottom: 1.5rem;
}

body.tsg-page-surface .entry-header,
body.tsg-page-surface .entry-footer,
body.tsg-page-surface .post-meta,
body.tsg-page-surface .wf-post-meta {
	display: none !important;
}

body.tsg-page-surface .tsg-page-prose {
	max-width: 42rem;
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 16px;
	line-height: 1.65;
	color: var(--tsg-text, #222);
}

/* Privacy — full-width prose (IT /privacy/ + EN /privacy-policy/) */
body.tsg-page-surface.page-privacy .tsg-page-prose,
body.tsg-page-surface.page-privacy-policy .tsg-page-prose {
	max-width: 100%;
	width: 100%;
}

body.tsg-page-surface .tsg-page-prose p {
	margin: 0 0 1.25rem;
}

body.tsg-page-surface .tsg-page-prose p:last-child {
	margin-bottom: 0;
}

body.tsg-page-surface .tsg-page-prose a {
	color: var(--tsg-black, #000);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.tsg-page-surface .tsg-page-prose strong {
	font-weight: 600;
	color: var(--tsg-black, #000);
}

/* --------------------------------------------------------------------------
   Empty venue / archive state
   -------------------------------------------------------------------------- */
.tsg-empty-venue {
	padding: 3rem 1.5rem 4rem;
	text-align: center;
	border: 1px solid var(--tsg-border, #e5e5e5);
	background: #fafafa;
}

.tsg-empty-venue__kicker {
	margin: 0 0 0.5rem;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tsg-muted, #666);
}

.tsg-empty-venue__title {
	margin: 0 0 0.75rem;
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 500;
	color: var(--tsg-black, #000);
}

.tsg-empty-venue__desc {
	margin: 0 auto 1.75rem;
	max-width: 32rem;
	font-size: 15px;
	line-height: 1.55;
	color: var(--tsg-muted, #666);
}

.tsg-empty-venue__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	align-items: center;
	margin: 0;
}

.tsg-empty-venue__btn {
	display: inline-block;
	padding: 0.85rem 1.4rem;
	background: var(--tsg-black, #000);
	color: var(--tsg-white, #fff) !important;
	text-decoration: none !important;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tsg-empty-venue__link {
	font-size: 14px;
	color: var(--tsg-black, #000) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* Hide default WC empty notice when our designed state is present */
body.tsg-shop-surface .tsg-shop-main > .woocommerce-info:first-child {
	display: none;
}

/* --------------------------------------------------------------------------
   Venue / Collection index pages
   -------------------------------------------------------------------------- */
.tsg-lens-index {
	max-width: var(--tsg-max, 1280px);
	margin: 0 auto;
	padding: 2.5rem var(--tsg-gutter, 1.25rem) 5rem;
}

.tsg-lens-index__hero {
	max-width: 40rem;
	margin-bottom: 2.75rem;
}

.tsg-lens-index__eyebrow {
	margin: 0 0 0.6rem;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tsg-muted, #666);
}

.tsg-lens-index__title {
	margin: 0 0 0.85rem;
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	line-height: 1.1;
	color: var(--tsg-black, #000);
}

.tsg-lens-index__lead {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--tsg-muted, #555);
}

.tsg-lens-index__empty {
	margin: 0;
	padding: 2rem;
	border: 1px solid var(--tsg-border, #e5e5e5);
	color: var(--tsg-muted, #666);
}

.tsg-venue-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

@media (min-width: 900px) {
	.tsg-venue-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

.tsg-venue-card {
	perspective: 1100px;
}

.tsg-venue-card__link {
	display: block;
	height: 100%;
	text-decoration: none !important;
	color: inherit !important;
}

.tsg-venue-card__flip {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	transform-style: preserve-3d;
	transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tsg-venue-card__link:hover .tsg-venue-card__flip,
.tsg-venue-card__link:focus-visible .tsg-venue-card__flip {
	transform: rotateY(180deg);
}

.tsg-venue-card__face {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	border: 1px solid var(--tsg-border, #e5e5e5);
	background: #fff;
	overflow: hidden;
}

.tsg-venue-card__face--front {
	display: flex;
	flex-direction: column;
}

.tsg-venue-card__face--back {
	transform: rotateY(180deg);
	background: var(--tsg-black, #111);
	color: #fff;
	border-color: var(--tsg-black, #111);
}

.tsg-venue-card__media {
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	background: #ececec center / cover no-repeat;
}

.tsg-venue-card.is-empty .tsg-venue-card__media {
	opacity: 0.55;
}

.tsg-venue-card__front-label {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.85rem 1rem 1rem;
	background: #fff;
}

.tsg-venue-card__back-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	height: 100%;
	padding: 1.35rem 1.25rem;
}

.tsg-venue-card__name {
	font-size: 1.05rem;
	font-weight: 550;
	line-height: 1.25;
}

.tsg-venue-card__face--back .tsg-venue-card__name {
	color: #fff;
	font-size: 1.15rem;
}

.tsg-venue-card__desc {
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.82);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tsg-venue-card__meta {
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tsg-muted, #777);
}

.tsg-venue-card__cta {
	margin-top: auto;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.tsg-venue-card__flip {
		transition: none;
	}

	.tsg-venue-card__link:hover .tsg-venue-card__flip,
	.tsg-venue-card__link:focus-visible .tsg-venue-card__flip {
		transform: none;
	}

	.tsg-venue-card__face--back {
		display: none;
	}
}

.tsg-collection-mosaic {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 800px) {
	.tsg-collection-mosaic {
		grid-template-columns: 1.4fr 1fr;
		grid-auto-rows: minmax(220px, auto);
	}

	.tsg-collection-tile.is-featured {
		grid-row: span 2;
	}
}

.tsg-collection-tile__link {
	position: relative;
	display: block;
	min-height: 220px;
	height: 100%;
	overflow: hidden;
	text-decoration: none !important;
	color: #fff !important;
}

.tsg-collection-tile__media {
	position: absolute;
	inset: 0;
	background: #222 center / cover no-repeat;
	transform: scale(1);
	transition: transform 0.45s ease;
}

.tsg-collection-tile__link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.72) 100%);
}

.tsg-collection-tile__link:hover .tsg-collection-tile__media {
	transform: scale(1.04);
}

.tsg-collection-tile__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.5rem;
	height: 100%;
	min-height: 220px;
	padding: 1.5rem;
}

.tsg-collection-tile__name {
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	font-weight: 500;
	line-height: 1.15;
}

.tsg-collection-tile__desc {
	font-size: 14px;
	line-height: 1.45;
	opacity: 0.9;
	max-width: 28rem;
}

.tsg-collection-tile__cta {
	margin-top: 0.35rem;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
}



/* PDP title via [tsg_pdp_title] shortcode (Elementor) */
.tsg-el-pdp .tsg-pdp-title,
body.tsg-product-surface .tsg-pdp-title,
.tsg-design-store .woocommerce div.product .tsg-pdp-title {
	margin: 0 0 0.5rem;
	font-family: var(--tsg-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.15;
	color: #000;
}

/*
 * Elementor 4.x no longer emits classic .elementor-col-* percentage widths for
 * Theme Builder section/column templates, so the PDP image column collapses to ~0
 * and the gallery (which is present in the DOM) never paints.
 */
@media (min-width: 768px) {
	.tsg-el-pdp > .elementor-container {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
	}

	.tsg-el-pdp > .elementor-container > .elementor-column {
		flex: 0 0 auto;
		min-width: 0;
	}

	.tsg-el-pdp > .elementor-container > .elementor-col-55 {
		width: 55% !important;
		max-width: 55% !important;
	}

	.tsg-el-pdp > .elementor-container > .elementor-col-45 {
		width: 45% !important;
		max-width: 45% !important;
	}

	.tsg-el-pdp > .elementor-container > .elementor-col-100 {
		width: 100% !important;
		max-width: 100% !important;
	}

	.tsg-el-pdp .elementor-widget-woocommerce-product-images,
	.tsg-el-pdp .elementor-widget-woocommerce-product-images > .elementor-widget-container {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.tsg-el-pdp > .elementor-container {
		display: flex;
		flex-direction: column;
	}

	.tsg-el-pdp > .elementor-container > .elementor-column {
		width: 100% !important;
		max-width: 100% !important;
	}
}
