/*
Theme Name: TheNOTHINGShop by MINIMO WebDesign
Theme URI: https://thenothingshop.eu
Author: MINIMO WebDesign
Author URI: https://minimowebdesign.eu
Description: Tema de bloques para TheNOTHINGShop. Sustituye a Hello Biz + Elementor. Compatible con WooCommerce (bloques).
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.9.45
License: GPLv2 or later
Text Domain: nothingshop
*/

/* Botones tipo píldora con borde, como en el diseño de Elementor */
.wp-element-button,
.wp-block-button__link,
.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-product-button .wp-block-button__link {
	border: 1px solid var(--wp--preset--color--contrast);
	transition: background-color .2s ease, color .2s ease;
}
.wp-element-button:hover,
.wp-block-button__link:hover,
.wc-block-components-button:not(.is-link):hover {
	background-color: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}

/* Foco visible para teclado */
:where(a, button, input, select, textarea, .wp-element-button):focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast);
	outline-offset: 3px;
}

/* Tarjetas de producto */
.wp-block-woocommerce-product-template .wc-block-components-product-image img {
	background: var(--wp--preset--color--surface);
	border-radius: 24px;
}
.wp-block-woocommerce-product-template .wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.wc-block-components-product-sale-badge {
	border-radius: 100px;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border: 0;
}

/* Reseñas */
.nothing-review { height: 100%; }
.nothing-review .nothing-stars { letter-spacing: .15em; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* Imagen del hero contenida */
.nothing-hero-img img { max-width: min(380px, 100%); height: auto; }

/* Botón "Add to cart" en las rejillas */
body .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button {
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 300px;
	padding: .5em 1.4em;
	background: transparent;
	color: var(--wp--preset--color--contrast);
}
body .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button:hover {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}

/* El botón de cerrar del mini-carrito no lleva borde */
.wc-block-components-drawer__close.wp-element-button { border: 0; }

/* ===== Cabecera (igual que el original de Elementor) ===== */
.nothing-header { color: var(--wp--preset--color--muted); }
.nothing-header__row { gap: 30px; }
.nothing-header__row > .nothing-nav { flex: 1 1 auto; justify-content: center; }
.nothing-logo {
	margin: 0;
	font-size: clamp(1.6rem, 3.8vw, 58px);
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}
.nothing-logo a { text-decoration: none; }
.nothing-logo__the { color: #BDBDBD; }
.nothing-logo__nothing { color: #FFFFFF; }
.nothing-logo__shop { color: #808080; }

.nothing-nav .wp-block-navigation-item__content {
	color: #BDBDBD;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
	padding: 5px 0;
	transition: color .2s ease;
}
.nothing-nav .wp-block-navigation-item__content:hover,
.nothing-nav .current-menu-item > .wp-block-navigation-item__content { color: #FFFFFF; }
.nothing-nav .wp-block-navigation__responsive-container-open,
.nothing-nav .wp-block-navigation__responsive-container-close { color: #BDBDBD; }
.nothing-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 24px; }

/* Iconos de búsqueda y carrito */
.nothing-header__icons { align-items: center; }
.nothing-header__icons > * { margin: 0; display: flex; align-items: center; }
.nothing-header .wp-block-search__inside-wrapper { align-items: center; }
.nothing-header .wp-block-search__button { display: flex; align-items: center; justify-content: center; height: 30px; }
.nothing-header .wp-block-search__button {
	border: 0;
	background: transparent;
	color: #BDBDBD;
	padding: 0;
	min-width: 0;
}
/* Iconos rellenos (lupa y bolsa) como en el original */
.nothing-header .wp-block-search__button svg,
.nothing-header .wc-block-mini-cart__icon {
	background: currentColor;
	-webkit-mask: var(--ns-icon) no-repeat center / contain;
	mask: var(--ns-icon) no-repeat center / contain;
}
.nothing-header .wp-block-search__button svg > *,
.nothing-header .wc-block-mini-cart__icon > * { display: none; }
.nothing-header .wp-block-search__button svg {
	width: 20px; height: 20px;
	--ns-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='7' fill='none' stroke='%23000' stroke-width='3.4'/%3E%3Cpath d='M15.2 15.2 21.5 21.5' stroke='%23000' stroke-width='3.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.nothing-header .wp-block-search__button:hover { color: #FFFFFF; background: transparent; }
.nothing-header .wp-block-search__input {
	background: #000;
	color: #FFF;
	border: 1px solid #919191;
	border-radius: 100px;
	padding: .4em 1em;
}
.nothing-header .wc-block-mini-cart__button {
	color: #BDBDBD;
	padding: 0;
	border: 0;
	background: transparent;
}
.nothing-header .wc-block-mini-cart__button:hover { color: #FFFFFF; background: transparent; }
.nothing-header .wc-block-mini-cart__icon {
	width: 26px; height: 26px;
	--ns-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 9V6.5a4 4 0 0 1 8 0V9' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M4.5 8h15l-.9 13.2a1 1 0 0 1-1 .8H6.4a1 1 0 0 1-1-.8z'/%3E%3C/svg%3E");
}
.nothing-header .wc-block-mini-cart__badge { background: #FFFFFF; color: #000000; }

@media (max-width: 781px) {
	.nothing-header { padding-top: 20px !important; padding-bottom: 20px !important; }
	.nothing-header__row { gap: 16px; }
}

/* ===== Pie (igual que el original de Elementor) ===== */
.nothing-footer {
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
}
.nothing-footer p { margin: 0; }
.nothing-footer a { color: #FFFFFF; text-decoration: none; transition: color .2s ease; }
.nothing-footer a:hover { color: #919191; }
.nothing-footer .wp-block-column { display: flex; flex-direction: column; align-items: center; gap: 0; }
.nothing-footer__social { margin: 0 !important; height: 30px; align-items: center; flex-wrap: nowrap !important; }
.nothing-footer .wp-block-social-links { margin: 0; gap: 9px; }
.nothing-footer .wp-block-social-links .wp-social-link { margin: 0; }
.nothing-footer .wp-block-social-links .wp-social-link a { padding: 0; }
.nothing-footer .wp-block-social-links .wp-social-link svg { width: 20px; height: 20px; }
.nothing-footer .wp-block-social-links .wp-social-link:hover { transform: none; opacity: .7; }
.nothing-sms { display: inline-flex; color: #F3F5F8; line-height: 0; }
.nothing-sms:hover { opacity: .7; }
@media (max-width: 781px) {
	.nothing-footer { padding-top: 60px !important; padding-bottom: 60px !important; font-size: 18px; }
}

/* ===== Formulario de contacto (como el de Elementor) ===== */
.nothing-form { display: flex; flex-direction: column; gap: 22px; margin-top: 10px; }
.nothing-form__row { display: flex; gap: 30px; }
.nothing-form__row > input { flex: 1 1 0; min-width: 0; }
.nothing-form input[type="text"],
.nothing-form input[type="email"],
.nothing-form select,
.nothing-form textarea {
	width: 100%;
	font: inherit;
	font-size: 16px;
	font-weight: 300;
	color: #000;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #000;
	border-radius: 0;
	padding: 6px 6px;
	box-sizing: border-box;
}
.nothing-form textarea {
	resize: vertical;
	line-height: 30px;
	background-image: linear-gradient(transparent 29px, #000 29px, #000 30px);
	background-size: 100% 30px;
	background-attachment: local;
	border-bottom: 0;
	padding-top: 0;
}
.nothing-form ::placeholder { color: #919191; font-style: italic; opacity: 1; }
.nothing-form select { appearance: auto; cursor: pointer; }
.nothing-form :focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.nothing-form button { align-self: flex-start; border-radius: 300px; padding: .7em 2.4em; cursor: pointer; }
.nothing-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nothing-form__notice { padding: 12px 16px; border-radius: 12px; margin: 0 0 10px; }
.nothing-form__notice.is-success { background: #F3F5F8; }
.nothing-form__notice.is-error { background: #FDECEC; }
@media (max-width: 600px) { .nothing-form__row { flex-direction: column; gap: 22px; } }

/* =====================================================================
   PORTADA – copia exacta del diseño de Elementor (medido a 1536 px)
   ===================================================================== */
.ns-hero, .ns-why, .ns-feature, .ns-reviews { box-sizing: border-box; }
.ns-hero *, .ns-feature *, .ns-why *, .ns-reviews * { box-sizing: border-box; }
.ns-hero > .wp-block-column { flex: 0 0 50% !important; min-width: 0; }
.ns-h2 { font-size: 60px; font-weight: 600; line-height: 60px; color: #000; margin: 0; letter-spacing: 0; }

/* Botón gris redondo "Shop Now" */
.ns-btns { margin-top: 20px !important; gap: 0; }
.ns-btn .wp-block-button__link {
	background: #919191;
	color: #fff;
	border: 1px solid #919191;
	border-radius: 100px;
	padding: 16px 55px;
	font-size: 20px;
	font-weight: 500;
	line-height: 30px;
	transition: background-color .3s, border-color .3s;
}
.ns-btn .wp-block-button__link:hover { background: #000; border-color: #000; color: #fff; }

/* Hero */
.ns-hero { min-height: 85vh; gap: 0 !important; background: #fff; }
.ns-hero__media { display: flex; align-items: center; justify-content: center; align-self: stretch !important; }
.ns-hero__media .wp-block-image { margin: 0; }
.ns-hero__text { padding: 0 77px 0 61px; }
.ns-hero__lead { font-size: 22px; font-weight: 300; line-height: 33px; color: #000; max-width: 440px; margin: 20px 0 0; }

/* Why Shop NOTHING? */
.ns-why { background: #DBDBDB; padding: 135px 92px; }
.ns-why__cols { margin: 80px 0 0 !important; gap: 68px !important; }
.ns-why__item .wp-block-image { margin: 0; }
.ns-why__title { font-size: 20px; font-weight: 600; line-height: 22px; color: #000; margin: 28px 0 0 !important; }
.ns-why__text { font-size: 20px; font-weight: 300; line-height: 30px; color: #000; margin: 16px 0 0 !important; }

/* Secciones con carrusel */
.ns-feature { min-height: 765px; padding: 0 148px 0 123px; gap: 0 !important; align-items: center !important; }
.ns-feature.ns-top { background: #DBDBDB; }
.ns-feature__intro { padding-right: 155px; flex: 0 0 426px !important; max-width: 426px; }
.ns-feature__products { flex: 1 1 auto !important; }
.ns-feature__title { line-height: 66px; overflow-wrap: normal !important; word-break: normal !important; hyphens: none; white-space: normal; }
.ns-feature__intro { overflow: visible; }
.ns-feature__title em { font-style: italic; }
.ns-feature__text { font-size: 20px; font-weight: 300; line-height: 30px; color: #000; margin: 20px 0 0; }
.ns-feature__products { position: relative; min-width: 0; }

.nothing-carousel { width: 754px; max-width: 100%; margin: 0 0 0 auto !important; overflow: hidden; }
.nothing-carousel .wc-block-product-template {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 20px !important;
	grid-template-columns: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: max-content;
	will-change: transform;
}
.nothing-carousel .wc-block-product-template > li {
	flex: 0 0 238px !important;
	width: 238px !important;
	max-width: 238px !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
	background: #fff;
}
.ns-top .nothing-carousel .wc-block-product-template > li { background: transparent; }
.nothing-carousel .wc-block-components-product-image {
	position: relative;
	width: 238px;
	height: 238px;
	margin: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F2F2F2;
	transition: background-color .3s;
}
.ns-exclusive .nothing-carousel li:hover .wc-block-components-product-image { background: #fff; }
.ns-top .nothing-carousel .wc-block-components-product-image { background: transparent; }
.nothing-carousel .wc-block-components-product-image a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
body .nothing-carousel .wc-block-components-product-image img {
	width: 119px !important;
	height: 119px !important;
	aspect-ratio: 1 !important;
	object-fit: contain !important;
	background: none !important;
	border-radius: 0 !important;
}
body .nothing-carousel .wc-block-components-product-sale-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	right: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #919191;
	color: #fff;
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	padding: 10px;
	text-transform: none;
	z-index: 2;
}
.nothing-carousel .ns-card__title { margin: 0 !important; padding: 2px 20px 0; font-size: 20px; font-weight: 600; line-height: 30px; }
.nothing-carousel .ns-card__title a { color: #000; text-decoration: none; }
.nothing-carousel .ns-card__price,
.nothing-carousel .wc-block-components-product-price { font-size: 20px !important; font-weight: 600; line-height: 30px; color: #000; margin: 0 !important; padding: 0 20px; }
.nothing-carousel .wc-block-components-product-price del { opacity: 1; font-weight: 600; color: #000; }
.nothing-carousel .wc-block-components-product-price ins { text-decoration: none; font-weight: 600; }
.nothing-carousel .wp-block-woocommerce-product-button { margin: 0 !important; padding: 0 20px; }
body .nothing-carousel .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button {
	width: 198px;
	min-height: 50px;
	margin: 10px auto 0;
	padding: 10px 20px;
	border: 0;
	border-radius: 50px;
	background: #919191;
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
}
body .nothing-carousel .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button:hover { background: #000; color: #fff; }
.nothing-carousel .wc-block-components-product-button .added_to_cart { display: block; font-size: 16px; margin-top: 6px; color: #000; }

.ns-car__nav { position: absolute; height: 0; pointer-events: none; z-index: 3; }
.ns-car__arrow {
	position: absolute;
	top: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #000;
	border: 0;
	border-radius: 0;
	padding: 0;
	cursor: pointer;
	pointer-events: auto;
}
.ns-car__prev { left: 0; }
.ns-car__next { right: 0; }
.ns-top .ns-car__arrow { background: #DBDBDB; }
.ns-car__dots { display: flex; justify-content: center; margin: 20px 0 0 auto; width: 754px; max-width: 100%; }
.ns-car__dot { width: 12px; height: 12px; margin: 6px 5px; padding: 0; border: 0; border-radius: 50%; background: #C6C6C6; cursor: pointer; }
.ns-car__dot.is-active { background: #000; }

/* Customer Reviews */
.ns-reviews { background: #F3F5F8; padding: 145px 0 144px 92px; }
.ns-reviews__grid {
	display: grid;
	grid-template-columns: 477px 436px 357px;
	row-gap: 72px;
}
.ns-reviews__grid > * { margin: 0 !important; }
.ns-reviews__title { max-width: 260px; }
.ns-review { max-width: 357px; }
.ns-reviews__grid > .ns-review:nth-of-type(3) { max-width: 404px; }
.ns-review p { margin: 0; color: #000; }
.ns-review .ns-review__stars { font-size: 22px; line-height: 33px; letter-spacing: 2px; color: #BDBDBD; }
.ns-review .ns-review__stars .is-on { color: #000; }
.ns-review__text { font-size: 20px; font-weight: 300; line-height: 30px; margin-top: 10px !important; }
.ns-review__name { font-size: 20px; font-weight: 500; line-height: 30px; margin-top: 12px !important; }

/* Pantallas muy grandes (>= 1600 px): 4 elementos por fila (título + 3 opiniones),
   en columnas iguales que ocupan todo el ancho. */
@media (min-width: 1600px) {
	.ns-reviews { padding-right: 92px; }
	.ns-reviews__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 60px; }
	.ns-reviews__grid > .ns-review,
	.ns-reviews__grid > .ns-review:nth-of-type(3) { max-width: none; }
}

/* Adaptación a pantallas más pequeñas */
@media (max-width: 1400px) {
	.ns-reviews { padding-right: 40px; }
	.ns-reviews__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 60px; }
	.ns-reviews__grid > .ns-review:nth-of-type(3) { max-width: none; }
}
@media (max-width: 1200px) {
	.ns-feature { padding: 80px 40px; flex-wrap: wrap !important; }
	.ns-feature__intro { flex: 1 1 100% !important; padding-right: 0; margin-bottom: 40px; }
	.ns-feature__products { flex: 1 1 100% !important; }
	.nothing-carousel, .ns-car__dots { margin-left: auto !important; margin-right: auto !important; }
}
@media (max-width: 1024px) {
	.ns-h2 { font-size: 44px; line-height: 48px; }
	.ns-feature__title { line-height: 50px; }
	.ns-hero__text { padding: 0 40px; }
	.ns-why { padding: 80px 40px; }
	.ns-why__cols { flex-wrap: wrap !important; gap: 50px 40px !important; }
	.ns-why__cols > .wp-block-column { flex: 1 1 calc(50% - 20px) !important; }
	.ns-reviews { padding: 80px 40px; }
	.ns-reviews__grid { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 50px; }
	.ns-reviews__title { grid-column: 1 / -1; max-width: none; }
	.ns-review { max-width: none !important; }
}

/* Sin hueco entre el contenido y el pie */
.wp-site-blocks > .wp-block-template-part:last-child,
.wp-site-blocks > footer:last-child { margin-block-start: 0 !important; }
.home main { padding-bottom: 0 !important; margin-bottom: 0 !important; }

/* "Add To Cart" con mayúsculas, como en el original */
.nothing-carousel .wc-block-components-product-button__button { text-transform: capitalize; }

/* =====================================================================
   MÓVIL (≤ 767 px) – copia del diseño móvil de Elementor (medido a 390 px)
   ===================================================================== */
@media (max-width: 767px) {
	/* Cabecera: hamburguesa · logo centrado · carrito */
	.nothing-header { padding: 26px 20px !important; }
	.nothing-header__row { gap: 12px; }
	.nothing-header__row > .nothing-nav { order: -1; flex: 0 0 auto !important; }
	.nothing-logo { font-size: 22px; line-height: 33px; flex: 1 1 auto; text-align: center; }
	.nothing-header .wp-block-search { display: none !important; }
	.nothing-header .wc-block-mini-cart__icon { width: 22px; height: 22px; }
	.nothing-nav .wp-block-navigation__responsive-container-open { color: #fff; padding: 0; }
	.nothing-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open { background: #000 !important; }
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: center !important; padding-top: 60px; }
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: center !important; gap: 16px !important; }
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 28px !important; font-weight: 500; line-height: 42px; color: #fff; }
	.nothing-nav .wp-block-navigation__responsive-container-close { color: #fff; }

	/* Títulos y botones */
	.ns-h2 { font-size: 38px; line-height: 41.8px; }
	.ns-btn .wp-block-button__link { font-size: 14px; line-height: 21px; padding: 16px 55px; }

	/* Hero */
	.ns-hero { min-height: 0; flex-wrap: wrap !important; margin-top: 39px !important; padding: 13px 0 60px; }
	.ns-hero > .wp-block-column { flex: 0 0 100% !important; }
	.ns-hero__media { padding: 0; }
	.ns-hero__media img { width: 210px !important; height: 210px !important; }
	.ns-hero__text { padding: 14px 38px 0; }
	.ns-hero__text .ns-h2 { text-align: center; }
	.ns-hero__lead { font-size: 14px; line-height: 21px; max-width: none; margin-top: 20px; }
	.ns-hero .ns-btns { justify-content: center; margin-top: 35px !important; }

	/* Why Shop NOTHING? */
	.ns-why { margin-top: 58px !important; padding: 92px 20px 60px; }
	.ns-why .ns-h2 { line-height: 45.6px; }
	.ns-why__cols { flex-wrap: wrap !important; gap: 43px !important; margin-top: 40px !important; }
	.ns-why__cols > .wp-block-column { flex: 0 0 100% !important; padding: 30px 20px 0; }
	.ns-why__item img { width: 218px !important; height: 218px !important; }
	.ns-why__title { font-size: 28px; line-height: 30.8px; margin-top: 14px !important; }
	.ns-why__text { font-size: 14px; line-height: 21px; margin-top: 18px !important; }

	/* Secciones con carrusel */
	.ns-feature { min-height: 0; flex-wrap: wrap !important; padding: 0 40px 65px; }
	.ns-feature.ns-exclusive { margin-top: 117px !important; }
	.ns-feature__intro { flex: 0 0 100% !important; max-width: none; padding: 0; margin: 0 0 14px; }
	.ns-feature__title { line-height: 42px; }
	.ns-feature__text { font-size: 14px; line-height: 21px; margin-top: 20px; }
	.ns-feature .ns-btns { display: none !important; }
	.ns-feature__products { flex: 0 0 100% !important; }
	.nothing-carousel { width: 315px; margin: 0 auto !important; }
	.ns-car__dots { width: 315px; margin: 20px auto 0; }
	.nothing-carousel .wc-block-product-template > li { flex: 0 0 315px !important; width: 315px !important; max-width: 315px !important; }
	.nothing-carousel .wc-block-components-product-image { width: 315px; height: 315px; }
	.ns-exclusive .nothing-carousel .wc-block-components-product-image { background: #fff; }
	body .nothing-carousel .wc-block-components-product-image img { width: 158px !important; height: 158px !important; }
	body .nothing-carousel .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button {
		width: 275px; min-height: 41px; font-size: 14px; line-height: 21px; padding: 10px 20px;
	}
	.ns-car__arrow { background: transparent; }

	/* Customer Reviews */
	.ns-reviews { margin-top: 98px !important; padding: 97px 40px 90px; }
	.ns-reviews__grid { grid-template-columns: 1fr; row-gap: 50px; column-gap: 0; }
	.ns-reviews__title { grid-column: auto; max-width: none; text-align: center; line-height: 45.6px; margin: 0 -40px !important; }
	.ns-review, .ns-reviews__grid > .ns-review:nth-of-type(3) { max-width: 310px !important; }
	.ns-review__text { font-size: 14px; line-height: 21px; }
	.ns-review__name { font-size: 14px; line-height: 21px; }

	/* Pie */
	.nothing-footer { padding: 90px 20px 100px !important; font-size: 14px; line-height: 29px; }
	.nothing-footer .wp-block-columns { gap: 0 !important; }
	.nothing-footer__social { height: 29px; }
}

/* Pie: todas las líneas de las tres columnas en la misma rejilla de interlineado */
.nothing-footer .wp-block-columns { align-items: flex-start !important; }
.nothing-footer .wp-block-column { justify-content: flex-start; }
.nothing-footer p { line-height: inherit; margin: 0 !important; }
.nothing-footer .wp-block-social-links,
.nothing-footer .wp-block-social-links .wp-social-link,
.nothing-footer .wp-block-social-links .wp-social-link a,
.nothing-sms { height: 20px; line-height: 0; align-items: center; }

/* ===== Pie: todas las líneas en la misma rejilla (mismo interlineado) ===== */
.nothing-footer { --ft-lh: 30px; line-height: var(--ft-lh); }
.nothing-footer p { line-height: var(--ft-lh) !important; white-space: nowrap; }
.nothing-footer .wp-block-column { gap: 0 !important; }
.nothing-footer__social {
	height: var(--ft-lh);
	margin: 0 !important;
	align-items: center !important;
	padding-top: 2px; /* centra los iconos con la altura de las letras del texto */
}
.nothing-footer__social .wp-block-social-links,
.nothing-footer__social .nothing-sms { height: var(--ft-lh); align-items: center; }
@media (min-width: 768px) and (max-width: 1279px) {
	.nothing-footer { --ft-lh: 26px; font-size: clamp(14px, 1.45vw, 18px); }
	.nothing-footer .wp-block-columns { gap: 16px !important; }
	.nothing-footer .wp-block-social-links .wp-social-link svg,
	.nothing-sms svg { width: 17px; height: 17px; }
	.nothing-footer .wp-block-social-links,
	.nothing-footer__social { gap: 7px !important; }
}
@media (max-width: 767px) {
	.nothing-footer { --ft-lh: 29px; }
	.nothing-footer .wp-block-columns { gap: 0 !important; }
}

/* =====================================================================
   TIENDA (/shop/) – copia del grid de Unlimited Elements (medido)
   ===================================================================== */
.ns-shop { padding: 122px 123px 122px !important; }
.ns-shop .ns-shop__grid { margin: 0 !important; max-width: none !important; }
.ns-shop .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: 120px !important;
	margin: 0 !important;
	padding: 0 !important;
}
.ns-shop .wc-block-product-template > li {
	display: flex !important;
	flex-direction: column;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
	background: transparent;
}
.ns-shop .wc-block-components-product-image {
	position: relative;
	margin: 0 !important;
	background: #fff;
	aspect-ratio: 1;
}
.ns-shop .wc-block-components-product-image a { display: block; }
body .ns-shop .wc-block-components-product-image img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 !important;
	object-fit: contain !important;
	background: none !important;
	border-radius: 0 !important;
}
body .ns-shop .wc-block-components-product-sale-badge {
	position: absolute;
	top: 0;
	left: 0;
	right: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #919191;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	line-height: 30px;
	padding: 2px 25px;
	text-transform: none;
	z-index: 2;
}
.ns-shop .wc-block-components-product-sale-badge__text::after { content: "!"; }
.ns-shop .ns-shop__title { margin: 15px 0 0 !important; font-size: 20px; font-weight: 500; line-height: 30px; }
.ns-shop .ns-shop__title a { color: #000; text-decoration: none; }
.ns-shop .ns-shop__price,
.ns-shop .wc-block-components-product-price {
	margin: auto 0 0 !important;
	padding-top: 0;
	font-size: 20px !important;
	font-weight: 500;
	line-height: 30px;
	color: #000;
}
.ns-shop .ns-shop__title + .ns-shop__price, .ns-shop .ns-shop__title + .wc-block-components-product-price { margin-top: auto !important; }
.ns-shop .wc-block-components-product-price del {
	display: block;
	color: #919191;
	font-weight: 300;
	opacity: 1;
	text-decoration: line-through;
}
.ns-shop .wc-block-components-product-price ins { display: block; text-decoration: none; font-weight: 500; color: #000; }
.ns-shop .wp-block-woocommerce-product-button { margin: 0 !important; padding: 0; }
body .ns-shop .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button {
	width: 100%;
	min-height: 0;
	margin: 10px 0 0;
	padding: 10px 20px;
	border: 0;
	border-radius: 50px;
	background: #919191;
	color: #fff;
	font-size: 19px;
	font-weight: 500;
	line-height: 28.5px;
	text-transform: capitalize;
}
body .ns-shop .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button:hover { background: #000; color: #fff; }
.ns-shop .wc-block-components-product-button .added_to_cart { display: block; font-size: 16px; margin-top: 6px; color: #000; }
/* El espacio entre título y precio de cada fila se reparte como en el original */
.ns-shop .wc-block-product-template > li > .ns-shop__title { flex: 0 0 auto; }
.ns-shop .wc-block-product-template > li::after { content: none; }

@media (max-width: 1024px) {
	.ns-shop { padding: 61px 51px !important; }
	.ns-shop .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 120px !important; }
	.ns-shop .ns-shop__title, .ns-shop .wc-block-components-product-price { font-size: 14px !important; line-height: 21px; }
	body .ns-shop .wc-block-components-product-sale-badge { font-size: 14px; line-height: 21px; }
	body .ns-shop .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button { font-size: 14px; line-height: 21px; }
}
@media (max-width: 767px) {
	.ns-shop { padding: 78px 31px !important; }
	.ns-shop .wc-block-product-template { gap: 55px !important; }
}

/* ===== Cabecera: alineación vertical exacta del original (medida a 1536 px) =====
   Texto del logo 49–130 px, menú 87–115 px, lupa 92–112 px, bolsa 86–112 px. */
.nothing-logo a { transition: opacity .3s ease; }
.nothing-logo a:hover, .nothing-logo a:focus-visible { opacity: .8; }
.nothing-header .wp-block-search__button svg { min-width: 0 !important; min-height: 0 !important; width: 20px !important; height: 20px !important; }
@media (min-width: 1025px) {
	.nothing-header { padding-top: 46px !important; padding-bottom: 46px !important; }
	.nothing-header__row { align-items: flex-start !important; }
	.nothing-logo { font-size: 58px; margin: 0 0 14.4px !important; }
	.nothing-header__row > .nothing-nav { margin-top: 34.8px !important; }
	.nothing-header__icons { margin-top: 29.3px !important; align-items: flex-start !important; }
	.nothing-header .wp-block-search { margin-top: 2.6px !important; }
	.nothing-header .wp-block-woocommerce-mini-cart { margin-top: 11px !important; }
}

/* ===== Menú: completo en escritorio (> 1024 px), hamburguesa en tablet y móvil (como el original) ===== */
@media (min-width: 1025px) {
	.nothing-nav .wp-block-navigation__responsive-container-open { display: none !important; }
	.nothing-nav .wp-block-navigation__responsive-container.hidden-by-default:not(.is-menu-open) {
		display: block !important;
		position: relative !important;
		inset: auto !important;
		width: auto !important;
		height: auto !important;
		z-index: auto !important;
		padding: 0 !important;
		background: transparent !important;
		color: inherit !important;
		overflow: visible !important;
	}
	.nothing-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close { display: none !important; }
	.nothing-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-dialog,
	.nothing-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-close { margin: 0 !important; padding: 0 !important; max-width: none !important; }
	.nothing-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content {
		display: flex !important;
		padding: 0 !important;
	}
	.nothing-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 25px !important;
		align-items: flex-start !important;
	}
}
@media (max-width: 1024px) {
	.nothing-header__row { gap: 12px; align-items: center !important; }
	.nothing-header__row > .nothing-nav { order: -1; flex: 0 0 auto !important; }
	.nothing-logo { flex: 1 1 auto; text-align: center; }
	.nothing-header .wp-block-search { display: none !important; }
	.nothing-nav .wp-block-navigation__responsive-container-open { color: #fff; padding: 0; }
	.nothing-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open { background: #000 !important; }
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: center !important; padding-top: 60px; }
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: center !important; gap: 16px !important; }
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 28px !important; font-weight: 500; line-height: 42px; color: #fff; }
	.nothing-nav .wp-block-navigation__responsive-container-close { color: #fff; }
	.nothing-header .wc-block-mini-cart__icon { width: 22px; height: 22px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.nothing-header { padding: 13px 51px !important; }
	.nothing-logo { font-size: 14px; line-height: 34px; }
}

/* Tablet y móvil: la línea inferior de la hamburguesa y la base de la bolsa
   quedan a la misma altura que la base del texto del logo. */
@media (min-width: 768px) and (max-width: 1024px) {
	.nothing-header .wc-block-mini-cart__button { transform: translateY(-6.5px); }
}
@media (max-width: 767px) {
	.nothing-header .wc-block-mini-cart__button { transform: translateY(-3.5px); }
}

/* =====================================================================
   PÁGINAS SALE · ABOUT · CONTACT – copia del original (medido a 1536 / 390 px)
   ===================================================================== */
.ns-page { margin: 0 !important; max-width: none !important; }
.ns-page .wp-block-columns { margin: 0 !important; gap: 0 !important; flex-wrap: nowrap !important; }
.ns-page .wp-block-image { margin: 0; }
.ns-page p { margin: 0; }

/* ---------- ABOUT ---------- */
.ns-about { margin: 107.5px 0 92px !important; }
.ns-about .wp-block-columns { min-height: 765px; align-items: stretch !important; }
.ns-about__media { flex: 0 0 50% !important; display: flex; align-items: center; justify-content: center; }
.ns-about__media img { width: 200px !important; height: 200px !important; }
.ns-about__text { flex: 0 0 50% !important; padding: 0 61.4px; display: flex; flex-direction: column; justify-content: center; }
.ns-about__text .ns-h2 { font-size: 60px; line-height: 60px; }
.ns-about__text p { font-size: 22px; font-weight: 300; line-height: 33px; color: #000; max-width: 550px; margin: 0 0 14.4px; }
.ns-about__text .ns-h2 + p { margin-top: 20px; }

/* ---------- SALE ---------- */
.ns-sale { padding: 122.9px 0 !important; }
.ns-sale .wp-block-columns { min-height: 519px; align-items: stretch !important; }
.ns-sale__intro { flex: 0 0 445px !important; padding: 0 61.4px 122.9px 122.9px; }
.ns-sale__title { font-size: 85px; font-weight: 600; line-height: 85px; color: #000; margin: 0; }
.ns-sale__intro p { font-size: 22px; font-weight: 300; line-height: 33px; color: #000; max-width: 208px; margin: 40px 0 14.4px; }
.ns-sale__products { flex: 1 1 auto !important; padding-right: 122.9px; display: flex; align-items: center; }
.ns-sale__products > .wp-block-woocommerce-product-collection { width: 100%; margin: 0 !important; }
.ns-salegrid .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, 167px) !important;
	gap: 50px 100px !important;
	margin: 0 !important;
	padding: 0 !important;
}
.ns-salegrid .wc-block-product-template > li { display: flex !important; flex-direction: column; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; text-align: center; }
.ns-salegrid .wc-block-components-product-image { position: relative; margin: 0 !important; background: #fff; aspect-ratio: 1; }
.ns-salegrid .wc-block-components-product-image a { display: block; }
body .ns-salegrid .wc-block-components-product-image img { width: 100% !important; height: auto !important; aspect-ratio: 1 !important; object-fit: contain !important; background: none !important; border-radius: 0 !important; }
body .ns-salegrid .wc-block-components-product-sale-badge {
	position: absolute; top: 0; left: 0; right: auto; margin: 0; border: 0; border-radius: 0;
	background: #919191; color: #fff; font-size: 20px; font-weight: 500; line-height: 30px; padding: 2px 25px; text-transform: none; z-index: 2;
}
.ns-salegrid .wc-block-components-product-sale-badge__text::after { content: "!"; }
.ns-salegrid .ns-shop__title { margin: 15px 0 0 !important; font-size: 20px; font-weight: 500; line-height: 30px; }
.ns-salegrid .ns-shop__title a { color: #000; text-decoration: none; }
.ns-salegrid .wc-block-components-product-price { margin: auto 0 0 !important; font-size: 20px !important; font-weight: 500; line-height: 30px; color: #000; }
.ns-salegrid .wc-block-components-product-price del { display: block; color: #919191; font-weight: 300; opacity: 1; text-decoration: line-through; }
.ns-salegrid .wc-block-components-product-price ins { display: block; text-decoration: none; font-weight: 500; color: #000; }
.ns-salegrid .wp-block-woocommerce-product-button { margin: 0 !important; padding: 0; }
body .ns-salegrid .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button {
	width: 100%; min-height: 0; margin: 10px 0 0; padding: 10px 20px; border: 0; border-radius: 50px;
	background: #919191; color: #fff; font-size: 19px; font-weight: 500; line-height: 28.5px; text-transform: capitalize;
}
body .ns-salegrid .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button:hover { background: #000; }
.ns-salegrid .wc-block-components-product-button .added_to_cart { display: block; font-size: 16px; margin-top: 6px; color: #000; }

/* ---------- CONTACT ---------- */
.ns-contact .wp-block-columns { min-height: 810px; align-items: stretch !important; padding-right: 122.9px; }
.ns-contact__media { flex: 0 0 495px !important; display: flex; align-items: center; justify-content: center; }
.ns-contact__media img { width: 247px !important; height: 247px !important; }
.ns-contact__form { flex: 1 1 auto !important; padding: 0 84.8px; display: flex; flex-direction: column; justify-content: center; }
.ns-contact__title { font-size: 60px; font-weight: 600; line-height: 66px; color: #000; margin: 0 0 20px; }

/* Formulario como el de Elementor */
.nothing-form { gap: 20px; margin: 0; }
.nothing-form__row { gap: 37px; }
.nothing-form input[type="text"],
.nothing-form input[type="email"],
.nothing-form select,
.nothing-form textarea {
	height: 40px;
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: #000;
	background-color: #fff;
	border: 0;
	border-bottom: 2px solid #000;
	border-radius: 0;
	padding: 4px 12px;
	box-sizing: border-box;
}
.nothing-form select { padding-right: 20px; }
.nothing-form ::placeholder { color: #757575; font-style: normal; opacity: 1; }
.nothing-form textarea {
	height: 230px;
	margin-top: -10px;
	padding: 0 12px;
	line-height: 60px;
	border-bottom: 0;
	resize: none;
	overflow: hidden;
	background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 48px, #000 48px, #000 50px, transparent 50px, transparent 60px);
	background-attachment: local;
	background-size: 100% 60px;
	background-position: 0 0;
}
.nothing-form button {
	align-self: flex-start;
	border: 1px solid #919191;
	border-radius: 50px;
	background: #919191;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	line-height: 30px;
	padding: 10px 90px;
	cursor: pointer;
}
.nothing-form button:hover { background: #000; border-color: #000; }

/* ---------- Tablet y móvil (≤ 1024 px) ---------- */
@media (max-width: 1024px) {
	.ns-page .wp-block-columns { flex-wrap: wrap !important; min-height: 0 !important; padding: 0 !important; }
	.ns-page .wp-block-columns > .wp-block-column { flex: 0 0 100% !important; }

	.ns-about { margin: 58.5px 0 !important; }
	.ns-about__media { padding-top: 20px; }
	.ns-about__media img { width: 195px !important; height: 195px !important; }
	.ns-about__text { padding: 19.5px 39px 39px; }
	.ns-about__text .ns-h2 { font-size: 38px; line-height: 45.6px; }
	.ns-about__text p { font-size: 14px; line-height: 21px; max-width: none; }

	.ns-sale { padding: 0 0 97.5px !important; }
	.ns-sale__intro { padding: 78px 39px 46.8px; }
	.ns-sale__title { font-size: 48px; line-height: 48px; }
	.ns-sale__intro p { font-size: 14px; line-height: 21px; max-width: 331px; margin: 20px 0 0; }
	.ns-sale__products { padding: 0 31px 0 37px; }
	.ns-salegrid .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 136px)) !important; gap: 50px 51px !important; }
	.ns-salegrid .ns-shop__title, .ns-salegrid .wc-block-components-product-price { font-size: 14px !important; line-height: 21px; }
	body .ns-salegrid .wc-block-components-product-sale-badge { font-size: 14px; line-height: 21px; }
	body .ns-salegrid .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button { font-size: 14px; line-height: 21px; }

	.ns-contact { padding: 78px 39px !important; }
	.ns-contact__media { padding: 0; min-height: 338px; }
	.ns-contact__media img { width: 187px !important; height: 187px !important; }
	.ns-contact__form { padding: 15.6px 0 46.8px; }
	.ns-contact__title { font-size: 28px; line-height: 30.8px; }
	.nothing-form__row { flex-direction: column; gap: 20px; }
	.nothing-form input[type="text"], .nothing-form input[type="email"], .nothing-form select { height: 33px; font-size: 14px; line-height: 21px; }
	.nothing-form textarea { font-size: 14px; height: 202px; margin-top: -10px; line-height: 53px; background-size: 100% 53px;
		background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 41px, #000 41px, #000 43px, transparent 43px, transparent 53px); }
	.nothing-form button { align-self: center; font-size: 14px; line-height: 21px; padding: 12px 90px; }
}

/* Ajustes finos de las páginas */
.ns-page {
	margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px)) !important;
	margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px)) !important;
	width: auto !important;
}
.ns-page, .ns-page * { box-sizing: border-box; }
.ns-page .wp-block-columns > .wp-block-column { min-width: 0; }
body .ns-salegrid .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button,
body .ns-shop .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button { border: 1px solid #fff; white-space: nowrap; }
.nothing-form__row > input { flex: 1 1 0; }
@media (max-width: 1024px) {
	.nothing-form__row > input { flex: none; width: 100%; }
	.ns-salegrid .wc-block-product-template { grid-template-columns: repeat(2, 136px) !important; }
}

.ns-about__text p:last-child { margin-bottom: 14.4px !important; }
.ns-sale__intro p:last-child { margin-bottom: 14.4px !important; }
.ns-salegrid .wp-block-woocommerce-product-price { margin-top: auto !important; margin-bottom: 0 !important; }
.ns-salegrid .wc-block-components-product-price { margin-bottom: 0 !important; }
@media (max-width: 1024px) {
	.ns-about__media { padding: 20px 0 !important; }
	.ns-sale__intro p { margin: 20px 0 14.4px !important; }
}

/* Hamburguesa de 3 líneas como la del original (21 px, líneas de 2 px) */
@media (max-width: 1024px) {
	.nothing-nav .wp-block-navigation__responsive-container-open svg { display: none !important; }
	.nothing-nav .wp-block-navigation__responsive-container-open {
		width: 30px; height: 30px; display: flex !important; align-items: center; justify-content: flex-start;
	}
	.nothing-nav .wp-block-navigation__responsive-container-open::before {
		content: "";
		display: block;
		width: 21px;
		height: 12px;
		background:
			linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat,
			linear-gradient(#fff, #fff) 0 5px / 100% 2px no-repeat,
			linear-gradient(#fff, #fff) 0 10px / 100% 2px no-repeat;
	}
}
@media (max-width: 767px) {
	.nothing-header__row { height: 33px; }
	.ns-sale__intro { padding: 78px 20px 46.8px 39px !important; }
}

/* Línea inferior de la hamburguesa a la altura de la base del logo */
@media (min-width: 768px) and (max-width: 1024px) {
	.nothing-nav .wp-block-navigation__responsive-container-open::before { transform: translateY(-1px); }
}
@media (max-width: 767px) {
	.nothing-nav .wp-block-navigation__responsive-container-open::before { transform: translateY(1.5px); }
}

/* ABOUT sin margen arriba ni abajo */
.ns-about { margin-top: 0 !important; margin-bottom: 0 !important; }

/* =====================================================================
   CABECERA FIJA (sticky) QUE SE ACHICA AL HACER SCROLL
   ===================================================================== */
.wp-site-blocks > .wp-block-template-part:first-child,
.wp-site-blocks > header:first-child {
	position: sticky;
	top: 0;
	z-index: 1000;
}
.admin-bar .wp-site-blocks > .wp-block-template-part:first-child,
.admin-bar .wp-site-blocks > header:first-child { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > .wp-block-template-part:first-child,
	.admin-bar .wp-site-blocks > header:first-child { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > .wp-block-template-part:first-child,
	.admin-bar .wp-site-blocks > header:first-child { top: 0; }
}
.nothing-header,
.nothing-header .nothing-logo,
.nothing-header__row > .nothing-nav,
.nothing-header__icons,
.nothing-header .wp-block-search,
.nothing-header .wp-block-woocommerce-mini-cart {
	transition: padding .3s ease, font-size .3s ease, line-height .3s ease, margin .3s ease, height .3s ease;
}
.ns-scrolled .nothing-header { box-shadow: 0 2px 12px rgba(0, 0, 0, .25); }

/* Escritorio: 193 px → 110 px, manteniendo los textos e iconos alineados abajo */
@media (min-width: 1025px) {
	.ns-scrolled .nothing-header { padding-top: 20px !important; padding-bottom: 20px !important; }
	.ns-scrolled .nothing-logo { font-size: 40px; line-height: 60px; margin-bottom: 10px !important; }
	.ns-scrolled .nothing-header__row > .nothing-nav { margin-top: 14.8px !important; }
	.ns-scrolled .nothing-header__icons { margin-top: 9.3px !important; }
}
/* Tablet y móvil */
@media (min-width: 768px) and (max-width: 1024px) {
	.ns-scrolled .nothing-header { padding-top: 6px !important; padding-bottom: 6px !important; }
}
@media (max-width: 767px) {
	.ns-scrolled .nothing-header { padding-top: 14px !important; padding-bottom: 14px !important; }
}

/* =====================================================================
   BOTÓN "TOP"
   ===================================================================== */
.ns-totop {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 999;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	background: #919191;
	color: #fff;
	text-decoration: none;
	font-family: Poppins, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .05em;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease, visibility .3s, background-color .2s ease;
}
.ns-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.ns-totop:hover, .ns-totop:focus-visible { background: #000; color: #fff; }
.ns-totop:focus-visible { outline: 2px solid #919191; outline-offset: 3px; }
@media (max-width: 767px) {
	.ns-totop { right: 16px; bottom: 16px; width: 50px; height: 50px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
	.ns-totop { transition: none; }
}

/* CONTACT: imagen y márgenes laterales relativos al ancho, como en el original */
@media (min-width: 1025px) {
	.ns-contact .wp-block-columns { padding-right: 8vw; }
	.ns-contact__media { flex: 0 0 32.23vw !important; }
	.ns-contact__media img { width: 16.08vw !important; height: 16.08vw !important; }
	.ns-contact__form { padding: 0 5.52vw; }
}

/* =====================================================================
   ABOUT y CONTACT: cabecera + contenido = alto exacto de la pantalla,
   con el contenido centrado verticalmente.
   --ns-head la calcula site.js (alto real de la cabecera + barra de admin);
   aquí van los valores por defecto por si el JS aún no ha corrido.
   ===================================================================== */
:root { --ns-head: 178px; }
@media (max-width: 1024px) { :root { --ns-head: 46px; } }
@media (max-width: 767px)  { :root { --ns-head: 70px; } }
.ns-about, .ns-contact, .ns-sale {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	min-height: calc(100vh - var(--ns-head));
	min-height: calc(100svh - var(--ns-head));
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	padding-top: 24px !important;
	padding-bottom: 24px !important;
}
.ns-about .ns-about__text p:last-child { margin-bottom: 0 !important; }
.ns-about .wp-block-columns,
.ns-contact .wp-block-columns {
	min-height: 0 !important;
	flex: 0 0 auto;
	align-items: center !important;
}
.ns-about__text, .ns-contact__form { justify-content: center; }
@media (max-width: 1024px) {
	.ns-about, .ns-contact { padding-top: 12px !important; padding-bottom: 12px !important; }
	.ns-contact { padding-left: 39px !important; padding-right: 39px !important; }
	.ns-about__media { padding: 0 0 10px !important; }
	.ns-about__text { padding: 10px 39px 0 !important; }
	.ns-contact__media { min-height: 0 !important; padding-bottom: 20px; }
	.ns-contact__form { padding: 0 !important; }
}

/* ===== SALE: igual que ABOUT y CONTACT (pantalla completa, centrado) ===== */
.ns-sale .wp-block-columns { min-height: 0 !important; flex: 0 0 auto; align-items: center !important; }
.ns-sale__intro { padding: 0 61.4px 0 122.9px !important; align-self: center !important; }
.ns-sale__products { align-self: center !important; }
.ns-sale__intro p:last-child { margin-bottom: 0 !important; }
@media (max-width: 1024px) {
	.ns-sale { padding-top: 12px !important; padding-bottom: 12px !important; }
	.ns-sale__intro { padding: 0 20px 24px 39px !important; }
	.ns-sale__intro p { margin-bottom: 0 !important; }
}

/* ===== Pie: 25 px menos arriba y 30 px menos abajo ===== */
.nothing-footer { padding-top: 75px !important; padding-bottom: 70px !important; }
@media (max-width: 767px) {
	.nothing-footer { padding-top: 65px !important; padding-bottom: 70px !important; }
}

/* ===== Cabecera: 5 px menos arriba y 10 px menos abajo (estado normal) ===== */
@media (min-width: 1025px) {
	body:not(.ns-scrolled) .nothing-header { padding-top: 41px !important; padding-bottom: 36px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	body:not(.ns-scrolled) .nothing-header { padding-top: 8px !important; padding-bottom: 3px !important; }
}
@media (max-width: 767px) {
	body:not(.ns-scrolled) .nothing-header { padding-top: 21px !important; padding-bottom: 16px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.ns-salegrid .wc-block-product-template { grid-template-columns: repeat(4, 136px) !important; }
}

/* ===== Logotipo (SVG con las letras convertidas en trazos) =====
   Ocupa exactamente la misma caja y la misma línea base que el texto
   anterior (1,5 × tamaño de letra de alto; base a 0,4 em del borde inferior),
   así que el resto de la cabecera queda alineado igual. */
.nothing-logo__img {
	display: inline-block;
	height: 1.5em;
	width: auto;
	max-width: none;
	vertical-align: -0.4em;
}

/* ABOUT: mismas columnas que CONTACT (imagen 32,23 vw · texto el resto, con
   5,52 vw de margen a cada lado y 8 vw a la derecha de la página) */
@media (min-width: 1025px) {
	.ns-about .wp-block-columns { padding-right: 8vw; }
	.ns-about__media { flex: 0 0 32.23vw !important; }
	.ns-about__text { flex: 1 1 auto !important; padding: 0 5.52vw !important; }
	.ns-about__text p { max-width: none; }
}

/* ===== CONTACT: 3 líneas de mensaje, menos espacio entre líneas y sin recuadro al escribir ===== */
.nothing-form { gap: 14px; }
.nothing-form textarea {
	height: 155px;
	margin-top: -7px;
	line-height: 54px;
	background-size: 100% 54px;
	background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 45px, var(--ns-line, #000) 45px, var(--ns-line, #000) 47px, transparent 47px, transparent 54px);
}
.nothing-form input[type="text"]:focus,
.nothing-form input[type="email"]:focus,
.nothing-form select:focus,
.nothing-form textarea:focus,
.nothing-form input[type="text"]:focus-visible,
.nothing-form input[type="email"]:focus-visible,
.nothing-form select:focus-visible,
.nothing-form textarea:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}
/* Indicación discreta del campo activo: la línea pasa a gris */
.nothing-form input[type="text"]:focus,
.nothing-form input[type="email"]:focus,
.nothing-form select:focus { border-bottom-color: #919191; }
.nothing-form textarea:focus { --ns-line: #919191; }
@media (max-width: 1024px) {
	.nothing-form__row { gap: 14px; }
	.nothing-form textarea {
		height: 134px;
		margin-top: -7px;
		line-height: 47px;
		background-size: 100% 47px;
		background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 38px, var(--ns-line, #000) 38px, var(--ns-line, #000) 40px, transparent 40px, transparent 47px);
	}
}

/* CONTACT: el Ø del mismo tamaño que en ABOUT (200 px escritorio, 195 px tablet/móvil) */
@media (min-width: 1025px) {
	.ns-contact__media img { width: 200px !important; height: 200px !important; }
}
@media (max-width: 1024px) {
	.ns-contact__media img { width: 195px !important; height: 195px !important; }
}

/* =====================================================================
   HOME: cada sección encaja en una ventana (contando la cabecera)
   con el contenido centrado verticalmente.
   - Hero: 100 % de la ventana menos la cabecera normal (--ns-head).
   - Resto: 100 % menos la cabecera encogida (--ns-head-s), que es la que
     se ve al llegar a cada sección haciendo scroll.
   --ns-bar = alto de la barra de admin (lo pone site.js; 0 para visitantes).
   ===================================================================== */
:root { --ns-head-s: calc(110px + var(--ns-bar, 0px)); }
@media (max-width: 1024px) { :root { --ns-head-s: calc(41px + var(--ns-bar, 0px)); } }
@media (max-width: 767px)  { :root { --ns-head-s: calc(61px + var(--ns-bar, 0px)); } }
@media (min-width: 768px) and (max-width: 1024px) {
	.ns-scrolled .nothing-header { padding-top: 4px !important; padding-bottom: 2px !important; }
}

.home .ns-hero {
	min-height: calc(100vh - var(--ns-head)) !important;
	min-height: calc(100svh - var(--ns-head)) !important;
	align-items: center !important;
	margin-top: 0 !important;
}
.home .ns-why,
.home .ns-feature,
.home .ns-reviews {
	min-height: calc(100vh - var(--ns-head-s)) !important;
	min-height: calc(100svh - var(--ns-head-s)) !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 24px !important;
	padding-bottom: 24px !important;
}
.home .ns-why,
.home .ns-reviews {
	display: flex !important;
	flex-direction: column;
	justify-content: center;
}
.home .ns-feature { align-items: center !important; align-content: center; }
.home .ns-reviews__grid { width: 100%; }

@media (max-width: 1024px) {
	.home .ns-hero { padding-top: 12px !important; padding-bottom: 12px !important; align-content: center; }
	.home .ns-why,
	.home .ns-feature,
	.home .ns-reviews { padding-top: 12px !important; padding-bottom: 12px !important; }
	.home .ns-feature__intro { margin-bottom: 14px !important; }
	.ns-why__cols { margin-top: 28px !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
	.home .ns-why__cols { row-gap: 24px !important; }
	.home .ns-feature__intro { margin-bottom: 4px !important; }
	.home .ns-reviews__grid { row-gap: 32px !important; }
}

/* Carrusel fluido en escritorio: siempre 3 tarjetas completas aunque la
   columna mida menos de 754 px (p. ej. a 1366 px de ancho). */
@media (min-width: 1025px) {
	.nothing-carousel { container-type: inline-size; }
	.nothing-carousel .wc-block-product-template > li {
		flex: 0 0 calc((100cqw - 40px) / 3) !important;
		width: calc((100cqw - 40px) / 3) !important;
		max-width: none !important;
	}
	.nothing-carousel .wc-block-components-product-image { width: 100%; height: auto; aspect-ratio: 1; }
	body .nothing-carousel .wc-block-components-product-image img { width: 50% !important; height: auto !important; }
	body .nothing-carousel .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button { width: min(198px, 100%); }
}

/* Pantallas muy grandes (>= 1600 px): el carrusel muestra 4 productos en vez de 3,
   con tarjetas del mismo tamaño (4 x 238 px + 3 x 20 px de hueco = 1012 px). */
@media (min-width: 1600px) {
	.ns-feature .nothing-carousel { width: 1012px; }
	.ns-feature .nothing-carousel .wc-block-product-template > li {
		flex: 0 0 calc((100cqw - 60px) / 4) !important;
		width: calc((100cqw - 60px) / 4) !important;
	}
}

/* ===== Pie más bajo y con el mismo interlineado que el resto de la web (1,5) ===== */
.nothing-footer { --ft-lh: 1.5em; line-height: 1.5 !important; padding-top: 40px !important; padding-bottom: 40px !important; }
.nothing-footer p { line-height: 1.5 !important; }
@media (min-width: 768px) and (max-width: 1279px) {
	.nothing-footer { --ft-lh: 1.5em; }
}
@media (max-width: 767px) {
	.nothing-footer { --ft-lh: 1.5em; padding-top: 32px !important; padding-bottom: 32px !important; }
	.nothing-footer .wp-block-column + .wp-block-column { margin-top: 0; }
}

/* ===== CONTACT: formulario más compacto y botón Send más separado ===== */
.nothing-form { gap: 10px; }
.nothing-form input[type="text"],
.nothing-form input[type="email"],
.nothing-form select { height: 34px; padding-top: 2px; padding-bottom: 2px; }
.nothing-form textarea {
	height: 127px;
	margin-top: -5px;
	line-height: 44px;
	background-size: 100% 44px;
	background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 37px, var(--ns-line, #000) 37px, var(--ns-line, #000) 39px, transparent 39px, transparent 44px);
}
.nothing-form button { margin-top: 26px; }
@media (max-width: 1024px) {
	.nothing-form__row { gap: 10px; }
	.nothing-form input[type="text"],
	.nothing-form input[type="email"],
	.nothing-form select { height: 29px; }
	.nothing-form textarea {
		height: 112px;
		margin-top: -5px;
		line-height: 39px;
		background-size: 100% 39px;
		background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 32px, var(--ns-line, #000) 32px, var(--ns-line, #000) 34px, transparent 34px, transparent 39px);
	}
	.nothing-form button { margin-top: 20px; }
}

/* =====================================================================
   BOTONES: todos iguales en toda la web, con el botón SEND como modelo.
   Gris #919191, texto blanco, esquinas redondas (50 px), Poppins 500,
   20/30 px en escritorio y 14/21 px en tablet y móvil; negro al pasar.
   Botones sueltos (Send, Shop Now…): 90 px de relleno lateral.
   Botones dentro de tarjetas de producto: todo el ancho de la tarjeta.
   ===================================================================== */
:root {
	--ns-btn-fs: 20px;
	--ns-btn-lh: 30px;
	--ns-btn-pv: 10px;
	--ns-btn-ph: 90px;
}
@media (max-width: 1024px) {
	:root { --ns-btn-fs: 14px; --ns-btn-lh: 21px; --ns-btn-pv: 12px; }
}
body .nothing-form button,
body .ns-btn .wp-block-button__link,
body .wp-block-button__link.wp-element-button,
body .wc-block-components-button.wp-element-button:not(.is-link):not(.wc-block-components-drawer__close),
body .wc-block-components-product-button .wc-block-components-product-button__button,
body .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button,
body .wc-block-mini-cart__footer-actions .wp-element-button,
body .wp-element-button:not(.wp-block-search__button):not(.wc-block-components-drawer__close):not(.wc-block-mini-cart__button) {
	background: #919191 !important;
	color: #fff !important;
	border: 1px solid #919191 !important;
	border-radius: 50px !important;
	font-family: Poppins, sans-serif !important;
	font-size: var(--ns-btn-fs) !important;
	font-weight: 500 !important;
	line-height: var(--ns-btn-lh) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	padding: var(--ns-btn-pv) var(--ns-btn-ph) !important;
	min-height: 0 !important;
	box-shadow: none !important;
	transition: background-color .3s ease, border-color .3s ease !important;
	cursor: pointer;
}
body .nothing-form button:hover,
body .ns-btn .wp-block-button__link:hover,
body .wp-block-button__link.wp-element-button:hover,
body .wc-block-components-button.wp-element-button:not(.is-link):not(.wc-block-components-drawer__close):hover,
body .wc-block-components-product-button .wc-block-components-product-button__button:hover,
body .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button:hover,
body .wc-block-mini-cart__footer-actions .wp-element-button:hover,
body .wp-element-button:not(.wp-block-search__button):not(.wc-block-components-drawer__close):not(.wc-block-mini-cart__button):hover {
	background: #000 !important;
	border-color: #000 !important;
	color: #fff !important;
}
/* "Add To Cart" (mismas mayúsculas que antes) */
body .wc-block-components-product-button .wc-block-components-product-button__button { text-transform: capitalize !important; }
/* En las tarjetas de producto el botón ocupa el ancho de la tarjeta */
body .wc-block-components-product-button .wc-block-components-product-button__button,
body .wp-block-woocommerce-product-button.wc-block-components-product-button .wc-block-components-product-button__button {
	padding-left: 12px !important;
	padding-right: 12px !important;
	white-space: nowrap;
}
body .ns-shop .wc-block-components-product-button__button,
body .ns-salegrid .wc-block-components-product-button__button { width: 100% !important; }
body .nothing-carousel .wc-block-components-product-button__button { width: min(198px, 100%) !important; }
@media (max-width: 767px) {
	body .nothing-carousel .wc-block-components-product-button__button { width: 275px !important; max-width: 100%; }
}

/* Tarjetas: el botón llena la tarjeta (más específico que la regla general) */
html body .wc-block-components-product-button__button.wp-element-button.wp-element-button,
html body .wc-block-components-product-button__button.wc-block-components-product-button__button {
	padding-left: 12px !important;
	padding-right: 12px !important;
}
html body .ns-shop .wc-block-components-product-button__button.wc-block-components-product-button__button,
html body .ns-salegrid .wc-block-components-product-button__button.wc-block-components-product-button__button { width: 100% !important; }
html body .nothing-carousel .wc-block-components-product-button__button.wc-block-components-product-button__button { width: min(198px, 100%) !important; }
@media (max-width: 767px) {
	html body .nothing-carousel .wc-block-components-product-button__button.wc-block-components-product-button__button { width: 275px !important; max-width: 100% !important; }
}
/* Buscadores dentro del contenido (carrito vacío, 404…): mismo botón */
html body main .wp-block-search__button.wp-element-button {
	background: #919191 !important;
	color: #fff !important;
	border: 1px solid #919191 !important;
	border-radius: 50px !important;
	font-size: var(--ns-btn-fs) !important;
	font-weight: 500 !important;
	line-height: var(--ns-btn-lh) !important;
	padding: var(--ns-btn-pv) 40px !important;
	min-height: 0 !important;
}
html body main .wp-block-search__button.wp-element-button:hover { background: #000 !important; border-color: #000 !important; }

/* Refuerzo de especificidad para los botones de las tarjetas */
html body .wc-block-components-product-button__button:not(#ns) {
	padding-left: 12px !important;
	padding-right: 12px !important;
	text-transform: capitalize !important;
	white-space: nowrap;
}
html body .ns-shop .wc-block-components-product-button__button:not(#ns),
html body .ns-salegrid .wc-block-components-product-button__button:not(#ns) { width: 100% !important; }
html body .nothing-carousel .wc-block-components-product-button__button:not(#ns) { width: min(198px, 100%) !important; }
@media (max-width: 767px) {
	html body .nothing-carousel .wc-block-components-product-button__button:not(#ns) { width: 275px !important; max-width: 100% !important; }
}
/* Los botones nunca parten su texto en dos líneas */
body .ns-btn .wp-block-button__link,
body .wp-block-button__link.wp-element-button,
body .nothing-form button,
body .wp-element-button { white-space: nowrap !important; }
.ns-feature__intro .wp-block-buttons { flex-wrap: nowrap; }

/* Pie: 15 px más arriba y abajo */
.nothing-footer { padding-top: 55px !important; padding-bottom: 55px !important; }
@media (max-width: 767px) {
	.nothing-footer { padding-top: 47px !important; padding-bottom: 47px !important; }
}

/* =====================================================================
   PÁGINAS LEGALES: mismo formato en las seis
   (Imprint, Privacy, AGB, Shipping, Refund, Withdrawal)
   ===================================================================== */
.ns-legal .wp-block-post-content > .wp-block-group {
	padding-top: 80px !important;
	padding-bottom: 80px !important;
}
.ns-legal .wp-block-post-content > .wp-block-group > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.ns-legal .wp-block-post-content > .wp-block-group > p:empty { display: none; }
.ns-legal .wp-block-post-content h2 {
	font-size: 36px;
	font-weight: 600;
	line-height: 1.1;
	color: #000;
	margin: 0 0 30px !important;
}
.ns-legal .wp-block-post-content p,
.ns-legal .wp-block-post-content li {
	font-size: 20px;
	font-weight: 300;
	line-height: 1.5 !important;
	color: #000;
}
.ns-legal .wp-block-post-content > .wp-block-group > p + p,
.ns-legal .wp-block-post-content > .wp-block-group > p + ul,
.ns-legal .wp-block-post-content > .wp-block-group > p + ol,
.ns-legal .wp-block-post-content > .wp-block-group > ul + p,
.ns-legal .wp-block-post-content > .wp-block-group > ol + p { margin-top: 20px !important; }
.ns-legal .wp-block-post-content ul,
.ns-legal .wp-block-post-content ol { padding-left: 1.4em; }
.ns-legal .wp-block-post-content li + li { margin-top: 0; }
.ns-legal .wp-block-post-content strong { font-weight: 600; }
.ns-legal .wp-block-post-content a { color: #000; text-decoration: underline; }
@media (max-width: 1024px) {
	.ns-legal .wp-block-post-content > .wp-block-group { padding: 48px 0 !important; }
	.ns-legal .wp-block-post-content h2 { font-size: 28px; margin-bottom: 21px !important; }
	.ns-legal .wp-block-post-content p,
	.ns-legal .wp-block-post-content li { font-size: 14px; }
	.ns-legal .wp-block-post-content > .wp-block-group > p + p,
	.ns-legal .wp-block-post-content > .wp-block-group > p + ul,
	.ns-legal .wp-block-post-content > .wp-block-group > p + ol,
	.ns-legal .wp-block-post-content > .wp-block-group > ul + p,
	.ns-legal .wp-block-post-content > .wp-block-group > ol + p { margin-top: 14px !important; }
}

.ns-legal .wp-block-post-content > .wp-block-group > h2 { margin-bottom: 30px !important; }
.ns-legal .wp-block-post-content > .wp-block-group > * + h2,
.ns-legal .wp-block-post-content > .wp-block-group > * + ul,
.ns-legal .wp-block-post-content > .wp-block-group > * + ol,
.ns-legal .wp-block-post-content > .wp-block-group > ul + *,
.ns-legal .wp-block-post-content > .wp-block-group > ol + * { margin-top: 20px !important; }
.ns-legal .wp-block-post-content > .wp-block-group > h2 + * { margin-top: 0 !important; }
@media (max-width: 1024px) {
	.ns-legal .wp-block-post-content > .wp-block-group > h2 { margin-bottom: 21px !important; }
	.ns-legal .wp-block-post-content > .wp-block-group > * + h2,
	.ns-legal .wp-block-post-content > .wp-block-group > * + ul,
	.ns-legal .wp-block-post-content > .wp-block-group > * + ol,
	.ns-legal .wp-block-post-content > .wp-block-group > ul + *,
	.ns-legal .wp-block-post-content > .wp-block-group > ol + * { margin-top: 14px !important; }
	.ns-legal .wp-block-post-content > .wp-block-group > h2 + * { margin-top: 0 !important; }
}
.ns-legal .wp-block-post-content > .wp-block-group > p:empty + h2,
.ns-legal .wp-block-post-content > .wp-block-group > h2:first-child { margin-top: 0 !important; }
/* Párrafo vacío (<p><strong></strong></p>) al principio de algunas páginas: se oculta */
.ns-legal .wp-block-post-content > .wp-block-group > p:has(> strong:empty:only-child) { display: none !important; }
.ns-legal .wp-block-post-content > .wp-block-group > p:has(> strong:empty:only-child) + h2 { margin-top: 0 !important; }

/* =====================================================================
   MARGEN ARRIBA Y ABAJO = el de SHOP, en todas las páginas y en cada
   sección de la HOME: 122 px escritorio · 61 px tablet · 78 px móvil.
   ===================================================================== */
:root { --ns-v: 122px; }
@media (max-width: 1024px) { :root { --ns-v: 61px; } }
@media (max-width: 767px)  { :root { --ns-v: 78px; } }

.home .ns-hero,
.home .ns-why,
.home .ns-feature,
.home .ns-reviews,
.ns-about, .ns-contact, .ns-sale,
.ns-shop,
.ns-legal .wp-block-post-content > .wp-block-group,
body.single-product .wp-site-blocks > .wp-block-group.woocommerce.product,
body:not(.home):not(.ns-legal):not(:has(.ns-page)) .wp-site-blocks > main:not(.ns-shop) {
	padding-top: var(--ns-v) !important;
	padding-bottom: var(--ns-v) !important;
}

/* =====================================================================
   SHOP: menos separación entre productos, tarjetas más anchas y precios
   (tachado + final) uno al lado del otro.
   ===================================================================== */
.ns-shop .wc-block-product-template { gap: 80px 70px !important; }
.ns-shop .wc-block-components-product-price {
	white-space: nowrap;
	display: flex !important;
	justify-content: center;
	align-items: baseline;
	flex-wrap: nowrap;
	gap: 0 .4em;
}
.ns-shop .wc-block-components-product-price del,
.ns-shop .wc-block-components-product-price ins { display: inline !important; }
@media (max-width: 1024px) {
	.ns-shop .wc-block-product-template { gap: 70px 60px !important; }
}
@media (max-width: 767px) {
	.ns-shop .wc-block-product-template { gap: 40px 30px !important; }
}

/* SHOP: el Ø al tamaño del carrusel "Most exclusive" (119 px) centrado en
   su casilla cuadrada, y nombre y precio sin negrita. */
.ns-shop .wc-block-components-product-image { display: flex !important; align-items: center; justify-content: center; aspect-ratio: 1; }
.ns-shop .wc-block-components-product-image a { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; }
body .ns-shop .wc-block-components-product-image img:not(#ns) { width: 119px !important; height: 119px !important; max-width: 100%; }
@media (max-width: 767px) {
	body .ns-shop .wc-block-components-product-image img:not(#ns) { width: 50% !important; height: auto !important; }
}
.ns-shop .ns-shop__title,
.ns-shop .ns-shop__title a { font-weight: 400 !important; }
.ns-shop .wc-block-components-product-price,
.ns-shop .wc-block-components-product-price ins,
.ns-shop .wc-block-components-product-price .amount { font-weight: 400 !important; }
.ns-shop .wc-block-components-product-price del,
.ns-shop .wc-block-components-product-price del .amount { font-weight: 300 !important; }

/* =====================================================================
   Ø más cerca del texto: la casilla de la imagen ya no es cuadrada,
   mide lo que el Ø (más un pequeño margen donde hay fondo gris).
   ===================================================================== */
/* SHOP */
.ns-shop .wc-block-components-product-image { aspect-ratio: auto !important; height: auto !important; }
.ns-shop .wc-block-components-product-image a { height: auto !important; }
.ns-shop .ns-shop__title { margin-top: 10px !important; }

/* Carruseles de HOME */
.nothing-carousel .wc-block-components-product-image {
	aspect-ratio: auto !important;
	height: auto !important;
	padding: 0;
}
.nothing-carousel .wc-block-components-product-image a { height: auto !important; }
.ns-exclusive .nothing-carousel .wc-block-components-product-image { padding: 16px 0; }
body .nothing-carousel .wc-block-components-product-image img:not(#ns) { width: 119px !important; height: 119px !important; }
@media (max-width: 767px) {
	body .nothing-carousel .wc-block-components-product-image img:not(#ns) { width: 158px !important; height: 158px !important; }
}
.nothing-carousel .ns-card__title { margin-top: 10px !important; padding-top: 0 !important; }

/* v1.9.9 — Most exclusive: Ø a 10 px del texto (casilla gris ajustada) */
.ns-exclusive .nothing-carousel .wc-block-components-product-image { padding: 5px 0 !important; }
.ns-exclusive .nothing-carousel .ns-card__title { margin-top: 5px !important; }
/* Carruseles: nombre y precio sin bold (como SHOP) */
body .nothing-carousel .ns-card__title,
body .nothing-carousel .ns-card__title a,
body .nothing-carousel .wc-block-components-product-price,
body .nothing-carousel .wc-block-components-product-price ins,
body .nothing-carousel .wc-block-components-product-price .amount { font-weight: 400 !important; }
body .nothing-carousel .wc-block-components-product-price del,
body .nothing-carousel .wc-block-components-product-price del .amount { font-weight: 300 !important; }

/* SALE: Ø del mismo tamaño que en SHOP */
.ns-salegrid .wc-block-components-product-image { display: flex !important; align-items: center; justify-content: center; aspect-ratio: auto !important; height: auto !important; }
.ns-salegrid .wc-block-components-product-image a { display: flex !important; align-items: center; justify-content: center; width: 100%; height: auto !important; }
body .ns-salegrid .wc-block-components-product-image img:not(#ns) { max-width: 100%; width: 119px !important; height: 119px !important; }
@media (max-width: 767px) {
	body .ns-salegrid .wc-block-components-product-image img:not(#ns) { width: 50% !important; height: auto !important; }
}

/* Etiqueta SALE: mas pequena y sin ! en todas partes */
body .wc-block-components-product-sale-badge,
body.woocommerce span.onsale,
body .woocommerce span.onsale { font-size: 14px !important; line-height: 21px !important; padding: 2px 12px !important; min-height: 0 !important; min-width: 0 !important; }
body .wc-block-components-product-sale-badge__text::after { content: none !important; }
@media (max-width: 1024px) {
	body .wc-block-components-product-sale-badge,
	body.woocommerce span.onsale,
	body .woocommerce span.onsale { font-size: 12px !important; line-height: 18px !important; padding: 1px 8px !important; }
}

/* Banner de cookies (Complianz) con el estilo de la tienda */
body .cmplz-cookiebanner,
body .cmplz-cookiebanner * { font-family: Poppins, "Helvetica Neue", Arial, sans-serif !important; }
body .cmplz-cookiebanner { background: #d6d6d6 !important; color: #000 !important; border-radius: 0 !important; border: 0 !important; box-shadow: 0 10px 40px rgba(0,0,0,.18) !important; padding: 24px 28px !important; }
body .cmplz-cookiebanner .cmplz-title { color: #000 !important; font-size: 18px !important; font-weight: 600 !important; }
body .cmplz-cookiebanner .cmplz-message,
body .cmplz-cookiebanner .cmplz-message p { color: #000 !important; font-size: 13px !important; font-weight: 300 !important; line-height: 1.5 !important; }
body .cmplz-cookiebanner .cmplz-close { color: #000 !important; }
body .cmplz-cookiebanner .cmplz-btn { border-radius: 50px !important; border: 0 !important; font-size: 15px !important; font-weight: 500 !important; line-height: 22px !important; padding: 9px 20px !important; height: auto !important; transition: background .2s, color .2s !important; }
body .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: #000 !important; color: #fff !important; }
body .cmplz-cookiebanner .cmplz-btn.cmplz-deny,
body .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
body .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { background: rgb(145,145,145) !important; color: #fff !important; }
body .cmplz-cookiebanner .cmplz-btn:hover { background: #fff !important; color: #000 !important; box-shadow: inset 0 0 0 2px #000 !important; }
body .cmplz-cookiebanner .cmplz-links a,
body .cmplz-cookiebanner .cmplz-documents a,
body .cmplz-cookiebanner .cmplz-link { color: #000 !important; font-weight: 300 !important; text-decoration: underline !important; }
body .cmplz-cookiebanner .cmplz-links a:hover,
body .cmplz-cookiebanner .cmplz-link:hover { color: rgb(145,145,145) !important; }
body .cmplz-cookiebanner .cmplz-category { background: #fff !important; border-radius: 0 !important; }
body .cmplz-cookiebanner .cmplz-category-title { color: #000 !important; font-weight: 500 !important; }
body .cmplz-cookiebanner .cmplz-always-active { color: #000 !important; }
body .cmplz-cookiebanner input:checked + .cmplz-label:before,
body .cmplz-cookiebanner .cmplz-banner-checkbox input:checked + .cmplz-label:before { background: #000 !important; }
body #cmplz-manage-consent .cmplz-manage-consent { background: #000 !important; color: #fff !important; border-radius: 0 !important; font-family: Poppins, "Helvetica Neue", Arial, sans-serif !important; font-weight: 500 !important; box-shadow: none !important; }
body .cmplz-cookiebanner .cmplz-links,
body .cmplz-cookiebanner .cmplz-documents { display: none !important; }

/* Búsqueda a pantalla completa (como en thenothingshop.eu) */
.ns-search-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.ns-search-overlay.is-open { opacity: 1; visibility: visible; }
.ns-search-overlay__form { width: 70%; max-width: 1064px; margin: 0; }
.ns-search-overlay__input { width: 100%; box-sizing: border-box; background: transparent !important; border: 0 !important; border-bottom: 1px solid #fff !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important; color: #fff !important; font-family: Poppins, "Helvetica Neue", Arial, sans-serif; font-size: 22px; font-weight: 300; text-align: center; padding: 10px 0; -webkit-appearance: none; appearance: none; }
.ns-search-overlay__input::placeholder { color: rgba(255,255,255,.6); opacity: 1; }
.ns-search-overlay__input::-webkit-search-cancel-button { display: none; }
.ns-search-overlay__close { position: absolute; top: 30px; right: 40px; background: none; border: 0; padding: 0 10px; color: #fff; font-family: Poppins, sans-serif; font-size: 44px; font-weight: 300; line-height: 1; cursor: pointer; }
body.admin-bar .ns-search-overlay__close { top: 62px; }
body.ns-search-open { overflow: hidden; }
@media (max-width: 767px) {
	.ns-search-overlay__form { width: 85%; }
	.ns-search-overlay__input { font-size: 18px; }
	.ns-search-overlay__close { right: 16px; }
}

/* Resultados de búsqueda de productos (mismo grid que SHOP) */
.ns-search .ns-search__title { font-size: 40px !important; line-height: 1.2 !important; font-weight: 600; margin: 0 0 80px !important; }
@media (max-width: 767px) { .ns-search .ns-search__title { font-size: 28px !important; margin-bottom: 40px !important; } }

/* Mini carrito (cajón lateral): botones en una línea y nombre del producto en negrita sin subrayado */
.wc-block-mini-cart__footer-actions { gap: 10px !important; }
.wc-block-mini-cart__footer-actions .wc-block-components-button { flex: 1 1 0 !important; min-width: 0 !important; padding: 8px 14px !important; font-size: 16px !important; line-height: 24px !important; white-space: nowrap !important; }
.wc-block-mini-cart__footer-actions .wc-block-components-button__text { white-space: nowrap !important; }
.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name:hover,
.wc-block-mini-cart__drawer .wc-block-components-product-name:visited { font-weight: 600 !important; text-decoration: none !important; }
.wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description { display: none !important; }

/* Página Shopping basket: botón en una línea y nombre del producto en negrita sin subrayado */
.wc-block-cart__submit-button { padding: 10px 20px !important; white-space: nowrap !important; }
.wc-block-cart__submit-button .wc-block-components-button__text { white-space: nowrap !important; }
.wc-block-cart-item__wrap .wc-block-components-product-name,
.wc-block-cart-item__wrap .wc-block-components-product-name:hover,
.wc-block-cart-item__wrap .wc-block-components-product-name:visited { font-weight: 600 !important; text-decoration: none !important; }

/* Todos los botones: letra más pequeña (variables del sistema de botones del tema) y texto siempre en una sola línea */
:root { --ns-btn-fs: 16px; --ns-btn-lh: 24px; }
@media (max-width: 1024px) { :root { --ns-btn-fs: 14px; --ns-btn-lh: 21px; } }
body .wp-element-button:not(.wp-block-search__button),
body .wp-block-button__link,
body .wc-block-components-button,
body .woocommerce .button,
body a.button,
body button.button,
body input[type="submit"] { white-space: nowrap !important; }
body .wc-block-components-button__text { white-space: nowrap !important; }

/* Globito del canasto en el header: blanco, más pequeño, número negro */
body .wc-block-mini-cart__badge { background: #fff !important; color: #000 !important; border-color: #fff !important; min-width: 17px !important; width: auto !important; height: 17px !important; font-size: 11px !important; font-weight: 500 !important; line-height: 17px !important; padding: 0 4px !important; }

/* Ficha de producto: Ø del mismo tamaño que en ABOUT (200 px), centrado en su columna */
body.single-product .woocommerce-product-gallery__image { display: flex !important; justify-content: center; align-items: center; }
body.single-product .woocommerce-product-gallery__image > a { display: block; width: 200px; }
body.single-product .woocommerce-product-gallery__image img.wp-post-image { width: 200px !important; height: 200px !important; max-width: 100%; object-fit: contain; margin: 0 auto; }

/* Sin migas de pan (Home / Categoría / Producto) en toda la web */
body .wc-block-breadcrumbs,
body .wp-block-woocommerce-breadcrumbs,
body .woocommerce-breadcrumb { display: none !important; }

/* Ficha de producto: nombre del producto más pequeño */
body.single-product h1.wp-block-post-title { font-size: 40px !important; line-height: 1.2 !important; }
@media (max-width: 767px) { body.single-product h1.wp-block-post-title { font-size: 28px !important; } }

/* Ficha de producto: sin SKU ni categoría */
body.single-product .wp-block-woocommerce-product-meta,
body.single-product .product_meta { display: none !important; }

/* Ficha de producto: sin pestaña Description (la descripción ya sale junto al precio) */
body.single-product .wp-block-woocommerce-product-details,
body.single-product .woocommerce-tabs { display: none !important; }

/* Related products: Ø del mismo tamaño que en SHOP (119 px) */
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image { display: flex !important; align-items: center; justify-content: center; aspect-ratio: auto !important; height: auto !important; background: none !important; margin: 0 0 10px !important; }
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image a { display: flex !important; align-items: center; justify-content: center; width: 100%; height: auto !important; }
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image img:not(#ns) { width: 119px !important; height: 119px !important; max-width: 100%; aspect-ratio: 1 / 1 !important; object-fit: contain !important; background: none !important; border-radius: 0 !important; }
@media (max-width: 767px) {
	body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image img:not(#ns) { width: 50% !important; height: auto !important; }
}

/* Related products: etiqueta Sale igual que en SHOP */
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image { position: relative; }
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-sale-badge { position: absolute !important; top: 0 !important; left: 0 !important; right: auto !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: rgb(145,145,145) !important; color: #fff !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; z-index: 2; }

/* Nombres de producto en negrita en todos los listados (SHOP, SALE, búsqueda, carrusel, Related products) */
body .wc-block-product .wp-block-post-title,
body .wc-block-product .wp-block-post-title a { font-weight: 600 !important; }

/* SHOP: frase final + botón a Contact (tema NOTHING Proposal) */
.ns-shop .ns-shop__cta { margin-top: 60px !important; text-align: center; }
.ns-shop .ns-shop__cta-text { max-width: 760px; margin: 0 auto 30px !important; }
@media (max-width: 767px) { .ns-shop .ns-shop__cta { margin-top: 40px !important; } }

/* Popup de "mensaje enviado" (formulario de contacto) */
.ns-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; padding: 16px; }
.ns-modal.is-open { display: flex; }
.ns-modal__box { position: relative; background: #fff; color: #000; max-width: 480px; width: 100%; padding: 48px 40px 36px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.25); font-family: Poppins, "Helvetica Neue", Arial, sans-serif; }
.ns-modal__box p { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 300; color: #000; }
.ns-modal__box .ns-modal__title { font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.ns-modal__box .ns-modal__note { margin-bottom: 28px; }
.ns-modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 32px; line-height: 1; color: #000; cursor: pointer; padding: 4px 8px; }
body.ns-modal-open { overflow: hidden; }

/* Formulario de contacto: aviso de privacidad encima de Send */
.nothing-form .nothing-form__consent { display: block !important; margin: 18px 0 0; font-size: 15px; line-height: 1.5; font-weight: 300; cursor: pointer; }
.nothing-form .nothing-form__consent input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 18px; accent-color: #000; cursor: pointer; }
.nothing-form .nothing-form__consent a { color: #000; text-decoration: underline; }
.nothing-form .nothing-form__consent + button[type="submit"] { margin-top: 6px !important; }

/* Formulario de contacto: diseño minimalista (solo línea inferior, dos columnas) */
body .nothing-form { display: flex !important; flex-direction: column; gap: 14px !important; }
body .nothing-form .nothing-form__row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px 30px !important; margin: 0 !important; }
body .nothing-form input[type="text"],
body .nothing-form input[type="email"],
body .nothing-form input[type="tel"],
body .nothing-form select,
body .nothing-form textarea { display: block; width: 100% !important; box-sizing: border-box; margin: 0 !important; padding: 8px 0 !important; height: auto !important; border: 0 !important; border-bottom: 2px solid #000 !important; border-radius: 0 !important; background: transparent !important; background-image: none !important; box-shadow: none !important; outline: none !important; font-family: Poppins, "Helvetica Neue", Arial, sans-serif !important; font-size: 17px !important; font-weight: 300 !important; line-height: 1.5 !important; color: #000 !important; transition: box-shadow .2s; }
body .nothing-form input::placeholder,
body .nothing-form textarea::placeholder { color: #919191; opacity: 1; }
body .nothing-form input[type]:focus,
body .nothing-form select:focus,
body .nothing-form textarea:focus { box-shadow: 0 2px 0 0 #000 !important; }
body .nothing-form select { -webkit-appearance: none; appearance: none; padding-right: 24px !important; cursor: pointer; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 2px center !important; }
body .nothing-form select:invalid { color: #919191 !important; }
body .nothing-form select option { color: #000; }
body .nothing-form textarea { min-height: 130px; resize: vertical; }
body .nothing-form .nothing-form__consent { margin: 6px 0 0 !important; font-size: 14px !important; color: #919191; }
body .nothing-form .nothing-form__consent a { color: #919191 !important; }
body .nothing-form .nothing-form__consent + button[type="submit"] { margin-top: 0 !important; align-self: flex-start; }
@media (max-width: 600px) {
	body .nothing-form .nothing-form__row { grid-template-columns: 1fr; }
}

/* ===== Botón ON/OFF del menú: apagado tipo televisor de tubo (ver site.js) ===== */
html.ns-crt-on { overflow: hidden; }
html.ns-crt-on body { animation: ns-crt-flash 0.28s ease-in forwards; pointer-events: none; }
@keyframes ns-crt-flash { to { filter: brightness(2.2) contrast(1.3); } }
.ns-crt { position: fixed; inset: 0; z-index: 2147483647; pointer-events: none; }
.ns-crt__top, .ns-crt__bottom { position: absolute; left: 0; right: 0; height: 0; background: #000; animation: ns-crt-close 0.28s cubic-bezier(0.6, 0, 0.9, 0.4) forwards; }
.ns-crt__top { top: 0; }
.ns-crt__bottom { bottom: 0; }
@keyframes ns-crt-close { to { height: 50%; } }
.ns-crt__line { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: #fff; box-shadow: 0 0 18px 4px rgba(255, 255, 255, 0.9); opacity: 0; animation: ns-crt-line 0.9s linear 0.24s forwards; }
@keyframes ns-crt-line {
	0%   { opacity: 1; transform: scale(1, 1); }
	30%  { opacity: 1; transform: scale(0.004, 1.6); }
	45%  { opacity: 1; transform: scale(0.004, 1); }
	100% { opacity: 0; transform: scale(0.002, 0.6); }
}

/* Encendido inverso (la home, al llegar desde el botón ON/OFF): punto → línea → imagen. */
html.ns-crt-boot::after { content: ""; position: fixed; inset: 0; background: #000; z-index: 2147483647; }
html.ns-crt-boot-anim { overflow: hidden; }
html.ns-crt-boot-anim body { animation: ns-crt-unflash 0.5s ease-out 0.62s both; }
@keyframes ns-crt-unflash { from { filter: brightness(2.2) contrast(1.3); } to { filter: none; } }
.ns-crt--on .ns-crt__top,
.ns-crt--on .ns-crt__bottom { height: 50%; animation: ns-crt-open 0.32s cubic-bezier(0.1, 0.6, 0.4, 1) 0.62s forwards; }
@keyframes ns-crt-open { from { height: 50%; } to { height: 0; } }
.ns-crt--on .ns-crt__line { animation: ns-crt-line-on 0.85s linear forwards; }
@keyframes ns-crt-line-on {
	0%   { opacity: 0; transform: scale(0.002, 0.6); }
	25%  { opacity: 1; transform: scale(0.004, 1); }
	65%  { opacity: 1; transform: scale(1, 1.6); }
	75%  { opacity: 1; transform: scale(1, 1); }
	100% { opacity: 0; transform: scale(1, 1); }
}

/* Cabecera (desktop): el menú va pegado al carrito, a la misma distancia (25 px)
   que hay entre los puntos del menú (30 px de hueco de la fila - 5 px). */
@media (min-width: 768px) {
	.nothing-header__row > .nothing-nav { justify-content: flex-end; --navigation-layout-justification-setting: flex-end; --navigation-layout-justify: flex-end; }
	.nothing-header__row > .nothing-nav .wp-block-navigation__container,
	.nothing-header__row > .nothing-nav .wp-block-navigation__responsive-container-content { justify-content: flex-end; }
	.nothing-header__row > .nothing-header__icons { margin-left: -5px; }
}

/* Móvil: los sliders de la portada, centrados. Cada tarjeta (y su imagen) mide
   exactamente el ancho del carrusel, en vez de 315 px fijos que se salían por la derecha. */
@media (max-width: 767px) {
	.ns-feature .nothing-carousel { container-type: inline-size; }
	.ns-feature .nothing-carousel .wc-block-product-template > li {
		flex: 0 0 100cqw !important;
		width: 100cqw !important;
		max-width: none !important;
	}
	.ns-feature .nothing-carousel .wc-block-components-product-image { width: 100%; }
}

/* Móvil: en el footer, la columna de redes + © + "by MINIMO WebDesign" pasa abajo
   del todo, separada de los enlaces legales por un espacio. */
@media (max-width: 781px) {
	.nothing-footer .wp-block-columns > .nothing-footer__col:first-child {
		order: 1;
		margin-top: 30px !important;
	}
}

/* Móvil: en la tienda, el signo Ø de cada producto algo más grande (70 % en vez de 50 %). */
@media (max-width: 767px) {
	body .ns-shop .wc-block-components-product-image img:not(#ns) { width: 70% !important; }
}

/* Móvil: el bloque final de la tienda ("Don't complain get involved!") va en un recuadro
   gris claro, y el botón ocupa el ancho del recuadro sin salirse de los márgenes. */
@media (max-width: 767px) {
	.ns-shop .ns-shop__cta {
		--ns-btn-ph: 20px;
		background: #f3f5f8;
		padding: 34px 22px 38px !important;
	}
	.ns-shop .ns-shop__cta .wp-block-button { width: 100%; }
	.ns-shop .ns-shop__cta .wp-block-button__link { display: block; width: 100%; text-align: center; }
}

/* Salto de línea solo en móvil (p. ej. "Don't complain / get involved!" en la tienda). */
@media (min-width: 768px) {
	.ns-br-mobile { display: none; }
}
/* Móvil, tienda: recuadro final con esquinas redondeadas y algo más de aire entre filas
   de productos (el botón "Add To Cart" y el Ø del producto de abajo). */
@media (max-width: 767px) {
	.ns-shop .ns-shop__cta { border-radius: 20px; }
	.ns-shop .ns-shop__cta .ns-shop__cta-title { margin-bottom: 14px !important; }
	.ns-shop .wc-block-product-template { row-gap: 60px !important; }
}

/* Hamburguesa del menú (móvil y tablet): tan alta como las letras del logo, algo más
   estrecha y con las barras redondeadas (3 barras de 3 px separadas 7 px). */
@media (max-width: 1024px) {
	.nothing-nav .wp-block-navigation__responsive-container-open::before {
		width: 18px;
		height: 3px;
		border-radius: 3px;
		background: currentColor;
		box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
	}
}

/* Cabecera: bolsa del carrito más redondeada (cuerpo con esquinas de 4,5 y asa redonda). */
.nothing-header .wc-block-mini-cart__icon {
	--ns-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.6 10V6.1a4.4 4.4 0 0 1 8.8 0V10' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3Crect x='2.5' y='8' width='19' height='16' rx='4.5'/%3E%3C/svg%3E");
}
/* Móvil: logo, hamburguesa y carrito con la misma altura (17 px: la de las mayúsculas
   del logo) y alineados en la misma línea. */
@media (max-width: 767px) {
	.nothing-logo__img { height: 35px; }
	.nothing-header .wc-block-mini-cart__icon { width: 17px; height: 17px; }
	.nothing-header .nothing-header__icons { position: relative; top: 3px; }
}

/* Móvil: hamburguesa un poco más pequeña (16 x 15 px) y cabecera con algo más de
   margen interior arriba y abajo (+10 px) cuando no se ha hecho scroll. */
@media (max-width: 767px) {
	.nothing-nav .wp-block-navigation__responsive-container-open::before {
		width: 16px;
		box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
	}
	body:not(.ns-scrolled) .nothing-header { padding-top: 31px !important; padding-bottom: 26px !important; }
}

/* Móvil: en "Top 10 selling NOTHINGS" las flechas del slider sin fondo gris, para que
   no tapen el Ø en pantallas estrechas (como ya pasa en "Most exclusive"). */
@media (max-width: 767px) {
	.ns-feature.ns-top .ns-car__arrow { background: transparent; }
}

/* Móvil y tablet (secciones apiladas): los sliders de la portada, separados 40 px del
   texto o botón de arriba (antes 14 px en móvil y 4 px en tablet). */
@media (max-width: 1200px) {
	.ns-feature > .ns-feature__intro { margin-bottom: 40px !important; }
}

/* Móvil: logo centrado respecto a la pantalla (antes se centraba entre la hamburguesa
   y el carrito, que no miden lo mismo, y quedaba ~6 px a la derecha). */
@media (max-width: 767px) {
	.nothing-header__row { position: relative; }
	.nothing-header__row > .nothing-logo {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		flex: none;
	}
}

/* Móvil: hamburguesa 1 px más arriba. */
@media (max-width: 767px) {
	.nothing-nav .wp-block-navigation__responsive-container-open { position: relative; top: -1px; }
}

/* Móvil ("Why Shop NOTHING?" en una columna): espacios uniformes medidos sobre el dibujo
   de cada icono, con iconos de 190 px (los PNG tienen distinto margen transparente):
   - 60 px desde el título o el texto de arriba hasta el dibujo del icono;
   - 24 px desde el dibujo del icono hasta su título (la distancia de "More Space"). */
@media (max-width: 781px) {
	.ns-why .ns-why__item img { width: 190px !important; height: 190px !important; }
	.ns-why .ns-why__item:nth-child(1) .wp-block-image { margin-top: -36px !important; }
	.ns-why .ns-why__item:nth-child(2) .wp-block-image { margin-top: -22px !important; }
	.ns-why .ns-why__item:nth-child(3) .wp-block-image { margin-top: -16px !important; }
	.ns-why .ns-why__item:nth-child(4) .wp-block-image { margin-top: -34px !important; }
	.ns-why .ns-why__item:nth-child(1) .ns-why__title { margin-top: -14px !important; }
	.ns-why .ns-why__item:nth-child(2) .ns-why__title { margin-top: 14px !important; }
	.ns-why .ns-why__item:nth-child(3) .ns-why__title { margin-top: 20px !important; }
	.ns-why .ns-why__item:nth-child(4) .ns-why__title { margin-top: 2px !important; }
}

/* Móvil, primera sección de la portada: Ø algo más pequeño (190 px en vez de 210) y
   un poco más cerca del header (64 px en vez de 78). */
@media (max-width: 767px) {
	.ns-hero.ns-hero { padding-top: 64px !important; }
	.ns-hero .ns-hero__media img { width: 190px !important; height: 190px !important; }
}

/* ===== La web nunca se desborda en horizontal: siempre al 100 % del ancho, sin poder
   moverla hacia los lados. "clip" en <body> no rompe la cabecera fija (sticky). ===== */
html { overflow-x: hidden; }
body { overflow-x: clip; }
/* Móvil: campos con letra de 16 px para que iOS no haga zoom (y desplace la página)
   al tocarlos (cantidad del carrito, búsqueda). */
@media (max-width: 767px) {
	input[type="number"], input[type="search"], input[name="s"] { font-size: 16px !important; }
}

/* ===== Menú móvil: se abre como un televisor de tubo al encenderse: una línea blanca
   en el centro que se estira de lado a lado, la pantalla negra se abre desde ella y los
   puntos del menú aparecen uno tras otro con un pequeño parpadeo. ===== */
@media (max-width: 1024px) {
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open {
		animation: ns-menu-open 0.55s cubic-bezier(0.2, 0.9, 0.25, 1) both !important;
	}
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 50%;
		height: 2px;
		margin-top: -1px;
		background: #fff;
		box-shadow: 0 0 18px 4px rgba(255, 255, 255, 0.85);
		pointer-events: none;
		animation: ns-menu-line 0.55s ease-out both;
	}
	.nothing-nav .is-menu-open .wp-block-navigation-item {
		animation: ns-menu-item 0.5s ease-out both;
	}
	.nothing-nav .is-menu-open .wp-block-navigation-item:nth-child(1) { animation-delay: 0.38s; }
	.nothing-nav .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: 0.45s; }
	.nothing-nav .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: 0.52s; }
	.nothing-nav .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: 0.59s; }
	.nothing-nav .is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: 0.66s; }
	.nothing-nav .is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: 0.73s; }
	.nothing-nav .is-menu-open .wp-block-navigation__responsive-container-close {
		animation: ns-menu-item 0.4s ease-out 0.5s both;
	}
}
@keyframes ns-menu-open {
	0%   { clip-path: inset(50% 50% 50% 50%); }
	35%  { clip-path: inset(calc(50% - 2px) 0 calc(50% - 2px) 0); }
	100% { clip-path: inset(0 0 0 0); }
}
@keyframes ns-menu-line {
	0%   { transform: scaleX(0); opacity: 1; }
	35%  { transform: scaleX(1); opacity: 1; }
	70%  { transform: scaleX(1) scaleY(0.5); opacity: 0.6; }
	100% { transform: scaleX(1) scaleY(0.5); opacity: 0; }
}
@keyframes ns-menu-item {
	0%   { opacity: 0; transform: translateY(12px); letter-spacing: 0.25em; }
	55%  { opacity: 1; }
	65%  { opacity: 0.35; }
	75%  { opacity: 1; }
	100% { opacity: 1; transform: none; letter-spacing: normal; }
}
@media (prefers-reduced-motion: reduce) {
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open,
	.nothing-nav .is-menu-open .wp-block-navigation-item,
	.nothing-nav .is-menu-open .wp-block-navigation__responsive-container-close { animation: none !important; }
	.nothing-nav .wp-block-navigation__responsive-container.is-menu-open::after { display: none; }
}

/* Móvil: en el footer, los iconos de redes algo separados de la línea de abajo (©). */
@media (max-width: 781px) {
	.nothing-footer .nothing-footer__social { margin-bottom: 6px !important; }
}

/* Móvil: logo con las mayúsculas tan altas como la hamburguesa (15 px) y alineado con ella. */
@media (max-width: 767px) {
	.nothing-logo__img { height: 30.5px !important; }
	.nothing-header__row > .nothing-logo { transform: translate(-50%, calc(-50% - 1.5px)); }
}

/* Móvil: tamaños finales de la cabecera, alineados al centro de la misma línea:
   logo 17 px (altura de las mayúsculas), hamburguesa 16 px y carrito 19 px.
   (Sustituye a los tamaños anteriores de más arriba.) */
@media (max-width: 767px) {
	.nothing-logo__img { height: 34.8px !important; }
	.nothing-header__row > .nothing-logo { transform: translate(-50%, -50%); }
	.nothing-nav .wp-block-navigation__responsive-container-open::before {
		width: 17px;
		box-shadow: 0 -6.5px 0 currentColor, 0 6.5px 0 currentColor;
	}
	.nothing-header .wc-block-mini-cart__icon { width: 19px; height: 19px; }
	.nothing-header .nothing-header__icons { top: 2.5px; }
}

/* Portada: "NOTHINGS" de los títulos "Most exclusive NOTHINGS" y "Top 10 selling NOTHINGS"
   sin cursiva. */
.ns-feature__title em { font-style: normal; }

/* Footer: logo pequeño encima de "Imprint", algo separado del enlace. */
.nothing-footer .nothing-footer__logo { margin: 0 0 14px !important; text-align: center; line-height: 0; }
.nothing-footer .nothing-footer__logo img { display: inline-block; height: 25px; width: auto; }
/* El logo del footer solo se ve en móvil (footer en una columna). */
@media (min-width: 782px) {
	.nothing-footer .nothing-footer__logo { display: none !important; }
}

/* Carrito desplegable: botón de cerrar redondo, gris como los botones de la web, con una
   X de barras redondeadas como la hamburguesa; al pasar el ratón se pone negro y gira. */
.wc-block-mini-cart__drawer .wc-block-components-drawer__close {
	top: 22px !important;
	right: 16px !important;
	width: 38px;
	height: 38px;
	min-height: 0;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #919191 !important;
	color: #fff !important;
	opacity: 1 !important;
	transition: background-color 0.2s, transform 0.25s;
}
.wc-block-mini-cart__drawer .wc-block-components-drawer__close svg { display: none; }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close::before,
.wc-block-mini-cart__drawer .wc-block-components-drawer__close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 3px;
	margin: -1.5px 0 0 -8px;
	border-radius: 3px;
	background: currentColor;
	transform: rotate(45deg);
}
.wc-block-mini-cart__drawer .wc-block-components-drawer__close::after { transform: rotate(-45deg); }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close:hover { background: #000 !important; transform: rotate(90deg); }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close:focus,
.wc-block-mini-cart__drawer .wc-block-components-drawer__close:focus-visible { outline: none; box-shadow: none; }
