html { 
	scroll-behavior: smooth; 
}

/*** Bloque cookie ***/
#dgeum-cookie-banner {
	position: fixed;
	margin-left: 1rem;
	margin-right: 1rem;
	background: var(--global-palette8);
	color: var(--global-palette3);
	border-radius: 0.5rem;
	box-shadow: 0 0 1rem rgba(0,0,0,.1);
}
#dgeum-cookie-banner p {
	font-size: 12px;
}
#dgeum-cookie-banner a {
	color: var(--global-palette3);
}
#dgeum-cookie-banner a:hover {
	color: var(--global-palette7);
}
#dgeum-cookie-banner button {
	width: calc(50% - 0.25rem);
	box-shadow: none;
}

/*** Imagen hero ***/
.fullwidth {
	line-height: calc(3rem + 2px);
	text-align: center;
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

/*** Imagen con fondo ***/
#main .wp-block-columns.invertido {
	padding: 0;
	background: var(--global-palette8);
	border-radius: 1rem;
}
#main .wp-block-columns.invertido figure {
	border-radius: 1rem 0 0 1rem;
}
@media (max-width: 1201px) {
	#main .wp-block-columns.invertido figure {
		border-radius: 0 0 1rem 1rem;
	}
}

/*** Caja de luz ***/
.kt-lightbox {
	cursor: zoom-in;
}
.slbContentOuter {
	margin: 0;
	padding: 0;
}
.slbImageWrap {
	width: min(100vw, 1800px);
	height: min(100dvh, 1800px);
	overflow: hidden;
}
.slbImageWrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slbCaption {
	padding: 0 1rem 2.5rem 0;
	text-align: right;
	text-transform: uppercase;
	letter-spacing: .25rem;
	font-size: 11px;
	line-height: 1rem;
}
.slbImage {
	transition: opacity .25s ease;
	touch-action: none;
	cursor: zoom-out;
}
@media (max-width: 719px) {
	.slbImageWrap img {
		scale: 1.25;
	}
	.slbCaption {
		padding: 1rem 1rem 2rem 0;
		background: rgba(1,1,1,0.5);
	}
}









/*** Animaciones ***/
figure {
	overflow: hidden;
}
.fade-in {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 2s cubic-bezier(.25,.60,.40,1), transform 2s cubic-bezier(.25,.60,.40,1);
	will-change: opacity, transform;
}
.fade-in.is-visible {
	opacity: 1;
	transform: none;
}
img.fade-in {
	opacity: 0; 
	transform: translateY(10px) scale(1.05);
}
img.fade-in.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}
@keyframes animacionTitulo {
	from { transform: translateY(5rem); }
	to { transform: translateY(-9rem); }
}
@keyframes animacionMediatext {
	from { transform: translateY(500px); }
	to { transform: translateY(0); }
}
@keyframes animacionCta {
	from { transform: translateX(100px) translateY(-12.5rem); }
	to { transform: translateX(0) translateY(-12.5rem); }
}
.bloque-titulo {
	box-shadow: 0 25px 50px rgba(0,0,0,0.1);
	will-change: transform;
	animation-name: animacionTitulo;
	animation-duration: 2s;
	animation-timing-function: cubic-bezier(0.1, 1, 0.25, 1);
	animation-delay: 0s;
	animation-fill-mode: forwards;
}
.wp-block-media-text {
	view-timeline-name: --revelarMediatext;
	view-timeline-axis: block;
	animation-name: animacionMediatext;
	animation-timeline: --revelarMediatext;
	animation-range: entry 10% cover 50%;
	animation-timing-function: cubic-bezier(0.1, 1, 0.25, 1);
	animation-fill-mode: both;
}
.bloque-cta {
	box-shadow: 0 25px 50px rgba(0,0,0,0.1);
	view-timeline-name: --revelarCta;
	view-timeline-axis: block;
	animation-name: animacionCta;
	animation-timeline: --revelarCta;
	animation-range: entry -100% cover 100%;
	animation-timing-function: cubic-bezier(0.1, 1, 0.25, 1);
	animation-fill-mode: both;
}
@supports not (animation-timeline: --revelarMediatext) {
	.wp-block-media-text, .bloque-cta {
		transform: none;
	}
}

/*** Ajuste estilo ***/
.dgeum-language-switcher {
	text-align: right;
}
#main-header .dgeum-language-switcher a, .dgeum-language-switcher a {
	text-decoration: none;
	font-weight: 700;
}
.menu a {
	height: 3rem;
}
.yoast-bc-wrap {
	height: 1rem;
	margin: 0;
}
.yoast-bc-wrap a {
	text-decoration: none;
}
p a {
	font-weight: 700;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
#colophon a {
	text-decoration: none;
}
h1 {
	container-type: inline-size;
	font-size: clamp(2rem, 2.5cqw, 2.5rem);
}
:not(.bloque-titulo) > h1 {
	line-height: calc(0rem + 2px);
	padding: 1.5rem;
	text-align: center;
	font-size: clamp(1rem, 1.25cqw, 1.5rem);
	background: var(--global-palette8);
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}
:not(.bloque-cta) > h2 {
	padding-top: 2rem;
	padding-bottom: 1rem;
}
h3 {
	margin-top: 2.5rem;
}
h3::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	margin-bottom: 5px;
	border-top: 2px solid var(--global-palette1);
	border-right: 2px solid var(--global-palette1);
	transform: rotate(45deg);
	opacity: 0.8;
	position: relative;
	transition: transform 0.2s ease;
}
h3:hover::before {
	transform: rotate(45deg) translate(2px,-2px);
}

/*** Bloque listas ***/
#main .lista-destacados {
	padding: 0;
	margin: 0;
	font-size: 13px;
	list-style: none;
	text-transform: uppercase;
}
#main .lista-enlaces {
	padding-top: 1rem;
	padding-left: 0;
	margin: 0;
	counter-reset: dgeum-counter;
}
#main .lista-enlaces li {
	list-style-type: none;
	margin-bottom: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 13px;
	align-items: center;
	padding: 0.5rem;
	transition: all 0.25s ease;
}
#main .lista-enlaces li::before {
	counter-increment: dgeum-counter;
	content: "0" counter(dgeum-counter) ".";
	margin-right: 5px;
	font-size: 13px;
	color: #999;
}
#main .lista-enlaces li:hover {
	background: rgba(0,0,0,0.02);
	transform: translateX(4px);
}
.descripcion {
	display: block;
	font-size: 0.85em;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
li:hover .descripcion {
	opacity: 0.7;
	transform: translateY(0);
}
#main .lista {
	padding-left: 0;
	font-size: 13px;
}
#main .lista li {
	list-style: none;
	margin-bottom: 1rem;
	line-height: 1rem;
}
#main .lista li::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 4px;
	margin-right: 10px;
	margin-bottom: 5px;
	border-top: 2px solid var(--global-palette2);
	border-right: 2px solid var(--global-palette2);
	transform: rotate(130deg);
	opacity: 0.8;
	position: relative;
	transition: transform 0.2s ease;
}
#main .lista li:hover::before {
	transform: rotate(130deg) translate(-2px,-2px);
}

/*** Bloque boton ***/
#main .boton a, #dgeum-cookie-banner .boton, .dgeum-location-card .boton {
	background-color: var(--global-palette9);
	border: 1px solid var(--global-palette1);
	color: var(--global-palette3);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	padding: 1rem 2.5rem;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	transition: all 0.25s cubic-bezier(0.25, 0.5, 0.50, 0.75);
}
#main .boton a:hover, #dgeum-cookie-banner .boton:hover, .dgeum-location-card .boton:hover {
	background-color: var(--global-palette3);
	color: var(--global-palette7);
	letter-spacing: 0.15rem;
	cursor: pointer;
}

/*** Bloque caja ***/
@media (min-width: 1200px) {
	.wp-block-column.bloque-titulo, .wp-block-column.bloque-cta {
		padding: 4rem;
	}
}
@media (max-width: 1200px) {
	.wp-block-column.bloque-titulo, .wp-block-column.bloque-cta {
		padding: 3rem;
	}
}
@media (max-width: 719px) {
	.wp-block-column.bloque-titulo, .wp-block-column.bloque-cta {
		padding: 2rem;
	}
}

/*** Bloque columnas ***/
#main .wp-block-columns {
	gap: 0;
	padding: 0.5rem;
}
#main .wp-block-columns:has(.bloque-titulo, .bloque-cta) {
	margin-bottom: -10rem;
}
#main .wp-block-media-text {
	margin-bottom: 10rem;
}
.wp-block-media-text .wp-block-column:has(h2,h3) {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 5rem;
}
.wp-block-media-text figure img {
	aspect-ratio: 1;
	object-fit: cover;
}
@media screen and (min-width: 1201px) and (max-width: 1600px) {
	.wp-block-media-text .wp-block-column:has(h2,h3) {
		padding: 5rem 2.5rem;
	}
	.wp-block-media-text figure img {
		aspect-ratio: 3/4;
		object-fit: cover;
	}
}
@media screen and (min-width: 1025px) and (max-width: 1200px) {
	#main .wp-block-columns {
		display: flex;
		flex-direction: column;
	}
	#main .wp-block-columns.wp-block-media-text.invertido {
		flex-direction: column-reverse;
	}
	#main .wp-block-columns.wp-block-media-text .wp-block-column {
		flex-basis: 100%;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	#main .wp-block-columns.wp-block-media-text {
		margin-bottom: 5rem;
	}
}
@media screen and (min-width: 720px) and (max-width: 1024px) {
	#main .wp-block-columns {
		display: flex;
		flex-direction: column;
	}
	#main .wp-block-columns.wp-block-media-text.invertido {
		flex-direction: column-reverse; 
	}
	#main .wp-block-columns.wp-block-media-text .wp-block-column {
		flex-basis: 100%;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	.wp-block-media-text .wp-block-column:has(h2,h3) {
		padding: 5rem 0.5rem;
	}	
	#main .wp-block-columns.wp-block-media-text {
		margin-bottom: 5rem;
	}
}
@media (max-width: 719px) {
	#main .wp-block-columns {
		display: flex;
		flex-direction: column;
	}
	#main .wp-block-columns.wp-block-media-text.invertido {
		flex-direction: column-reverse; 
	}
	#main .wp-block-columns.wp-block-media-text .wp-block-column {
		flex-basis: 100%;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	.wp-block-media-text .wp-block-column:has(h2,h3) {
		padding: 2.5rem 0.5rem;
	}	
	#main .wp-block-columns.wp-block-media-text {
		margin-bottom: 2.5rem;
	}
}

/*** Bloque imagenes ***/
div .piezas, div .ambientes {
	display: flex;
	margin: 5rem 0;
}
div .piezas {
	gap: 1rem;
}
div .pieza {
	flex: 1;
	height: 100%;
}
div .pieza img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
div .ambiente img {
	width: 100%;
	object-fit: cover;
}
div .ambiente:nth-child(1) img {
	width: 100vh;
	aspect-ratio: 1 / 1;
}
div .ambiente:nth-child(2) img {
	width: 66.666vh;
	aspect-ratio: 2 / 3;
}
div .ambiente:nth-child(3) img {
	width: 150vh;
	aspect-ratio: 3 / 2;
}
div .ambiente:nth-child(4) img {
	width: 66.666vh;
	aspect-ratio: 2 / 3;
}
@media (max-width: 1024px) {
	div .piezas, div .ambientes {
		flex-direction: column;
		height: auto;
		gap: 0;
	}
	div .pieza, div .ambiente {
		width: 100%;
		margin: 0;
	}
}
.leyenda {
	position: relative;
	bottom: 1.5rem;
	right: 0.5rem;
	line-height: 1rem;
	text-align: right;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .25rem;
	pointer-events: none;
}
.claro {
	color: var(--global-palette4);
}
.oscuro {
	color: var(--global-palette8);
}

/*** Bloque card ***/
div .dgeum-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
div .dgeum-card {
	flex: 1 1 300px;
	padding: 2rem;
	border: 1px solid var(--global-palette8);
	border-radius: 1rem;
	text-align: center;
	display: flex;
	flex-direction: column;
}
div .dgeum-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--global-palette1);
	margin: 0 auto;
}
div .dgeum-icon svg {
	width: 35px;
	height: 35px;
}
div .dgeum-card p {
	margin: 0;
	font-size: 0.75rem;
}
.dgeum-format-1515, .dgeum-format-1020, .dgeum-format-2020 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	margin-top: auto; 
	padding-top: 2rem;
}
.dgeum-format-1515, .dgeum-format-1020, .dgeum-format-2020 svg {
	fill: var(--global-palette2);
}
.dgeum-format-1515 {
	max-height: 150px;
}
.dgeum-format-1020 {
	max-height: 200px;
}
.dgeum-format-2020 {
	max-height: 200px;
}

/*** Bloque formulario ***/
#main .product-columns {
	padding: 0 0 1rem 0;
	margin: 0;
	gap: 5rem;
}
@media (min-width: 1024px) {
	.product-card {
		flex: 0 0 calc(33.33% - 0.75rem);
		max-width: calc(33.33% - 0.75rem);
	}
}
div .form-card {
	padding: 1rem;
	border: 1px solid var(--global-palette8);
	border-radius: 1rem;
	font-size: 13px;
}
div .contact-form {
	display: flex;
	flex-wrap: wrap;
}
div .product-product-info {
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding-bottom: 1rem;
}
div .product-collection-title {
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 700;
	color: var(--global-palette1);
}
div .product-field, div .contact-field {
	display: flex;
	flex-direction: column;
	flex: 100%;
}
div .contact-field label {
	font-size: 12px;
}
.product-info {
	margin-bottom: 1.5rem;
	font-weight: 700;
}
div .product-field select, div .product-field input, div .product-field textarea, div .contact-field input, div .contact-field textarea {
	border: none;
	border-bottom: 2px solid var(--global-palette7);
	border-radius: 0;
	margin-bottom: 1rem;
}
div .product-field input:focus {
	border-bottom-color: var(--global-palette1);
}
div .product-options {
	display: flex;
	flex-direction: column;
	flex: 100%;
	border: 1px solid var(--global-palette8);
	border-radius: 0.5rem;
}
fieldset[disabled] {
	opacity: 0.5;
	pointer-events: none;
	user-select: none;
}
div .product-options label {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
}
label:has(input[type="checkbox"]) {
	margin: 0.5rem;
	align-items: center;
}
input[type="checkbox"] {
	transform: scale(1.25);
}
div .submit {
	display: flex;
	flex-direction: column;
	flex: 100%;
	align-self: flex-start;
}
div .submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
div .honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/*** Realizar pedido ***/
.form {
	padding-bottom: 5rem;
}
.fields {
	display: flex;
	gap: 1rem;
	align-items: flex-end;
}
.fields .field {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.field label {
	font-size: 12px;
}
.fields .field select {
	width: 100%;
	height: 3rem;
	box-sizing: border-box;
}
.fields .field .wp-element-button {
	display: flex;
	height: 3rem;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	text-align: center;
}
@media (max-width: 719px) {
	.fields {
		flex-direction: column;
	}
	.fields .field {
		width: 100%;
	}
}
.total-container {
	margin: 2rem 0 1rem 0;
	font-size: 20px;
	font-weight: 700;
}
.field .quantity-group {
	flex: 1 1 250px;
	display: flex;
}
.purchase-row {
	display: flex;
	gap: 1rem;
	align-items: stretch;
}
.field .shop-btn {
	flex: 1 1 250px;
	display: flex;
}
.field .shop-btn button {
	flex: 1;
	max-width: 350px;
	padding: 0.75rem 2.5rem;
}

/*** Spinner ***/
.quantity-group {
	display: flex;
	align-items: stretch;
	max-width: 250px;
	border: 1px solid #ccc;
	border-radius: 0;
	box-shadow: none;
	overflow: hidden;
}
.qty-btn {
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: #333;
	font-size: 1.25rem;
	font-weight: 700;
	padding: 0.25rem 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
	user-select: none;
}
.qty-btn:hover {
	background: rgba(0, 0, 0, 0.05);
	box-shadow: none;
}
.qty-btn:active {
	background: rgba(0, 0, 0, 0.1);
}
.quantity-wrapper {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
}
.quantity-group input[type="number"] {
	width: 100%;
	height: 100%;
	border: none;
	background: transparent;
	text-align: center;
	font-size: 1rem;
	padding: 0.5rem;
	outline: none;
	box-sizing: border-box;
	-moz-appearance: textfield;
}
.quantity-group input[type="number"]::-webkit-outer-spin-button,
.quantity-group input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.quantity-spinner {
	display: none;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	border: 2px solid #ccc;
	border-top-color: #333;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}
.quantity-wrapper.is-loading .quantity-spinner {
	display: block;
}
@keyframes spin {
	0% { transform: translateY(-50%) rotate(0deg); }
	100% { transform: translateY(-50%) rotate(360deg); }
}
@media (max-width: 768px) {
	.quantity-group {
		max-width: 100%;
	}
}


/*** Bloque ubicacion ***/
div .dgeum-location-card {
	padding: 1rem;
	border: 1px solid var(--global-palette8);
	border-radius: 1rem;
	text-align: center;
}
div .dgeum-location-icon {
	width: 35px;
	height: 35px;
	margin: 0 auto;
	color: var(--global-palette1);
}
div .dgeum-location-icon svg {
	width: 35px;
	height: 35px;
}
div .dgeum-location-card p {
	margin: 0 0 1rem;
}

/*** Header ***/
header .site-container {
	max-width: 1250px;
}

/*** Footer ***/
footer .site-footer-wrap {
	max-width: 1250px;
	margin: auto;
}
#colophon p {
	line-height: 1rem;
}
.dgeum-footer-title {
	font-weight: 700;
}
.dgeum-footer-slogan {
	font-size: 12px;
	font-style: italic;
}
div .wp-block-social-links {
	display: flex;
	opacity: 0.75;
	filter: grayscale(100%);
	transition: all 0.3s ease;
}
div .wp-block-social-links:hover {
	opacity: 0.85;
	filter: grayscale(50%);
}
div .wp-block-social-links button {
	display: flex;
	margin: 0.25rem;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}
div .wp-block-social-links button:active {
	transform: scale(0.92);
	transition: transform 0.1s ease;
}