/*
Theme Name: Energy Depot
Theme URI: https://energydepot.mx/
Author: Energy Depot
Description: Tema a medida para Energy Depot, comercializadora de baterías de ciclo profundo en México. Tema de bloques con catálogo de baterías, buscador por equipo y marca, y formulario de cotización.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: energydepot
*/

/* ---------- Base ---------- */
:root { --ed-radius: 4px; }
body { -webkit-font-smoothing: antialiased; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--wp--preset--color--amber); outline-offset: 2px; }
img { height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Kicker line before small section labels */
.ed-kicker { display: flex; align-items: center; gap: 12px; font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 17px; margin: 0; color: var(--wp--preset--color--amber-dark); }
.ed-kicker::before { content: ""; width: 36px; height: 3px; background: var(--wp--preset--color--amber); flex-shrink: 0; }
.ed-dark .ed-kicker, .ed-kicker.is-light { color: var(--wp--preset--color--amber); }

/* Dark sections */
.ed-dark { color: var(--wp--preset--color--mist); }
.ed-dark :where(h1,h2,h3,h4,h5,h6) { color: #fff; }
body .ed-dark a:where(:not(.wp-element-button)) { color: #fff; }

/* Buttons */
.wp-block-button.is-style-ed-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border: 1.5px solid currentColor; }
.ed-dark .wp-block-button.is-style-ed-outline .wp-block-button__link { color: #fff; border-color: #5b6066; }
.wp-block-button.is-style-ed-outline .wp-block-button__link:hover { border-color: var(--wp--preset--color--amber); }
.wp-block-button.is-style-ed-dark .wp-block-button__link { background: var(--wp--preset--color--ink); color: #fff; }
.wp-block-button.is-style-ed-dark .wp-block-button__link:hover { background: var(--wp--preset--color--graphite); }
.wp-element-button:hover { filter: brightness(1.05); }

/* Media placeholders: hatched box that an image block fills */
.ed-media { position: relative; overflow: hidden; border-radius: var(--ed-radius); background: repeating-linear-gradient(135deg,#1c2024 0 14px,#22272c 14px 28px); min-height: 200px; }
.ed-media.is-light { background: repeating-linear-gradient(135deg,#e6e2da 0 14px,#ece9e2 14px 28px); }
.ed-media > .wp-block-image, .ed-media > figure { margin: 0 !important; position: absolute; inset: 0; }
.ed-media > .wp-block-image img, .ed-media > figure img, .ed-media > video, .ed-media .wp-block-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-media > .wp-block-video { margin: 0; position: absolute; inset: 0; }
.ed-media-label { position: absolute; left: 16px; bottom: 16px; margin: 0; font-size: 12px; color: #8d9297; }
.ed-media.is-light .ed-media-label { color: var(--wp--preset--color--steel); }
.ed-media:has(img[src]) .ed-media-label, .ed-media:has(video) .ed-media-label { display: none; }

/* ---------- Header ---------- */
.ed-topbar { font-size: 13px; }
body .ed-topbar a { color: var(--wp--preset--color--ash) !important; text-decoration: none; }
body .ed-topbar a:hover { color: #fff !important; }
.ed-topbar p { margin: 0; }
.ed-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .ed-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ed-header { top: 46px; } }
.ed-header .wp-block-site-title { font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 800; letter-spacing: .06em; font-size: 34px; line-height: 1; margin: 0; }
.ed-header .wp-block-site-title a { color: #fff; text-decoration: none; }
.wp-block-site-logo + .wp-block-site-title { display: none; }
.ed-brand { gap: 10px; }
.ed-nav { font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 600; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; }
body .ed-nav a { color: #fff; text-decoration: none; }
body .ed-nav a:hover, body .ed-nav .current-menu-item > a { color: var(--wp--preset--color--amber); }
body .ed-nav .ed-nav-highlight > a { color: var(--wp--preset--color--amber); }
.ed-nav .wp-block-navigation__submenu-container { background: var(--wp--preset--color--ink) !important; border: 1px solid #262a2f !important; padding: 8px 0; min-width: 260px !important; }
.ed-nav .wp-block-navigation__submenu-container a { font-family: var(--wp--preset--font-family--archivo); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; padding: 10px 18px !important; }
.ed-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--ink) !important; color: #fff !important; padding: 24px; }
.ed-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; }
.ed-nav .wp-block-navigation__responsive-container-open svg, .ed-nav .wp-block-navigation__responsive-container-close svg { fill: #fff; }
@media (max-width: 1100px) { .ed-hide-tablet { display: none !important; } }
@media (max-width: 781px) { .ed-hide-mobile { display: none !important; } }

/* ---------- Hero ---------- */
.ed-hero { min-height: 680px; }
.ed-hero > .wp-block-column { display: flex; flex-direction: column; justify-content: center; }
.ed-hero .ed-media { min-height: 520px; height: 100%; border-radius: 0; }
.ed-hero h1 { max-width: 12ch; }
@media (max-width: 781px) { .ed-hero .ed-media { min-height: 280px; } }

/* ---------- Stats ---------- */
.ed-stats > .wp-block-column + .wp-block-column { border-left: 1px solid var(--wp--preset--color--line); padding-left: 32px; }
.ed-stat-number { font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 800; font-size: 60px; line-height: 1; margin: 0 0 6px; color: var(--wp--preset--color--ink); }
.ed-stat-title { font-weight: 700; font-size: 15px; margin: 0 0 4px; }
.ed-stat-text { font-size: 14px; color: var(--wp--preset--color--steel); margin: 0; line-height: 1.45; }
@media (max-width: 781px) { .ed-stats > .wp-block-column + .wp-block-column { border-left: 0; padding-left: 0; border-top: 1px solid var(--wp--preset--color--line); padding-top: 24px; } }

/* ---------- Brand strip ---------- */
.ed-brands { display: grid !important; grid-template-columns: repeat(9, minmax(0,1fr)); gap: 16px; }
.ed-brands > * { margin: 0 !important; }
.ed-brand-tile { height: 64px; border-radius: 3px; background: #fff; border: 1px solid var(--wp--preset--color--line); display: flex; align-items: center; justify-content: center; padding: 8px 12px; box-sizing: border-box; }
.ed-brand-tile p { margin: 0; font-weight: 700; font-size: 14px; color: var(--wp--preset--color--steel); }
.ed-brand-tile img { max-height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; }
.ed-brand-tile .wp-block-image { margin: 0; }
.ed-brand-tile:has(img[src]) p { display: none; }
@media (max-width: 1000px) { .ed-brands { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* Fotos verticales: enfocar la parte baja */
.ed-media .ed-foco-abajo img { object-position: 50% 72%; }

/* ---------- Pillars ---------- */
.ed-pillar { border-top: 3px solid var(--wp--preset--color--ink); padding-top: 24px; }
.ed-pillar h3 { font-size: 28px; margin: 16px 0; }
.ed-pillar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; color: #33373b; }
.ed-pillar li { padding-left: 22px; position: relative; }
.ed-pillar li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 3px; background: var(--wp--preset--color--amber); }
.ed-icon svg { display: block; }

/* ---------- Cards (applications, products, batteries) ---------- */
.ed-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: var(--ed-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; position: relative; }
.ed-card .ed-media { border-radius: 0; min-height: 200px; }
.ed-card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.ed-card-body > * { margin: 0 !important; }
.ed-card h3, .ed-card .wp-block-post-title { font-size: 26px; }
body .ed-card h3 a, body .ed-card .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.ed-card h3 a::after, .ed-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.ed-card:hover { border-color: var(--wp--preset--color--ink); }
.ed-card-meta { font-size: 14px; color: var(--wp--preset--color--steel); }
.ed-card-link { font-weight: 700; font-size: 14px; margin-top: auto !important; padding-top: 6px; }
.ed-card .wp-block-post-featured-image { margin: 0; aspect-ratio: 4/3; background: repeating-linear-gradient(135deg,#e6e2da 0 14px,#ece9e2 14px 28px); }
.ed-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ed-card .wp-block-post-terms { font-size: 13px; color: var(--wp--preset--color--steel); }
.ed-card .wp-block-post-terms a { color: var(--wp--preset--color--amber-dark); text-decoration: none; }
.ed-grid-3 { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.ed-grid-4 { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.ed-grid-3 > *, .ed-grid-4 > * { margin: 0 !important; }
@media (max-width: 1000px) { .ed-grid-3, .ed-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .ed-grid-3, .ed-grid-4 { grid-template-columns: 1fr; } }

/* Resource cards */
.ed-resource { background: var(--wp--preset--color--sand); border-radius: var(--ed-radius); padding: 32px 28px; position: relative; height: 100%; box-sizing: border-box; }
.ed-resource h3 { font-size: 24px; margin: 14px 0 8px; }
body .ed-resource h3 a { color: var(--wp--preset--color--ink); text-decoration: none; }
.ed-resource h3 a::after { content: ""; position: absolute; inset: 0; }
.ed-resource p { font-size: 14px; color: var(--wp--preset--color--steel); margin: 0; line-height: 1.5; }
.ed-resource:hover { outline: 1px solid var(--wp--preset--color--ink); }

/* Specs on dark (Lion) */
.ed-specs { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; max-width: 560px; }
.ed-specs > * { margin: 0 !important; border-left: 2px solid #3a3f44; padding-left: 16px; }
.ed-specs strong { display: block; font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 700; font-size: 30px; color: #fff; }
.ed-specs span { font-size: 13px; color: var(--wp--preset--color--ash); }

/* CTA panels */
.ed-panel { border-radius: var(--ed-radius); padding: 44px !important; height: 100%; box-sizing: border-box; }
.ed-panel h2 { font-size: 40px; }

/* ---------- Forms (buscador + cotización) ---------- */
.ed-form { display: grid; gap: 16px; }
.ed-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.ed-form input, .ed-form select, .ed-form textarea { font: inherit; font-size: 15px; font-weight: 400; min-height: 48px; padding: 0 12px; border: 1px solid var(--wp--preset--color--line); border-radius: 3px; background: #fff; color: var(--wp--preset--color--ink); box-sizing: border-box; width: 100%; }
.ed-form textarea { padding: 12px; min-height: 130px; }
.ed-form .ed-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.ed-form button { font: inherit; font-weight: 700; font-size: 15px; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--ed-radius); background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); cursor: pointer; justify-self: start; }
.ed-form button:hover { filter: brightness(1.05); }
.ed-form .ed-hp { position: absolute; left: -9999px; }
.ed-finder { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.ed-finder label { flex: 1 1 160px; }
.ed-finder select { border: 0; }
.ed-finder button { background: var(--wp--preset--color--ink); color: #fff; min-height: 48px; }
.ed-notice { padding: 16px 20px; border-radius: 3px; margin-bottom: 20px; font-weight: 600; }
.ed-notice.is-ok { background: #e5f4e8; color: #1d5c2b; }
.ed-notice.is-error { background: #fbe7e4; color: #8a2414; }
@media (max-width: 640px) { .ed-form .ed-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ed-footer { font-size: 14px; }
body .ed-footer a { color: var(--wp--preset--color--ash); text-decoration: none; }
body .ed-footer a:hover { color: #fff; }
.ed-footer h4 { font-family: var(--wp--preset--font-family--archivo); text-transform: none; font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.ed-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
body .ed-footer .ed-footer-phone a { font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 700; font-size: 30px; color: #fff; }
.ed-footer-bottom { border-top: 1px solid #262a2f; font-size: 13px; }
.ed-footer .wp-block-site-title { font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 800; letter-spacing: .06em; font-size: 30px; margin: 0; }
body .ed-footer .wp-block-site-title a { color: #fff; }

/* WhatsApp floating button */
.ed-wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1f8f4e; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ed-wa svg { width: 28px; height: 28px; fill: #fff; }

/* Content pages */
.ed-page-hero { border-bottom: 1px solid #262a2f; }
.wp-block-post-content table { border-collapse: collapse; width: 100%; font-size: 15px; }
.wp-block-post-content th, .wp-block-post-content td { border: 1px solid var(--wp--preset--color--line); padding: 10px 14px; text-align: left; }
.wp-block-table thead { border-bottom: 3px solid var(--wp--preset--color--ink); }
.wp-block-table th { background: var(--wp--preset--color--sand); }
.wp-block-query-pagination a { color: var(--wp--preset--color--ink); }
.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--line); padding: 18px 0; }
.wp-block-details summary { font-weight: 700; font-size: 18px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Hero columns */
.wp-block-columns.ed-hero { gap: 0 !important; margin: 0 !important; align-items: stretch !important; }
.ed-hero-copy { padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 64px) clamp(56px, 8vw, 96px) clamp(20px, 6vw, 120px); }
.ed-hero-copy > * { margin-block: 0 !important; }
.ed-hero-copy > * + * { margin-top: 28px !important; }
.ed-hero-copy p:not(.ed-kicker) { font-size: 19px; max-width: 520px; }
.ed-hero > .wp-block-column:last-child:not(.ed-hero-copy) { padding: 0; }
.ed-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.ed-section-head > * { margin: 0 !important; }
.ed-section-head h2 { max-width: 680px; }
.ed-section-head > p { max-width: 440px; color: var(--wp--preset--color--steel); }
.ed-lead { font-size: 19px; }
.ed-page-hero h1 { font-size: var(--wp--preset--font-size--xx-large); }
.ed-specs p { margin: 0; font-size: 13px; color: var(--wp--preset--color--ash); }
.ed-link-arrow a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--wp--preset--color--amber); padding-bottom: 4px; }
.ed-bat-hero .ed-media, .ed-bat-img { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: var(--ed-radius); }
.ed-bat-img img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.ed-media.ed-tall { min-height: 420px; }
.ed-topbar-inner, .ed-header-inner { max-width: 1440px; margin: 0 auto; }
.ed-brand-mark svg { display: block; }
.ed-header .wp-block-site-logo img { max-height: 70px; width: auto; }
@media (max-width: 782px) { .ed-header .wp-block-site-logo img { max-height: 54px; } }
@media (max-width: 1100px) { .ed-nav { font-size: 16px; } .ed-nav .wp-block-navigation__container { gap: 18px !important; } }
.ed-topbar, .ed-header { padding-left: clamp(20px, 6vw, 120px) !important; padding-right: clamp(20px, 6vw, 120px) !important; gap: 24px; }
.ed-footer .wp-block-columns { gap: 40px; }

/* Section rhythm: full-width sections sit flush */
.wp-site-blocks > * + *, .wp-site-blocks > main > * + * { margin-block-start: 0; }
.wp-block-post-content > .alignfull, .wp-block-post-content > .alignfull + * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
main.wp-block-group { margin-block: 0; }
.ed-hero > .wp-block-column:last-child { display: flex; }
.ed-hero > .wp-block-column:last-child > .ed-media { flex-grow: 1; margin: 0; }
body .ed-page-hero :where(h1,h2) { color: #fff; }
body .ed-nav { color: #fff; }
body .ed-nav .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
body .ed-nav .ed-nav-highlight .wp-block-navigation-item__content.wp-block-navigation-item__content { color: var(--wp--preset--color--amber); }
body .ed-nav .wp-block-navigation__submenu-container { color: #fff !important; }
body .wp-block-group.alignfull:has(> .ed-hero) { padding: 0; }

:root { --ed-edge: max(clamp(20px, 6vw, 120px), calc((100vw - 1200px) / 2)); }
.ed-hero-copy { padding-left: var(--ed-edge); }
.ed-hero > .ed-hero-copy:last-child { padding-left: clamp(24px, 5vw, 80px); padding-right: var(--ed-edge); }
.ed-topbar, .ed-header { padding-left: var(--ed-edge) !important; padding-right: var(--ed-edge) !important; }
@media (max-width: 781px) { .ed-hero > .ed-hero-copy:last-child { padding-left: var(--ed-edge); } }

/* v1.0 fixes */
.ed-page-hero > :where(h1, h2, p, form, .wp-block-shortcode) { max-width: var(--wp--style--global--content-size, 1200px) !important; }
.ed-page-hero > p.ed-lead { font-size: 19px; }
body .ed-dark .ed-finder button { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); }
.ed-resource > p + p { margin-top: 14px; }
.ed-resource > .ed-media { margin-top: 20px; }
.ed-bat-hero .wp-block-post-terms { margin-top: 6px; margin-bottom: 0; font-size: 15px; }
.ed-bat-hero .wp-block-post-terms a { color: var(--wp--preset--color--ink); }
.ed-noimg { aspect-ratio: 4/3; background: repeating-linear-gradient(135deg,#e6e2da 0 14px,#ece9e2 14px 28px); display: flex; align-items: flex-end; padding: 12px; box-sizing: border-box; font-size: 12px; color: var(--wp--preset--color--steel); }
.ed-bat-hero .ed-noimg { aspect-ratio: 1/1; border-radius: var(--ed-radius); }
.ed-card .ed-noimg { margin: 0; }
@media (max-width: 781px) {
  .ed-stats .wp-block-column { flex-basis: 100% !important; }
  .ed-hero-copy h1 { font-size: 48px; }
  .ed-panel { padding: 28px !important; }
  .ed-section-head { gap: 16px; }
}

/* Icons (CSS, editable headings stay clean in the editor) */
.ed-ic::before { content: ""; display: block; width: 36px; height: 36px; margin-bottom: 16px; background: currentColor; -webkit-mask: var(--ic) no-repeat center / contain; mask: var(--ic) no-repeat center / contain; }
.ed-resource .ed-ic::before { width: 32px; height: 32px; }
.ed-ic-box { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2236%22%20height%3D%2236%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%3E%3Cpath%20d%3D%22M3%208l9-5%209%205v8l-9%205-9-5V8z%22/%3E%3Cpath%20d%3D%22M3%208l9%205%209-5M12%2013v8%22/%3E%3C/svg%3E"); }
.ed-ic-tool { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2236%22%20height%3D%2236%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%3E%3Cpath%20d%3D%22M14.7%206.3a4%204%200%2000-5.4%205.4L3%2018l3%203%206.3-6.3a4%204%200%20005.4-5.4l-2.5%202.5-2.4-.6-.6-2.4%202.5-2.5z%22/%3E%3C/svg%3E"); }
.ed-ic-pin { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2236%22%20height%3D%2236%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%3E%3Cpath%20d%3D%22M12%2021s-7-6.2-7-11.5A7%207%200%200112%202.5a7%207%200%20017%207C19%2014.8%2012%2021%2012%2021z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229.5%22%20r%3D%222.5%22/%3E%3C/svg%3E"); }
.ed-ic-news { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%221%22/%3E%3Cpath%20d%3D%22M7%208h10M7%2012h10M7%2016h6%22/%3E%3C/svg%3E"); }
.ed-ic-bat { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%2216%22%20height%3D%2212%22%20rx%3D%221%22/%3E%3Cpath%20d%3D%22M19%2011h2v4h-2M7%2013h6%22/%3E%3C/svg%3E"); }
.ed-ic-down { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%3E%3Cpath%20d%3D%22M12%203v12M7%2010l5%205%205-5M4%2019h16%22/%3E%3C/svg%3E"); }
.ed-ic-shield { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%3E%3Cpath%20d%3D%22M12%203l8%203v6c0%205-3.5%208-8%209-4.5-1-8-4-8-9V6l8-3z%22/%3E%3Cpath%20d%3D%22M9%2012l2%202%204-4%22/%3E%3C/svg%3E"); }
.ed-header .wp-block-site-title a, .ed-footer .wp-block-site-title a { display: inline-flex; align-items: center; gap: 10px; }
.ed-header .wp-block-site-title a::before, .ed-footer .wp-block-site-title a::before { content: ""; width: 34px; height: 34px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2034%2034%22%20fill%3D%22none%22%20stroke%3D%22%23FBF519%22%20stroke-width%3D%222.4%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%228%22%20width%3D%2226%22%20height%3D%2220%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M10%208V5h4v3M20%208V5h4v3%22/%3E%3Cpath%20d%3D%22M18%2012l-5%207h5l-2%205%206-8h-5l2-4z%22%20fill%3D%22%23FBF519%22%20stroke%3D%22none%22/%3E%3C/svg%3E") no-repeat center / contain; }
.ed-pillar h3.ed-ic { margin-top: 0; }

/* Hero con video y logos de marcas */
.wp-block-cover.ed-hero-cover { padding-left: var(--ed-edge) !important; padding-right: var(--ed-edge) !important; }
.ed-hero-cover .wp-block-cover__inner-container { max-width: none; width: 100%; }
.ed-hero-cover .ed-hero-overlay > * { margin-block: 0; }
.ed-hero-cover .ed-hero-overlay > * + * { margin-top: 28px; }
.ed-hero-cover .ed-hero-overlay p:not(.ed-kicker) { font-size: 19px; max-width: 560px; color: var(--wp--preset--color--mist); }
.ed-brand-tile img[src*="lester"] { filter: grayscale(1) brightness(0.45) contrast(1.6); opacity: 1; }

/* Video de producto completo, sin recortar */
.ed-media:has(.wp-block-video) { background: #000; }
.ed-hero .ed-media:has(.wp-block-video) video { object-fit: contain; }
