/*
Theme Name: El Ferretero SV Fast Shop
Theme URI: https://elferreterosv.online/
Author: El Ferretero SV
Description: Tema WooCommerce mobile-first de alto rendimiento para El Ferretero SV. Versión 3.2 con diseño visual aprobado, hero y promociones premium, categorías visuales, productos, marcas y marketplace.
Version: 3.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: efsv-fast-shop
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --efsv-primary: #0b2f5b;
  --efsv-primary-2: #134d87;
  --efsv-accent: #f58220;
  --efsv-accent-2: #ff9b42;
  --efsv-ink: #172033;
  --efsv-muted: #667085;
  --efsv-line: #e6e9ef;
  --efsv-surface: #ffffff;
  --efsv-soft: #f5f7fa;
  --efsv-success: #177245;
  --efsv-danger: #b42318;
  --efsv-shadow: 0 10px 30px rgba(16, 24, 40, .08);
  --efsv-radius: 14px;
  --efsv-max: 1480px;
}

* { box-sizing: border-box; }
/* v1.1 compatibility reset: prevents legacy theme/custom CSS from boxing the storefront. */
html, body {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: clip;
}
body > .efsv-topbar,
body > .efsv-header,
body > .efsv-overlay,
body > .efsv-drawer,
body > .efsv-main,
body > .efsv-footer,
body > .efsv-mobile-bar {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.efsv-main, .efsv-home, .efsv-home-content {
  width: 100% !important;
  max-width: none !important;
}
@supports (width: 100dvw) {
  .efsv-topbar, .efsv-header, .efsv-main, .efsv-footer { max-width: 100dvw !important; }
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  color: var(--efsv-ink);
  background: var(--efsv-surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--efsv-primary); text-decoration: none; }
a:hover { color: var(--efsv-accent); }
button, input, select, textarea { font: inherit; }
button, .button, input[type="submit"] { touch-action: manipulation; }
:focus-visible { outline: 3px solid rgba(245,130,32,.35); outline-offset: 2px; }

.efsv-container { width: min(calc(100% - 28px), var(--efsv-max)); margin-inline: auto; }
.efsv-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.efsv-skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 999999; padding: 10px 14px;
  background: #fff; color: #111; border-radius: 8px; box-shadow: var(--efsv-shadow);
}
.efsv-skip-link:focus { top: 16px; }

/* Header */
.efsv-topbar { background: #07213e; color: #fff; font-size: 13px; }
.efsv-topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.efsv-topbar a { color: #fff; }
.efsv-topbar__right { display: none; gap: 16px; align-items: center; }

.efsv-header {
  position: sticky; top: 0; z-index: 1000; background: #fff;
  border-bottom: 1px solid var(--efsv-line);
}
.admin-bar .efsv-header { top: 32px; }
.efsv-header__main { min-height: 64px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; }
.efsv-menu-toggle { grid-column: 1; grid-row: 1; }
.efsv-logo { grid-column: 2; grid-row: 1; }
.efsv-header__actions { grid-column: 3; grid-row: 1; }
.efsv-search-row { grid-column: 1 / -1; grid-row: 2; }
.efsv-logo { display: flex; align-items: center; gap: 9px; min-width: 0; }
.efsv-logo .custom-logo { width: auto; height: 42px; display: block; }
.efsv-logo__text { font-weight: 800; color: var(--efsv-primary); font-size: 18px; line-height: 1.05; }
.efsv-icon-btn {
  width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--efsv-primary); cursor: pointer;
}
.efsv-icon-btn:hover { background: var(--efsv-soft); }
.efsv-icon { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; }
.efsv-header__actions { display: flex; align-items: center; gap: 2px; }
.efsv-action-link {
  position: relative; width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--efsv-primary);
}
.efsv-action-link:hover { background: var(--efsv-soft); }
.efsv-cart-count {
  position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--efsv-accent); color: #fff; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

.efsv-search-row { padding: 0 0 10px; }
.efsv-search {
  width: 100%; display: grid; grid-template-columns: 1fr auto; border: 2px solid var(--efsv-primary);
  border-radius: 12px; overflow: hidden; background: #fff;
}
.efsv-search input[type="search"] {
  width: 100%; min-width: 0; height: 44px; border: 0; outline: 0; padding: 0 13px; color: var(--efsv-ink); background: #fff;
}
.efsv-search select { display: none; border: 0; border-left: 1px solid var(--efsv-line); padding: 0 10px; background: #fff; color: var(--efsv-muted); }
.efsv-search button {
  width: 50px; border: 0; color: #fff; background: var(--efsv-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.efsv-search button:hover { background: var(--efsv-primary-2); }

.efsv-desktop-nav { display: none; border-top: 1px solid var(--efsv-line); background: #fff; }
.efsv-desktop-nav__inner { display: flex; align-items: stretch; min-height: 48px; }
.efsv-departments { position: relative; min-width: 260px; }
.efsv-departments__toggle {
  width: 100%; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 0;
  background: var(--efsv-primary); color: #fff; font-weight: 800; cursor: pointer;
}
.efsv-departments__panel {
  display: none; position: absolute; left: 0; top: 100%; width: min(980px, calc(100vw - 40px)); max-height: 72vh; overflow: auto;
  background: #fff; border: 1px solid var(--efsv-line); box-shadow: var(--efsv-shadow); border-radius: 0 0 14px 14px; padding: 18px; z-index: 1100;
}
.efsv-departments.is-open .efsv-departments__panel { display: block; }
.efsv-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px 22px; }
.efsv-mega-group > a { display: inline-block; color: var(--efsv-primary); font-weight: 800; margin-bottom: 7px; }
.efsv-mega-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.efsv-mega-group li a { color: #445; font-size: 14px; }
.efsv-mega-group li a:hover { color: var(--efsv-accent); }
.efsv-nav-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0 8px; list-style: none; overflow-x: auto; }
.efsv-nav-menu li { flex: 0 0 auto; }
.efsv-nav-menu a { height: 48px; padding: 0 13px; display: inline-flex; align-items: center; color: var(--efsv-ink); font-weight: 700; font-size: 14px; }
.efsv-nav-menu a:hover { color: var(--efsv-accent); }

/* Drawers */
.efsv-overlay { position: fixed; inset: 0; z-index: 1990; background: rgba(7,33,62,.52); opacity: 0; visibility: hidden; transition: .18s ease; }
.efsv-overlay.is-open { opacity: 1; visibility: visible; }
.efsv-drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 2000; width: min(92vw, 390px); background: #fff; transform: translateX(-102%);
  transition: transform .22s ease; overflow-y: auto; overscroll-behavior: contain; box-shadow: 14px 0 34px rgba(0,0,0,.18);
}
.efsv-drawer.is-open { transform: translateX(0); }
.efsv-drawer__head { position: sticky; top: 0; z-index: 2; min-height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--efsv-line); }
.efsv-drawer__title { font-size: 17px; font-weight: 800; color: var(--efsv-primary); }
.efsv-drawer__body { padding: 14px; }
.efsv-mobile-menu, .efsv-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.efsv-mobile-menu > li { border-bottom: 1px solid var(--efsv-line); }
.efsv-mobile-menu a { display: block; padding: 12px 4px; color: var(--efsv-ink); font-weight: 700; }
.efsv-mobile-menu ul { padding: 0 0 8px 14px; }
.efsv-mobile-menu ul a { padding: 7px 4px; font-size: 14px; font-weight: 500; color: #475467; }
.efsv-drawer__meta { margin-top: 16px; display: grid; gap: 8px; }
.efsv-drawer__meta a { display: flex; align-items: center; gap: 8px; padding: 10px 0; color: var(--efsv-primary); font-weight: 700; }
body.efsv-no-scroll { overflow: hidden; }

/* Hero */
.efsv-home { background: var(--efsv-soft); }
.efsv-hero-wrap { padding: 14px 0 6px; }
.efsv-hero { position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(130deg, #0b2f5b, #135f9e); min-height: 265px; box-shadow: var(--efsv-shadow); }
.efsv-hero__track { display: flex; transition: transform .45s ease; }
.efsv-hero__slide { position: relative; flex: 0 0 100%; min-width: 100%; min-height: 265px; display: grid; align-items: center; isolation: isolate; }
.efsv-hero__media { position: absolute; inset: 0; z-index: -2; }
.efsv-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.efsv-hero__slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,24,46,.88) 0%, rgba(5,24,46,.62) 52%, rgba(5,24,46,.12) 100%); }
.efsv-hero__content { padding: 28px 22px; color: #fff; max-width: 620px; }
.efsv-hero__eyebrow { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.efsv-hero h1, .efsv-hero h2 { color: #fff; margin: 9px 0 8px; font-size: clamp(28px, 7vw, 52px); line-height: 1.04; letter-spacing: -.03em; }
.efsv-hero p { margin: 0 0 18px; max-width: 54ch; color: rgba(255,255,255,.9); font-size: 15px; }
.efsv-btn {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px;
  padding: 10px 16px; font-weight: 800; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.efsv-btn:hover { transform: translateY(-1px); }
.efsv-btn--accent { background: var(--efsv-accent); color: #fff; }
.efsv-btn--accent:hover { background: var(--efsv-accent-2); color: #fff; }
.efsv-btn--primary { background: var(--efsv-primary); color: #fff; }
.efsv-btn--primary:hover { background: var(--efsv-primary-2); color: #fff; }
.efsv-hero__controls { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.efsv-hero__dots { display: flex; gap: 6px; pointer-events: auto; }
.efsv-hero__dot { width: 8px; height: 8px; border: 0; border-radius: 99px; background: rgba(255,255,255,.5); padding: 0; cursor: pointer; }
.efsv-hero__dot.is-active { width: 24px; background: #fff; }
.efsv-hero__arrows { display: none; gap: 6px; pointer-events: auto; }
.efsv-hero__arrow { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--efsv-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* Sections */
.efsv-section { padding: 26px 0; content-visibility: auto; contain-intrinsic-size: 1px 520px; }
.efsv-section--white { background: #fff; }
.efsv-section__head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.efsv-section__title { margin: 0; font-size: clamp(22px, 4vw, 30px); line-height: 1.1; color: var(--efsv-ink); letter-spacing: -.02em; }
.efsv-section__link { flex: 0 0 auto; font-weight: 800; font-size: 14px; }

.efsv-category-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 42%); gap: 10px; overflow-x: auto; padding: 2px 2px 9px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.efsv-category-card { scroll-snap-align: start; display: block; overflow: hidden; background: #fff; border: 1px solid var(--efsv-line); border-radius: 14px; color: var(--efsv-ink); }
.efsv-category-card__image { aspect-ratio: 1.2 / 1; background: #f8fafc; display: grid; place-items: center; overflow: hidden; }
.efsv-category-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.efsv-category-card:hover img { transform: scale(1.035); }
.efsv-category-card__name { display: block; padding: 10px 9px 11px; font-size: 13px; font-weight: 800; text-align: center; line-height: 1.2; }

.efsv-promo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.efsv-promo-card { position: relative; min-height: 150px; border-radius: 16px; overflow: hidden; background: #eaf1f8; padding: 20px; display: flex; align-items: center; }
.efsv-promo-card--dark { background: var(--efsv-primary); color: #fff; }
.efsv-promo-card h3 { margin: 0 0 5px; font-size: 22px; line-height: 1.05; }
.efsv-promo-card p { margin: 0 0 12px; color: inherit; opacity: .82; }

.efsv-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.efsv-benefit { min-height: 100%; display: flex; gap: 10px; align-items: flex-start; padding: 14px; background: #fff; border: 1px solid var(--efsv-line); border-radius: 14px; }
.efsv-benefit__icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: grid; place-items: center; color: var(--efsv-primary); background: #edf4fb; }
.efsv-benefit strong { display: block; font-size: 14px; line-height: 1.15; }
.efsv-benefit small { display: block; margin-top: 3px; color: var(--efsv-muted); font-size: 12px; line-height: 1.35; }

.efsv-brands { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 36%); gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.efsv-brand { min-height: 78px; border: 1px solid var(--efsv-line); border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 12px; color: var(--efsv-ink); font-weight: 800; text-align: center; }
.efsv-brand img { max-height: 44px; width: auto; object-fit: contain; }

.efsv-seller-cta { background: linear-gradient(130deg, #07213e, #0b2f5b); color: #fff; border-radius: 18px; padding: 24px; display: grid; gap: 14px; }
.efsv-seller-cta h2 { color: #fff; margin: 0; font-size: 26px; line-height: 1.1; }
.efsv-seller-cta p { margin: 0; color: rgba(255,255,255,.82); }

.efsv-home-content { background: #fff; }
.efsv-home-content__inner { padding: 28px 0 40px; }
.efsv-home-content h2, .efsv-home-content h3 { color: var(--efsv-primary); }
.efsv-home-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.efsv-home-content th, .efsv-home-content td { border: 1px solid var(--efsv-line); padding: 9px; text-align: left; }

/* WooCommerce */
.efsv-shop-shell { width: min(calc(100% - 28px), var(--efsv-max)); margin: 20px auto 52px; }
.efsv-shop-layout { display: grid; gap: 20px; }
.efsv-shop-sidebar { display: none; }
.efsv-shop-sidebar.is-open { display: block; position: fixed; z-index: 2200; inset: 0 auto 0 0; width: min(90vw, 360px); overflow-y: auto; background: #fff; padding: 16px; box-shadow: 14px 0 40px rgba(0,0,0,.2); }
.efsv-filter-close { display: flex; margin-left: auto; }
.efsv-filter-toggle { margin: 0 0 14px; }
.efsv-widget { margin-bottom: 18px; border-bottom: 1px solid var(--efsv-line); padding-bottom: 16px; }
.efsv-widget-title, .widget-title { margin: 0 0 10px; font-size: 16px; color: var(--efsv-primary); }
.efsv-widget ul, .widget ul { list-style: none; padding: 0; margin: 0; }
.efsv-widget li, .widget li { margin: 6px 0; }

.woocommerce .woocommerce-breadcrumb { margin: 0 0 14px; color: var(--efsv-muted); font-size: 13px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--efsv-primary); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 14px; }
.woocommerce .woocommerce-ordering select { min-height: 42px; border: 1px solid var(--efsv-line); border-radius: 9px; padding: 0 10px; background: #fff; }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 0 !important; }
.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: 10px !important; border: 1px solid var(--efsv-line);
  border-radius: 14px; background: #fff; min-width: 0; position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-2px); box-shadow: var(--efsv-shadow); border-color: #d6dbe5; }
.woocommerce ul.products li.product a img { margin: 0 0 9px !important; border-radius: 10px; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 !important; margin: 0 0 7px !important; min-height: 42px; font-size: 14px !important; line-height: 1.35; color: var(--efsv-ink); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.woocommerce ul.products li.product .price { margin: 0 0 9px !important; color: var(--efsv-primary) !important; font-size: 17px !important; font-weight: 850 !important; }
.woocommerce ul.products li.product .price del { color: #98a2b3 !important; font-size: 12px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce span.onsale { min-width: 0; min-height: 0; line-height: 1; top: 8px !important; left: 8px !important; margin: 0 !important; padding: 6px 8px !important; border-radius: 8px; background: var(--efsv-danger) !important; font-size: 11px; font-weight: 800; }
.woocommerce ul.products li.product .button {
  width: 100%; margin-top: 0 !important; min-height: 40px; padding: 9px 8px !important; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--efsv-primary) !important; color: #fff !important; font-size: 12px !important; font-weight: 800 !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--efsv-primary-2) !important; }
.woocommerce a.added_to_cart { display: block; text-align: center; margin-top: 7px; font-size: 12px; font-weight: 800; }

.woocommerce div.product { background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: 16px; overflow: hidden; border: 1px solid var(--efsv-line); }
.woocommerce div.product .product_title { font-size: clamp(25px, 5vw, 40px); line-height: 1.1; color: var(--efsv-ink); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--efsv-primary); font-size: 25px; font-weight: 850; }
.woocommerce div.product form.cart .button { min-height: 46px; border-radius: 10px; background: var(--efsv-primary); }
.woocommerce div.product form.cart .button:hover { background: var(--efsv-primary-2); }
.woocommerce .quantity .qty { min-height: 46px; border: 1px solid var(--efsv-line); border-radius: 9px; }
.woocommerce-tabs ul.tabs { display: flex; overflow-x: auto; white-space: nowrap; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0 !important; background: var(--efsv-soft) !important; border-radius: 8px 8px 0 0 !important; }
.woocommerce div.product .woocommerce-tabs .panel { line-height: 1.7; }

.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 10px; border-top-width: 3px; }
.woocommerce-cart table.cart img { width: 72px; }
.woocommerce table.shop_table { border-radius: 12px; overflow: hidden; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 44px; border: 1px solid #d0d5dd; border-radius: 8px; padding: 9px 10px; }
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--efsv-primary); }
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--efsv-primary-2); }

/* Content */
.efsv-main { min-height: 60vh; }
.efsv-content { width: min(calc(100% - 28px), 980px); margin: 30px auto 60px; }
.efsv-content--wide { width: min(calc(100% - 28px), var(--efsv-max)); }
.efsv-entry-title { font-size: clamp(28px, 6vw, 44px); line-height: 1.08; margin: 0 0 20px; }
.efsv-entry-content { line-height: 1.75; }
.efsv-entry-content img { border-radius: 12px; }

/* Footer */
.efsv-footer { background: #071b32; color: #dce4ee; padding-bottom: 72px; }
.efsv-footer a { color: #e7edf4; }
.efsv-footer a:hover { color: #fff; }
.efsv-footer__top { padding: 34px 0 28px; display: grid; gap: 28px; }
.efsv-footer__brand .custom-logo { height: 46px; width: auto; filter: brightness(0) invert(1); }
.efsv-footer__title { margin: 0 0 10px; color: #fff; font-size: 15px; }
.efsv-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.efsv-footer li, .efsv-footer p { font-size: 14px; color: #c4cfdb; }
.efsv-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 22px; font-size: 12px; color: #aebccc; }
.efsv-payment-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.efsv-payment-pill { border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: 5px 8px; font-size: 11px; font-weight: 800; }

/* Mobile bottom bar */
.efsv-mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1800; height: 62px; background: #fff; border-top: 1px solid var(--efsv-line);
  display: grid; grid-template-columns: repeat(4,1fr); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(16,24,40,.07);
}
.efsv-mobile-bar a, .efsv-mobile-bar button { border: 0; background: transparent; color: #344054; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; padding: 4px 2px; }
.efsv-mobile-bar .efsv-icon { width: 21px; height: 21px; }

@media (min-width: 640px) {
  .efsv-container { width: min(calc(100% - 40px), var(--efsv-max)); }
  .efsv-topbar__right { display: flex; }
  .efsv-search select { display: block; }
  .efsv-search { grid-template-columns: minmax(0,1fr) auto auto; }
  .efsv-hero-wrap { padding-top: 18px; }
  .efsv-hero, .efsv-hero__slide { min-height: 330px; }
  .efsv-hero__content { padding: 42px 38px; }
  .efsv-hero__arrows { display: flex; }
  .efsv-category-rail { grid-auto-columns: minmax(145px, 24%); }
  .efsv-promo-grid { grid-template-columns: 1fr 1fr; }
  .efsv-benefits { grid-template-columns: repeat(4,1fr); }
  .efsv-brands { grid-auto-columns: minmax(150px, 18%); }
  .woocommerce ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .woocommerce ul.products li.product { padding: 12px !important; }
  .efsv-footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .efsv-header { position: relative; top: auto; }
  .admin-bar .efsv-header { top: auto; }
  .efsv-header__main { grid-template-columns: 240px minmax(420px,1fr) auto; min-height: 76px; gap: 20px; }
  .efsv-logo { grid-column: 1; grid-row: 1; }
  .efsv-search-row { grid-column: 2; grid-row: 1; display: block; }
  .efsv-header__actions { grid-column: 3; grid-row: 1; }
  .efsv-logo .custom-logo { height: 52px; }
  .efsv-logo__text { font-size: 21px; }
  .efsv-search { max-width: 760px; padding: 0; }
  .efsv-search input[type="search"] { height: 48px; }
  .efsv-search button { width: 56px; }
  .efsv-menu-toggle { display: none; }
  .efsv-action-link { width: 46px; height: 46px; }
  .efsv-desktop-nav { display: block; }
  .efsv-hero-wrap { padding-top: 20px; }
  .efsv-hero, .efsv-hero__slide { min-height: 430px; }
  .efsv-hero__content { padding: 62px 56px; }
  .efsv-hero p { font-size: 17px; }
  .efsv-section { padding: 34px 0; }
  .efsv-category-rail { grid-auto-flow: initial; grid-auto-columns: initial; grid-template-columns: repeat(6,minmax(0,1fr)); overflow: visible; }
  .efsv-category-card__name { font-size: 14px; }
  .efsv-promo-grid { grid-template-columns: 1.2fr .8fr; }
  .efsv-promo-card { min-height: 180px; }
  .efsv-seller-cta { grid-template-columns: 1fr auto; align-items: center; padding: 32px 38px; }
  .woocommerce ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
  .efsv-shop-layout { grid-template-columns: 260px minmax(0,1fr); align-items: start; }
  .efsv-shop-sidebar { display: block; position: sticky; top: 18px; }
  .efsv-filter-toggle, .efsv-filter-close { display: none !important; }
  .efsv-footer { padding-bottom: 0; }
  .efsv-footer__top { grid-template-columns: 1.5fr repeat(3,1fr); }
  .efsv-mobile-bar { display: none; }
}

@media (min-width: 1240px) {
  .efsv-container { width: min(calc(100% - 64px), var(--efsv-max)); }
  .woocommerce ul.products { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .woocommerce.columns-4 ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 782px) {
  .admin-bar .efsv-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Extra catalog information */
.efsv-loop-meta {
  min-height: 18px;
  margin: 0 0 5px;
  color: var(--efsv-muted);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.efsv-loop-stock {
  margin: -2px 0 9px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
}
.efsv-loop-stock--in { color: var(--efsv-success); }
.efsv-loop-stock--out { color: var(--efsv-danger); }


/* ==========================================================================\n   EL FERRETERO SV FAST SHOP V2 — storefront visual system\n   ========================================================================== */
:root {
  --efsv-primary: #073b73;
  --efsv-primary-2: #0b569b;
  --efsv-primary-deep: #052e59;
  --efsv-accent: #ff7a00;
  --efsv-accent-2: #ff982f;
  --efsv-ink: #08264a;
  --efsv-muted: #66758a;
  --efsv-soft: #f5f8fc;
  --efsv-line: #dce5ef;
  --efsv-shadow: 0 14px 36px rgba(10, 49, 88, .10);
  --efsv-radius: 14px;
  --efsv-max: 1560px;
}
body { background:#fff; color:#0a2340; font-size:15px; }
.efsv-container { width:min(calc(100% - 24px),var(--efsv-max)); }
.efsv-icon { width:19px; height:19px; }

/* Utility strip */
.efsv-topbar { background:var(--efsv-primary-deep); border-top:3px solid #0e4b88; }
.efsv-topbar__inner { min-height:32px; gap:20px; }
.efsv-topbar__benefits { display:flex; align-items:center; gap:18px; min-width:0; white-space:nowrap; overflow:hidden; }
.efsv-topbar__benefits > span,.efsv-topbar__benefits > a,.efsv-topbar__right > span,.efsv-topbar__right > a { display:inline-flex; align-items:center; gap:6px; color:#fff; font-size:11px; font-weight:700; }
.efsv-topbar__benefits .efsv-icon,.efsv-topbar__right .efsv-icon { width:15px; height:15px; }
.efsv-topbar__right { margin-left:auto; white-space:nowrap; }

/* Header */
.efsv-header { background:#fff; border-bottom:0; box-shadow:0 2px 8px rgba(3,35,69,.06); }
.efsv-header__main { min-height:72px; }
.efsv-logo__text { font-size:20px; letter-spacing:-.02em; color:var(--efsv-primary); }
.efsv-logo .custom-logo { height:46px; max-width:210px; object-fit:contain; }
.efsv-search-row { padding-bottom:9px; }
.efsv-search { border:1px solid #cbd7e4; border-radius:9px; box-shadow:0 1px 2px rgba(0,0,0,.02); }
.efsv-search select { border:0; border-right:1px solid #d7e0e9; border-left:0; height:44px; min-width:145px; padding:0 28px 0 12px; font-size:12px; font-weight:700; color:#3e5570; }
.efsv-search input[type="search"] { height:44px; font-size:13px; }
.efsv-search button { width:48px; background:var(--efsv-primary); }
.efsv-header__actions { gap:5px; }
.efsv-action-link { width:42px; height:42px; }
.efsv-action-copy { display:none; line-height:1.08; }
.efsv-action-copy small,.efsv-action-copy strong { display:block; }
.efsv-action-copy small { font-size:9px; color:#718096; font-weight:500; }
.efsv-action-copy strong { font-size:11px; color:#0a2d56; margin-top:2px; }
.efsv-cart-count { background:var(--efsv-accent); top:-2px; right:-1px; }

/* Desktop navigation */
.efsv-desktop-nav { background:var(--efsv-primary); border-top:0; border-bottom:1px solid rgba(255,255,255,.08); }
.efsv-desktop-nav__inner { min-height:46px; }
.efsv-departments { min-width:205px; }
.efsv-departments__toggle { height:46px; padding:0 16px; background:#0b579b; font-size:13px; }
.efsv-departments__chevron { width:15px; margin-left:auto; transform:rotate(90deg); transition:transform .18s ease; }
.efsv-departments.is-open .efsv-departments__chevron { transform:rotate(-90deg); }
.efsv-nav-menu { flex:1; padding:0 6px; gap:0; scrollbar-width:none; }
.efsv-nav-menu::-webkit-scrollbar { display:none; }
.efsv-nav-menu a { height:46px; color:#fff; font-size:11.5px; font-weight:800; padding:0 15px; text-transform:uppercase; }
.efsv-nav-menu a:hover { color:#fff; background:rgba(255,255,255,.09); }
.efsv-nav-offers { margin-left:auto; height:46px; padding:0 14px; display:inline-flex; align-items:center; gap:5px; color:#ffab39; font-size:12px; font-weight:900; white-space:nowrap; }
.efsv-nav-offers:hover { color:#fff; }
.efsv-nav-offers .efsv-icon { width:15px; }
.efsv-departments__panel { border-radius:0 0 12px 12px; border-top:0; }

/* Homepage surface */
.efsv-home { background:#fff; }
.efsv-section { padding:22px 0; }
.efsv-section--white { background:#fff; }
.efsv-section--categories { padding-top:16px; }
.efsv-section--promos { padding-top:8px; }
.efsv-section--benefits { background:#f6f9fc; }
.efsv-section--brands { padding-top:24px; }
.efsv-section--seller { background:#f4f7fb; padding:20px 0 28px; }
.efsv-section__head { margin-bottom:14px; align-items:center; }
.efsv-section__title { margin:0; color:#082e5a; font-size:clamp(20px,2vw,26px); font-weight:850; letter-spacing:-.025em; }
.efsv-section__link { display:inline-flex; align-items:center; gap:2px; font-size:11px; font-weight:850; color:#083a70; white-space:nowrap; }
.efsv-section__link .efsv-icon { width:15px; height:15px; }

/* Hero */
.efsv-hero-wrap { padding:10px 0 0; background:#fff; }
.efsv-hero { min-height:360px; border-radius:12px; box-shadow:none; background:linear-gradient(120deg,#062c55 0%,#074a83 55%,#0b5c9f 100%); }
.efsv-hero__slide { min-height:360px; overflow:hidden; }
.efsv-hero__slide::after { background:linear-gradient(90deg,rgba(4,31,60,.97) 0%,rgba(4,43,78,.88) 38%,rgba(7,61,106,.18) 67%,rgba(7,61,106,0) 100%); }
.efsv-hero__media img { object-position:center; }
.efsv-hero__visual { position:absolute; inset:0 0 0 42%; z-index:-2; display:flex; justify-content:flex-end; align-items:center; overflow:hidden; }
.efsv-hero__visual img { width:min(72vw,760px); height:auto; max-height:100%; object-fit:contain; object-position:right center; transform:translateX(2%); opacity:.98; }
.efsv-hero__content { max-width:610px; padding:40px 32px 50px; color:#fff; }
.efsv-hero__eyebrow { display:inline-flex; margin-bottom:10px; color:#ffb14e; font-size:12px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.efsv-hero h1,.efsv-hero h2 { margin:0 0 10px; max-width:590px; font-size:clamp(32px,4.6vw,58px); line-height:1.01; letter-spacing:-.045em; color:#fff; }
.efsv-hero p { margin:0 0 15px; max-width:510px; font-size:15px; line-height:1.45; color:rgba(255,255,255,.9); }
.efsv-hero__trust { display:none; flex-wrap:wrap; gap:15px; margin:0 0 19px; }
.efsv-hero__trust span { display:inline-flex; align-items:center; gap:5px; font-size:10.5px; font-weight:700; color:#fff; }
.efsv-hero__trust .efsv-icon { width:15px; height:15px; }
.efsv-btn { min-height:40px; border-radius:7px; padding:9px 15px; font-size:12px; font-weight:850; }
.efsv-btn--accent { background:var(--efsv-accent); color:#fff; }
.efsv-btn--accent:hover { background:#ea6e00; color:#fff; }
.efsv-btn .efsv-icon { width:15px; }
.efsv-hero__offer { display:none; position:absolute; z-index:2; top:78px; right:34px; width:145px; min-height:130px; padding:16px 13px; border-radius:12px; background:var(--efsv-accent); color:#fff; text-align:center; box-shadow:0 12px 24px rgba(25,43,62,.18); }
.efsv-hero__offer small,.efsv-hero__offer strong,.efsv-hero__offer span { display:block; }
.efsv-hero__offer small { font-size:10px; font-weight:900; letter-spacing:.07em; }
.efsv-hero__offer strong { font-size:22px; line-height:1.05; margin:5px 0 8px; }
.efsv-hero__offer span { background:#fff; color:#153d66; border-radius:6px; padding:7px; font-size:9px; font-weight:900; text-transform:uppercase; }
.efsv-hero__controls { inset:auto 14px 12px 14px; }
.efsv-hero__dot { width:7px; height:7px; background:rgba(255,255,255,.42); }
.efsv-hero__dot.is-active { width:21px; background:#fff; border-radius:8px; }
.efsv-hero__arrow { width:36px; height:36px; background:#f4f8fc; color:#0a447d; border:1px solid rgba(7,61,110,.12); }

/* Generic rail controls */
.efsv-rail-shell { position:relative; }
.efsv-scroll-rail { scroll-behavior:smooth; overscroll-behavior-inline:contain; }
.efsv-rail-arrow { display:none; position:absolute; z-index:8; top:50%; transform:translateY(-50%); width:34px; height:34px; border:1px solid #d9e2ec; border-radius:8px; background:#fff; color:#0a447d; box-shadow:0 5px 14px rgba(7,45,82,.12); cursor:pointer; align-items:center; justify-content:center; }
.efsv-rail-arrow .efsv-icon { width:18px; }
.efsv-rail-arrow--prev { left:-12px; }
.efsv-rail-arrow--next { right:-12px; }

/* Categories */
.efsv-category-rail { display:grid; grid-auto-flow:column; grid-auto-columns:102px; gap:12px; overflow-x:auto; padding:2px 2px 6px; scrollbar-width:none; scroll-snap-type:x proximity; }
.efsv-category-rail::-webkit-scrollbar { display:none; }
.efsv-category-card { border:0; border-radius:0; background:transparent; min-height:0; padding:0; display:flex; flex-direction:column; align-items:center; gap:8px; scroll-snap-align:start; }
.efsv-category-card:hover { transform:translateY(-2px); box-shadow:none; }
.efsv-category-card__image { width:86px; height:86px; border-radius:50%; border:1px solid #d9e1e9; background:#f7f9fb; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.efsv-category-card__image img { width:100%; height:100%; object-fit:cover; }
.efsv-category-card__fallback { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(145deg,#f7f9fb,#e9eff5); color:#0b5594; }
.efsv-category-icon { width:38px; height:38px; fill:none; stroke:currentColor; stroke-width:1.4; }
.efsv-category-card__name { min-height:32px; display:flex; align-items:flex-start; justify-content:center; color:#263c56; font-size:10px; line-height:1.2; font-weight:800; text-align:center; text-transform:none; }

/* Promotional mosaic */
.efsv-promo-mosaic { display:grid; grid-template-columns:1fr; gap:10px; }
.efsv-promo-tile { position:relative; min-height:190px; overflow:hidden; border:1px solid #dde6ef; border-radius:10px; background:#f7f9fc; display:flex; align-items:stretch; }
.efsv-promo-tile__copy { position:relative; z-index:2; width:62%; padding:22px 16px; }
.efsv-promo-tile__label { display:inline-flex; margin-bottom:8px; padding:4px 7px; border-radius:4px; background:#0a4f90; color:#fff; font-size:9px; font-weight:900; letter-spacing:.06em; }
.efsv-promo-tile h3 { margin:0 0 6px; color:#093d74; font-size:19px; line-height:1.05; letter-spacing:-.025em; }
.efsv-promo-tile p { margin:0 0 13px; max-width:300px; color:#52667d; font-size:11px; line-height:1.35; }
.efsv-promo-tile__art { position:absolute; right:-5%; bottom:-2%; width:53%; height:92%; object-fit:contain; object-position:right bottom; }
.efsv-promo-tile--paint { background:linear-gradient(135deg,#083c72 0%,#0a4d8b 46%,#f4f7fb 46.2%); }
.efsv-promo-tile--paint .efsv-promo-tile__copy { color:#fff; }
.efsv-promo-tile--paint h3,.efsv-promo-tile--paint p { color:#fff; }
.efsv-promo-tile--paint .efsv-promo-tile__label { background:#ff8a16; }
.efsv-promo-tile--tools .efsv-promo-tile__label,.efsv-promo-tile--home .efsv-promo-tile__label { background:var(--efsv-accent); }
.efsv-btn--outline { border:1px solid #b7c6d6; background:#fff; color:#073b73; }
.efsv-promo-tile--paint .efsv-btn--outline { border-color:#fff; }

/* Product showcase */
.efsv-product-showcase { padding-top:18px; }
.efsv-product-rail { overflow-x:auto; scrollbar-width:none; }
.efsv-product-rail::-webkit-scrollbar { display:none; }
.efsv-product-rail .woocommerce { width:100%; }
.efsv-product-rail ul.products { display:grid !important; grid-auto-flow:column; grid-auto-columns:minmax(180px,78vw); grid-template-columns:none !important; gap:10px; overflow:visible; }
.efsv-product-rail ul.products li.product { scroll-snap-align:start; }
.woocommerce ul.products li.product { border:1px solid #dfe6ed; border-radius:10px; box-shadow:none; padding:10px !important; }
.woocommerce ul.products li.product:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(9,46,82,.08); border-color:#c8d6e4; }
.woocommerce ul.products li.product a img { aspect-ratio:1.15/1; border-radius:7px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height:39px; color:#0c2c4d; font-size:12.5px !important; line-height:1.32; font-weight:750; }
.efsv-loop-meta { color:#56708a; font-size:8.5px; }
.woocommerce ul.products li.product .star-rating { font-size:10px; color:#0c4f8d; margin:4px 0 5px; }
.woocommerce ul.products li.product .price { color:#064d8d !important; font-size:17px !important; margin-bottom:4px !important; }
.woocommerce ul.products li.product .price del { font-size:10px; }
.efsv-loop-stock { margin:0 0 7px; font-size:9px; }
.woocommerce ul.products li.product .button { min-height:36px; border-radius:7px; background:#073b73 !important; font-size:10.5px !important; }
.woocommerce span.onsale { top:7px !important; left:7px !important; padding:5px 7px !important; background:var(--efsv-accent) !important; border-radius:5px; font-size:9px; }
.efsv-is-home .compare,.efsv-is-home a.compare,.efsv-is-home .wcfm_buttons,.efsv-is-home .dokan-product-edit,.efsv-is-home .product-edit-link { display:none !important; }

/* Benefits */
.efsv-benefits { display:grid; grid-template-columns:1fr; gap:8px; }
.efsv-benefit { min-height:64px; border:1px solid #dfe7ef; border-radius:9px; background:#fff; padding:11px 12px; display:flex; align-items:center; gap:10px; }
.efsv-benefit__icon { width:34px; height:34px; flex:0 0 34px; border-radius:8px; background:#eef5fb; color:#0b5797; display:flex; align-items:center; justify-content:center; }
.efsv-benefit__icon .efsv-icon { width:18px; height:18px; }
.efsv-benefit strong { display:block; color:#083b70; font-size:11px; line-height:1.2; }
.efsv-benefit small { display:block; margin-top:2px; color:#65768a; font-size:8.5px; line-height:1.25; }

/* Brands */
.efsv-section--brands .efsv-scroll-rail { overflow-x:auto; scrollbar-width:none; }
.efsv-section--brands .efsv-scroll-rail::-webkit-scrollbar { display:none; }
.efsv-brands { display:grid; grid-auto-flow:column; grid-auto-columns:130px; gap:9px; overflow:visible; padding:2px; }
.efsv-brand { min-height:56px; border:1px solid #dce5ed; border-radius:8px; background:#fff; color:#111c2c; font-size:14px; font-weight:900; padding:8px 12px; display:flex; align-items:center; justify-content:center; text-align:center; }
.efsv-brand img { max-width:100px; max-height:36px; object-fit:contain; }

/* Seller CTA */
.efsv-seller-cta { min-height:96px; border-radius:10px; padding:20px; background:linear-gradient(100deg,#063667,#074a86); display:grid; grid-template-columns:auto 1fr; gap:12px 14px; align-items:center; }
.efsv-seller-cta__icon { width:48px; height:48px; border:2px solid rgba(255,255,255,.35); border-radius:12px; display:flex; align-items:center; justify-content:center; color:#fff; }
.efsv-seller-cta__icon .efsv-icon { width:30px; height:30px; }
.efsv-seller-cta__copy h2 { margin:0 0 2px; color:#fff; font-size:18px; line-height:1.05; }
.efsv-seller-cta__copy p { margin:0; color:rgba(255,255,255,.82); font-size:10.5px; }
.efsv-seller-cta__actions { grid-column:1/-1; }

/* Homepage editorial copy */
.efsv-home-content { border-top:1px solid #e7edf3; background:#fff; }
.efsv-home-content__inner { max-width:1180px; padding-top:28px; }

/* Footer */
.efsv-footer { background:#073b73; color:#d9e5f1; padding-bottom:68px; }
.efsv-footer__top { padding:32px 0 26px; display:grid; grid-template-columns:1fr; gap:26px; }
.efsv-footer__brand .custom-logo { max-width:170px; height:44px; }
.efsv-footer__brand-name { margin:0 0 8px; color:#fff; font-size:22px; }
.efsv-footer__brand p { max-width:220px; }
.efsv-footer__microtitle { display:block; margin:14px 0 8px; color:#fff; font-size:11px; }
.efsv-socials { display:flex; gap:7px; }
.efsv-socials a { width:30px; height:30px; border:1px solid rgba(255,255,255,.5); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:13px; font-weight:900; }
.efsv-socials .efsv-icon { width:16px; }
.efsv-footer__title { font-size:12px; text-transform:none; }
.efsv-footer ul { gap:5px; }
.efsv-footer li,.efsv-footer p { font-size:10.5px; line-height:1.35; }
.efsv-payment-row { gap:6px; }
.efsv-payment-pill { background:#fff; color:#0b3d70; border:0; border-radius:4px; padding:6px 9px; font-size:9px; }
.efsv-footer__secure-title { margin:16px 0 5px; color:#fff; font-size:11px; }
.efsv-footer__secure { display:flex; align-items:center; gap:5px; }
.efsv-footer__secure .efsv-icon { width:15px; }
.efsv-footer__bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; font-size:9px; }
.efsv-mobile-cart-count { position:absolute; top:5px; right:20%; min-width:16px; height:16px; border-radius:50%; background:var(--efsv-accent); color:#fff; font-size:9px; display:flex; align-items:center; justify-content:center; }

/* Shop pages inherit the same card language */
.efsv-shop-shell { width:min(calc(100% - 24px),var(--efsv-max)); }
.woocommerce div.product .product_title { color:#082e5a; }
.woocommerce div.product p.price,.woocommerce div.product span.price { color:#07549a; }

@media (min-width:640px) {
  .efsv-container { width:min(calc(100% - 36px),var(--efsv-max)); }
  .efsv-topbar__right { display:flex; }
  .efsv-search { grid-template-columns:auto minmax(0,1fr) auto; }
  .efsv-search select { display:block; }
  .efsv-hero,.efsv-hero__slide { min-height:390px; }
  .efsv-hero__content { padding:48px 42px 56px; }
  .efsv-hero__trust { display:flex; }
  .efsv-category-rail { grid-auto-columns:116px; gap:18px; }
  .efsv-category-card__image { width:96px; height:96px; }
  .efsv-promo-mosaic { grid-template-columns:1fr 1fr; }
  .efsv-benefits { grid-template-columns:repeat(2,1fr); }
  .efsv-seller-cta { grid-template-columns:auto 1fr auto; padding:22px 28px; }
  .efsv-seller-cta__actions { grid-column:auto; }
  .efsv-footer__top { grid-template-columns:1.35fr 1fr 1fr; }
  .efsv-footer__payments { grid-column:2/4; }
}

@media (min-width:960px) {
  .efsv-header__main { grid-template-columns:210px minmax(420px,1fr) auto; min-height:76px; gap:18px; }
  .efsv-search-row { padding:0; }
  .efsv-action-link { width:auto; height:46px; padding:0 7px; gap:7px; }
  .efsv-action-copy { display:block; }
  .efsv-cart-count { right:2px; }
  .efsv-topbar__desktop { display:inline-flex; }
  .efsv-hero,.efsv-hero__slide { min-height:420px; }
  .efsv-hero__content { padding:55px 55px 62px; }
  .efsv-hero__offer { display:block; }
  .efsv-hero__visual { inset:0 10% 0 38%; }
  .efsv-hero__visual img { width:min(66vw,760px); }
  .efsv-rail-arrow { display:flex; }
  .efsv-category-rail { grid-auto-flow:initial; grid-template-columns:repeat(10,minmax(0,1fr)); gap:11px; overflow:hidden; padding:0; }
  .efsv-category-card__image { width:90px; height:90px; }
  .efsv-category-card__name { font-size:9.5px; }
  .efsv-promo-mosaic { grid-template-columns:1.15fr .85fr 1fr 1fr; gap:10px; }
  .efsv-promo-tile { min-height:210px; }
  .efsv-promo-tile__copy { width:62%; padding:20px 15px; }
  .efsv-promo-tile h3 { font-size:18px; }
  .efsv-promo-tile p { font-size:10px; }
  .efsv-product-rail ul.products { grid-auto-columns:calc((100% - 40px)/5); gap:10px; }
  .efsv-benefits { grid-template-columns:repeat(5,1fr); }
  .efsv-footer { padding-bottom:0; }
  .efsv-footer__top { grid-template-columns:1.35fr 1fr 1fr 1fr 1.25fr; gap:34px; }
  .efsv-footer__payments { grid-column:auto; }
}

@media (min-width:1240px) {
  .efsv-container { width:min(calc(100% - 72px),var(--efsv-max)); }
  .efsv-header__main { grid-template-columns:230px minmax(520px,1fr) auto; }
  .efsv-search { max-width:780px; }
  .efsv-action-link { padding:0 10px; }
  .efsv-hero,.efsv-hero__slide { min-height:430px; }
  .efsv-hero__content { padding-left:64px; }
  .efsv-category-card__image { width:104px; height:104px; }
  .efsv-category-card__name { font-size:10.5px; }
  .efsv-promo-tile { min-height:220px; }
}

@media (max-width:959px) {
  .efsv-topbar__desktop { display:none !important; }
  .efsv-header { position:sticky; top:0; }
  .admin-bar .efsv-header { top:46px; }
}

@media (max-width:639px) {
  .efsv-topbar { display:none; }
  .efsv-header__main { padding-top:4px; }
  .efsv-logo__text { font-size:17px; }
  .efsv-search-row { padding-bottom:8px; }
  .efsv-hero-wrap { padding-top:7px; }
  .efsv-hero,.efsv-hero__slide { min-height:320px; }
  .efsv-hero__visual { opacity:.38; inset:0 0 0 18%; }
  .efsv-hero__slide::after { background:linear-gradient(90deg,rgba(4,31,60,.98) 0%,rgba(4,40,74,.83) 68%,rgba(4,40,74,.48) 100%); }
  .efsv-hero__content { padding:30px 22px 48px; max-width:92%; }
  .efsv-hero h1,.efsv-hero h2 { font-size:32px; max-width:320px; }
  .efsv-hero p { font-size:13px; max-width:310px; }
  .efsv-hero__arrows { display:none; }
  .efsv-section { padding:19px 0; }
  .efsv-section__title { font-size:20px; }
  .efsv-section__link { font-size:10px; }
  .efsv-promo-tile { min-height:170px; }
  .efsv-promo-tile__copy { width:67%; padding:18px 14px; }
  .efsv-promo-tile h3 { font-size:17px; }
  .efsv-promo-tile p { font-size:10px; }
  .efsv-product-rail ul.products { grid-auto-columns:minmax(168px,52vw); }
  .efsv-footer__top { padding-bottom:18px; }
}

/* =========================================================
   V3 — Approved visual direction (16 Aug 2026 mockup)
   ========================================================= */
body.efsv-v3 {
  --efsv-v3-navy:#073b73;
  --efsv-v3-navy-dark:#062d58;
  --efsv-v3-navy-deep:#03284e;
  --efsv-v3-blue:#0b4f8d;
  --efsv-v3-orange:#ff7a0a;
  --efsv-v3-bg:#fff;
  --efsv-v3-soft:#f6f8fb;
  --efsv-v3-line:#dfe7ef;
  --efsv-v3-text:#082b50;
  --efsv-v3-muted:#68788a;
  background:#fff;
  color:var(--efsv-v3-text);
}
body.efsv-v3 .efsv-container {
  width:min(calc(100% - 70px), 1510px);
  max-width:none;
}
body.efsv-v3 .efsv-main { background:#fff; }
body.efsv-v3 .efsv-icon { stroke-width:1.9; }

/* Top utility bar */
.efsv-v3-topbar { background:var(--efsv-v3-navy-deep); min-height:30px; }
.efsv-v3-topbar-inner { min-height:30px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.efsv-v3-topbar-items { display:flex; align-items:center; gap:34px; min-width:0; overflow:hidden; white-space:nowrap; }
.efsv-v3-topbar-items span,.efsv-v3-topbar-items a,.efsv-v3-help { color:#fff; font-size:11px; font-weight:650; display:inline-flex; align-items:center; gap:6px; }
.efsv-v3-topbar-items .efsv-icon,.efsv-v3-help .efsv-icon { width:15px; height:15px; }
.efsv-v3-help { flex:0 0 auto; }
.efsv-v3-help .efsv-icon { transform:rotate(90deg); }

/* Header */
.efsv-v3-header { position:sticky; top:0; z-index:1200; border-bottom:0; box-shadow:0 1px 0 rgba(9,48,84,.08); }
.admin-bar .efsv-v3-header { top:32px; }
.efsv-v3-header-main { min-height:70px; display:grid; grid-template-columns:210px minmax(420px,1fr) auto; align-items:center; gap:30px; }
.efsv-v3-menu-toggle { display:none; }
.efsv-v3-logo { grid-column:auto; grid-row:auto; }
.efsv-v3-logo a { display:flex; align-items:center; }
.efsv-v3-logo .custom-logo { height:44px; max-width:205px; object-fit:contain; }
.efsv-v3-logo .efsv-logo__text { font-size:24px; font-weight:850; letter-spacing:-.025em; color:#072f5f; white-space:nowrap; }
.efsv-v3-search-row { grid-column:auto; grid-row:auto; padding:0; }
.efsv-v3-search-row .efsv-search {
  width:100%; max-width:760px; margin-inline:auto; min-height:42px; display:grid; grid-template-columns:165px minmax(0,1fr) 48px; border:1px solid #cdd8e4; border-radius:8px; overflow:hidden; background:#fff;
}
.efsv-v3-search-row .efsv-search select,.efsv-v3-search-row .efsv-search input { min-width:0; border:0; border-right:1px solid #dce4ec; background:#fff; color:#536477; font-size:12px; height:42px; padding:0 15px; outline:none; }
.efsv-v3-search-row .efsv-search select { color:#17395f; font-weight:650; }
.efsv-v3-search-row .efsv-search button { width:48px; height:42px; border:0; border-radius:0; background:#062f5f; color:#fff; display:grid; place-items:center; }
.efsv-v3-search-row .efsv-search button .efsv-icon { width:20px; height:20px; }
.efsv-v3-actions { grid-column:auto; grid-row:auto; display:flex; align-items:center; gap:18px; white-space:nowrap; }
.efsv-v3-actions .efsv-action-link { width:auto; min-width:auto; height:48px; display:flex; align-items:center; gap:8px; padding:0; color:#062f5f; background:transparent; }
.efsv-v3-actions .efsv-action-link:hover { background:transparent; color:var(--efsv-v3-orange); }
.efsv-v3-actions .efsv-action-link > .efsv-icon { width:24px; height:24px; }
.efsv-v3-actions .efsv-action-copy { display:block; line-height:1.05; }
.efsv-v3-actions .efsv-action-copy small { display:block; font-size:9px; color:#607188; }
.efsv-v3-actions .efsv-action-copy strong { display:block; font-size:10.5px; color:#062f5f; margin-top:2px; }
.efsv-v3-cart-link { position:relative; }
.efsv-v3-actions .efsv-cart-count { position:absolute; top:2px; left:16px; min-width:18px; height:18px; padding:0 4px; border-radius:99px; background:var(--efsv-v3-orange); color:#fff; font-size:9px; font-weight:850; display:grid; place-items:center; border:2px solid #fff; }

/* Desktop nav */
.efsv-v3-nav { display:block; background:var(--efsv-v3-navy); border-top:0; }
.efsv-v3-nav-inner { min-height:44px; display:flex; align-items:stretch; gap:0; overflow:visible; }
.efsv-v3-nav .efsv-departments { min-width:215px; flex:0 0 215px; }
.efsv-v3-nav .efsv-departments__toggle { height:44px; min-height:44px; padding:0 15px; background:#0b5799; font-size:12px; font-weight:800; border-radius:0; }
.efsv-v3-nav .efsv-departments__toggle .efsv-icon { width:18px; height:18px; }
.efsv-v3-nav-menu { display:flex; align-items:stretch; flex:1 1 auto; min-width:0; overflow-x:auto; scrollbar-width:none; }
.efsv-v3-nav-menu::-webkit-scrollbar { display:none; }
.efsv-v3-nav-menu a { height:44px; display:flex; align-items:center; flex:0 0 auto; padding:0 20px; color:#fff; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.01em; }
.efsv-v3-nav-menu a:hover { background:rgba(255,255,255,.07); color:#fff; }
.efsv-v3-nav .efsv-nav-offers { margin-left:auto; height:44px; display:flex; align-items:center; gap:5px; padding:0 6px 0 18px; color:#ff8a16; font-size:11px; font-weight:850; white-space:nowrap; }
.efsv-v3-nav .efsv-nav-offers .efsv-icon { width:16px; height:16px; }
.efsv-v3-nav .efsv-departments__panel { top:44px; width:min(1050px,calc(100vw - 70px)); }

/* Approved hero carousel — 3 real slides */
.efsv-v3-home { background:#fff; }
.efsv-v3-hero-wrap { padding:16px 0 7px; background:#fff; }
.efsv-v3-hero { position:relative; display:block; border-radius:13px; overflow:hidden; background:#063b72; box-shadow:0 4px 14px rgba(7,49,91,.06); isolation:isolate; }
.efsv-v3-hero-track { display:flex; width:100%; transition:transform .48s cubic-bezier(.22,.61,.36,1); will-change:transform; }
.efsv-v3-hero-slide { position:relative; display:block; flex:0 0 100%; min-width:100%; }
.efsv-v3-hero-slide picture,.efsv-v3-hero-slide img { display:block; width:100%; }
.efsv-v3-hero-slide img { height:auto; aspect-ratio:1970/522; object-fit:cover; }
.efsv-v3-hero-control { position:absolute; z-index:4; top:50%; transform:translateY(-50%); width:58px; height:76px; border:0; border-radius:999px; background:transparent; padding:0; cursor:pointer; }
.efsv-v3-hero-control--prev { left:0; }
.efsv-v3-hero-control--next { right:0; }
.efsv-v3-hero-control:focus-visible { outline:3px solid #fff; outline-offset:-8px; }
.efsv-v3-hero-dots { position:absolute; z-index:5; left:50%; bottom:10px; transform:translateX(-50%); display:flex; align-items:center; gap:6px; min-height:16px; padding:2px 7px; border-radius:20px; background:rgba(1,34,65,.18); }
.efsv-v3-hero-dots .efsv-hero__dot { width:9px; height:9px; border:1px solid rgba(255,255,255,.75); background:rgba(214,226,237,.72); box-shadow:0 1px 3px rgba(0,0,0,.15); }
.efsv-v3-hero-dots .efsv-hero__dot.is-active { width:23px; background:#fff; border-color:#fff; }

/* Common section sizing */
.efsv-v3-section { padding:13px 0; background:#fff; }
.efsv-v3-section-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:12px; }
.efsv-v3-section-head h2 { margin:0; color:#082d58; font-size:20px; line-height:1.12; letter-spacing:-.02em; font-weight:850; }
.efsv-v3-section-head > a { display:inline-flex; align-items:center; gap:4px; color:#07396d; font-size:9.5px; font-weight:800; white-space:nowrap; }
.efsv-v3-section-head > a .efsv-icon { width:14px; height:14px; }
.efsv-v3-section-head--solo { justify-content:flex-start; }

/* Categories */
.efsv-v3-categories { padding-top:8px; }
.efsv-v3-rail-shell { position:relative; }
.efsv-v3-category-rail { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(92px,1fr); gap:13px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; padding:0 1px 3px; }
.efsv-v3-category-rail::-webkit-scrollbar { display:none; }
.efsv-v3-category { min-width:0; scroll-snap-align:start; text-align:center; color:#092d56; }
.efsv-v3-category:hover { color:#092d56; transform:translateY(-2px); }
.efsv-v3-category-image { width:92px; height:92px; margin:0 auto 8px; display:block; border-radius:50%; overflow:hidden; background:#f4f6f8; border:1px solid #d8e1e9; box-shadow:inset 0 0 0 3px #fff; }
.efsv-v3-category-image img { width:100%; height:100%; object-fit:cover; display:block; }
.efsv-v3-category-name { display:block; font-size:9.5px; line-height:1.18; font-weight:800; min-height:23px; }
.efsv-v3-rail-arrow { position:absolute; z-index:3; top:50%; transform:translateY(-50%); width:30px; height:30px; border:1px solid #d8e3ed; border-radius:50%; background:#fff; color:#0a467f; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 3px 10px rgba(8,52,92,.08); }
.efsv-v3-rail-arrow:first-child { left:-16px; }
.efsv-v3-rail-arrow:last-child { right:-16px; }
.efsv-v3-rail-arrow .efsv-icon { width:16px; height:16px; }

/* Approved promo images */
.efsv-v3-promos { padding-top:7px; }
.efsv-v3-promo-grid { display:grid; grid-template-columns:1.05fr 1.05fr 1.05fr 1.16fr; gap:14px; }
.efsv-v3-promo { display:block; border-radius:8px; overflow:hidden; border:1px solid #e2e9ef; background:#f8fafc; box-shadow:0 2px 8px rgba(7,49,91,.03); }
.efsv-v3-promo img { display:block; width:100%; height:auto; aspect-ratio:1.48/1; object-fit:cover; }
.efsv-v3-promo:hover { transform:translateY(-2px); box-shadow:0 10px 20px rgba(7,49,91,.08); }

/* Custom product rail */
.efsv-v3-products-section { padding-top:14px; }
.efsv-v3-product-shell { padding:0; }
.efsv-v3-product-rail { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 56px)/5); gap:14px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; padding:1px 1px 3px; }
.efsv-v3-product-rail::-webkit-scrollbar { display:none; }
.efsv-v3-product-card { position:relative; min-width:0; scroll-snap-align:start; border:1px solid #dce5ed; border-radius:9px; background:#fff; overflow:hidden; box-shadow:none; transition:.18s ease; }
.efsv-v3-product-card:hover { transform:translateY(-2px); border-color:#c9d7e4; box-shadow:0 10px 24px rgba(8,50,90,.08); }
.efsv-v3-discount { position:absolute; z-index:2; top:8px; left:8px; min-width:36px; height:23px; padding:0 8px; border-radius:5px; background:var(--efsv-v3-orange); color:#fff; font-size:10px; font-weight:850; display:flex; align-items:center; justify-content:center; }
.efsv-v3-product-image { display:grid; place-items:center; height:205px; padding:16px 14px 2px; background:#fff; overflow:hidden; }
.efsv-v3-product-image img { width:100%; height:100%; object-fit:contain; display:block; }
.efsv-v3-product-body { padding:9px 12px 12px; }
.efsv-v3-product-meta { min-height:13px; color:#526a82; font-size:7.5px; line-height:1.15; font-weight:750; text-transform:uppercase; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.efsv-v3-product-card h3 { margin:5px 0 5px; min-height:36px; font-size:11.5px; line-height:1.3; font-weight:800; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.efsv-v3-product-card h3 a { color:#0a2e53; }
.efsv-v3-rating { min-height:16px; display:flex; align-items:center; gap:1px; font-size:10px; color:#cfd7df; }
.efsv-v3-rating span.is-filled { color:#063e75; }
.efsv-v3-rating small { margin-left:3px; color:#7a8999; font-size:8px; }
.efsv-v3-price { min-height:26px; display:flex; align-items:baseline; gap:5px; position:relative; padding-right:48px; }
.efsv-v3-price strong { color:#064a88; font-size:16px; font-weight:850; }
.efsv-v3-price strong .woocommerce-Price-currencySymbol { font-size:.72em; vertical-align:1px; }
.efsv-v3-price del { color:#8c99a6; font-size:8.5px; }
.efsv-v3-price > span { position:absolute; right:0; bottom:4px; font-size:7.5px; font-weight:750; }
.efsv-v3-price .is-in { color:#23904b; }
.efsv-v3-price .is-out { color:#ba2b27; }
.efsv-v3-product-actions { display:grid; grid-template-columns:minmax(0,1fr) 33px; gap:7px; margin-top:5px; }
.efsv-v3-add-button { min-height:35px !important; border:0 !important; border-radius:6px !important; background:#073d75 !important; color:#fff !important; padding:7px 8px !important; font-size:9px !important; font-weight:800 !important; text-align:center !important; display:flex !important; align-items:center !important; justify-content:center !important; line-height:1.1 !important; }
.efsv-v3-add-button:hover { background:#0a528f !important; color:#fff !important; }
.efsv-v3-heart { width:33px; min-height:35px; border:1px solid #d7e1ea; border-radius:6px; display:grid; place-items:center; color:#0a477f; }
.efsv-v3-heart .efsv-icon { width:17px; height:17px; }
.efsv-v3-heart:hover { color:#e97018; border-color:#f1bc8e; }

/* Benefits */
.efsv-v3-benefits { background:#fff; padding-top:14px; }
.efsv-v3-benefit-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }
.efsv-v3-benefit-card { min-height:68px; padding:10px 13px; display:flex; align-items:center; gap:10px; border:1px solid #dce5ed; border-radius:9px; background:#fff; }
.efsv-v3-benefit-icon { width:36px; height:36px; flex:0 0 36px; border-radius:7px; display:grid; place-items:center; background:#eef5fb; color:#075090; }
.efsv-v3-benefit-icon .efsv-icon { width:19px; height:19px; }
.efsv-v3-benefit-card strong { display:block; color:#07396e; font-size:9px; line-height:1.18; }
.efsv-v3-benefit-card small { display:block; margin-top:2px; color:#6f7d8b; font-size:7.4px; line-height:1.2; }

/* Brands */
.efsv-v3-brands-section { padding-top:8px; }
.efsv-v3-brand-rail { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(120px,1fr); gap:10px; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x proximity; padding:1px; }
.efsv-v3-brand-rail::-webkit-scrollbar { display:none; }
.efsv-v3-brand { min-height:55px; scroll-snap-align:start; border:1px solid #dce5ed; border-radius:8px; background:#fff; display:flex; align-items:center; justify-content:center; padding:8px 12px; color:#111; font-size:13px; font-weight:900; text-align:center; letter-spacing:-.02em; }
.efsv-v3-brand:hover { color:#111; border-color:#c5d4e1; box-shadow:0 6px 14px rgba(7,49,91,.06); }
.efsv-v3-brand--corona { color:#19548a; text-transform:lowercase; font-size:15px; }
.efsv-v3-brand--sur { background:#fff; color:#e7332d; text-shadow:0 1px #ffda00; }
.efsv-v3-brand--blackdecker { color:#ff4c16; }
.efsv-v3-brand--rimax { color:#113a79; background:linear-gradient(#fff,#fff) padding-box; }
.efsv-v3-brand--more { color:#062f5f; }

/* Seller CTA */
.efsv-v3-seller-section { padding:9px 0 16px; }
.efsv-v3-seller { min-height:82px; padding:13px 20px; border-radius:9px; background:linear-gradient(100deg,#063566 0%,#074b86 100%); color:#fff; display:grid; grid-template-columns:54px minmax(0,1fr) auto; align-items:center; gap:14px; }
.efsv-v3-seller-icon { width:48px; height:48px; border:2px solid rgba(255,255,255,.5); border-radius:9px; display:grid; place-items:center; }
.efsv-v3-seller-icon .efsv-icon { width:30px; height:30px; }
.efsv-v3-seller-copy h2 { margin:0 0 2px; color:#fff; font-size:16px; line-height:1.08; font-weight:850; }
.efsv-v3-seller-copy p { margin:0; color:rgba(255,255,255,.88); font-size:8.5px; line-height:1.25; }
.efsv-v3-seller-actions { display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.efsv-v3-seller-button { min-width:240px; min-height:38px; padding:8px 15px; border-radius:7px; background:var(--efsv-v3-orange); color:#fff; display:flex; align-items:center; justify-content:center; gap:9px; font-size:10px; font-weight:850; }
.efsv-v3-seller-button:hover { background:#ff8d2a; color:#fff; }
.efsv-v3-seller-button .efsv-icon,.efsv-v3-seller-more .efsv-icon { width:13px; height:13px; }
.efsv-v3-seller-more { color:#fff; font-size:8px; display:flex; align-items:center; gap:3px; }
.efsv-v3-seller-more:hover { color:#fff; text-decoration:underline; }

/* Footer */
.efsv-v3-footer { background:#063a70; color:#e8f1f8; padding:0; }
.efsv-v3-footer-grid { padding:34px 0 27px; display:grid; grid-template-columns:1.32fr 1fr 1fr 1fr 1.55fr; gap:44px; }
.efsv-v3-footer h2 { margin:0 0 14px; color:#fff; font-size:15px; line-height:1.2; font-weight:850; }
.efsv-v3-footer-brand h2 { font-size:24px; margin-bottom:9px; letter-spacing:-.02em; }
.efsv-v3-footer p { margin:0 0 14px; color:#d8e5f1; font-size:12px; line-height:1.45; }
.efsv-v3-footer-brand strong { display:block; margin:15px 0 10px; color:#fff; font-size:12px; }
.efsv-v3-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.efsv-v3-footer li,.efsv-v3-footer li a { color:#eef5fa; font-size:12.5px; line-height:1.3; }
.efsv-v3-footer li a:hover { color:#fff; text-decoration:underline; }
.efsv-v3-footer .efsv-socials { gap:10px; display:flex; flex-wrap:wrap; }
.efsv-v3-footer .efsv-socials a { width:39px; height:39px; border:1.5px solid rgba(255,255,255,.78); border-radius:50%; color:#fff; display:grid; place-items:center; transition:.18s ease; }
.efsv-v3-footer .efsv-socials a:hover { background:#fff; color:#063a70; transform:translateY(-1px); }
.efsv-v3-footer .efsv-socials .efsv-icon { width:20px; height:20px; }
.efsv-v3-payments h3 { margin:20px 0 10px; color:#fff; font-size:13px; font-weight:800; }
.efsv-v3-payment-row { display:flex; flex-wrap:wrap; align-items:center; gap:9px; }
.efsv-v3-payment-gateway,.efsv-v3-payment-logo { min-width:72px; height:43px; padding:6px 10px; border-radius:6px; background:#fff; color:#153a65; display:flex; align-items:center; justify-content:center; box-shadow:0 1px 0 rgba(255,255,255,.18),0 3px 8px rgba(0,0,0,.08); overflow:hidden; }
.efsv-v3-payment-gateway img { display:block !important; width:auto !important; max-width:118px !important; height:auto !important; max-height:30px !important; margin:0 !important; float:none !important; }
.efsv-v3-payment-logo svg { display:block; width:auto; height:29px; max-width:98px; }
.efsv-v3-payment-logo--visa { min-width:88px; }
.efsv-v3-payment-logo--mc { min-width:88px; }
.efsv-v3-payment-logo--visa svg { width:74px; height:28px; }
.efsv-v3-payment-logo--mc svg { width:72px; height:34px; }
.efsv-v3-payment-logo--amex svg { height:32px; }
.efsv-v3-security { display:flex; flex-direction:column; align-items:flex-start; gap:9px; color:#fff; }
.efsv-v3-security span { font-size:11.5px; line-height:1.3; display:flex; align-items:center; gap:7px; color:#eef5fa; }
.efsv-v3-security .efsv-icon { width:18px; height:18px; flex:0 0 18px; }
.efsv-v3-footer-bottom { min-height:49px; border-top:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:space-between; gap:15px; color:#d9e4ef; font-size:10.5px; }
.efsv-v3-footer-bottom b { color:#ff5a63; }

/* Remove legacy/home/plugin leftovers that spoiled v2 visually */
body.efsv-v3.efsv-is-home .efsv-home-content,
body.efsv-v3.efsv-is-home .wcfmmp-store-dashboard,
body.efsv-v3.efsv-is-home .wcfm-dashboard-page,
body.efsv-v3.efsv-is-home .wcfm-container,
body.efsv-v3.efsv-is-home .job_listings,
body.efsv-v3.efsv-is-home .wp-job-manager-bookmarks-form,
body.efsv-v3.efsv-is-home .compare,
body.efsv-v3.efsv-is-home .woosc-btn,
body.efsv-v3.efsv-is-home .wooscp-btn,
body.efsv-v3.efsv-is-home .wcfm_buttons,
body.efsv-v3.efsv-is-home .dokan-product-edit,
body.efsv-v3.efsv-is-home .product-edit-link { display:none !important; }

/* Mobile-first adaptation: maintain same visual language, not a shrunken desktop page. */
@media (max-width:1199px) {
  body.efsv-v3 .efsv-container { width:min(calc(100% - 36px), 1510px); }
  .efsv-v3-header-main { grid-template-columns:180px minmax(320px,1fr) auto; gap:16px; }
  .efsv-v3-actions { gap:11px; }
  .efsv-v3-actions .efsv-action-copy { display:none; }
  .efsv-v3-actions .efsv-action-link { width:34px; justify-content:center; }
  .efsv-v3-search-row .efsv-search { max-width:none; }
  .efsv-v3-nav-menu a { padding:0 13px; font-size:9px; }
  .efsv-v3-promo-grid { gap:9px; }
  .efsv-v3-product-rail { grid-auto-columns:calc((100% - 42px)/4); }
}

@media (max-width:959px) {
  .admin-bar .efsv-v3-header { top:46px; }
  .efsv-v3-topbar-items { gap:20px; overflow-x:auto; scrollbar-width:none; }
  .efsv-v3-topbar-items::-webkit-scrollbar { display:none; }
  .efsv-v3-topbar-items span:nth-child(n+3),.efsv-v3-topbar-items a { display:none; }
  .efsv-v3-help { display:none; }
  .efsv-v3-header-main { min-height:64px; grid-template-columns:44px minmax(150px,1fr) auto; grid-template-rows:56px auto; gap:4px 8px; padding-top:3px; padding-bottom:9px; }
  .efsv-v3-menu-toggle { display:flex; grid-column:1; grid-row:1; }
  .efsv-v3-logo { grid-column:2; grid-row:1; justify-content:flex-start; }
  .efsv-v3-logo .efsv-logo__text { font-size:20px; }
  .efsv-v3-actions { grid-column:3; grid-row:1; gap:3px; }
  .efsv-v3-actions .efsv-action-link:nth-child(2) { display:none; }
  .efsv-v3-search-row { grid-column:1/-1; grid-row:2; }
  .efsv-v3-search-row .efsv-search { grid-template-columns:130px minmax(0,1fr) 46px; }
  .efsv-v3-nav { display:none; }
  .efsv-v3-hero-wrap { padding-top:10px; }
  .efsv-v3-category-rail { grid-auto-columns:105px; gap:14px; }
  .efsv-v3-promo-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; gap:10px; }
  .efsv-v3-promo-grid::-webkit-scrollbar { display:none; }
  .efsv-v3-promo { flex:0 0 44%; scroll-snap-align:start; }
  .efsv-v3-product-rail { grid-auto-columns:calc((100% - 24px)/3); gap:12px; }
  .efsv-v3-benefit-grid { grid-template-columns:repeat(3,1fr); }
  .efsv-v3-seller { grid-template-columns:48px minmax(0,1fr); }
  .efsv-v3-seller-actions { grid-column:1/-1; align-items:stretch; }
  .efsv-v3-seller-button { min-width:0; }
  .efsv-v3-footer { padding-bottom:70px; }
  .efsv-v3-footer-grid { grid-template-columns:1.1fr 1fr 1fr; gap:24px; }
  .efsv-v3-payments { grid-column:2/4; }
}

@media (max-width:639px) {
  body.efsv-v3 .efsv-container { width:calc(100% - 22px); }
  .efsv-v3-topbar { display:block; min-height:27px; }
  .efsv-v3-topbar-inner { min-height:27px; }
  .efsv-v3-topbar-items span { font-size:9px; }
  .efsv-v3-topbar-items span:nth-child(2) { display:none; }
  .efsv-v3-header-main { grid-template-columns:40px minmax(120px,1fr) auto; grid-template-rows:50px auto; }
  .efsv-v3-logo .efsv-logo__text { font-size:18px; }
  .efsv-v3-actions .efsv-action-link { width:32px; }
  .efsv-v3-actions .efsv-action-link > .efsv-icon { width:21px; height:21px; }
  .efsv-v3-actions .efsv-action-link:first-child { display:none; }
  .efsv-v3-search-row .efsv-search { grid-template-columns:minmax(0,1fr) 44px; min-height:42px; border-radius:7px; }
  .efsv-v3-search-row .efsv-search select { display:none; }
  .efsv-v3-search-row .efsv-search input { border-right:1px solid #dce4ec; font-size:12px; }
  .efsv-v3-hero-wrap { padding:8px 0 3px; }
  .efsv-v3-hero { border-radius:10px; }
  .efsv-v3-hero img { aspect-ratio:760/710; object-fit:cover; }
  .efsv-v3-section { padding:12px 0; }
  .efsv-v3-section-head { margin-bottom:10px; }
  .efsv-v3-section-head h2 { font-size:18px; }
  .efsv-v3-section-head > a { font-size:9px; }
  .efsv-v3-category-rail { grid-auto-columns:92px; gap:11px; }
  .efsv-v3-category-image { width:80px; height:80px; }
  .efsv-v3-category-name { font-size:9px; }
  .efsv-v3-rail-arrow { display:none; }
  .efsv-v3-promo { flex-basis:76%; }
  .efsv-v3-product-rail { grid-auto-columns:calc((100% - 10px)/2); gap:10px; }
  .efsv-v3-product-image { height:155px; padding:12px 9px 2px; }
  .efsv-v3-product-body { padding:8px 9px 10px; }
  .efsv-v3-product-card h3 { font-size:10.5px; min-height:34px; }
  .efsv-v3-product-meta { font-size:7px; }
  .efsv-v3-price strong { font-size:15px; }
  .efsv-v3-add-button { min-height:34px !important; font-size:8.5px !important; }
  .efsv-v3-benefit-grid { display:flex; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; gap:8px; }
  .efsv-v3-benefit-grid::-webkit-scrollbar { display:none; }
  .efsv-v3-benefit-card { flex:0 0 74%; scroll-snap-align:start; }
  .efsv-v3-brand-rail { grid-auto-columns:105px; gap:8px; }
  .efsv-v3-brand { min-height:49px; font-size:11px; }
  .efsv-v3-seller { padding:14px; grid-template-columns:42px minmax(0,1fr); gap:10px; }
  .efsv-v3-seller-icon { width:42px; height:42px; }
  .efsv-v3-seller-copy h2 { font-size:15px; }
  .efsv-v3-seller-copy p { font-size:8px; }
  .efsv-v3-seller-button { min-height:40px; font-size:10px; }
  .efsv-v3-footer-grid { grid-template-columns:1fr 1fr; gap:24px 16px; padding-top:24px; }
  .efsv-v3-footer-brand { grid-column:1/-1; }
  .efsv-v3-payments { grid-column:1/-1; }
  .efsv-v3-footer-bottom { padding:10px 0 14px; flex-direction:column; align-items:flex-start; }
}
