/* ==========================================================================
   Ferretería Corona — hoja de estilos principal
   Identidad tomada del logotipo oficial (CORONA Ferreterias logo.pdf):
     Naranja Corona  CMYK 0/77/99/0   → #EF6424 (acento y titulares grandes)
     Azul Corona     CMYK 100/85/9/3  → #1C4594 (marca, navegación, fondos)
   El naranja de botones (#C94D12) es una variante más oscura para cumplir
   contraste AA con texto blanco.
   ========================================================================== */

/* Tipografía autoalojada (Barlow / Barlow Condensed), subconjunto latino. */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/Barlow-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/Barlow-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/Barlow-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/Barlow-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Barlow Condensed';font-style:italic;font-weight:800;font-display:swap;src:url('../fonts/BarlowCondensed-800i.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/BarlowCondensed-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
	--c-blue: #1c4594;
	--c-blue-900: #0f2657;
	--c-blue-800: #14336f;
	--c-blue-100: #e8eefa;
	--c-blue-50: #f3f6fc;
	--c-orange: #ef6424;
	--c-orange-cta: #c94d12;
	--c-orange-cta-hover: #ad410e;
	--c-orange-100: #fdeee6;
	--c-ink: #172033;
	--c-ink-2: #3d4659;
	--c-muted: #636b7d;
	--c-line: #e2e6ee;
	--c-bg: #f5f7fb;
	--c-surface: #ffffff;
	--c-success: #137333;
	--c-success-bg: #e6f4ea;
	--c-warn: #8a4b00;
	--c-warn-bg: #fff4e5;
	--c-danger: #b42318;
	--c-danger-bg: #fdecea;

	--font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;

	--radius-sm: 6px;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(15, 38, 87, .06);
	--shadow: 0 6px 20px rgba(15, 38, 87, .08);
	--shadow-lg: 0 16px 40px rgba(15, 38, 87, .16);
	--container: 1280px;
	--gutter: 16px;
	--header-h: 72px;
	--focus: 0 0 0 3px rgba(239, 100, 36, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--c-ink); background: var(--c-bg); overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-blue-800); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--c-ink); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(1.9rem, 3vw + 1rem, 2.6rem); }
h2 { font-size: clamp(1.45rem, 1.5vw + 1rem, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.icon { width: 1.4em; height: 1.4em; flex: none; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; top: 8px; left: 8px; background: #fff; padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- Botones ---------- */
.btn, .button, button.button, a.button, input.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .6em 1.2em; border: 2px solid transparent; border-radius: var(--radius-sm);
	background: var(--c-blue); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--c-blue-800); color: #fff; }
.btn:active, .button:active { transform: translateY(1px); }
.btn--primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order, .single_add_to_cart_button, .checkout-button {
	background: var(--c-orange-cta) !important; color: #fff !important;
}
.btn--primary:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover, .single_add_to_cart_button:hover, .checkout-button:hover { background: var(--c-orange-cta-hover) !important; }
.btn--ghost { background: transparent; color: var(--c-blue); border-color: var(--c-line); }
.btn--ghost:hover { background: var(--c-blue-50); color: var(--c-blue-800); }
.btn--lg { min-height: 52px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--whatsapp { background: #0f7a3f; margin-top: 12px; }
.btn--whatsapp:hover { background: #0b6332; }
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .55; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--radius-sm); color: inherit; cursor: pointer; }
.icon-btn:hover { background: rgba(28, 69, 148, .08); }

/* ---------- Formularios ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	width: 100%; min-height: 44px; padding: .55em .8em; border: 1px solid #c9cfdb; border-radius: var(--radius-sm); background: #fff; color: var(--c-ink); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(28, 69, 148, .18); }
label { font-weight: 600; font-size: .95rem; color: var(--c-ink-2); }
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; margin-bottom: 4px; line-height: 1.3; }
.woocommerce form .form-row .required { color: var(--c-danger); text-decoration: none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--c-danger); }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; color: var(--c-muted); padding: 0; }
.show-password-input::after { content: ""; display: block; width: 20px; height: 20px; margin: auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.show-password-input.display-password { color: var(--c-blue); }
.woocommerce-password-strength { margin-top: 6px; padding: 4px 8px; border-radius: 4px; font-size: .85rem; font-weight: 600; text-align: center; }
.woocommerce-password-hint { font-size: .8rem; color: var(--c-muted); }
.corona-form__grid { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .corona-form__grid { grid-template-columns: 1fr 1fr; } }
.corona-form p { margin: 0 0 14px; }
.corona-form label { display: block; margin-bottom: 4px; }
.corona-form__legal { font-size: .875rem; color: var(--c-muted); }
.corona-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Avisos ---------- */
.corona-sandbox-banner { background: #fff4e5; color: #6b3a00; text-align: center; font-size: .875rem; padding: 6px 12px; border-bottom: 1px solid #f6d7a8; }
.announce { background: var(--c-blue-900); color: #fff; font-size: .875rem; text-align: center; padding: 7px 0; }
.corona-notice, .woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	list-style: none; margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--c-line); background: var(--c-blue-50); color: var(--c-ink); border-left: 4px solid var(--c-blue);
}
.woocommerce-message, .corona-notice--success { border-left-color: var(--c-success); background: var(--c-success-bg); }
.woocommerce-error, .corona-notice--error { border-left-color: var(--c-danger); background: var(--c-danger-bg); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 36px; padding: .3em .9em; margin-left: 12px; }
.woocommerce-error li { margin: 0; }

/* ---------- Encabezado ---------- */
.site-header { background: var(--c-surface); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50; }
.site-header__main { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.site-logo { flex: none; display: block; }
.site-logo__img { width: 150px; height: auto; }
@media (min-width: 1024px) { .site-logo__img { width: 190px; } }
.site-header__search { flex: 1; min-width: 0; display: none; }
.site-header__mobile-search { padding-bottom: 10px; }
@media (min-width: 900px) { .site-header__search { display: block; } .site-header__mobile-search { display: none; } .menu-toggle { display: none; } }
.site-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-action { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: var(--radius-sm); color: var(--c-ink); text-decoration: none; position: relative; min-height: 44px; }
.site-action:hover { background: var(--c-blue-50); color: var(--c-blue); }
.site-action .icon { width: 26px; height: 26px; }
.site-action__text { display: none; flex-direction: column; line-height: 1.1; }
.site-action__text small { font-size: .75rem; color: var(--c-muted); }
.site-action__text strong { font-size: .95rem; }
@media (min-width: 1100px) { .site-action__text { display: flex; } }
.site-action--icon { display: none; }
@media (min-width: 600px) { .site-action--icon { display: flex; } }
.cart-count { position: absolute; top: 2px; left: 24px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--c-orange-cta); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[data-count="0"] { background: #9aa3b5; }

/* Buscador con autocompletado */
.site-search { position: relative; display: flex; }
.site-search__input { border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important; border-right: 0 !important; min-height: 46px !important; padding-left: 14px !important; background: var(--c-bg) !important; }
.site-search__input:focus { background: #fff !important; }
.site-search__btn { flex: none; width: 54px; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--c-orange-cta); color: #fff; cursor: pointer; display: grid; place-items: center; }
.site-search__btn:hover { background: var(--c-orange-cta-hover); }
.site-search__panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 60; max-height: min(70vh, 520px); overflow: auto; padding: 6px; }
.ac-group { padding: 6px 4px; }
.ac-group h3 { font-family: var(--font-body); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); margin: 4px 8px 6px; }
.ac-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--radius-sm); color: var(--c-ink); text-decoration: none; }
.ac-item[aria-selected="true"], .ac-item:hover { background: var(--c-blue-50); }
.ac-thumb { width: 44px; height: 44px; flex: none; border-radius: 6px; background: var(--c-blue-50); display: grid; place-items: center; overflow: hidden; color: var(--c-blue); }
.ac-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ac-meta { min-width: 0; flex: 1; }
.ac-name { display: block; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-name mark { background: transparent; color: var(--c-orange-cta); font-weight: 700; }
.ac-sub { font-size: .8rem; color: var(--c-muted); }
.ac-price { font-weight: 700; color: var(--c-blue); white-space: nowrap; }
.ac-out { color: var(--c-danger); font-size: .75rem; }
.ac-all { display: block; text-align: center; padding: 10px; font-weight: 600; border-top: 1px solid var(--c-line); margin-top: 4px; }
.ac-empty { padding: 14px; color: var(--c-muted); }

/* Navegación principal y mega menú */
.main-nav { background: var(--c-blue); color: #fff; display: none; }
@media (min-width: 900px) { .main-nav { display: block; } }
.main-nav__inner { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.main-nav__links { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__links a { display: flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; padding: 12px; font-weight: 500; border-radius: var(--radius-sm); }
.main-nav__links a:hover { background: rgba(255, 255, 255, .12); }
.main-nav__links .icon { width: 18px; height: 18px; color: #ffb38f; }
.main-nav__phone { margin-left: auto; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.main-nav__phone .icon { width: 18px; height: 18px; }
.mega { position: relative; }
.mega__toggle { display: flex; align-items: center; gap: 8px; background: var(--c-blue-900); color: #fff; border: 0; padding: 12px 16px; font-weight: 700; cursor: pointer; min-height: 48px; }
.mega__toggle .icon { width: 20px; height: 20px; }
.mega__toggle[aria-expanded="true"] .mega__chev { transform: rotate(180deg); }
.mega__panel { position: absolute; top: 100%; left: 0; width: min(92vw, 1000px); background: #fff; color: var(--c-ink); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 18px; z-index: 70; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 18px; }
.mega__link { display: flex; align-items: center; gap: 10px; color: var(--c-ink); font-weight: 700; text-decoration: none; padding: 6px; border-radius: var(--radius-sm); }
.mega__link:hover { background: var(--c-blue-50); color: var(--c-blue); }
.mega__link .icon { width: 28px; height: 28px; color: var(--c-orange); }
.mega__sub { list-style: none; margin: 2px 0 0 44px; padding: 0; font-size: .9rem; }
.mega__sub a { color: var(--c-muted); text-decoration: none; display: block; padding: 2px 0; }
.mega__sub a:hover { color: var(--c-blue); text-decoration: underline; }

/* Menú móvil */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 360px); background: #fff; overflow-y: auto; padding: 14px 16px 30px; box-shadow: var(--shadow-lg); animation: drawer-in .2s ease; }
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.drawer__head .site-logo__img { width: 140px; }
.drawer__account { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-sm); background: var(--c-blue-50); font-weight: 700; text-decoration: none; margin-bottom: 14px; }
.drawer__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); margin: 10px 0 6px; }
.drawer__cats, .drawer__links { list-style: none; margin: 0; padding: 0; }
.drawer__cats a, .drawer__links a { display: flex; align-items: center; gap: 12px; padding: 11px 6px; color: var(--c-ink); text-decoration: none; border-bottom: 1px solid var(--c-line); font-weight: 500; }
.drawer__cats .icon { color: var(--c-orange); }
.drawer__links { margin-top: 14px; }
body.drawer-open { overflow: hidden; }

/* ---------- Secciones ---------- */
.site-main { min-height: 50vh; outline: none; }
.section { padding: 36px 0; }
.section--tight { padding: 18px 0; }
.section--alt { background: #fff; }
.section--brand { background: linear-gradient(135deg, var(--c-blue-900), var(--c-blue)); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-title { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); margin: 0; position: relative; padding-left: 14px; }
.section-title::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; border-radius: 3px; background: var(--c-orange); }
.section-title--light { color: #fff; margin-bottom: 22px; }
.section-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-link .icon { width: 18px; height: 18px; }
.empty-note { color: var(--c-muted); }

/* Hero */
.hero { padding: 18px 0 8px; }
.hero__wrap { position: relative; }
.hero__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); }
.hero__track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; scroll-snap-align: start; min-height: 300px; display: flex; align-items: center; overflow: hidden; border-radius: var(--radius-lg); color: #fff; isolation: isolate; }
@media (min-width: 768px) { .hero-slide { min-height: 380px; } }
.hero-slide--blue { background: radial-gradient(1200px 400px at 85% 50%, #2a5bbd 0%, transparent 60%), linear-gradient(120deg, var(--c-blue-900), var(--c-blue)); }
.hero-slide--orange { background: radial-gradient(900px 380px at 85% 50%, #ff8a50 0%, transparent 60%), linear-gradient(120deg, #a53d0b, var(--c-orange-cta)); }
.hero-slide--dark { background: radial-gradient(900px 380px at 80% 40%, #2a3a5d 0%, transparent 60%), linear-gradient(120deg, #0b1220, #18233b); }
.hero-slide--light { background: linear-gradient(120deg, #fff, var(--c-blue-100)); color: var(--c-ink); }
.hero-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-slide__img + .hero-slide__body::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 45, .78), rgba(10, 20, 45, .15)); z-index: -1; }
.hero-slide__art { position: absolute; right: -2%; bottom: -10%; width: min(48%, 420px); color: rgba(255, 255, 255, .14); z-index: -1; }
.hero-slide__art .icon { width: 100%; height: auto; stroke-width: 1.1; }
.hero-slide__product { position: absolute; right: 3%; top: 8%; bottom: 8%; width: 40%; display: none; align-items: center; justify-content: center; z-index: -1; }
.hero-slide__product::before { content: ""; position: absolute; height: 96%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.hero-slide__product img { position: relative; max-height: 64%; max-width: 64%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 760px) { .hero-slide__product { display: flex; } .hero-slide__product ~ .hero-slide__body { max-width: 56%; } }
.hero-slide--light .hero-slide__art { color: rgba(28, 69, 148, .1); }
.hero-slide__body { padding: 32px 24px; max-width: 640px; }
@media (min-width: 768px) { .hero-slide__body { padding: 48px 56px; } }
.hero-slide__eyebrow { display: inline-block; background: var(--c-orange-cta); color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
.hero-slide--orange .hero-slide__eyebrow { background: #fff; color: var(--c-orange-cta); }
.hero-slide__title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(2rem, 3.6vw + 1rem, 3.3rem); line-height: 1.02; color: inherit; margin-bottom: 12px; text-transform: uppercase; }
.hero-slide__text { font-size: 1.1rem; opacity: .95; max-width: 520px; }
.hero-slide--orange .btn--primary { background: #fff !important; color: var(--c-orange-cta) !important; }
.hero__dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.hero__dot { width: 28px; height: 6px; border-radius: 3px; border: 0; background: #c7cfdf; cursor: pointer; padding: 0; }
.hero__dot[aria-selected="true"] { background: var(--c-orange); width: 40px; }

/* Categorías */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
.cat-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; height: 100%; padding: 18px 10px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); font-weight: 600; line-height: 1.2; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cdd6ea; color: var(--c-blue); }
.cat-card__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--c-orange-100); color: var(--c-orange-cta); }
.cat-card__icon .icon { width: 30px; height: 30px; }
.cat-card--img { padding: 0 0 12px; justify-content: flex-start; overflow: hidden; }
.cat-card__img { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-blue-50); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.cat-card--img:hover .cat-card__img img { transform: scale(1.05); }
.cat-card--img .cat-card__name { padding: 0 8px; }
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brand-card { display: grid; place-items: center; height: 100%; min-height: 90px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); overflow: hidden; text-decoration: none; transition: box-shadow .15s, border-color .15s, transform .15s; }
.brand-card:hover { box-shadow: var(--shadow); border-color: var(--c-orange); transform: translateY(-2px); }
.brand-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.brand-card__name { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.5rem; color: var(--c-blue-900); text-transform: uppercase; padding: 16px; }

/* Rejilla de productos y tarjeta */
.woocommerce ul.products, ul.products.product-grid { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .woocommerce ul.products, ul.products.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 760px) { ul.products.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .page-wrap > .woocommerce ul.products, .related ul.products, .upsells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .shop-main ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .product-card { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; position: relative; transition: box-shadow .15s, border-color .15s; }
.product-card:hover { box-shadow: var(--shadow); border-color: #cdd6ea; }
.product-card__media { position: relative; aspect-ratio: 1 / 1; background: #fff; }
.product-card__img { display: block; width: 100%; height: 100%; }
.product-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c-blue-50), #fff); color: var(--c-blue); }
.product-placeholder .icon { width: 42%; height: 42%; stroke-width: 1.2; opacity: .85; }
.product-card .onsale, .woocommerce span.onsale, .woocommerce ul.products li.product.product-card .onsale { position: absolute; top: 10px; left: 10px; right: auto; min-width: 0; min-height: 0; margin: 0; padding: 3px 9px; border-radius: 4px; background: var(--c-orange-cta); color: #fff; font-weight: 700; font-size: .82rem; line-height: 1.4; z-index: 2; border-radius: 4px !important; margin: 0 !important; }
.wishlist-btn { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); background: rgba(255, 255, 255, .95); color: var(--c-muted); display: grid; place-items: center; cursor: pointer; z-index: 2; transition: color .15s, transform .15s; }
.wishlist-btn .icon { width: 20px; height: 20px; }
.wishlist-btn:hover { color: var(--c-orange-cta); transform: scale(1.06); }
.wishlist-btn.is-active { color: #e0245e; }
.wishlist-btn.is-active .icon { fill: currentColor; }
.wishlist-btn--single { position: static; width: 48px; height: 48px; margin-left: 8px; }
.product-card__body { padding: 10px 12px 4px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card__brand { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); font-weight: 600; }
.product-card__title { font-family: var(--font-body); font-size: .95rem !important; font-weight: 600; line-height: 1.3; margin: 0 !important; padding: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-card__title a { color: var(--c-ink); text-decoration: none; }
.product-card__title a:hover { color: var(--c-blue); }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__sku { font-size: .75rem; color: var(--c-muted); }
.product-card__price { margin-top: auto; }
.price, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--c-ink) !important; font-weight: 700; font-size: 1.15rem; margin: 0; }
.price del { color: var(--c-muted); font-weight: 400; font-size: .85em; opacity: 1; }
.price ins { text-decoration: none; color: var(--c-orange-cta); }
.corona-iva { display: block; font-size: .7rem; font-weight: 500; color: var(--c-muted); }
.corona-unit { font-size: .8rem; color: var(--c-muted); font-weight: 500; }
.stock-badge { align-self: flex-start; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin-top: 4px; }
.stock-badge--ok { background: var(--c-success-bg); color: var(--c-success); }
.stock-badge--low { background: var(--c-warn-bg); color: var(--c-warn); }
.stock-badge--out { background: #eceff4; color: var(--c-muted); }
.product-card__actions { padding: 8px 12px 12px; position: relative; z-index: 2; }
.product-card__actions .button { width: 100%; font-size: .9rem; min-height: 42px; }
.product-card__actions .added_to_cart { display: block; text-align: center; font-size: .85rem; margin-top: 6px; }
.woocommerce ul.products li.product .star-rating { font-size: .8em; margin: 2px 0; }

/* Promos y marcas */
.promo-strip { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .promo-strip { grid-template-columns: repeat(2, 1fr); } }
.promo-card { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: var(--radius); text-decoration: none; color: var(--c-ink); background: #fff; border: 1px solid var(--c-line); position: relative; overflow: hidden; }
.promo-card--blue { background: var(--c-blue); color: #fff; }
.promo-card--orange { background: var(--c-orange-cta); color: #fff; }
.promo-card--dark { background: #121a2c; color: #fff; }
.promo-card--light { background: linear-gradient(120deg, #fff, var(--c-orange-100)); border-color: #f6cdb7; }
.promo-card__eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-orange-cta); }
.promo-card--blue .promo-card__eyebrow, .promo-card--orange .promo-card__eyebrow, .promo-card--dark .promo-card__eyebrow { color: #ffd2bd; }
.promo-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.promo-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 6px; }
.promo-card__cta .icon { width: 18px; height: 18px; }
.brand-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { display: grid; place-items: center; min-width: 120px; height: 64px; padding: 8px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-blue-900); font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; font-style: italic; }
.brand-chip:hover { border-color: var(--c-orange); color: var(--c-orange-cta); }
.brand-chip img { max-height: 44px; width: auto; }

/* Beneficios */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 20px; }
.benefit h3 { color: #fff; margin: 10px 0 6px; font-size: 1.25rem; }
.benefit p { margin: 0; color: #dbe4f7; }
.benefit__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--c-orange); color: #fff; }
.footer-benefits { background: #fff; border-top: 1px solid var(--c-line); padding: 18px 0; }
.footer-benefits__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-benefits__grid { grid-template-columns: repeat(4, 1fr); } }
.benefit-mini { display: flex; gap: 12px; align-items: flex-start; }
.benefit-mini .icon { width: 30px; height: 30px; color: var(--c-orange-cta); }
.benefit-mini strong { display: block; font-size: .95rem; }
.benefit-mini span { font-size: .85rem; color: var(--c-muted); }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--c-blue-900); color: #cfd8ec; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 28px; padding: 40px var(--gutter) 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer__logo .site-logo__img { width: 190px; margin-bottom: 12px; }
.footer-title { color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.footer-title--sm { font-size: 1rem; margin-bottom: 8px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-contact a, .footer-line { display: flex; gap: 8px; align-items: flex-start; }
.footer-line { margin: 0 0 8px; }
.footer-contact .icon, .footer-line .icon { width: 20px; height: 20px; color: #ff9c6e; flex: none; margin-top: 1px; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.social a:hover { background: var(--c-orange-cta); }
.social .icon { width: 20px; height: 20px; }
.site-footer__pay { display: grid; gap: 20px; padding: 20px var(--gutter); border-top: 1px solid rgba(255, 255, 255, .12); grid-template-columns: 1fr; }
@media (min-width: 900px) { .site-footer__pay { grid-template-columns: 1.6fr 1fr; } }
.pay-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badges li { background: #fff; color: var(--c-blue-900); font-weight: 700; font-size: .78rem; padding: 5px 10px; border-radius: 4px; }
.footer-ship { display: flex; gap: 8px; margin: 0; }
.footer-ship .icon { color: #ff9c6e; }
.site-footer__bottom { background: #0a1b40; font-size: .82rem; padding: 12px 0; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: #1ea952; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 40; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { background: #128c4a; color: #fff; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); z-index: 120; font-weight: 600; }

/* ---------- Páginas y catálogo ---------- */
.page-wrap { padding-top: 20px; padding-bottom: 48px; }
.page-wrap--narrow { max-width: 900px; }
.page-title { margin-bottom: 14px; }
.breadcrumbs { font-size: .875rem; color: var(--c-muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--c-muted); }
.crumb-sep { color: #b3bacb; }
.entry { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.page-wrap--wc .entry { background: transparent; border: 0; padding: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry--list { margin-bottom: 14px; }

.shop-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } }
.shop-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.shop-header .page-title { margin: 0; }
.term-description { width: 100%; color: var(--c-ink-2); }
.filters-open { display: inline-flex; }
@media (min-width: 1024px) { .filters-open { display: none; } }
.woocommerce .woocommerce-result-count { margin: 6px 0 14px; color: var(--c-muted); font-size: .9rem; float: none; }
.woocommerce .woocommerce-ordering { margin: 0 0 14px; float: none; }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 220px; }
.shop-main .woocommerce-notices-wrapper + .woocommerce-result-count { display: inline-block; }
@media (min-width: 640px) { .woocommerce-result-count { float: left !important; } .woocommerce-ordering { float: right !important; } .woocommerce-ordering + ul.products, .woocommerce-ordering + * { clear: both; } }
.shop-sidebar { display: none; }
@media (min-width: 1024px) { .shop-sidebar { display: block; position: sticky; top: calc(var(--header-h) + 64px); max-height: calc(100vh - 150px); overflow: auto; } }
.shop-sidebar.is-open { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(15, 23, 42, .5); }
.shop-sidebar.is-open .shop-filters { position: absolute; right: 0; top: 0; bottom: 0; width: min(90vw, 360px); overflow-y: auto; border-radius: 0; }
.shop-filters { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px; }
.shop-filters__head { display: flex; align-items: center; justify-content: space-between; }
.shop-filters__head h2 { font-size: 1.25rem; margin: 0; }
.shop-filters__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
@media (min-width: 1024px) { .shop-filters__close { display: none; } }
.filter-group { border: 0; border-top: 1px solid var(--c-line); margin: 14px 0 0; padding: 14px 0 0; }
.filter-group legend { font-weight: 700; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filter-links, .filter-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; clear: both; max-height: 260px; overflow: auto; }
.filter-links a { color: var(--c-ink-2); text-decoration: none; display: flex; justify-content: space-between; padding: 4px 2px; }
.filter-links a:hover { color: var(--c-blue); }
.filter-links span, .filter-checks span { color: var(--c-muted); font-size: .85rem; }
.filter-toggle { clear: both; }
.filter-checks label, .filter-toggle { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; padding: 3px 0; }
.filter-checks input, .filter-toggle input { width: 18px; height: 18px; min-height: 0; accent-color: var(--c-blue); }
.price-range { display: flex; align-items: center; gap: 6px; clear: both; }
.shop-filters__actions { display: grid; gap: 8px; margin-top: 16px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; min-height: 42px; display: grid; place-items: center; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--c-line); color: var(--c-ink); font-weight: 600; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* ---------- Ficha de producto ---------- */
.woocommerce div.product { display: grid; gap: 24px; grid-template-columns: 1fr; background: transparent; }
@media (min-width: 900px) { .woocommerce div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 14px; position: relative; }
.woocommerce-product-gallery__image--placeholder { aspect-ratio: 1 / 1; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 20%; padding: 4px; }
.woocommerce div.product div.summary { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; align-self: start; }
.woocommerce div.product .product_title { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.2rem); margin-bottom: 8px; }
.woocommerce div.product p.price { font-size: 1.9rem !important; margin: 6px 0 4px; }
.woocommerce div.product .stock { font-weight: 700; color: var(--c-success); }
.woocommerce div.product .stock.out-of-stock { color: var(--c-danger); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce .quantity .qty { width: 84px; min-height: 48px; text-align: center; }
.single_add_to_cart_button { min-height: 48px !important; flex: 1; min-width: 200px; font-size: 1.05rem !important; }
.woocommerce div.product .product_meta { font-size: .85rem; color: var(--c-muted); border-top: 1px solid var(--c-line); padding-top: 12px; display: grid; gap: 4px; }
.corona-summary-meta { list-style: none; margin: 14px 0; padding: 12px 14px; background: var(--c-blue-50); border-radius: var(--radius-sm); display: grid; gap: 4px; font-size: .92rem; }
.corona-summary-meta span { display: inline-block; min-width: 72px; color: var(--c-muted); font-weight: 600; }
.trust-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.trust-list .icon { color: var(--c-blue); width: 22px; height: 22px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 6px 18px 18px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--c-line); overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 14px; color: var(--c-muted); font-weight: 600; display: block; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--c-blue); box-shadow: inset 0 -3px 0 var(--c-orange); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.corona-specs { width: 100%; border-collapse: collapse; }
.corona-specs th, .corona-specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.corona-specs th { width: 34%; color: var(--c-ink-2); background: var(--c-blue-50); font-weight: 600; }
.corona-docs { padding-left: 18px; }
.related > h2, .upsells > h2 { font-size: 1.5rem; }

/* ---------- Carrito, checkout y cuenta ---------- */
.woocommerce table.shop_table { border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.woocommerce table.shop_table th { background: var(--c-blue-50); font-weight: 700; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 12px 14px; border-top: 1px solid var(--c-line); }
.woocommerce-cart table.cart img { width: 72px; }
.woocommerce-cart table.cart .product-thumbnail .product-placeholder { width: 72px; height: 72px; border-radius: 8px; }
.woocommerce a.remove { color: var(--c-danger) !important; font-size: 1.4em; width: 32px; height: 32px; line-height: 30px; }
.woocommerce a.remove:hover { background: var(--c-danger); color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; max-width: 480px; float: right; }
.woocommerce .cart_totals h2 { font-size: 1.4rem; }
.woocommerce table.cart td.actions .coupon .input-text { width: 180px; min-height: 44px; margin-right: 6px; }
@media (max-width: 768px) {
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { display: block; text-align: right !important; }
	.woocommerce table.shop_table_responsive tr td::before { content: attr(data-title) ": "; font-weight: 700; float: left; }
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.cart td.actions .coupon { display: flex; gap: 6px; margin-bottom: 10px; }
	.woocommerce table.cart td.actions .coupon .input-text { flex: 1; width: auto; }
	.woocommerce table.cart td.actions > .button { width: 100%; }
	.woocommerce-cart table.cart .product-thumbnail { display: none !important; }
}
.woocommerce-checkout .col2-set { display: grid; gap: 20px; grid-template-columns: 1fr; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }
.woocommerce-checkout .col2-set::before, .woocommerce-checkout .col2-set::after { display: none; }
@media (min-width: 1024px) {
	form.checkout.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 28px; align-items: start; }
	form.checkout > .woocommerce-NoticeGroup, form.checkout > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
	form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
	form.checkout #order_review { position: sticky; top: calc(var(--header-h) + 64px); }
}
.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, .corona-fiscal, #order_review { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
@media (min-width: 640px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48.5%; } .woocommerce form .form-row-first { float: left; } .woocommerce form .form-row-last { float: right; } }
.woocommerce form .form-row-wide { clear: both; }
.corona-fiscal h3 { font-size: 1.25rem; }
.corona-fiscal__fields { display: none; }
.corona-fiscal.is-open .corona-fiscal__fields { display: block; }
.corona-fiscal__fields::after { content: ""; display: table; clear: both; }
.corona-fiscal__note { font-size: .85rem; color: var(--c-muted); clear: both; margin-top: 6px; }
#order_review_heading { font-size: 1.4rem; }
.woocommerce-checkout #payment { background: var(--c-blue-50); border-radius: var(--radius); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--c-line); }
.woocommerce-checkout #payment div.payment_box { background: #fff; color: var(--c-ink-2); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout #payment ul.payment_methods li img { display: inline-block; height: 22px; vertical-align: middle; margin-left: 6px; }
#place_order { width: 100%; min-height: 54px; font-size: 1.1rem !important; }
.woocommerce-account .woocommerce { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .woocommerce-account .woocommerce { grid-template-columns: 250px minmax(0, 1fr); } }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--c-ink); text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--c-blue-50); color: var(--c-blue); font-weight: 700; }
.woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce .u-columns.col2-set { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .woocommerce .u-columns.col2-set { grid-template-columns: 1fr 1fr; } }
.woocommerce .u-columns .u-column1, .woocommerce .u-columns .u-column2 { width: auto; float: none; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; margin: 0; }
.corona-order-extras { margin: 22px 0; padding-top: 6px; border-top: 1px solid var(--c-line); }
.corona-order-extras h2 { font-size: 1.35rem; }
.corona-invoice-request summary { list-style: none; cursor: pointer; display: inline-flex; }
.corona-invoice-request summary::-webkit-details-marker { display: none; }
.corona-invoice-request[open] summary { margin-bottom: 14px; }
.corona-shipment { border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 12px; }
.corona-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.corona-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--c-blue-100); color: var(--c-blue-800); font-size: .8rem; font-weight: 700; }
.corona-badge--entregado { background: var(--c-success-bg); color: var(--c-success); }
.corona-badge--incidencia { background: var(--c-danger-bg); color: var(--c-danger); }
.corona-timeline { list-style: none; margin: 10px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--c-line); display: grid; gap: 8px; font-size: .9rem; }
.corona-timeline time { font-weight: 700; color: var(--c-ink-2); margin-right: 6px; }
.corona-thread { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.corona-thread__msg { padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--c-line); background: #fff; }
.corona-thread__msg--staff { background: var(--c-blue-50); border-color: #cfdaf2; }
.corona-thread__meta { font-size: .8rem; color: var(--c-muted); margin-bottom: 4px; }
.corona-help-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 26px; }
.corona-help-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--c-line); background: #fff; text-decoration: none; color: var(--c-ink); border-top: 4px solid var(--c-orange); }
.corona-help-card:hover { box-shadow: var(--shadow); }
.corona-help-card strong { font-size: 1.1rem; color: var(--c-blue); }
.corona-help-card span { color: var(--c-muted); font-size: .92rem; }
.corona-faq__item { border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 8px; }
.corona-faq__item summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style-position: inside; }
.corona-faq__item > div { padding: 0 16px 12px; color: var(--c-ink-2); }
.corona-track-result { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.notfound { text-align: center; }
.notfound__code { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 6rem; line-height: 1; color: var(--c-orange); display: block; }
.notfound .site-search { max-width: 560px; margin: 0 auto 20px; }

/* Utilidades de impresión */
@media print { .site-header, .site-footer, .footer-benefits, .wa-float, .announce, .corona-sandbox-banner { display: none !important; } body { background: #fff; } }

/* Sucursales */
.btn--sm { min-height: 38px; padding: .45em 1em; font-size: .9rem; }
.branch-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .branch-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }
.branch-card { display: flex; flex-direction: column; gap: 6px; background: var(--c-surface); border: 1px solid var(--c-line); border-top: 4px solid var(--c-blue); border-radius: 12px; padding: 16px 18px; }
.branch-card--main { border-top-color: var(--c-orange); }
.branch-card__name { margin: 0 0 4px; font-size: 1.1rem; color: var(--c-blue-900); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.branch-card__tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--c-orange-100); color: var(--c-orange-cta-hover); border-radius: 999px; padding: 2px 8px; }
.branch-card__line { margin: 0; color: var(--c-ink-2); font-size: .95rem; }
.branch-card__line span { color: var(--c-muted); }
.branch-card__line a { color: var(--c-blue); font-weight: 600; }
.branch-card__hours { color: var(--c-muted); font-size: .9rem; }
.branch-card__actions { margin: auto 0 0; padding-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.corona-branches__intro { color: var(--c-ink-2); margin-bottom: 18px; }
/* Precio a cotizar */
.corona-quote-price { font-weight: 700; color: var(--c-blue); }
.corona-quote-box { background: var(--c-blue-50); border: 1px solid var(--c-blue-100); border-radius: 12px; padding: 14px 16px; margin: 12px 0 18px; }
.corona-quote-box p { margin: 0 0 10px; }
.corona-quote-box__actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 !important; }
.corona-quote-btn--wa, .woocommerce a.button.corona-quote-btn--wa, .woocommerce a.button.alt.corona-quote-btn--wa { background: #0f7a3f !important; border-color: #0f7a3f !important; color: #fff !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; }
.corona-quote-btn--wa:hover, .woocommerce a.button.corona-quote-btn--wa:hover { background: #0b6332 !important; }
.corona-quote-btn--wa .icon { width: 20px; height: 20px; flex: none; }
.product-card__actions .button.corona-quote-btn--wa { flex-direction: row; flex-wrap: nowrap; white-space: nowrap; gap: 6px; }
@media (max-width: 599px) { .corona-quote-btn__more { display: none; } }

/* ---------- Teléfono: barra inferior tipo app ---------- */
.mobile-bar, .mobile-buy { display: none; }
@media (max-width: 899px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.wa-float { display: none; }
	.toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
	.mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -4px 16px rgba(15, 38, 87, .08); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
	.mobile-bar__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 4px 2px; border: 0; background: none; color: var(--c-ink-2); font: inherit; font-size: .72rem; font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 10px; }
	.mobile-bar__item .icon { width: 24px; height: 24px; }
	.mobile-bar__item[aria-current="page"] { color: var(--c-blue); }
	.mobile-bar__item[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--c-orange); }
	.mobile-bar__item:active { background: var(--c-blue-50); }
	.mobile-bar__item--wa { color: #0f7a3f; }
	.mobile-bar__item--cart .cart-count { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-orange-cta); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; }
	.mobile-bar__item--cart .cart-count[data-count="0"] { display: none; }
	.mobile-buy { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -4px 16px rgba(15, 38, 87, .1); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
	.mobile-buy { transition: transform .2s ease; }
	.mobile-buy.is-hidden { transform: translateY(110%); }
	.mobile-buy__price { flex: 1; min-width: 0; font-weight: 800; color: var(--c-ink); font-size: 1.1rem; line-height: 1.15; }
	.mobile-buy__price del { font-size: .8rem; color: var(--c-muted); font-weight: 600; }
	.mobile-buy__price .corona-iva { display: block; font-size: .7rem; color: var(--c-muted); font-weight: 600; }
	.mobile-buy__price .corona-quote-price { font-size: 1rem; }
	.mobile-buy__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--c-orange-cta); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
	.mobile-buy__btn .icon { width: 20px; height: 20px; }
	.mobile-buy__btn--wa { background: #0f7a3f; color: #fff; }
	/* Encabezado compacto al desplazarse: se oculta la fila del buscador. */
	.site-header__mobile-search { max-height: 80px; transition: max-height .2s ease, padding .2s ease, opacity .2s ease; }
	.site-header.is-compact .site-header__mobile-search { max-height: 0; padding-bottom: 0; opacity: 0; overflow: hidden; pointer-events: none; }
	/* Categorías en carrusel horizontal (menos desplazamiento vertical). */
	.cat-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
	.cat-grid::-webkit-scrollbar { display: none; }
	.cat-grid > li { flex: 0 0 40%; scroll-snap-align: start; }
	/* Objetivos táctiles más cómodos. */
	input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--c-blue); }
	.footer-contact a { min-height: 44px; align-items: center; }
	.hero__dot { height: 24px; background: transparent !important; position: relative; }
	.hero__dot::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 6px; border-radius: 3px; background: #c7cfdf; }
	.hero__dot[aria-selected="true"]::after { background: var(--c-orange); }
}
@media (min-width: 560px) and (max-width: 899px) { .cat-grid > li { flex-basis: 26%; } }

/* ---------- Pulido profesional ---------- */
/* La galería del producto se muestra de inmediato (sin desvanecido que retrasa la foto principal). */
.woocommerce-product-gallery { opacity: 1 !important; transition: none !important; }
/* El SKU ya aparece junto al precio y en especificaciones. */
.product_meta .sku_wrapper { display: none; }
/* Tarjetas de producto: más limpias y con menos peso visual. */
.woocommerce ul.products li.product, .product-card { border-radius: 14px; }
.product-card { transition: box-shadow .2s, border-color .2s, transform .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 38, 87, .10); }
.product-card__img img { transition: transform .35s ease; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { padding: 12px 14px 4px; }
.product-card__sku { font-size: .72rem; }
.product-card .price { font-family: var(--font-display); font-size: 1.35rem !important; letter-spacing: .01em; }
.product-card .corona-iva { display: inline; margin-left: 4px; font-family: var(--font-body); letter-spacing: 0; }
.product-card__actions { padding: 10px 14px 14px; }
.product-card__actions .button:not(.corona-quote-btn--wa) { background: #fff !important; color: var(--c-blue) !important; border: 1.5px solid var(--c-blue) !important; box-shadow: none; }
.product-card__actions .button:not(.corona-quote-btn--wa):hover, .product-card:hover .product-card__actions .button:not(.corona-quote-btn--wa) { background: var(--c-blue) !important; color: #fff !important; }
.product-card__actions .button.loading { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .product-card, .product-card__img img { transition: none; } .product-card:hover { transform: none; } .product-card:hover .product-card__img img { transform: none; } }
