/* =========================================================
   MMDeco – WooCommerce (shop + single product)
   Selectors are intentionally specific to beat WooCommerce's
   default CSS and Hello Elementor's reset.
   ========================================================= */
.mmdeco-woo {
	--mm-dark: #1e1e1e;
	--mm-muted: #6e6a66;
	--mm-muted-2: #9a948e;
	--mm-cream: #f8f5f1;
	--mm-placeholder: #f3efea;
	--mm-border: #ece7e1;
	--mm-border-2: #d6d0c8;
	--mm-gold: #c69c53;
	--mm-btn: #6f6f6f;
	--mm-serif: 'Cormorant Garamond', Georgia, serif;
	--mm-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

body.mmdeco-woo {
	font-family: var(--mm-sans);
	color: var(--mm-dark);
}

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

/* =========================================================
   PRODUCT LOOPS (shop, related, upsells, cross-sells)
   ========================================================= */
.mmdeco-woo ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* WooCommerce clearfix pseudo-elements would become empty grid cells */
.mmdeco-woo ul.products::before,
.mmdeco-woo ul.products::after {
	display: none !important;
	content: none !important;
}

.mmdeco-woo ul.products li.product.mmdeco-loop-item {
	float: none;
	clear: none;
	width: auto;
	margin: 0;
	padding: 0;
	text-align: initial;
	list-style: none;
}

.mmdeco-woo ul.products li.product.mmdeco-loop-item .mmdeco-pg__media img {
	width: 100%;
	height: 100%;
	margin: 0;
	box-shadow: none;
}

.mmdeco-woo ul.products li.product.mmdeco-loop-item .mmdeco-pg__cart {
	margin-top: 0;
}

/* =========================================================
   SHOP PAGE
   ========================================================= */
.mmdeco-shop {
	width: 100%;
	max-width: none;
	padding: 0 0 90px;
	background: white;
}

.mmdeco-shop__container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Hero (decorative image top-left + mirrored top-right) */
.mmdeco-shop__hero {
	position: relative;
	overflow: hidden;
	background-color: var(--mm-cream);
	background-image: url(https://mmdecosousse.com/wp-content/uploads/2026/11/ft5_decor1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto;
	padding: 80px 0;
	margin-bottom: 48px;
	text-align: center;
}

.mmdeco-shop__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: url(https://mmdecosousse.com/wp-content/uploads/2026/11/ft5_decor1.png);
	background-position: top right;
	background-repeat: no-repeat;
	background-size: auto;
	pointer-events: none;
}

.mmdeco-shop__hero > * {
	position: relative;
	z-index: 1;
}

@media (max-width: 767px) {
	.mmdeco-shop__hero {
		padding: 56px 0;
		background-size: 90px auto;
	}

	.mmdeco-shop__hero::before {
		background-size: 90px auto;
	}
}

.mmdeco-woo .mmdeco-shop__hero .woocommerce-breadcrumb {
	margin: 0 0 12px;
	font-size: 0.78rem;
	color: #7a7570;
}

.mmdeco-woo .mmdeco-shop__hero .woocommerce-breadcrumb a {
	color: #7a7570;
	text-decoration: none;
}

.mmdeco-woo .mmdeco-shop__hero .woocommerce-breadcrumb a:hover {
	color: var(--mm-dark);
}

.mmdeco-woo .mmdeco-shop__title {
	margin: 0;
	font-family: var(--mm-serif);
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--mm-dark);
}

.mmdeco-shop__hero .term-description,
.mmdeco-shop__hero .page-description {
	max-width: 620px;
	margin: 14px auto 0;
	font-size: 0.92rem;
	color: var(--mm-muted);
}

/* Layout */
.mmdeco-shop__layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.mmdeco-shop__sidebar {
	position: sticky;
	top: 100px;
}

/* Toolbar */
.mmdeco-shop__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--mm-border);
}

.mmdeco-woo .mmdeco-shop__toolbar .woocommerce-result-count {
	float: none;
	margin: 0 auto 0 0;
	font-size: 0.85rem;
	color: var(--mm-muted);
}

.mmdeco-woo .mmdeco-shop__toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}

.mmdeco-woo .mmdeco-shop__toolbar .woocommerce-ordering select {
	width: auto;
	height: 40px;
	padding: 0 38px 0 18px;
	border: 1px solid var(--mm-border-2);
	border-radius: 50px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231e1e1e' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 16px center;
	-webkit-appearance: none;
	appearance: none;
	font-family: var(--mm-sans);
	font-size: 0.85rem;
	color: var(--mm-dark);
	cursor: pointer;
}

.mmdeco-woo .mmdeco-shop__filter-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border: 1px solid var(--mm-dark);
	border-radius: 50px;
	background: transparent;
	color: var(--mm-dark);
	font-family: var(--mm-sans);
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
}

.mmdeco-woo .mmdeco-shop__filter-toggle:hover,
.mmdeco-woo .mmdeco-shop__filter-toggle:focus {
	background: var(--mm-dark);
	color: #fff;
}

.mmdeco-shop__filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 20px;
	background: var(--mm-gold);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
}

/* Active filter chips */
.mmdeco-shop__active {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.mmdeco-woo .mmdeco-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid var(--mm-border-2);
	border-radius: 50px;
	background: #fff;
	color: var(--mm-dark);
	font-size: 0.78rem;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mmdeco-woo .mmdeco-chip:hover {
	border-color: var(--mm-dark);
}

.mmdeco-woo .mmdeco-chip--clear {
	border-color: transparent;
	color: var(--mm-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Empty state */
.mmdeco-shop__empty {
	padding: 60px 20px;
	border-radius: 6px;
	background: var(--mm-cream);
	text-align: center;
	color: var(--mm-muted);
}

.mmdeco-woo .mmdeco-shop__empty-btn {
	display: inline-block;
	margin-top: 14px;
	padding: 11px 26px;
	border: 1px solid var(--mm-dark);
	border-radius: 50px;
	color: var(--mm-dark);
	font-size: 0.85rem;
	text-decoration: none;
}

/* Pagination */
.mmdeco-woo nav.woocommerce-pagination {
	margin-top: 56px;
	text-align: center;
}

.mmdeco-woo nav.woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.mmdeco-woo nav.woocommerce-pagination ul.page-numbers li {
	float: none;
	border: 0;
	overflow: visible;
}

.mmdeco-woo nav.woocommerce-pagination ul.page-numbers li .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--mm-border-2);
	border-radius: 50px;
	background: #fff;
	color: var(--mm-dark);
	font-size: 0.85rem;
	text-decoration: none;
}

.mmdeco-woo nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
.mmdeco-woo nav.woocommerce-pagination ul.page-numbers li span.current {
	border-color: var(--mm-dark);
	background: var(--mm-dark);
	color: #fff;
}

/* =========================================================
   FILTERS SIDEBAR
   ========================================================= */
.mmdeco-filters__head {
	display: none;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.mmdeco-filters__title {
	font-family: var(--mm-serif);
	font-size: 1.6rem;
	font-weight: 600;
}

.mmdeco-woo .mmdeco-filters__close {
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--mm-border-2);
	border-radius: 50%;
	background: #fff;
	color: var(--mm-dark);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

.mmdeco-woo .mmdeco-filters__close:hover,
.mmdeco-woo .mmdeco-filters__close:focus {
	background: var(--mm-dark);
	color: #fff;
}

/* Search */
.mmdeco-filters__search {
	position: relative;
	margin-bottom: 24px;
}

.mmdeco-woo .mmdeco-filters__search input[type="search"] {
	width: 100%;
	height: 44px;
	padding: 0 44px 0 18px;
	border: 1px solid var(--mm-border-2);
	border-radius: 50px;
	background: #fff;
	font-family: var(--mm-sans);
	font-size: 0.85rem;
	color: var(--mm-dark);
}

.mmdeco-woo .mmdeco-filters__search button {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--mm-dark);
	color: #fff;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}

.mmdeco-woo .mmdeco-filters__search button:hover,
.mmdeco-woo .mmdeco-filters__search button:focus {
	background: var(--mm-gold);
	color: #fff;
}

/* Groups */
.mmdeco-filters__group {
	border-bottom: 1px solid var(--mm-border);
	padding: 16px 0;
}

.mmdeco-filters__group:first-of-type {
	border-top: 1px solid var(--mm-border);
}

.mmdeco-filters__group summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
}

.mmdeco-filters__group summary::-webkit-details-marker {
	display: none;
}

.mmdeco-filters__group summary::after {
	content: "+";
	font-size: 1.1rem;
	font-weight: 400;
	color: var(--mm-muted);
}

.mmdeco-filters__group[open] summary::after {
	content: "–";
}

.mmdeco-filters__group > :not(summary) {
	margin-top: 14px;
}

/* Category list */
.mmdeco-filters__cats,
.mmdeco-filters__cats ul,
.mmdeco-filters__checks {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mmdeco-filters__cats li {
	margin: 0 0 8px;
}

.mmdeco-filters__cats ul {
	margin: 8px 0 0 14px;
}

.mmdeco-woo .mmdeco-filters__cats a {
	display: flex;
	justify-content: space-between;
	font-size: 0.88rem;
	color: var(--mm-muted);
	text-decoration: none;
}

.mmdeco-woo .mmdeco-filters__cats a:hover,
.mmdeco-woo .mmdeco-filters__cats li.is-current > a {
	color: var(--mm-dark);
	font-weight: 600;
}

.mmdeco-filters__cats .count {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--mm-muted-2);
}

/* Checkboxes */
.mmdeco-filters__checks li {
	margin: 0 0 9px;
}

.mmdeco-filters__checks label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.88rem;
	color: var(--mm-muted);
	cursor: pointer;
}

.mmdeco-woo .mmdeco-filters__checks input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1px solid var(--mm-border-2);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	display: grid;
	place-content: center;
}

.mmdeco-woo .mmdeco-filters__checks input[type="checkbox"]::before {
	content: "";
	width: 10px;
	height: 10px;
	transform: scale(0);
	transition: transform 0.15s ease;
	background: #fff;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.mmdeco-woo .mmdeco-filters__checks input[type="checkbox"]:checked {
	border-color: var(--mm-dark);
	background: var(--mm-dark);
}

.mmdeco-woo .mmdeco-filters__checks input[type="checkbox"]:checked::before {
	transform: scale(1);
}

.mmdeco-woo .mmdeco-filters__checks input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--mm-gold);
	outline-offset: 2px;
}

.mmdeco-filters__checks input:checked + span {
	color: var(--mm-dark);
}

/* Price */
.mmdeco-filters__price {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

.mmdeco-filters__price label {
	flex: 1;
	font-size: 0.72rem;
	color: var(--mm-muted);
}

.mmdeco-filters__price label span {
	display: block;
	margin-bottom: 4px;
}

.mmdeco-woo .mmdeco-filters__price input[type="number"] {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--mm-border-2);
	border-radius: 6px;
	background: #fff;
	font-family: var(--mm-sans);
	font-size: 0.85rem;
	color: var(--mm-dark);
}

.mmdeco-filters__dash {
	padding-bottom: 10px;
	color: var(--mm-muted);
}

/* Actions */
.mmdeco-filters__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 22px;
}

.mmdeco-woo .mmdeco-filters__apply {
	flex: 1;
	height: 44px;
	padding: 0 20px;
	border: 1px solid var(--mm-dark);
	border-radius: 50px;
	background: var(--mm-dark);
	color: #fff;
	font-family: var(--mm-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.mmdeco-woo .mmdeco-filters__apply:hover,
.mmdeco-woo .mmdeco-filters__apply:focus {
	border-color: var(--mm-btn);
	background: var(--mm-btn);
	color: #fff;
}

.mmdeco-woo .mmdeco-filters__reset {
	font-size: 0.82rem;
	color: var(--mm-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* =========================================================
   SINGLE PRODUCT
   ========================================================= */
/* Breadcrumb lives in the banner (.mmdeco-shop__hero); WooCommerce's default
   wrapper is limited by Hello Elementor: let it go full width. */
body.mmdeco-woo.single-product #primary,
body.mmdeco-woo.single-product #main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.mmdeco-woo.single-product .mmdeco-shop__hero {
	margin-bottom: 40px;
}

body.mmdeco-woo div.product {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 80px;
	font-family: var(--mm-sans);
	color: var(--mm-dark);
}

/* Gallery + summary (beat WooCommerce's "#content div.product div.images {width:48%}") */
body.mmdeco-woo div.product div.images,
body.mmdeco-woo div.product div.summary {
	float: none !important;
	width: 100% !important;
	margin-bottom: 0;
}

@media (min-width: 769px) {
	body.mmdeco-woo div.product {
		display: grid;
		grid-template-columns: 1.05fr 1fr;
		gap: 48px;
		align-items: start;
	}

	body.mmdeco-woo div.product > *:not(div.images):not(div.summary):not(.onsale) {
		grid-column: 1 / -1;
	}
}

/* Sale badge */
body.mmdeco-woo div.product span.onsale {
	position: absolute;
	top: 40px;
	left: 36px;
	right: auto;
	z-index: 10;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 4px 10px;
	border-radius: 4px;
	background: #fff;
	color: var(--mm-dark);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.4;
}

/* Main image */
body.mmdeco-woo div.product .woocommerce-product-gallery__image {
	background-color: var(--mm-placeholder);
	border-radius: 4px;
	overflow: hidden;
}

body.mmdeco-woo div.product .woocommerce-product-gallery img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

body.mmdeco-woo div.product div.images ol.flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin: 10px 0 0;
	padding: 0;
}

body.mmdeco-woo div.product div.images ol.flex-control-thumbs li {
	float: none;
	width: auto;
	margin: 0;
	border-radius: 4px;
	overflow: hidden;
	background: var(--mm-placeholder);
}

body.mmdeco-woo div.product div.images ol.flex-control-thumbs li img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

body.mmdeco-woo div.product div.images ol.flex-control-thumbs li img.flex-active,
body.mmdeco-woo div.product div.images ol.flex-control-thumbs li img:hover {
	opacity: 1;
}

/* Title */
body.mmdeco-woo div.product .product_title {
	margin: 0 0 10px;
	font-family: var(--mm-serif);
	font-size: clamp(2rem, 3.2vw, 2.75rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--mm-dark);
}

/* Rating */
body.mmdeco-woo div.product .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	font-size: 0.8rem;
}

body.mmdeco-woo div.product .woocommerce-product-rating .star-rating {
	margin: 0;
	color: var(--mm-gold);
}

body.mmdeco-woo .star-rating span::before,
body.mmdeco-woo .star-rating::before {
	color: var(--mm-gold);
}

body.mmdeco-woo div.product .woocommerce-review-link {
	color: var(--mm-muted);
	text-decoration: none;
}

/* Price */
body.mmdeco-woo div.product p.price,
body.mmdeco-woo div.product span.price {
	margin: 14px 0 18px;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--mm-dark);
}

body.mmdeco-woo div.product p.price del,
body.mmdeco-woo div.product span.price del {
	margin-right: 8px;
	font-weight: 400;
	color: var(--mm-muted-2);
	opacity: 1;
}

body.mmdeco-woo div.product p.price ins,
body.mmdeco-woo div.product span.price ins {
	text-decoration: none;
	background: none;
	color: var(--mm-dark);
}

/* Short description */
body.mmdeco-woo div.product .woocommerce-product-details__short-description {
	margin-bottom: 24px;
	font-size: 0.88rem;
	line-height: 1.65;
	color: #65605b;
}

/* Variations */
body.mmdeco-woo div.product form.cart table.variations {
	width: 100%;
	margin-bottom: 20px;
	border: 0;
	border-collapse: collapse;
}

body.mmdeco-woo div.product form.cart table.variations tr {
	display: block;
	margin-bottom: 14px;
}

body.mmdeco-woo div.product form.cart table.variations th,
body.mmdeco-woo div.product form.cart table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	line-height: 1.4;
}

body.mmdeco-woo div.product form.cart table.variations th.label {
	padding-bottom: 8px;
	font-size: 0.82rem;
	font-weight: 600;
}

body.mmdeco-woo div.product form.cart table.variations td.value {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

body.mmdeco-woo div.product form.cart table.variations select {
	min-width: 140px;
	height: 38px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--mm-border-2);
	border-radius: 3px;
	background: #fff;
	font-family: var(--mm-sans);
	font-size: 0.85rem;
	color: var(--mm-dark);
}

/* Size/colour boxes (built by JS from the select) */
.mmdeco-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.mmdeco-woo .mmdeco-swatches .mmdeco-swatch {
	min-width: 46px;
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--mm-border-2);
	border-radius: 3px;
	background: #fff;
	color: var(--mm-dark);
	font-family: var(--mm-sans);
	font-size: 0.82rem;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

body.mmdeco-woo .mmdeco-swatches .mmdeco-swatch:hover,
body.mmdeco-woo .mmdeco-swatches .mmdeco-swatch:focus {
	border-color: var(--mm-dark);
	background: #fff;
	color: var(--mm-dark);
}

body.mmdeco-woo .mmdeco-swatches .mmdeco-swatch.is-selected {
	border-color: var(--mm-dark);
	background: var(--mm-dark);
	color: #fff;
}

body.mmdeco-woo .mmdeco-swatches .mmdeco-swatch:disabled {
	opacity: 0.35;
	text-decoration: line-through;
	cursor: not-allowed;
}

body.mmdeco-woo div.product form.cart table.variations select.mmdeco-has-swatches {
	display: none;
}

body.mmdeco-woo div.product form.cart .reset_variations {
	font-size: 0.78rem;
	color: var(--mm-muted);
}

body.mmdeco-woo div.product .woocommerce-variation-price {
	margin-bottom: 12px;
}

/* Quantity + pill Add to cart */
body.mmdeco-woo div.product form.cart:not(.variations_form),
body.mmdeco-woo div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

body.mmdeco-woo div.product form.cart::before,
body.mmdeco-woo div.product form.cart::after {
	display: none;
}

body.mmdeco-woo div.product form.cart div.quantity {
	float: none;
	margin: 0;
}

body.mmdeco-woo div.product form.cart .quantity input.qty {
	width: 64px;
	height: 44px;
	padding: 0 4px;
	border: 1px solid var(--mm-border-2);
	border-radius: 4px;
	background: #fff;
	font-family: var(--mm-sans);
	font-size: 0.9rem;
	text-align: center;
	color: var(--mm-dark);
}

body.mmdeco-woo div.product form.cart button.single_add_to_cart_button {
	float: none;
	flex: 1;
	min-width: 220px;
	height: 44px;
	margin: 0;
	padding: 0 28px;
	border: none;
	border-radius: 999px;
	background-color: var(--mm-btn);
	color: #fff;
	font-family: var(--mm-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

body.mmdeco-woo div.product form.cart button.single_add_to_cart_button:hover,
body.mmdeco-woo div.product form.cart button.single_add_to_cart_button:focus {
	background-color: var(--mm-dark);
	color: #fff;
}

body.mmdeco-woo div.product form.cart button.single_add_to_cart_button.disabled,
body.mmdeco-woo div.product form.cart button.single_add_to_cart_button:disabled {
	background-color: var(--mm-btn);
	opacity: 0.45;
	cursor: not-allowed;
}

body.mmdeco-woo div.product p.stock {
	font-size: 0.82rem;
	color: var(--mm-muted);
}

body.mmdeco-woo div.product p.stock.out-of-stock {
	color: #b04a3a;
}

/* Meta */
body.mmdeco-woo div.product .product_meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 16px;
	border-top: 1px solid var(--mm-border);
	font-size: 0.82rem;
	color: #6e6964;
}

body.mmdeco-woo div.product .product_meta a {
	color: var(--mm-dark);
	text-decoration: none;
}

body.mmdeco-woo div.product .product_meta a:hover {
	text-decoration: underline;
}

/* Tabs */
body.mmdeco-woo div.product .woocommerce-tabs {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--mm-border);
}

body.mmdeco-woo div.product .woocommerce-tabs ul.tabs {
	display: flex;
	justify-content: center;
	gap: 36px;
	margin: 0 0 28px;
	padding: 0;
	border-bottom: 1px solid var(--mm-border);
	list-style: none;
	overflow: visible;
}

body.mmdeco-woo div.product .woocommerce-tabs ul.tabs::before,
body.mmdeco-woo div.product .woocommerce-tabs ul.tabs li::before,
body.mmdeco-woo div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

body.mmdeco-woo div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

body.mmdeco-woo div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	margin-bottom: -1px;
	padding: 0 0 14px;
	border-bottom: 2px solid transparent;
	font-size: 0.85rem;
	font-weight: 500;
	color: #7a7570;
	text-decoration: none;
}

body.mmdeco-woo div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--mm-dark);
}

body.mmdeco-woo div.product .woocommerce-tabs ul.tabs li.active a {
	border-bottom-color: var(--mm-dark);
	font-weight: 600;
	color: var(--mm-dark);
}

body.mmdeco-woo div.product .woocommerce-tabs .panel {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

body.mmdeco-woo div.product .woocommerce-tabs .panel > h2:first-child {
	display: none;
}

/* Additional information table */
body.mmdeco-woo div.product table.woocommerce-product-attributes {
	max-width: 700px;
	margin: 0 auto;
	border: 0;
	font-size: 0.85rem;
}

body.mmdeco-woo div.product table.woocommerce-product-attributes th,
body.mmdeco-woo div.product table.woocommerce-product-attributes td {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--mm-border);
	background: none;
	font-style: normal;
}

/* Description story block */
.mmdeco-desc__intro {
	max-width: 900px;
	margin: 0 auto 28px;
	font-size: 0.88rem;
	line-height: 1.7;
	color: #65605b;
}

.mmdeco-desc__photos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 36px;
}

.mmdeco-desc__photos--1 {
	grid-template-columns: 1fr;
}

.mmdeco-desc__photo {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
	background-color: var(--mm-placeholder);
}

.mmdeco-desc__photos--1 .mmdeco-desc__photo {
	aspect-ratio: 16 / 7;
}

.mmdeco-desc__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mmdeco-desc__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 48px;
}

body.mmdeco-woo .mmdeco-desc__feature h3 {
	margin: 0 0 6px;
	font-family: var(--mm-sans);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mm-dark);
}

body.mmdeco-woo .mmdeco-desc__feature p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.6;
	color: #6e6964;
}

/* Reviews */
body.mmdeco-woo #reviews #comments ol.commentlist li .comment-text {
	border-color: var(--mm-border);
	border-radius: 6px;
}

body.mmdeco-woo #review_form #respond input#submit {
	padding: 12px 28px;
	border: 0;
	border-radius: 50px;
	background: var(--mm-dark);
	color: #fff;
	font-family: var(--mm-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Related / upsells */
body.mmdeco-woo div.product .related.products,
body.mmdeco-woo div.product .upsells.products {
	margin-top: 64px;
}

body.mmdeco-woo div.product .related.products > h2,
body.mmdeco-woo div.product .upsells.products > h2 {
	margin: 0 0 32px;
	font-family: var(--mm-serif);
	font-size: 1.85rem;
	font-weight: 600;
	text-align: center;
}

body.mmdeco-woo div.product .related.products ul.products,
body.mmdeco-woo div.product .upsells.products ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

/* Cart cross-sells */
.mmdeco-woo .cross-sells ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
	.mmdeco-shop__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.mmdeco-woo .mmdeco-shop__filter-toggle {
		display: inline-flex;
	}

	/* Off-canvas filters */
	.mmdeco-shop__sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 9999;
		width: min(360px, 88vw);
		padding: 22px 22px 40px;
		overflow-y: auto;
		background: #fff;
		box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
		transform: translateX(-105%);
		transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
		visibility: hidden;
	}

	.mmdeco-filters-open .mmdeco-shop__sidebar {
		transform: translateX(0);
		visibility: visible;
	}

	.mmdeco-filters__head {
		display: flex;
	}

	.mmdeco-shop__overlay {
		position: fixed;
		inset: 0;
		z-index: 9998;
		background: rgba(30, 30, 30, 0.4);
	}

	.mmdeco-shop__overlay[hidden] {
		display: none;
	}

	body.mmdeco-filters-open {
		overflow: hidden;
	}

	.mmdeco-woo ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	body.mmdeco-woo div.product {
		padding-bottom: 56px;
	}

	body.mmdeco-woo div.product div.summary {
		margin-top: 28px;
	}

	body.mmdeco-woo div.product span.onsale {
		top: 36px;
		left: 32px;
	}

	body.mmdeco-woo div.product .woocommerce-tabs ul.tabs {
		justify-content: flex-start;
		gap: 24px;
		overflow-x: auto;
		white-space: nowrap;
	}

	.mmdeco-desc__photos,
	.mmdeco-desc__features {
		grid-template-columns: 1fr;
	}

	.mmdeco-woo ul.products,
	body.mmdeco-woo div.product .related.products ul.products,
	body.mmdeco-woo div.product .upsells.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 16px;
	}
}

@media (max-width: 600px) {
	.mmdeco-shop__container {
		padding: 0 16px;
	}

	.mmdeco-shop__hero {
		padding: 32px 0 36px;
		margin-bottom: 28px;
	}

	.mmdeco-shop__toolbar {
		flex-wrap: wrap;
	}

	.mmdeco-woo .mmdeco-shop__toolbar .woocommerce-result-count {
		order: 3;
		width: 100%;
		margin: 0;
	}

	body.mmdeco-woo div.product form.cart button.single_add_to_cart_button {
		min-width: 0;
	}
}
