/* mz-mejoras.css — capa visual de la tienda de moztue, según el Manual de marca 2026.
   Se carga la ÚLTIMA. No cambia lógica: solo estilos. Quitarla = volver al diseño anterior.
   Reglas del manual: radio 0, sin sombras, borde 1px #E6E6E6, Amiko (títulos/etiquetas) + Lato (texto),
   negro #0B0B0B, gris tinta #333, gris texto #777, gris fondo #F3F3F3, dorado #BEA163 solo de acento. */

:root {
  --mz-negro: #0b0b0b;
  --mz-tinta: #333333;
  --mz-texto: #6b6b6b;      /* #777 del manual, un punto más oscuro: 5,3:1 sobre blanco (el #777 da 4,5:1) */
  --mz-fondo: #f3f3f3;
  --mz-linea: #e6e6e6;
  --mz-oro: #bea163;
  --mz-oro-texto: #85702f;  /* dorado legible sobre blanco (5,2:1) para texto pequeño */
  --wd-title-font: "Amiko", "Lato", Arial, sans-serif;
  --wd-widget-title-font: "Amiko", "Lato", Arial, sans-serif;
  --wd-entities-title-font: "Lato", Arial, sans-serif;
  --wd-title-font-weight: 600;
  --wd-widget-title-font-weight: 600;
  --wd-brd-radius: 0px;
  --wd-form-brd-radius: 0px;
}

/* ---------- Base ---------- */
body { color: var(--mz-texto); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--mz-negro); outline-offset: 2px;
}
html body :is(button, .button, input, select, textarea, .wd-action-btn > a, .wd-buttons a, .onsale, .product-label) { border-radius: 0 !important; }
@media (prefers-reduced-motion: reduce) { html body *, html body *::before, html body *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Títulos: Amiko 600, mayúsculas, interletrado ---------- */
html body :is(.title, .mzstore-title-container, .woodmart-title-container, .wd-title, h1.product_title, .shop-title, .page-title .title, .cart_totals h2, .widget-title) {
  font-family: "Amiko", "Lato", Arial, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
}
html body :is(h1.product_title, .single-product-page .mzstore-title-container) { color: var(--mz-negro); }
html body h1.product_title { font-size: clamp(1.25rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.3; letter-spacing: 0.14em; margin-bottom: 0.75rem; }

/* ---------- Cabecera ---------- */
html body .whb-header { border-bottom-color: var(--mz-linea); box-shadow: none; }
html body .whb-sticky-shadow.whb-sticked, html body .whb-header .whb-sticked { box-shadow: none !important; border-bottom: 1px solid var(--mz-linea); }
html body .wd-nav > li > a, html body .whb-header .wd-header-nav .wd-nav-main > li > a {
  font-family: "Amiko", "Lato", Arial, sans-serif; font-weight: 600; letter-spacing: 0.16em; font-size: 12px; text-transform: uppercase;
}
html body .wd-nav > li:hover > a, html body .wd-nav > li.current-menu-item > a, html body .wd-nav > li.wd-active > a { color: var(--mz-oro-texto); }
html body .whb-overcontent .wd-nav > li:hover > a, html body .whb-overcontent .wd-nav > li.current-menu-item > a { color: var(--mz-oro) !important; }
/* Portada: la cabecera transparente se pierde sobre la foto clara → velo oscuro suave detrás del menú (el manual lo prescribe sobre fotos). */
html body.home .whb-overcontent:not(.whb-sticked) .whb-general-header { background: linear-gradient(to bottom, rgba(11,11,11,0.6), rgba(11,11,11,0)); }
html body.home .whb-overcontent:not(.whb-sticked) :is(.wd-nav > li > a, .wd-tools-element > a, .wd-tools-element .wd-tools-text, .wd-tools-element .wd-tools-icon, .wd-header-my-account a, .wd-header-search a, .wd-header-wishlist a, .wd-header-cart a, .wd-header-mobile-nav a) { color: #fff !important; }

/* ---------- Botones: principal negro sólido, secundario contorno (Amiko mayúsculas, tracking 3px) ---------- */
html body :is(.single_add_to_cart_button, .checkout-button, .wd-button-wrapper .btn, .mzb-button, .elementor-button, .button.alt, .wd-load-more, a.button.alt) {
  font-family: "Amiko", "Lato", Arial, sans-serif; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 12px;
  box-shadow: none !important; border-radius: 0 !important; min-height: 44px; transition: background-color .2s, color .2s, border-color .2s;
}
html body :is(.single_add_to_cart_button, .checkout-button, a.button.alt, .button.alt):not(.disabled) {
  background: var(--mz-negro) !important; color: #fff !important; border: 1px solid var(--mz-negro) !important;
}
html body :is(.single_add_to_cart_button, .checkout-button, a.button.alt, .button.alt):not(.disabled):hover { background: #fff !important; color: var(--mz-negro) !important; }
html body :is(.single_add_to_cart_button, .button.alt).disabled { background: var(--mz-fondo) !important; color: #6b6b6b !important; border: 1px solid var(--mz-linea) !important; cursor: not-allowed; opacity: 1 !important; }
html body .wd-load-more, html body .btn-load-more { background: transparent; color: var(--mz-negro); border: 1px solid var(--mz-negro); padding: 0 2rem; }
html body .wd-load-more:hover, html body .btn-load-more:hover { background: var(--mz-negro); color: #fff; }
/* Botón dorado de la portada («CATALOGO») → principal negro. */
html body.home .mzb-button-wrapper .mzb-button.mzb-button-link:not(.mzb-size-xs) { box-shadow: none; }

/* ---------- Rejilla de la tienda ---------- */
html body .products.wd-products { row-gap: 2.5rem; }
html body .wd-product .product-element-top { background: var(--mz-fondo); }
html body .wd-product .product-image-link { display: block; background: var(--mz-fondo); aspect-ratio: 3 / 4; overflow: hidden; }
html body .wd-product .product-image-link img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4 !important; transition: transform .5s ease, opacity .4s ease; }
html body .wd-product:hover .product-image-link img { transform: scale(1.03); }
html body .wd-product .product-element-bottom { padding: 0.9rem 0.25rem 0; text-align: center; }
html body .wd-product .wd-entities-title, html body .wd-product .wd-entities-title a {
  font-family: "Lato", Arial, sans-serif; font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--mz-tinta); line-height: 1.4;
}
html body .wd-product .wd-product-cats, html body .wd-product .wd-product-cats a { font-size: 12px; color: var(--mz-texto); letter-spacing: 0.04em; }
/* Precio: Lato 700 sin decoración. Rebaja: anterior tachado en gris, vigente en tinta, «-N %» en dorado legible. */
html body :is(.price, .wd-product .price) { font-family: "Lato", Arial, sans-serif; font-weight: 700; font-size: 15px; color: var(--mz-tinta); font-variant-numeric: tabular-nums; }
html body :is(.price) :is(.amount, bdi, ins) { color: inherit; font-weight: 700; text-decoration: none; background: none; }
html body :is(.price) del { color: var(--mz-texto); font-weight: 400; opacity: 1; margin-right: 0.4em; }
html body :is(.price) del :is(.amount, bdi) { color: var(--mz-texto); font-weight: 400; }
html body .summary .price, html body p.price { font-size: 1.35rem; }
/* Insignia de rebaja: cuadrada, sin sombra, fondo negro, texto blanco; pequeña. */
html body .product-labels { top: 0.75rem; left: 0.75rem; }
html body .product-labels .onsale, html body .product-label.onsale {
  display: inline-block; width: auto; height: auto; min-width: 0; line-height: 1; padding: 0.4rem 0.6rem; margin: 0;
  background: var(--mz-negro); color: #fff; font-family: "Lato", Arial, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; border-radius: 0; box-shadow: none;
}
html body .labels-rounded .product-label { border-radius: 0 !important; }
/* Acciones de la tarjeta: cuadradas, planas, con borde. */
html body .wd-hover-icons .wd-buttons .wd-action-btn > a, html body .wd-hover-icons .wd-add-btn > a {
  background: #fff; color: var(--mz-negro); border: 1px solid var(--mz-linea); box-shadow: none; border-radius: 0;
}
html body .wd-hover-icons .wd-buttons .wd-action-btn > a:hover { background: var(--mz-negro); color: #fff; border-color: var(--mz-negro); }

/* Barra de la tienda (Mostrar / Orden) */
html body .wd-shop-tools, html body .shop-loop-head { border-bottom: 1px solid var(--mz-linea); padding-bottom: 0.75rem; margin-bottom: 1.5rem; }
html body .wd-products-per-page a, html body .wd-products-per-page span { letter-spacing: 0.04em; }
html body .wd-products-per-page .per-page-title, html body .wd-products-per-page .per-page-title * { color: var(--mz-texto); }
html body .wd-products-per-page .current-per-page { color: var(--mz-negro); font-weight: 700; }
html body :is(.wd-breadcrumbs, .mzc-breadcrumb) { font-size: 12px; letter-spacing: 0.06em; }
/* Menú de categorías: negro con Amiko */
html body .wd-nav-product-cat, html body .wd-nav-product-cat > li > a, html body .shop-title-categories a {
  font-family: "Amiko", "Lato", Arial, sans-serif; letter-spacing: 0.16em; font-size: 12px; font-weight: 600;
}

/* ---------- Ficha de producto ---------- */
html body .single-product-page .mzb-top-column.mzb-col-50:first-child { padding-right: clamp(0px, 2vw, 2.5rem); }
html body .single-product-page .summary-inner, html body .single-product-page .mzb-col-50:last-child > .mzb-widget-wrap { padding-left: clamp(0px, 1vw, 1.5rem); }
html body .variations th.label, html body .variations .label label { font-family: "Amiko", "Lato", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mz-negro); }
html body .wd-swatches-product .wd-swatch.wd-text {
  display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; height: auto !important;
  min-width: 44px !important; min-height: 44px !important; padding: 0 0.75rem; line-height: 1; border-radius: 0 !important;
  border: 1px solid var(--mz-linea); color: var(--mz-negro); background: #fff; font-weight: 600;
}
html body .wd-swatches-product { gap: 10px; }
html body .wd-swatches-product .wd-swatch.wd-bg { width: 32px !important; height: 32px !important; }
html body .wd-swatch.wd-active, html body .wd-swatch.wd-text.wd-active { border-color: var(--mz-negro); box-shadow: inset 0 0 0 1px var(--mz-negro); }
html body .wd-swatch.wd-disabled, html body .wd-swatch.wd-text.wd-disabled { color: #9a9a9a; text-decoration: line-through; opacity: 1; }
html body .quantity :is(input.qty, .minus, .plus) { border: 1px solid var(--mz-linea); min-height: 44px; background: #fff; color: var(--mz-negro); }
html body .product_meta { border-top: 1px solid var(--mz-linea); padding-top: 1rem; font-size: 13px; }
html body .product_meta .sku_wrapper:has(.sku:empty), html body .product_meta .sku_wrapper:has(.sku[data-vacio]) { display: none; }
html body .wd-social-icons { margin-top: 0.5rem; }
html body .single-product-page .wd-action-btn.wd-style-text > a { letter-spacing: 0.04em; font-size: 13px; color: var(--mz-tinta); }
/* Pestañas: línea dorada fina, título Amiko */
html body .wd-accordion-title .nav-link, html body .tabs-layout-tabs .wd-nav-tabs > li > a { font-family: "Amiko", "Lato", sans-serif; letter-spacing: 0.16em; font-weight: 600; text-transform: uppercase; font-size: 12px; }
html body :is(.shop_attributes, .wd-attrs) th { font-weight: 600; color: var(--mz-negro); }
html body :is(.shop_attributes, .wd-attrs) :is(th, td) { border-color: var(--mz-linea); padding: 0.85rem 0; }
/* Relacionados */
html body .single-product-page .mzstore-title-container.title { font-size: 14px; }
html body .single-product-page .mzstore-title-container.title::after { background: var(--mz-oro); }

/* ---------- Portada ---------- */
html body.home .mzb-heading-title { font-family: "Amiko", "Lato", sans-serif; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; color: var(--mz-negro); }
html body.home .wd-tabs .wd-nav-tabs > li > a, html body.home .wd-nav-tabs a { font-family: "Amiko", "Lato", sans-serif; letter-spacing: 0.16em; font-weight: 600; text-transform: uppercase; font-size: 12px; }
/* Reserva gris detrás de las fotos que cargan al hacer scroll: evita el salto de diseño y los huecos blancos. */
html body.home .wd-product .product-image-link { background: var(--mz-fondo); }

/* ---------- Carrito ---------- */
html body .wd-checkout-steps, html body .mzc-checkout-steps { font-family: "Amiko", "Lato", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; }
html body .cart-empty { font-family: "Amiko", "Lato", sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--mz-negro); }
html body .wd-empty-page-text { max-width: 32rem; margin: 0 auto 1.5rem; text-align: center; font-size: 15px; line-height: 1.7; color: var(--mz-texto); }
html body .return-to-shop .button, html body .return-to-shop a.button { background: var(--mz-negro); color: #fff; border: 1px solid var(--mz-negro); }
html body .return-to-shop .button:hover { background: #fff; color: var(--mz-negro); }

/* ---------- Pie de página ---------- */
html body footer.wd-footer { border-top: 1px solid var(--mz-linea); }
html body footer.wd-footer :is(p, li, span, a) { line-height: 1.7; }
html body footer.wd-footer a:hover { color: var(--mz-oro-texto); }

/* ---------- Móvil ---------- */
@media (max-width: 1024px) {
  html body .wd-toolbar { border-top: 1px solid var(--mz-linea); box-shadow: none; }
  html body .wd-toolbar .wd-toolbar-label { font-family: "Amiko", "Lato", sans-serif; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
  html body.single-product, html body .single-product-page { padding-bottom: 72px; }
  html body .products.wd-products { row-gap: 1.75rem; }
  html body .wd-product .product-element-bottom { padding-top: 0.6rem; }
  html body .wd-product .wd-entities-title { font-size: 13px; }
}

/* Ficha en pantallas anchas: más foto, información en la columna derecha; el contenedor aprovecha el ancho (≥1280). */
@media (min-width: 1025px) {
  html body .single-product-page .mzb-top-section > .mzb-container { max-width: min(1320px, 94vw); }
  html body .single-product-page .mzb-top-column.mzb-col-50:first-child { width: 56%; }
  html body .single-product-page .mzb-top-column.mzb-col-50:last-child { width: 44%; }
}
/* Títulos de sección del pie (texto en mayúsculas): alineados a la izquierda con su contenido. */
@media (min-width: 1025px) { html body footer.wd-footer .mz-ft-title { text-align: left; } }

/* Bloque de contacto de /contacto/ (completa la columna que solo traía el título). */
.mz-contacto { display: grid; gap: 1.5rem; padding-top: 1.25rem; }
.mz-contacto__fila { display: grid; grid-template-columns: 28px 1fr; column-gap: 0.9rem; align-items: start; }
.mz-contacto__fila i { color: var(--mz-oro-texto); font-size: 18px; line-height: 1.4; text-align: center; }
.mz-contacto__t { font-family: "Amiko", "Lato", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mz-negro); margin: 0 0 0.35rem; }
.mz-contacto__d { margin: 0; font-size: 15px; line-height: 1.7; color: var(--mz-tinta); }
.mz-contacto__d a { color: var(--mz-negro); text-decoration: underline; text-decoration-color: var(--mz-oro); text-underline-offset: 3px; }
.mz-contacto__d a:hover { color: var(--mz-oro-texto); }
