/*
Theme Name: ONE Equipamiento Gastronómico
Theme URI: https://equipamientogastronomicoone.cl
Author: ONE Equipamiento Gastronómico
Description: Tema WooCommerce profesional para equipamiento de cocción, frío y cocina. Paleta corporativa roja, tienda con precios y carro activo.
Version: 15.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: one-equipamiento
*/

:root {
  color-scheme: light;
  color-scheme: only light;
  --one-red: #D71920;
  --one-red-dark: #A80F15;
  --one-black: #171717;
  --one-dark: #4A4A4A;
  --one-light: #F5F5F5;
  --one-white: #FFFFFF;
  --one-border: #E5E5E5;
  --one-shadow: 0 10px 32px rgba(23, 23, 23, .08);
  --one-radius: 8px;
  --one-width: 1180px;
  --one-header-width: 1760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; overflow-x: clip; }
body {
  margin: 0;
  width: 100%;
  min-width: 0;
  color: var(--one-black);
  background: var(--one-white);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.one-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.one-wrap { width: calc(100% - 48px); max-width: var(--one-width); min-width: 0; margin-inline: auto; }
.one-icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
/* Let grid and flex children shrink within the actual phone viewport. */
.one-wrap > *, .one-benefits-grid > *, .one-product-grid > *,
.one-category-grid > *, .one-service-grid > *, .one-footer-grid > *,
.one-about-inner > *, .one-brand-list { min-width: 0; }
.one-wrap, .one-entry, .woocommerce div.product { overflow-wrap: anywhere; }
.one-btn, .one-quote { max-width: 100%; text-align: center; white-space: normal; }
.one-cart, .one-menu-toggle { flex-shrink: 0; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  width: auto; height: auto; clip: auto; overflow: visible; padding: 12px 16px;
  margin: 8px; background: #fff; color: #111; z-index: 9999;
}

/* Barra superior */
.one-topbar { height: 34px; color: var(--one-white); background: var(--one-red-dark); font-size: 12px; font-weight: 700; }
.one-topbar-inner { height: 100%; max-width: var(--one-header-width); display: flex; align-items: center; justify-content: space-between; }
.one-topbar a, .one-topbar-right { display: flex; align-items: center; gap: 7px; }
.one-topbar a { transition: opacity .2s ease; }
.one-topbar a:hover { opacity: .78; }
.one-topbar .one-icon { width: 15px; height: 15px; }
.one-topbar-right { gap: 15px; }
.one-top-separator { width: 1px; height: 16px; background: rgba(255,255,255,.48); margin-inline: 4px; }
.one-follow { font-size: 11px; }
.one-topbar .one-social { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.one-topbar .one-social .one-icon { width: 13px; height: 13px; }

/* Cabecera y navegación */
.site-header { position: sticky; top: 0; z-index: 100; color: #171717; background: #fff; border-bottom: 1px solid var(--one-border); box-shadow: 0 3px 12px rgba(0,0,0,.04); }
.admin-bar .site-header { top: 32px; }
.one-header-inner { min-height: 86px; max-width: var(--one-header-width); display: flex; align-items: center; gap: clamp(10px, 1.25vw, 24px); }
.one-brand { flex: 0 1 256px; min-width: 220px; display: inline-flex; align-items: center; color: var(--one-red); line-height: 1; }
.one-word { flex-shrink: 0; font-size: 50px; line-height: .9; font-weight: 950; font-style: italic; letter-spacing: -5px; }
.one-divider { flex: 0 0 1px; width: 1px; height: 46px; margin: 0 14px 0 17px; background: var(--one-red); transform: skew(-8deg); }
.one-brand-sub { display: block; min-width: 0; color: #171717; font-size: 13px; line-height: 1.2; font-weight: 800; letter-spacing: .02em; white-space: nowrap; overflow-wrap: normal; }
.one-nav { flex: 0 1 auto; min-width: 0; margin-left: auto; }
.one-menu { display: flex; align-items: center; gap: clamp(10px, 1.35vw, 26px); list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.one-menu > li { position: relative; flex: 0 0 auto; }
.one-menu > li > a { position: relative; display: block; padding: 31px 0 27px; font-size: clamp(10px, .7vw, 12px); font-weight: 850; text-transform: uppercase; letter-spacing: .015em; white-space: nowrap; overflow-wrap: normal; word-break: normal; transition: color .2s ease; }
.one-menu > li > a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 20px; height: 2px; background: var(--one-red); transition: left .2s ease, right .2s ease; }
.one-menu > li > a:hover, .one-menu > li.current-menu-item > a { color: var(--one-red); }
.one-menu > li > a:hover::after, .one-menu > li.current-menu-item > a::after { left: 0; right: 0; }
.one-menu .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 210px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius); box-shadow: var(--one-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.one-menu li:hover > .sub-menu, .one-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.one-menu .sub-menu a { display: block; padding: 10px 12px; font-size: 13px; font-weight: 700; border-radius: 5px; }
.one-menu .sub-menu a:hover { color: var(--one-red); background: var(--one-light); }
.one-menu-search { position: relative; }
.one-search-toggle {
  position: relative; display: flex; align-items: center; gap: 6px; padding: 31px 0 27px;
  border: 0; color: var(--one-black); background: transparent; cursor: pointer;
  font-size: clamp(10px, .7vw, 12px); line-height: inherit; font-weight: 850; text-transform: uppercase; letter-spacing: .015em;
  white-space: nowrap; overflow-wrap: normal; word-break: normal;
  transition: color .2s ease;
}
.one-search-toggle .one-icon { width: 16px; height: 16px; }
.one-search-toggle::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 20px; height: 2px; background: var(--one-red); transition: left .2s ease, right .2s ease; }
.one-search-toggle:hover, .one-search-toggle:focus-visible, .one-search-toggle.is-open { color: var(--one-red); }
.one-search-toggle:hover::after, .one-search-toggle:focus-visible::after, .one-search-toggle.is-open::after { left: 0; right: 0; }
.one-search-panel {
  position: absolute; top: calc(100% - 10px); right: 0; z-index: 50; width: min(470px, calc(100vw - 30px));
  padding: 18px; background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius);
  box-shadow: var(--one-shadow);
}
.one-search-panel[hidden] { display: none !important; }
.one-product-search-form label { display: block; margin: 0 0 8px; color: var(--one-black); font-size: 13px; font-weight: 800; text-transform: none; }
.one-search-controls { display: flex; align-items: stretch; gap: 8px; }
.one-search-field { position: relative; flex: 1 1 auto; min-width: 0; }
.one-search-controls input[type="search"] {
  min-width: 0; width: 100%; height: 44px; padding: 0 13px; border: 1px solid #cfcfcf; border-radius: 5px;
  color: var(--one-black); background: #fff; font-size: 14px; outline: none;
}
.one-search-controls input[type="search"]:focus { border-color: var(--one-red); box-shadow: 0 0 0 3px rgba(215,25,32,.12); }
.one-search-controls button {
  min-width: 104px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 15px;
  border: 1px solid var(--one-red); border-radius: 5px; color: #fff; background: var(--one-red); cursor: pointer;
  font-size: 12px; font-weight: 850; text-transform: uppercase;
}
.one-search-controls button:hover, .one-search-controls button:focus-visible { background: var(--one-red-dark); border-color: var(--one-red-dark); }
.one-search-controls button .one-icon { width: 16px; height: 16px; }
.one-search-suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 80;
  max-height: min(360px, calc(100vh - 190px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 5px; background: #fff; border: 1px solid #d7d7d7; border-radius: 6px;
  box-shadow: 0 14px 34px rgba(23,23,23,.18);
}
.one-search-suggestions[hidden] { display: none !important; }
.one-search-suggestion {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px;
  min-height: 58px; padding: 5px 8px; border-radius: 5px; color: var(--one-black);
  font-size: 13px; line-height: 1.25; font-weight: 750; white-space: normal; overflow-wrap: anywhere;
}
.one-search-suggestion + .one-search-suggestion { border-top: 1px solid #eeeeee; }
.one-search-suggestion:hover, .one-search-suggestion:focus, .one-search-suggestion.is-active {
  color: var(--one-red-dark); background: #fff4f4; outline: none;
}
.one-search-suggestion img { width: 48px; height: 48px; object-fit: contain; border: 1px solid #eeeeee; border-radius: 4px; background: #fff; }
.one-search-suggestion-message { padding: 12px 10px; color: var(--one-dark); font-size: 13px; line-height: 1.35; white-space: normal; }
.one-quote, .one-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px; border: 1px solid var(--one-red); border-radius: 6px;
  color: #fff; background: var(--one-red); font-size: 13px; font-weight: 850;
  text-transform: uppercase; letter-spacing: .015em; box-shadow: 0 6px 18px rgba(215,25,32,.18);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.one-quote { min-width: clamp(120px, 10vw, 150px); padding-inline: clamp(12px, 1.15vw, 22px); white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.one-quote:hover, .one-btn:hover { color: #fff; background: var(--one-red-dark); border-color: var(--one-red-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(168,15,21,.24); }
.one-cart { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: var(--one-black); }
.one-cart .one-icon { width: 23px; height: 23px; }
.one-cart-count { position: absolute; top: -1px; right: -2px; min-width: 19px; height: 19px; padding: 0 4px; display: grid; place-items: center; color: #fff; background: var(--one-red); border: 2px solid #fff; border-radius: 99px; font-size: 10px; font-weight: 900; line-height: 1; }
.one-menu-toggle { display: none; width: 46px; height: 42px; padding: 9px; background: var(--one-red); border: 0; border-radius: 6px; cursor: pointer; }
.one-menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.one-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.one-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.one-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.one-hero {
  min-height: 305px;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(8,8,8,.96) 0%, rgba(8,8,8,.87) 34%, rgba(8,8,8,.34) 64%, rgba(8,8,8,.08) 100%), url('assets/images/fondo-maigas-cocina-industrial.webp');
  background-position: center center; background-size: cover;
}
.one-hero-inner { padding-top: 34px; padding-bottom: 67px; }
.one-kicker, .one-eyebrow { margin: 0 0 10px; color: var(--one-red); font-size: 13px; line-height: 1.2; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.one-hero h1 { max-width: 650px; margin: 0 0 12px; font-size: clamp(43px, 4.4vw, 60px); line-height: .98; font-weight: 900; letter-spacing: -.045em; }
.one-hero-copy { max-width: 500px; margin: 0 0 18px; color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.45; }
.one-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.one-btn-outline { color: #fff; background: rgba(0,0,0,.2); border-color: rgba(255,255,255,.8); box-shadow: none; }
.one-btn-outline:hover { background: #fff; border-color: #fff; color: var(--one-black); }
.one-btn-small { min-height: 42px; padding-inline: 18px; font-size: 12px; }

/* Beneficios */
.one-benefits { position: relative; z-index: 5; margin-top: -38px; }
.one-benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 13px 18px; background: #fff; border: 1px solid var(--one-border); border-radius: 9px; box-shadow: 0 14px 34px rgba(0,0,0,.1); }
.one-benefits article { min-height: 64px; display: flex; align-items: center; gap: 15px; padding: 4px 22px; border-right: 1px solid var(--one-border); }
.one-benefits article:last-child { border-right: 0; }
.one-benefit-icon { color: var(--one-red); }
.one-benefit-icon .one-icon { width: 38px; height: 38px; stroke-width: 1.55; }
.one-benefits h2 { margin: 0 0 3px; font-size: 13px; line-height: 1.25; font-weight: 850; }
.one-benefits p { margin: 0; color: var(--one-dark); font-size: 11px; line-height: 1.35; }

/* Secciones */
.one-section { padding: 44px 0; }
.one-featured { padding: 27px 0 32px; background: var(--one-light); }
.one-categories { padding: 0 0 34px; background: var(--one-light); }
.one-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.one-section-heading h2 { position: relative; margin: 0; padding-bottom: 9px; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; font-weight: 900; letter-spacing: -.025em; }
.one-section-heading h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 2px; background: var(--one-red); }
.one-text-link, .one-more { display: inline-flex; align-items: center; gap: 6px; color: var(--one-red-dark); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .025em; }
.one-text-link .one-icon, .one-more .one-icon { width: 17px; height: 17px; transition: transform .2s ease; }
.one-text-link:hover .one-icon, .one-more:hover .one-icon { transform: translateX(4px); }

/* Productos destacados */
.one-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.one-product-card { min-height: 150px; display: grid; grid-template-columns: 45% 55%; background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius); box-shadow: 0 4px 13px rgba(0,0,0,.045); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.one-product-card:hover { transform: translateY(-3px); border-color: #d5d5d5; box-shadow: var(--one-shadow); }
.one-product-image { min-height: 148px; display: grid; place-items: center; padding: 10px 5px 10px 12px; background: #fff; }
.one-product-image img { width: 100%; height: 125px; object-fit: contain; transition: transform .25s ease; }
.one-product-card:hover .one-product-image img { transform: scale(1.035); }
.one-product-info { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 15px 15px 13px 10px; }
.one-product-category { margin: 0 0 4px; color: #777; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.one-product-info h3 { margin: 0 0 7px; font-size: 14px; line-height: 1.22; font-weight: 850; }
.one-product-info h3 a:hover { color: var(--one-red); }
.one-product-price { margin: auto 0 7px; color: var(--one-red-dark); font-size: 17px; line-height: 1.2; font-weight: 900; }
.one-product-price del { color: #777; font-size: 11px; font-weight: 600; }
.one-product-price ins { text-decoration: none; }
.one-more { color: var(--one-black); font-size: 10px; }
.one-admin-note { padding: 16px; margin: 12px 0 0; border: 1px dashed var(--one-red); background: #fff; }

/* Categorías */
.one-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius); overflow: hidden; }
.one-category-card { min-height: 132px; display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 16px; padding: 22px 25px; border-right: 1px solid var(--one-border); transition: background .2s ease; }
.one-category-card:last-child { border-right: 0; }
.one-category-card:hover { background: #fff8f8; }
.one-category-icon { display: grid; place-items: center; color: var(--one-red); }
.one-category-icon .one-icon { width: 58px; height: 58px; stroke-width: 1.35; }
.one-category-card > span:last-child { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.one-category-card strong { font-size: 14px; line-height: 1.2; font-weight: 900; }
.one-category-card small { min-height: 34px; margin: 5px 0 8px; color: var(--one-dark); font-size: 11px; line-height: 1.35; }
.one-category-card em { display: inline-flex; align-items: center; gap: 5px; color: var(--one-red-dark); font-size: 10px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.one-category-card em .one-icon { width: 15px; height: 15px; }

/* Marcas */
.one-brands { color: #fff; background: var(--one-black); }
.one-brands-inner { min-height: 86px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 2.2fr) auto; align-items: center; gap: 34px; }
.one-brands h2 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 850; }
.one-brand-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; color: #fff; }
.one-brand-list span { font-size: 17px; font-weight: 950; font-style: italic; letter-spacing: -.04em; white-space: nowrap; }
.one-brand-list span:last-child { font-size: 11px; font-style: normal; letter-spacing: .06em; }

/* Servicios y nosotros */
.one-services { background: #fff; }
.one-heading-centered { justify-content: center; text-align: center; }
.one-heading-centered h2::after { left: 50%; transform: translateX(-50%); }
.one-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.one-service-grid article { padding: 30px; text-align: center; background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius); box-shadow: 0 4px 16px rgba(0,0,0,.035); }
.one-service-grid .one-icon { width: 45px; height: 45px; color: var(--one-red); stroke-width: 1.5; }
.one-service-grid h3 { margin: 13px 0 7px; font-size: 18px; }
.one-service-grid p { max-width: 340px; margin: 0 auto; color: var(--one-dark); font-size: 14px; }
.one-about { padding: 46px 0; color: #fff; background: linear-gradient(110deg, var(--one-red-dark), var(--one-red)); }
.one-about-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.one-about .one-eyebrow { color: #fff; opacity: .75; }
.one-about h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.12; }
.one-about p:last-child { max-width: 730px; margin: 0; opacity: .9; }
.one-about .one-btn { flex: 0 0 auto; color: var(--one-red-dark); background: #fff; border-color: #fff; box-shadow: none; }
.one-about .one-btn:hover { color: var(--one-red); transform: translateY(-1px); }

/* Contenido interior */
.one-content, .shop-shell { min-height: 48vh; padding: 58px 0 72px; background: var(--one-light); }
.one-search-results-header { margin-bottom: 30px; }
.one-search-results-header h1 { margin-bottom: 8px; }
.one-search-results-header > p:last-child { margin: 0; color: var(--one-dark); }
.one-search-empty { max-width: 690px; padding: clamp(24px, 5vw, 48px); background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius); box-shadow: var(--one-shadow); }
.one-search-empty h2 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 34px); line-height: 1.15; }
.one-search-empty > p { margin: 0 0 22px; color: var(--one-dark); }
.one-search-empty .one-product-search-form { max-width: 560px; }

/* Carrito: desglose tributario Neto + IVA + Total. */
.wp-block-woocommerce-cart-order-summary-subtotal-block .wc-block-components-totals-item,
.wp-block-woocommerce-cart-order-summary-taxes-block .wc-block-components-totals-item { padding-block: 12px; }
.wp-block-woocommerce-cart-order-summary-taxes-block .wc-block-components-totals-item__label { color: var(--one-red-dark); font-weight: 800; }
.one-entry { padding: clamp(24px, 4vw, 50px); background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius); }
.one-entry h1, .shop-shell h1 { margin-top: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.one-entry a { color: var(--one-red-dark); }
.one-not-found { text-align: center; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { margin-bottom: 24px; color: var(--one-dark); font-size: 13px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--one-red-dark); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 24px; }
.woocommerce .woocommerce-ordering select { min-height: 42px; padding: 0 35px 0 12px; border: 1px solid var(--one-border); border-radius: 5px; background: #fff; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin: 0 !important; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 17px 17px 20px !important; background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius); box-shadow: 0 4px 15px rgba(0,0,0,.04); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--one-shadow); }
.woocommerce ul.products li.product a img { height: 225px; margin-bottom: 15px !important; object-fit: contain; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 46px; padding: 0 !important; color: var(--one-black); font-size: 16px !important; line-height: 1.35; font-weight: 850; }
.woocommerce ul.products li.product .price { min-height: 28px; margin: 6px 0 13px !important; color: var(--one-red-dark) !important; font-size: 18px !important; font-weight: 900 !important; }
.woocommerce span.onsale { min-width: 48px; min-height: 48px; display: grid; place-items: center; padding: 0 !important; background: var(--one-red) !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  min-height: 42px; display: inline-flex !important; align-items: center; justify-content: center;
  padding: 0 17px !important; color: #fff !important; background: var(--one-red) !important;
  border-radius: 5px !important; font-size: 12px !important; text-transform: uppercase; font-weight: 850 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: var(--one-red-dark) !important; }
.woocommerce div.product { padding: clamp(20px, 4vw, 45px); background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius); }
.woocommerce div.product div.images img { border-radius: 6px; }
.woocommerce div.product .product_title { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--one-red-dark) !important; font-size: 26px !important; font-weight: 900; }
.woocommerce .quantity .qty { min-height: 42px; border: 1px solid var(--one-border); border-radius: 5px; }
.woocommerce table.shop_table { background: #fff; border-color: var(--one-border) !important; border-radius: var(--one-radius) !important; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 15px 12px !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order { padding: 24px; background: #fff; border: 1px solid var(--one-border); border-radius: var(--one-radius); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 44px; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 4px; background: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--one-red) !important; background: #fff !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--one-red) !important; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li { margin: 3px !important; border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; min-height: 40px; display: grid; place-items: center; border-radius: 5px; background: #fff; }
.woocommerce nav.woocommerce-pagination ul li span.current { color: #fff; background: var(--one-red); }

/* Pie y contactos flotantes */
.site-footer { padding: 48px 0 0; color: rgba(255,255,255,.82); background: #101010; }
.one-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; padding-bottom: 38px; }
.one-brand-footer .one-brand-sub { color: #fff; }
.site-footer p { max-width: 340px; margin: 17px 0 0; font-size: 14px; }
.site-footer h2 { margin: 4px 0 15px; color: #fff; font-size: 15px; text-transform: uppercase; }
.site-footer .one-footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.one-copyright { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; }
.one-floating { position: fixed; left: 0; top: 48%; z-index: 120; display: flex; flex-direction: column; box-shadow: 0 5px 20px rgba(0,0,0,.22); }
.one-floating a { width: 49px; height: 49px; display: grid; place-items: center; color: #fff; }
.one-floating .one-icon { width: 23px; height: 23px; }
.one-floating-wa { background: #22B45B; }
.one-floating a:hover { filter: brightness(.88); }

@media (min-width: 981px) and (max-width: 1500px) {
  .one-header-inner { gap: 10px; }
  .one-brand { flex-basis: 225px; min-width: 210px; }
  .one-word { font-size: 44px; }
  .one-divider { height: 40px; margin-inline: 11px; }
  .one-brand-sub { font-size: 10px; }
  .one-menu { gap: 12px; }
  .one-menu > li > a, .one-search-toggle { font-size: 10px; letter-spacing: 0; }
  .one-search-toggle { gap: 4px; }
  .one-search-toggle .one-icon { width: 15px; height: 15px; }
  .one-quote { min-width: 120px; padding-inline: 11px; font-size: 10px; }
}

@media (max-width: 1160px) {
  .one-header-inner { gap: 8px; }
  .one-brand { flex-basis: 210px; min-width: 200px; }
  .one-word { font-size: 40px; }
  .one-brand-sub { font-size: 10px; }
  .one-divider { height: 38px; margin-inline: 10px; }
  .one-menu { gap: 8px; }
  .one-menu > li > a, .one-search-toggle { font-size: 9px; letter-spacing: 0; }
  .one-search-toggle { gap: 4px; }
  .one-quote { min-width: 112px; padding-inline: 10px; font-size: 10px; }
  .one-benefits article { padding-inline: 13px; }
  .one-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .one-product-card { grid-template-columns: 40% 60%; }
  .one-brands-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: 22px; }
  .one-brand-list { gap: 15px; }
}

@media (max-width: 980px) {
  .admin-bar .site-header { top: 46px; }
  .one-header-inner { min-height: 78px; }
  .one-menu-toggle { display: block; margin-left: auto; order: 2; }
  .one-cart { order: 3; }
  .one-quote { order: 4; }
  .one-nav { position: fixed; inset: var(--one-nav-top, 112px) 0 0; width: 100%; max-width: 100%; margin: 0; padding: 12px 24px 28px; overflow-y: auto; overscroll-behavior: contain; background: rgba(255,255,255,.99); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; order: 5; }
  .admin-bar .one-nav { top: var(--one-nav-top, 158px); }
  .one-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .one-menu { display: block; }
  .one-menu > li > a { padding: 15px 2px; border-bottom: 1px solid var(--one-border); font-size: 14px; }
  .one-menu > li > a::after { display: none; }
  .one-menu-search { border-bottom: 1px solid var(--one-border); }
  .one-search-toggle { width: 100%; padding: 15px 2px; justify-content: flex-start; font-size: 14px; }
  .one-search-toggle::after { display: none; }
  .one-search-toggle .one-icon { width: 18px; height: 18px; }
  .one-search-panel { position: static; width: 100%; padding: 3px 2px 18px; border: 0; border-radius: 0; box-shadow: none; }
  .one-menu .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 4px 15px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .one-hero { min-height: 440px; background-position: 56% center; }
  .one-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .one-benefits article:nth-child(2) { border-right: 0; }
  .one-benefits article:nth-child(-n+2) { border-bottom: 1px solid var(--one-border); }
  .one-category-grid { grid-template-columns: minmax(0, 1fr); }
  .one-category-card { border-right: 0; border-bottom: 1px solid var(--one-border); }
  .one-category-card:last-child { border-bottom: 0; }
  .one-brands-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; padding-block: 28px; text-align: center; }
  .one-brand-list { width: 100%; justify-content: center; flex-wrap: wrap; }
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .one-wrap { width: calc(100% - 30px); }
  .one-topbar { height: 32px; }
  .one-topbar-right > a:first-child, .one-follow, .one-top-separator { display: none; }
  .one-header-inner { gap: 8px; padding-block: 10px; }
  .one-brand { min-width: 0; margin-right: auto; }
  .site-header .one-brand { flex: 1 1 auto; }
  .one-word { font-size: 37px; letter-spacing: -4px; }
  .one-divider { height: 34px; margin: 0 8px; }
  .one-brand-sub { font-size: 12px; letter-spacing: 0; }
  .one-quote { display: none; }
  .one-menu-toggle { margin-left: 0; }
  .one-nav { top: var(--one-nav-top, 110px); }
  .admin-bar .one-nav { top: var(--one-nav-top, 156px); }
  .one-hero { min-height: 510px; background-image: linear-gradient(90deg, rgba(8,8,8,.96), rgba(8,8,8,.7)), url('assets/images/fondo-maigas-cocina-industrial.webp'); background-position: 64% center; }
  .one-hero-inner { padding-top: 55px; padding-bottom: 92px; }
  .one-hero h1 { max-width: 100%; font-size: clamp(28px, 8vw, 42px); line-height: 1.1; letter-spacing: -.025em; white-space: normal; }
  .one-hero-copy { font-size: 17px; }
  .one-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 320px; }
  .one-benefits { margin-top: -55px; }
  .one-benefits-grid { grid-template-columns: minmax(0, 1fr); padding: 7px 16px; }
  .one-benefits article { min-height: 84px; border-right: 0; border-bottom: 1px solid var(--one-border) !important; }
  .one-benefits article:last-child { border-bottom: 0 !important; }
  .one-section { padding: 45px 0; }
  .one-featured { padding-top: 28px; }
  .one-categories { padding-top: 0; }
  .one-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .one-product-grid { grid-template-columns: minmax(0, 1fr); }
  .one-product-card { grid-template-columns: 42% 58%; }
  .one-product-image { min-height: 165px; }
  .one-product-image img { height: 138px; }
  .one-category-card { grid-template-columns: 60px 1fr; padding: 20px 17px; }
  .one-category-icon .one-icon { width: 48px; height: 48px; }
  .one-brand-list span { font-size: 15px; }
  .one-service-grid { grid-template-columns: minmax(0, 1fr); }
  .one-about-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .one-about h2 { font-size: 28px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .woocommerce ul.products li.product { padding: 12px 12px 16px !important; }
  .woocommerce ul.products li.product a img { height: 160px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
  .one-search-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .one-search-controls button { min-height: 44px; }
  .one-search-suggestions { position: static; max-height: 280px; margin-top: 6px; }
  .one-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .site-footer .one-brand-footer { display: inline-flex; max-width: 100%; gap: 0; }
  .site-footer .one-brand-footer .one-word { font-size: 44px; }
  .site-footer .one-brand-footer .one-brand-sub { display: block; color: #fff; font-size: 13px; }
  .one-floating { top: auto; left: 10px; bottom: 10px; flex-direction: row; border-radius: 8px; overflow: hidden; }
  .one-floating a { width: 45px; height: 45px; }
}

@media (max-width: 460px) {
  .one-topbar-inner > a span { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
  .one-topbar-right { gap: 7px; }
  .site-header .one-brand-sub { display: block; font-size: clamp(11px, 3vw, 12px); }
  .site-header .one-divider { display: block; height: 30px; margin-inline: 6px; }
  .site-header .one-word { font-size: 34px; letter-spacing: -3px; }
  .one-cart { width: 36px; }
  .one-menu-toggle { width: 42px; }
  .one-product-card { grid-template-columns: 39% 61%; }
  .woocommerce ul.products { grid-template-columns: minmax(0, 1fr); }
  .woocommerce ul.products li.product a img { height: 220px; }
  .one-search-controls { grid-template-columns: minmax(0, 1fr); }
  .one-search-controls button { min-height: 44px; }
}
