/* Magenta Spicy – modo marca sobre el tema Basel.
   Se activa con body.mgc-brand (Magenta → Ajustes → Diseño del sitio). */

body.mgc-brand {
	--ms-canvas: #f6f2ee;
	--ms-surface: #ffffff;
	--ms-satin: #efe8e1;
	--ms-ink: #0b0a0c;
	--ms-muted: #6e6168;
	--ms-hairline: #ece4de;
	--ms-border: #968491;
	--ms-magenta: var(--mgc-bg, #9c3586);
	--ms-wash: #f3e3ee;
	--ms-noche: #3f195d;
	--ms-lacre: #7e182d;
	--ms-champan: #cbb296;
	--ms-shadow-card: 0 4px 6px -1px rgba(31, 10, 40, .10), 0 2px 4px -2px rgba(31, 10, 40, .10);
	--ms-shadow-chip: 0 2px 8px 0 rgba(31, 10, 40, .06);
	--ms-shadow-float: 0 4px 24px 0 rgba(31, 10, 40, .12);
	--ms-display: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
	--ms-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	background-color: var(--ms-canvas) !important;
	color: var(--ms-ink);
	font-family: var(--ms-sans);
	letter-spacing: -0.02em;
}

/* Tipografía base (sin tocar los íconos del tema, que usan fuentes propias) */
body.mgc-brand p,
body.mgc-brand li,
body.mgc-brand td,
body.mgc-brand th,
body.mgc-brand label,
body.mgc-brand input,
body.mgc-brand select,
body.mgc-brand textarea,
body.mgc-brand button,
body.mgc-brand .product-title,
body.mgc-brand .entry-content,
body.mgc-brand .woocommerce-breadcrumb {
	font-family: var(--ms-sans);
}

body.mgc-brand h1,
body.mgc-brand h2,
body.mgc-brand h3,
body.mgc-brand h4,
body.mgc-brand h5,
body.mgc-brand h6 {
	font-family: var(--ms-sans);
	color: var(--ms-ink);
	letter-spacing: -0.04em;
}

body.mgc-brand .website-wrapper,
body.mgc-brand .main-page-wrapper {
	background-color: var(--ms-canvas);
}

body.mgc-brand a:hover,
body.mgc-brand a:focus {
	color: var(--ms-magenta);
}

body.mgc-brand a:focus-visible,
body.mgc-brand button:focus-visible,
body.mgc-brand input:focus-visible {
	outline: 2px solid var(--ms-magenta);
	outline-offset: 3px;
}

/* ---------- Barra superior y pie: violeta noche ---------- */
body.mgc-brand .topbar-wrapp {
	background-color: var(--ms-noche) !important;
	border-bottom: 1px solid rgba(203, 178, 150, .35);
}

body.mgc-brand .topbar-wrapp,
body.mgc-brand .topbar-wrapp a {
	color: #fff !important;
	font-size: 13px;
}

body.mgc-brand .footer-container {
	background-color: var(--ms-noche) !important;
	border-top: 1px solid var(--ms-champan);
}

body.mgc-brand .footer-container,
body.mgc-brand .footer-container a,
body.mgc-brand .footer-container p,
body.mgc-brand .footer-container li {
	color: rgba(255, 255, 255, .86) !important;
}

body.mgc-brand .footer-container a:hover {
	color: #fff !important;
}

body.mgc-brand .copyrights-wrapper {
	border-top: 0;
	font-size: 13px;
}

/* ---------- Encabezado ---------- */
/* Barra del logo y del menú: color de Ajustes (rosa pastel por defecto) */
body.mgc-brand .main-header,
body.mgc-brand .main-header.act-scroll,
body.mgc-brand .sticky-header,
body.mgc-brand .header-clone {
	background-color: var(--mgc-bar, #f49ac2) !important;
	box-shadow: 0 2px 12px rgba(63, 25, 93, .12);
	border-bottom: 1px solid rgba(63, 25, 93, .12) !important;
}

body.mgc-brand .main-header .search-button > a,
body.mgc-brand .main-header .wishlist-info-widget > a,
body.mgc-brand .main-header .right-column a {
	color: var(--ms-noche) !important;
}

body.mgc-brand .main-header .basel-navigation .menu > li > a,
body.mgc-brand .main-header .main-nav .menu > li > a {
	font-family: var(--ms-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ms-noche);
}

body.mgc-brand .main-header .main-nav .menu > li.current-menu-item > a,
body.mgc-brand .main-header .main-nav .menu > li > a:hover {
	color: var(--ms-noche);
	opacity: 1;
}

body.mgc-brand .main-header .main-nav .menu > li > a {
	opacity: .82;
}

body.mgc-brand .main-header .main-nav .menu > li.current-menu-item > a::after {
	content: "";
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto 0;
	border-radius: 2px;
	background: var(--ms-noche);
}

/* Encabezado partido (logo al centro) flexible: el tema Basel reparte el menú con
   márgenes calculados al cargar, y en pantallas pequeñas o con zoom de Windows el logo
   tapaba el menú. Aquí el reparto lo hace el navegador y se adapta a cualquier ancho. */
@media (min-width: 1025px) {
	body.mgc-brand .header-split .wrapp-header {
		display: flex !important;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: 0 clamp(4px, .6vw, 12px);
		min-height: clamp(76px, 6.5vw, 96px);
	}

	body.mgc-brand .header-split .wrapp-header > .main-nav,
	body.mgc-brand .header-split .wrapp-header > .main-nav > div,
	body.mgc-brand .header-split .wrapp-header > .main-nav .menu {
		display: contents !important;
	}

	body.mgc-brand .header-split .wrapp-header > .left-side,
	body.mgc-brand .header-split .wrapp-header > .right-column:not(.left-side) {
		position: static !important;
		flex: 1 1 0;
		min-width: max-content;
		width: auto !important;
		order: 0;
	}

	body.mgc-brand .header-split .wrapp-header > .right-column:not(.left-side) {
		order: 9;
		display: flex;
		justify-content: flex-end;
	}

	body.mgc-brand .header-split .wrapp-header > .site-logo {
		position: static !important;
		order: 5;
		flex: 0 0 auto;
		width: auto !important;
		margin: 0 clamp(8px, 1.2vw, 24px) !important;
		padding: 0 !important;
		transform: none !important;
		left: auto !important;
		right: auto !important;
	}

	body.mgc-brand .header-split .site-logo .basel-logo-wrap {
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
	}

	body.mgc-brand .header-split .site-logo img {
		height: clamp(56px, 5.4vw, 78px) !important;
		width: auto !important;
		max-width: none !important;
		max-height: none !important;
		object-fit: contain;
	}

	body.mgc-brand .header-split .main-nav .menu > li {
		order: 7;
		flex: 0 0 auto;
		margin: 0 !important;
		position: relative;
	}

	/* Primera mitad del menú a la izquierda del logo */
	body.mgc-brand .header-split .main-nav .menu > li:nth-child(1),
	body.mgc-brand .header-split .main-nav .menu:has(> li:nth-child(3)) > li:nth-child(2),
	body.mgc-brand .header-split .main-nav .menu:has(> li:nth-child(5)) > li:nth-child(3),
	body.mgc-brand .header-split .main-nav .menu:has(> li:nth-child(7)) > li:nth-child(4),
	body.mgc-brand .header-split .main-nav .menu:has(> li:nth-child(9)) > li:nth-child(5) {
		order: 3;
	}

	body.mgc-brand .header-split .main-nav .menu > li > a {
		display: block;
		padding: 0 clamp(6px, .85vw, 14px) !important;
		font-size: clamp(11.5px, .95vw, 13.5px) !important;
		letter-spacing: clamp(.02em, .08vw, .07em) !important;
		white-space: nowrap;
		line-height: 40px;
	}

	body.mgc-brand .header-split .main-nav .menu > li.current-menu-item > a::after {
		position: absolute;
		left: 50%;
		bottom: 2px;
		margin: 0 0 0 -9px;
	}

	/* La etiqueta "Venta" no debe empujar el menú */
	body.mgc-brand .header-split .main-nav .menu > li > a .menu-label {
		position: absolute;
		top: -8px;
		left: 50%;
		transform: translateX(-50%);
		margin: 0;
	}
}

/* Etiqueta "Sale" del menú del tema */
body.mgc-brand .item-with-label > a .menu-label,
body.mgc-brand .menu-label {
	background-color: var(--ms-magenta) !important;
	color: #fff !important;
	border-radius: 9999px;
}

body.mgc-brand .menu-label::before {
	border-color: var(--ms-magenta) transparent transparent transparent !important;
}

/* ---------- Botones ---------- */
body.mgc-brand .btn,
body.mgc-brand input[type="submit"],
body.mgc-brand button[type="submit"]:not([class*="search"]),
body.mgc-brand .woocommerce-button,
body.mgc-brand .entry-content a.button:not(.mgc-wa-btn),
body.mgc-brand .woocommerce-message a.button,
body.mgc-brand .wp-block-button__link {
	border-radius: 9999px !important;
	background-color: var(--ms-magenta) !important;
	border-color: var(--ms-magenta) !important;
	color: #fff !important;
	font-family: var(--ms-sans);
	font-weight: 500;
	text-transform: none;
	letter-spacing: -0.02em;
	box-shadow: 0 4px 24px 0 rgba(156, 53, 134, .25);
}

body.mgc-brand input[type="text"],
body.mgc-brand input[type="email"],
body.mgc-brand input[type="search"],
body.mgc-brand input[type="password"],
body.mgc-brand input[type="tel"],
body.mgc-brand select {
	border-radius: 9999px;
	border-color: var(--ms-border);
	background-color: var(--ms-surface);
}

body.mgc-brand textarea {
	border-radius: 20px;
	border-color: var(--ms-border);
}

/* ---------- Tienda: barra de categorías en una sola fila ---------- */
body.mgc-brand .page-title.title-shop {
	background: var(--ms-canvas) !important;
	padding: 18px 0 6px;
}

body.mgc-brand .nav-shop {
	position: relative;
	margin: 0 0 8px;
}

body.mgc-brand .nav-shop .basel-show-categories {
	display: none !important;
}

body.mgc-brand .nav-shop .basel-product-categories {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 8px;
	margin: 0 !important;
	padding: 6px 2px 12px !important;
	overflow-x: auto;
	overflow-y: hidden;
	max-height: none !important;
	height: auto !important;
	text-align: left;
	list-style: none;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	-webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent 100%);
	mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent 100%);
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	position: static !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

body.mgc-brand .nav-shop .basel-product-categories::-webkit-scrollbar {
	display: none;
}

body.mgc-brand .nav-shop .basel-product-categories > li {
	flex: 0 0 auto;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	scroll-snap-align: start;
}

body.mgc-brand .nav-shop .basel-product-categories > li:first-child {
	margin-left: 0 !important;
}

body.mgc-brand .nav-shop .basel-product-categories > li:last-child {
	margin-right: 32px !important;
}

/* Subcategorías: se ven dentro de cada categoría, no en la barra */
body.mgc-brand .nav-shop .basel-product-categories .children,
body.mgc-brand .nav-shop .basel-product-categories .icon-drop-category {
	display: none !important;
}

/* "Uncategorized" / "Sin categorizar" no se muestran */
body.mgc-brand .basel-product-categories li:has(> a[data-val="uncategorized"]),
body.mgc-brand .basel-product-categories li:has(> a[data-val="sin-categorizar"]),
body.mgc-brand .basel-product-categories li:has(> a[href$="/uncategorized/"]),
body.mgc-brand .basel-product-categories li:has(> a[href$="/sin-categorizar/"]),
body.mgc-brand .category-grid-item:has(a[href$="/uncategorized/"]),
body.mgc-brand .category-grid-item:has(a[href$="/sin-categorizar/"]) {
	display: none !important;
}

body.mgc-brand .page-title.title-shop .basel-product-categories > li > a,
body.mgc-brand .nav-shop .basel-product-categories > li > a {
	display: inline-flex !important;
	align-items: center;
	padding: 9px 16px !important;
	border-radius: 9999px;
	border: 1px solid var(--ms-hairline);
	background: var(--ms-surface);
	box-shadow: var(--ms-shadow-chip);
	color: var(--ms-ink) !important;
	font-family: var(--ms-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: lowercase;
	white-space: nowrap;
}

body.mgc-brand .nav-shop .basel-product-categories > li > a::first-letter {
	text-transform: uppercase;
}

body.mgc-brand .nav-shop .basel-product-categories > li.current-cat > a,
body.mgc-brand .nav-shop .basel-product-categories > li.shop-all-link:not(:has(~ li.current-cat)) > a:is([href]) {
	border-color: var(--ms-magenta);
	background: var(--ms-magenta);
	color: #fff !important;
}

body.mgc-brand .nav-shop .basel-product-categories > li > a:hover {
	border-color: var(--ms-magenta);
	background: var(--ms-wash);
	color: var(--ms-ink) !important;
}

body.mgc-brand .nav-shop .basel-product-categories > li.current-cat > a:hover {
	background: var(--ms-magenta);
	color: #fff !important;
}

body.mgc-brand .nav-shop .basel-product-categories > li > a::after,
body.mgc-brand .nav-shop .basel-product-categories > li > a .nav-link-count {
	display: none;
}

body.mgc-brand .woocommerce-breadcrumb,
body.mgc-brand .woocommerce-breadcrumb a {
	color: var(--ms-muted) !important;
	font-size: 13px;
}

/* ---------- Tienda: tarjetas de producto ---------- */
body.mgc-brand .product-grid-item {
	margin-bottom: 24px;
}

body.mgc-brand .product-grid-item .product-element-top {
	border-radius: 28px;
	overflow: hidden;
	background: var(--ms-surface);
	box-shadow: var(--ms-shadow-card);
}

/* Foto cuadrada y pareja en todas las tarjetas, con marco blanco */
body.mgc-brand .product-grid-item .product-element-top > a:first-child {
	display: block;
	aspect-ratio: 1;
	margin: 8px 8px 0;
	padding: 6px;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
}

body.mgc-brand .product-grid-item .product-element-top > a:first-child img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	border-radius: 0;
}

/* Nombres: el catálogo viene en MAYÚSCULAS; se muestran en oración */
body.mgc-brand .product-grid-item .product-title,
body.mgc-brand .product-grid-item .product-title a {
	font-family: var(--ms-sans) !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.014em;
	text-transform: lowercase;
	color: var(--ms-ink);
}

body.mgc-brand .product-grid-item .product-title {
	margin-top: 12px;
	padding: 0 8px;
	text-align: left;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

body.mgc-brand .product-grid-item .product-title::first-letter {
	text-transform: uppercase;
}

/* El botón de WhatsApp siempre visible (en celular no existe el "pasar el mouse") */
body.mgc-brand .product-grid-item .product-element-top {
	display: flex;
	flex-direction: column;
}

body.mgc-brand .basel-hover-button .hover-mask {
	display: block !important;
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	background: transparent !important;
	padding: 10px !important;
}

body.mgc-brand .basel-hover-button .hover-mask .mgc-wa-btn {
	width: 100%;
	height: auto !important;
	max-height: none !important;
	min-height: 40px;
	margin: 0;
	padding: 10px 14px !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	overflow: visible !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
	box-shadow: none;
}

/* Lista de deseos / comparar / vista rápida: sin fondo propio */
body.mgc-brand .product-grid-item .basel-buttons {
	background: transparent !important;
	box-shadow: none !important;
}

/* ---------- Tienda: productos en cuadrícula pareja ---------- */
body.mgc-brand .products:has(> .product-grid-item) {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
	margin: 0 0 32px !important;
	height: auto !important;
}

body.mgc-brand .products.grid-columns-3:has(> .product-grid-item) {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.mgc-brand .products:has(> .product-grid-item) > .clearfix,
body.mgc-brand .products:has(> .product-grid-item)::before,
body.mgc-brand .products:has(> .product-grid-item)::after {
	display: none !important;
	content: none !important;
}

body.mgc-brand .products > .product-grid-item {
	position: relative !important;
	left: auto !important;
	top: auto !important;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
}

@media (max-width: 1024px) {
	body.mgc-brand .products:has(> .product-grid-item),
	body.mgc-brand .products.grid-columns-3:has(> .product-grid-item) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px 16px;
	}
}

@media (max-width: 767px) {
	body.mgc-brand .products:has(> .product-grid-item),
	body.mgc-brand .products.grid-columns-3:has(> .product-grid-item) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 12px;
	}

	body.mgc-brand .product-grid-item .product-element-top {
		border-radius: 22px;
	}

	body.mgc-brand .product-grid-item .product-element-top > a:first-child {
		margin: 6px 6px 0;
		padding: 4px;
		border-radius: 16px;
	}

	body.mgc-brand .basel-hover-button .hover-mask {
		padding: 8px !important;
	}

	body.mgc-brand .basel-hover-button .hover-mask .mgc-wa-btn {
		min-height: 36px;
		padding: 8px 10px !important;
		font-size: 12px !important;
	}

	/* En celular el botón dice solo "Comprar" para que quepa */
	body.mgc-brand .basel-hover-button .hover-mask .mgc-wa-btn span {
		font-size: 0 !important;
	}

	body.mgc-brand .basel-hover-button .hover-mask .mgc-wa-btn span::after {
		content: "Comprar";
		font-size: 13px;
	}

	body.mgc-brand .product-grid-item .product-title,
	body.mgc-brand .product-grid-item .product-title a {
		font-size: 13px;
	}

	/* Los íconos de lista de deseos y comparar ocupan espacio en celular */
	body.mgc-brand .product-grid-item .basel-buttons {
		display: none !important;
	}
}

/* Encabezado de categoría (flecha de volver) */
body.mgc-brand .page-title.title-shop,
body.mgc-brand .page-title.title-shop .entry-title,
body.mgc-brand .page-title.title-shop .basel-back-btn,
body.mgc-brand .page-title.title-shop .basel-back-btn::before {
	color: var(--ms-noche) !important;
}

/* ---------- Tienda: categorías en tarjetas parejas ---------- */
body.mgc-brand .products:has(> .category-grid-item) {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 40px !important;
	height: auto !important;
}

body.mgc-brand .products:has(> .category-grid-item) > .clearfix,
body.mgc-brand .products:has(> .category-grid-item)::before,
body.mgc-brand .products:has(> .category-grid-item)::after {
	display: none !important;
	content: none !important;
}

body.mgc-brand .category-grid-item {
	position: relative !important;
	left: auto !important;
	top: auto !important;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
}

body.mgc-brand .category-grid-item .category-content {
	position: relative;
	aspect-ratio: 4 / 5;
	margin: 0;
	border-radius: 28px;
	overflow: hidden;
	background: var(--ms-noche);
	box-shadow: var(--ms-shadow-card), 0 18px 36px -24px rgba(63, 25, 93, .55);
	isolation: isolate;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

body.mgc-brand .category-grid-item .category-content:hover {
	transform: translateY(-4px);
	box-shadow: var(--ms-shadow-card), 0 26px 44px -22px rgba(156, 53, 134, .6);
}

body.mgc-brand .category-grid-item .category-link,
body.mgc-brand .category-grid-item .product-category-thumbnail {
	position: absolute !important;
	inset: 0;
	display: block;
	margin: 0 !important;
}

body.mgc-brand .category-grid-item .product-category-thumbnail img,
body.mgc-brand .category-grid-item .category-content img {
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
	transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

body.mgc-brand .category-grid-item .category-content:hover img {
	transform: scale(1.06);
}

/* Degradado para que el nombre se lea sobre cualquier foto */
body.mgc-brand .category-grid-item .category-content::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(63, 25, 93, 0) 40%, rgba(63, 25, 93, .55) 70%, rgba(31, 10, 40, .88) 100%);
}

/* Cantidad de productos: píldora arriba */
body.mgc-brand .category-grid-item .products-cat-number {
	position: absolute !important;
	top: 14px;
	left: 14px;
	right: auto !important;
	bottom: auto !important;
	z-index: 2;
	display: inline-block !important;
	padding: 5px 11px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: var(--ms-noche) !important;
	font-family: var(--ms-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-transform: none !important;
	opacity: 1 !important;
	transform: none !important;
}

/* Nombre y "Ver productos" abajo, siempre visibles */
body.mgc-brand .category-grid-item .hover-mask {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	top: 0 !important;
	z-index: 2;
	display: flex !important;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 10px;
	padding: 18px !important;
	margin: 0 !important;
	background: transparent !important;
	text-align: left !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

body.mgc-brand .category-grid-item .hover-mask .category-link-overlay {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	display: block !important;
}

body.mgc-brand .category-grid-item .category-title,
body.mgc-brand .category-grid-item h3 {
	position: relative;
	z-index: 1;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--ms-display) !important;
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1.2 !important;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff !important;
	text-shadow: 0 1px 12px rgba(31, 10, 40, .5);
	opacity: 1 !important;
	transform: none !important;
}

body.mgc-brand .category-grid-item .hover-mask > a:not(.category-link-overlay) {
	position: relative;
	z-index: 1;
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 9999px;
	background: var(--ms-magenta);
	color: #fff !important;
	font-family: var(--ms-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-transform: none;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	box-shadow: 0 6px 16px -6px rgba(156, 53, 134, .7);
}

body.mgc-brand .category-grid-item .hover-mask > a:not(.category-link-overlay)::after {
	content: "→";
	display: inline;
	position: static;
	border: 0;
	width: auto;
	height: auto;
	opacity: 1;
	background: none;
}

@media (max-width: 1024px) {
	body.mgc-brand .products:has(> .category-grid-item) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 767px) {
	body.mgc-brand .products:has(> .category-grid-item) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	body.mgc-brand .category-grid-item .category-content {
		aspect-ratio: 3 / 4;
		border-radius: 22px;
	}

	body.mgc-brand .category-grid-item .hover-mask {
		padding: 12px 12px 14px !important;
		gap: 8px;
	}

	body.mgc-brand .category-grid-item .category-title,
	body.mgc-brand .category-grid-item h3 {
		font-size: 13px !important;
		letter-spacing: .08em;
	}

	body.mgc-brand .category-grid-item .hover-mask > a:not(.category-link-overlay) {
		padding: 6px 11px;
		font-size: 11px;
	}

	body.mgc-brand .category-grid-item .products-cat-number {
		top: 10px;
		left: 10px;
		font-size: 11px;
	}
}

/* Paginación */
body.mgc-brand .woocommerce-pagination .page-numbers li a,
body.mgc-brand .woocommerce-pagination .page-numbers li span {
	border-radius: 9999px;
	min-width: 40px;
}

body.mgc-brand .woocommerce-pagination .page-numbers li span.current {
	background: var(--ms-magenta);
	border-color: var(--ms-magenta);
	color: #fff;
}

/* ---------- Ficha de producto ---------- */
body.mgc-brand .single-product-page .product_title {
	font-family: var(--ms-display);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.15;
	text-transform: uppercase;
}

body.mgc-brand .single-product-page .woocommerce-product-gallery,
body.mgc-brand .single-product-page .product-images {
	border-radius: 28px;
	overflow: hidden;
}

body.mgc-brand .single-product-page .woocommerce-product-details__short-description {
	color: var(--ms-muted);
}

body.mgc-brand .product-tabs-wrapper {
	background: var(--ms-surface);
	border-radius: 28px;
	box-shadow: var(--ms-shadow-card);
}

body.mgc-brand .woocommerce-tabs .tabs li a {
	font-family: var(--ms-display);
	letter-spacing: .14em;
}

body.mgc-brand .woocommerce-tabs .tabs li.active a {
	color: var(--ms-magenta);
}

body.mgc-brand .related-and-upsells .slider-title,
body.mgc-brand .title.slider-title {
	font-family: var(--ms-sans);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.05em;
	text-transform: none;
}

/* ---------- Blog ---------- */
body.mgc-brand .blog-post-loop,
body.mgc-brand article.post {
	border-radius: 28px;
}

body.mgc-brand .entry-title {
	font-family: var(--ms-display);
	letter-spacing: .06em;
}

body.mgc-brand .post-date,
body.mgc-brand .basel-entry-meta {
	color: var(--ms-muted);
}

/* ---------- Ventana +18 del tema ---------- */
body.mgc-brand .basel-promo-popup {
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(31, 10, 40, .4);
}

body.mgc-brand .mfp-bg {
	background: #1a0b27;
	opacity: .78;
}

/* ---------- Menú lateral del celular (si se usa) ---------- */
body.mgc-brand .mobile-nav {
	background: var(--ms-surface);
}

body.mgc-brand .mobile-nav .site-mobile-menu li a {
	font-family: var(--ms-sans);
	text-transform: none;
	font-size: 16px;
}

/* ---------- Aviso de cookies ---------- */
body.mgc-brand .basel-cookies-popup {
	background: var(--ms-noche);
	color: #fff;
}

body.mgc-brand .basel-cookies-popup .btn,
body.mgc-brand .basel-cookies-popup a.btn {
	background: #fff !important;
	color: var(--ms-noche) !important;
	box-shadow: none;
}

/* La página del inicio de marca ocupa todo el ancho */
body.mgc-brand .main-page-wrapper:has(.msh),
body.mgc-brand .main-page-wrapper:has(.msh) .site-content,
body.mgc-brand .main-page-wrapper:has(.msh) .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.mgc-brand .main-page-wrapper:has(.msh) {
	background: #eadfd2;
}

/* Lista de deseos y comparar en la ficha: enlaces discretos, no botones */
body.mgc-brand .single-product-page .yith-wcwl-add-to-wishlist a,
body.mgc-brand .single-product-page .compare-btn a,
body.mgc-brand .single-product-page .basel-compare-btn a {
	background: transparent !important;
	color: var(--ms-muted) !important;
	box-shadow: none !important;
	font-size: 14px;
}
