/*
 * Capa móvil de La Tienda de Seguridad.
 * Todo lo de aquí solo se aplica en pantallas de hasta 767 px.
 */
/* La tipografía (Archivo) se carga desde functions.php para que llegue antes. */

.ltsm { display: none; }


@media (max-width: 767px) {
  :root {
    --lts-navy: #013C98;
    --lts-ink: #0A1F45;
    --lts-text: #1E2430;
    --lts-muted: #5A6578;
    --lts-bg: #F4F5F7;
    --lts-soft: #EEF3FC;
    --lts-line: #E4E7EC;
    --lts-amber: #FFB020;
    --lts-green: #11743B;
  }

  html.ltsm-lock, html.ltsm-lock body { overflow: hidden; }

  /* Mostrar la capa nueva */
  #ltsm-top, #ltsm-nav { display: block; }
  #ltsm-main { display: flex; }
  #ltsm-nav { display: grid; }

  /* Ocultar lo de Divi que sustituimos */
  body.ltsm-full #page-container { display: none !important; }
  body.ltsm-chrome .et-l--header,
  body.ltsm-chrome .et-l--footer,
  body.ltsm-chrome #main-header,
  body.ltsm-chrome #top-header { display: none !important; }
  body.ltsm-chrome #page-container { padding-top: 0 !important; margin-top: 0 !important; }
  body.ltsm-ready { background: var(--lts-bg) !important; padding-bottom: 84px; }
  body.ltsm-has-buy { padding-bottom: 96px; }

  .ltsm, .ltsm * { box-sizing: border-box; }
  .ltsm [hidden] { display: none !important; }
  .ltsm {
    font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--lts-text);
    font-size: 15px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
  }
  .ltsm a { text-decoration: none; }
  .ltsm svg { width: 22px; height: 22px; flex-shrink: 0; }
  .ltsm h1, .ltsm h2, .ltsm p { padding: 0; }
  .ltsm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ltsm :focus-visible { outline: 3px solid var(--lts-amber); outline-offset: 2px; }

  /* Franja de envío */
  .ltsm-promo {
    background: var(--lts-ink); color: #fff; font-size: 12px; font-weight: 500;
    padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .ltsm-promo svg { width: 16px; height: 16px; }

  /* Cabecera */
  .ltsm-header {
    background: #fff; padding: 10px 12px; display: flex; align-items: center; gap: 4px;
    border-bottom: 1px solid var(--lts-line);
  }
  #ltsm-top { background: #fff; }
  #ltsm-top .ltsm-header { border-bottom: 0; }
  .ltsm-icon {
    width: 44px; height: 44px; border: 0; background: transparent; color: var(--lts-ink);
    display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
    position: relative; padding: 0; cursor: pointer;
  }
  .ltsm-icon--solid { background: var(--lts-navy); color: #fff; }
  .ltsm-icon--soft { background: #F0F2F5; }
  .ltsm-badge {
    position: absolute; top: -4px; right: -4px; background: var(--lts-amber); color: var(--lts-ink);
    font-size: 11px; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center; border: 2px solid #fff; padding: 0 3px;
  }
  .ltsm-brand { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
  .ltsm-brand img { width: 40px; height: 36px; object-fit: contain; }
  .ltsm-brand span { display: flex; flex-direction: column; line-height: 1; }
  .ltsm-brand small { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--lts-navy); }
  .ltsm-brand b { font-size: 17px; font-weight: 800; color: var(--lts-navy); letter-spacing: -.01em; }

  /* Buscador */
  .ltsm-search { background: #fff; padding: 2px 16px 12px; margin: 0; }
  .ltsm-search label {
    display: flex; align-items: center; gap: 10px; background: #F0F2F5; border-radius: 14px;
    padding: 0 14px; height: 48px; color: var(--lts-muted); margin: 0;
  }
  .ltsm-search svg { width: 20px; height: 20px; }
  .ltsm-search input[type=search] {
    border: 0 !important; background: transparent !important; font: inherit; font-size: 16px;
    color: var(--lts-text); flex: 1; outline: none; min-width: 0; padding: 0 !important; box-shadow: none !important;
  }

  /* Chips de categorías */
  .ltsm-chips {
    display: flex; gap: 8px; padding: 0 16px 14px; overflow-x: auto; background: #fff;
    border-bottom: 1px solid var(--lts-line); scrollbar-width: none;
  }
  .ltsm-chips::-webkit-scrollbar { display: none; }
  .ltsm-chips a {
    flex-shrink: 0; height: 40px; padding: 0 16px; border-radius: 20px; background: var(--lts-soft);
    color: var(--lts-navy); font-size: 14px; font-weight: 600; display: flex; align-items: center; white-space: nowrap;
  }
  .ltsm-chips a.is-on { background: var(--lts-navy); color: #fff; }
  .ltsm-chips a.is-pro:not(.is-on) { background: rgba(31,107,255,.12); color: #1F5FD9; }

  /* Contenido */
  #ltsm-main { flex-direction: column; background: var(--lts-bg); min-height: 100vh; }
  .ltsm-pad { padding: 20px 16px 4px; display: flex; flex-direction: column; gap: 12px; }
  .ltsm-pad--tight { padding-top: 8px; }
  .ltsm-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .ltsm-h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--lts-ink); line-height: 1.2; }
  .ltsm-h2--sm { font-size: 19px; }
  .ltsm-h2row { display: flex; align-items: baseline; justify-content: space-between; }
  .ltsm-h2row a { font-size: 14px; font-weight: 600; color: var(--lts-navy); padding: 10px 0; }

  /* Botones */
  .ltsm-btn {
    height: 50px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--lts-navy); color: #fff !important;
    font: inherit; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; cursor: pointer;
  }
  .ltsm-btn svg { width: 18px; height: 18px; }
  .ltsm-btn--light { background: #fff; color: var(--lts-navy) !important; }
  .ltsm-btn--outline { background: transparent; border: 1.5px solid var(--lts-navy); color: var(--lts-navy) !important; margin-top: 4px; }
  .ltsm-btn--ghost { background: transparent; color: var(--lts-navy) !important; height: 44px; }

  /* Portada */
  .ltsm-hero {
    background: var(--lts-navy); border-radius: 24px; padding: 24px 20px 0; color: #fff;
    display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  }
  .ltsm-hero h1 { margin: 0; font-size: 30px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: #fff; }
  .ltsm-hero p { margin: 0; font-size: 15px; line-height: 1.45; color: #D6E2FA; }
  .ltsm-kicker {
    align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em;
    background: rgba(255,255,255,.14); padding: 6px 10px; border-radius: 8px;
  }
  .ltsm-kicker--amber { background: none; padding: 0; color: var(--lts-amber); }
  .ltsm-hero-imgs { display: flex; justify-content: center; align-items: flex-end; height: 170px; margin-top: 4px; }
  .ltsm-hero-imgs img { width: 150px; height: 150px; object-fit: contain; }
  .ltsm-hero-imgs img + img { width: 180px; height: 170px; margin-left: -24px; }

  /* Listas con icono */
  .ltsm-list { background: #fff; border-radius: 20px; padding: 6px 16px; display: flex; flex-direction: column; }
  .ltsm-li { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--lts-text); }
  .ltsm-li + .ltsm-li { border-top: 1px solid #EDF0F4; }
  .ltsm-li > div { display: flex; flex-direction: column; gap: 2px; flex: 1; }
  .ltsm-li strong { font-size: 15px; }
  .ltsm-li span { font-size: 13px; color: var(--lts-muted); }
  .ltsm-li > svg { width: 18px; height: 18px; color: #8A94A6; }
  .ltsm-ico {
    width: 40px; height: 40px; border-radius: 12px; background: var(--lts-soft); color: var(--lts-navy) !important;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .ltsm-ico svg { width: 20px; height: 20px; }
  .ltsm-ico--solid { width: 44px; height: 44px; border-radius: 14px; background: var(--lts-navy); color: #fff !important; }

  /* Soluciones */
  .ltsm-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ltsm-sol {
    background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px;
    color: var(--lts-text); min-height: 168px;
  }
  .ltsm-sol strong { font-size: 16px; line-height: 1.2; }
  .ltsm-sol > span:last-child { font-size: 13px; line-height: 1.4; color: var(--lts-muted); }
  .ltsm-feature {
    background: var(--lts-ink); border-radius: 20px; padding: 18px; display: flex; align-items: center; gap: 12px; color: #fff;
  }
  .ltsm-feature > div { display: flex; flex-direction: column; gap: 6px; flex: 1; }
  .ltsm-feature strong { font-size: 18px; line-height: 1.2; }
  .ltsm-feature > div > span:last-child { font-size: 13px; color: #C9D3E6; }
  .ltsm-feature img { width: 96px; height: 96px; object-fit: contain; }

  /* Tarjeta de producto */
  .ltsm-card { background: #fff; border-radius: 18px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .ltsm-card-img {
    background: var(--lts-bg); border-radius: 12px; height: 140px; display: flex; align-items: center; justify-content: center; position: relative;
  }
  .ltsm-card-img img { width: 120px; height: 120px; object-fit: contain; }
  .ltsm-tag {
    position: absolute; top: 8px; left: 8px; background: var(--lts-navy); color: #fff; font-size: 10px;
    font-weight: 800; letter-spacing: .08em; padding: 3px 6px; border-radius: 6px;
  }
  .ltsm-card-name {
    font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--lts-text);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .ltsm-card-spec { font-size: 12px; line-height: 1.35; color: var(--lts-muted); }
  .ltsm-stock { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--lts-green); }
  .ltsm-stock i { width: 8px; height: 8px; border-radius: 4px; background: #1DA554; }
  .ltsm-stock--pill { background: #E7F6EC; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; }
  .ltsm-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
  .ltsm-card-foot strong { font-size: 17px; font-weight: 800; color: var(--lts-ink); }
  .ltsm-add {
    width: 44px; height: 44px; border-radius: 12px; background: var(--lts-navy); color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .ltsm-add svg { width: 20px; height: 20px; }

  /* Marcas */
  .ltsm-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ltsm-brands span {
    height: 56px; background: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; color: var(--lts-ink); letter-spacing: .02em;
  }

  /* Newsletter */
  .ltsm-news {
    background: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px;
    border: 1.5px dashed #9DB4E0; margin: 0;
  }
  .ltsm-pill { align-self: flex-start; background: var(--lts-amber); color: var(--lts-ink); font-weight: 800; font-size: 13px; padding: 5px 10px; border-radius: 8px; }
  .ltsm-news strong { font-size: 19px; line-height: 1.25; color: var(--lts-ink); }
  .ltsm-news label { font-size: 13px; font-weight: 600; color: #3B4556; margin-bottom: -6px; }
  .ltsm-news input {
    height: 48px; border-radius: 12px; border: 1.5px solid #D3D9E3; padding: 0 14px; font: inherit; font-size: 16px; background: #fff;
  }
  .ltsm-news-msg { margin: 0; font-size: 13px; color: var(--lts-muted); }
  .ltsm-news-msg:empty { display: none; }

  /* Ventana de suscripción (formulario de Brevo) */
  #ltsm-brevo { display: flex; position: fixed; inset: 0; z-index: 99999; align-items: center; justify-content: center; padding: 16px; }
  .ltsm-brevo-card {
    position: relative; width: 100%; max-width: 420px; height: min(560px, 85vh); background: #fff; border-radius: 20px;
    overflow: hidden; padding-top: 52px;
  }
  .ltsm-brevo-card .ltsm-icon { position: absolute; top: 6px; right: 6px; z-index: 1; }
  .ltsm-brevo-card iframe { width: 100%; height: 100%; border: 0; display: block; }

  /* Avisos de WooCommerce dentro del diseño */
  .ltsm-notices { padding: 12px 16px 0; }
  .ltsm-notices > * { margin: 0 0 8px !important; border-radius: 14px !important; font-size: 14px; }

  /* Pie */
  .ltsm-footer {
    background: var(--lts-ink); color: #C9D3E6; padding: 28px 20px 32px; margin-top: 24px;
    display: flex; flex-direction: column; gap: 20px; font-size: 14px;
  }
  .ltsm-footer-brand { display: flex; align-items: center; gap: 10px; }
  .ltsm-footer-brand img { width: 44px; height: 40px; object-fit: contain; background: #fff; border-radius: 10px; padding: 2px; }
  .ltsm-footer-brand strong { color: #fff; font-size: 16px; }
  .ltsm-footer-contact { display: flex; flex-direction: column; }
  .ltsm-footer-contact a { color: #fff; font-weight: 600; padding: 8px 0; }
  .ltsm-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .ltsm-footer-links a { color: #C9D3E6; padding: 8px 0; }

  /* Barra inferior */
  #ltsm-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9991; background: #fff; border-top: 1px solid var(--lts-line);
    grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
  }
  #ltsm-nav a {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; min-height: 52px;
    color: var(--lts-muted); font-size: 11px; font-weight: 600;
  }
  #ltsm-nav a.is-on { color: var(--lts-navy); font-weight: 700; }

  /* Menú lateral */
  #ltsm-drawer {
    position: fixed; inset: 0; z-index: 99999; background: #fff; display: flex; flex-direction: column;
  }
  #ltsm-drawer[hidden] { display: none; }
  .ltsm-dr-head {
    display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 10px 20px;
    border-bottom: 1px solid var(--lts-line);
  }
  .ltsm-dr-head strong { font-size: 22px; font-weight: 800; color: var(--lts-ink); }
  .ltsm-dr-body { flex: 1; overflow-y: auto; padding: 8px 12px; display: flex; flex-direction: column; }
  .ltsm-dr-row {
    width: 100%; min-height: 56px; border: 0; background: transparent; font: inherit; display: flex; align-items: center;
    gap: 12px; padding: 0 12px; color: var(--lts-text); border-bottom: 1px solid #EDF0F4; text-align: left; cursor: pointer;
  }
  .ltsm-dr-row span { flex: 1; font-size: 16px; font-weight: 600; }
  .ltsm-dr-row small { font-size: 12px; color: var(--lts-muted); }
  .ltsm-dr-row svg { width: 18px; height: 18px; color: #8A94A6; transition: transform .2s; }
  .ltsm-dr-group.is-open { background: var(--lts-soft); border-radius: 16px; margin: 4px 0; padding-bottom: 8px; }
  .ltsm-dr-group.is-open > .ltsm-dr-row { border-bottom: 0; color: var(--lts-navy); }
  .ltsm-dr-group.is-open > .ltsm-dr-row span { font-weight: 700; }
  .ltsm-dr-group.is-open > .ltsm-dr-row svg { transform: rotate(180deg); color: var(--lts-navy); }
  .ltsm-dr-subs { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 12px; }
  .ltsm-dr-group.is-open .ltsm-dr-subs { display: grid; }
  .ltsm-dr-subs a {
    min-height: 44px; background: #fff; border-radius: 12px; display: flex; align-items: center; padding: 6px 14px;
    font-size: 14px; font-weight: 600; color: var(--lts-text);
  }
  .ltsm-dr-subs a:first-child { color: var(--lts-navy); }
  .ltsm-dr-foot {
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--lts-line);
    display: flex; flex-direction: column; gap: 8px; background: var(--lts-bg);
  }

  /* Ficha de producto */
  .ltsm-product .ltsm-header--sub { position: sticky; top: 0; z-index: 9990; }
  .ltsm-crumbs { flex: 1; font-size: 13px; color: var(--lts-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ltsm-gallery { background: #fff; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
  .ltsm-gallery-main {
    height: 320px; border-radius: 20px; background: var(--lts-bg); display: flex; align-items: center; justify-content: center; position: relative;
  }
  .ltsm-gallery-main img { max-width: 85%; max-height: 280px; object-fit: contain; }
  .ltsm-gallery-main .ltsm-tag { top: 14px; left: 14px; font-size: 11px; padding: 4px 8px; }
  .ltsm-count {
    position: absolute; bottom: 14px; right: 14px; background: rgba(10,31,69,.8); color: #fff; font-size: 12px;
    font-weight: 600; padding: 4px 10px; border-radius: 12px;
  }
  .ltsm-thumbs { display: flex; gap: 8px; overflow-x: auto; }
  .ltsm-thumbs button {
    width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; border: 2px solid transparent; background: var(--lts-bg);
    padding: 4px; cursor: pointer;
  }
  .ltsm-thumbs button.is-on { border-color: var(--lts-navy); }
  .ltsm-thumbs img { width: 100%; height: 100%; object-fit: contain; }
  .ltsm-info {
    background: #fff; padding: 4px 16px 20px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--lts-line);
  }
  .ltsm-ref { font-size: 13px; color: var(--lts-muted); }
  .ltsm-info h1 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: var(--lts-ink); }
  .ltsm-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
  .ltsm-price strong { font-size: 32px; font-weight: 800; color: var(--lts-ink); letter-spacing: -.02em; }
  .ltsm-price span { font-size: 13px; color: var(--lts-muted); }
  .ltsm-specs { background: #fff; border-radius: 18px; padding: 4px 16px; }
  .ltsm-specs div { display: flex; gap: 12px; align-items: center; padding: 13px 0; font-size: 14px; font-weight: 500; }
  .ltsm-specs div + div { border-top: 1px solid #EDF0F4; }
  .ltsm-specs svg { width: 18px; height: 18px; color: var(--lts-navy); }
  .ltsm-desc { background: #fff; border-radius: 18px; padding: 0 16px; }
  .ltsm-desc summary {
    list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between;
    font-weight: 700; font-size: 16px; color: var(--lts-ink); cursor: pointer;
  }
  .ltsm-desc summary::-webkit-details-marker { display: none; }
  .ltsm-desc[open] summary svg { transform: rotate(180deg); }
  .ltsm-desc-body { padding-bottom: 16px; font-size: 14px; line-height: 1.55; color: #3B4556; }
  .ltsm-desc-body img { max-width: 100%; height: auto; }
  .ltsm-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9991; background: #fff; border-top: 1px solid var(--lts-line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; margin: 0;
  }
  .ltsm-buy .ltsm-btn { flex: 1; height: 52px; font-size: 16px; }
  .ltsm-qty { display: flex; align-items: center; border: 1.5px solid #D3D9E3; border-radius: 14px; height: 52px; }
  .ltsm-qty button { width: 44px; height: 48px; border: 0; background: transparent; color: var(--lts-ink); font-size: 20px; font-weight: 700; cursor: pointer; }
  .ltsm-qty input {
    width: 32px; border: 0 !important; text-align: center; font: inherit; font-weight: 700; font-size: 16px; padding: 0 !important;
    -moz-appearance: textfield; background: transparent !important;
  }
  .ltsm-qty input::-webkit-outer-spin-button, .ltsm-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

  /* Páginas de categoría y tienda de Divi/WooCommerce: tarjetas en 2 columnas */
  body.ltsm-chrome ul.products {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 !important; padding: 0 !important;
  }
  body.ltsm-chrome ul.products::before, body.ltsm-chrome ul.products::after { display: none !important; }
  body.ltsm-chrome ul.products li.product {
    width: auto !important; margin: 0 !important; float: none !important; background: #fff; border-radius: 18px; padding: 10px !important;
    border: 1px solid var(--lts-line); display: flex; flex-direction: column;
    font-family: 'Archivo', system-ui, sans-serif;
  }
  body.ltsm-chrome ul.products li.product .et_shop_image { background: var(--lts-bg); border-radius: 12px; display: block; overflow: hidden; }
  body.ltsm-chrome ul.products li.product img { height: 130px !important; width: 100% !important; object-fit: contain; margin: 0 !important; }
  body.ltsm-chrome ul.products li.product h2 { font-size: 14px !important; font-weight: 700 !important; padding: 8px 0 4px !important; color: var(--lts-text) !important; }
  body.ltsm-chrome ul.products li.product .lts-short-description { font-size: 12px; line-height: 1.35; color: var(--lts-muted); max-height: 50px; overflow: hidden; }
  body.ltsm-chrome ul.products li.product .lts-short-description p { padding: 0; }
  body.ltsm-chrome ul.products li.product .lts-stock {
    font-size: 12px !important; font-weight: 600 !important; color: var(--lts-green) !important; margin: 6px 0 !important;
    background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; text-align: left !important;
  }
  body.ltsm-chrome ul.products li.product .price { font-size: 17px !important; font-weight: 800 !important; color: var(--lts-ink) !important; }
  /* Filtros de categoría */
  body.ltsm-has-filters .woocommerce-widget-layered-nav,
  body.ltsm-has-filters .widget_layered_nav_filters,
  body.ltsm-has-filters .woocommerce-result-count,
  body.ltsm-has-filters form.woocommerce-ordering { display: none !important; }
  #ltsm-filters {
    display: block; position: sticky; top: 0; z-index: 50; background: #fff;
    margin: 0 -4.35% 16px; padding: 0 0 14px; border-bottom: 1px solid var(--lts-line);
  }
  .ltsm-f-head { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 2px; }
  .ltsm-f-head h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.01em; color: var(--lts-ink); line-height: 1.15; }
  .ltsm-f-head span { font-size: 14px; color: var(--lts-muted); }
  .ltsm-f-bar { display: flex; gap: 10px; padding: 12px 16px 0; }
  .ltsm-f-bar .ltsm-btn { flex: 1 1 0; height: 48px; padding: 0 12px; }
  .ltsm-f-num {
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--lts-amber); color: var(--lts-ink);
    font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
  }
  .ltsm-f-order {
    flex: 1 1 0; height: 48px; border-radius: 14px; border: 1.5px solid #D3D9E3; display: flex; align-items: center; gap: 8px;
    padding: 0 12px; color: var(--lts-ink); margin: 0; min-width: 0;
  }
  .ltsm-f-order svg { width: 18px; height: 18px; }
  .ltsm-f-order select {
    border: 0 !important; background: transparent !important; font: inherit; font-size: 14px; font-weight: 600; color: inherit;
    flex: 1; min-width: 0; padding: 0 !important; -webkit-appearance: none; appearance: none; box-shadow: none !important;
  }
  .ltsm-f-quick { display: flex; gap: 8px; padding: 12px 16px 0; overflow-x: auto; scrollbar-width: none; }
  .ltsm-f-quick::-webkit-scrollbar { display: none; }
  .ltsm-f-quick a {
    flex-shrink: 0; height: 40px; padding: 0 14px; border-radius: 20px; border: 1.5px solid #D3D9E3; background: #fff;
    color: var(--lts-text); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; white-space: nowrap;
  }
  .ltsm-f-quick a.is-on { background: var(--lts-navy); border-color: var(--lts-navy); color: #fff; }
  .ltsm-f-quick svg { width: 16px; height: 16px; }
  .ltsm-f-active { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 16px 0; }
  .ltsm-f-active > span { font-size: 13px; color: var(--lts-muted); }
  .ltsm-f-active a {
    height: 32px; padding: 0 6px 0 10px; border-radius: 8px; background: var(--lts-soft); color: var(--lts-navy);
    font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 4px;
  }
  .ltsm-f-active a svg { width: 16px; height: 16px; }
  .ltsm-f-active a.ltsm-f-clear { background: none; color: #B42318; text-decoration: underline; padding: 0 4px; }

  /* Panel inferior de filtros */
  #ltsm-sheet { display: block; position: fixed; inset: 0; z-index: 99998; }
  #ltsm-sheet[hidden] { display: none; }
  .ltsm-sheet-bg { position: absolute; inset: 0; background: rgba(10,31,69,.55); }
  .ltsm-sheet {
    position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; background: #fff; border-radius: 24px 24px 0 0;
    display: flex; flex-direction: column; animation: ltsm-up .22s ease-out;
  }
  @keyframes ltsm-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .ltsm-sheet { animation: none; } }
  .ltsm-sheet-grip { display: flex; justify-content: center; padding-top: 10px; }
  .ltsm-sheet-grip span { width: 40px; height: 5px; border-radius: 3px; background: #D3D9E3; }
  .ltsm-sheet-head {
    display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 12px 20px; border-bottom: 1px solid var(--lts-line);
  }
  .ltsm-sheet-head > div { display: flex; align-items: center; gap: 8px; }
  .ltsm-sheet-head strong { font-size: 22px; font-weight: 800; color: var(--lts-ink); }
  .ltsm-sheet-head [data-ltsm-sel] { font-size: 14px; color: var(--lts-muted); }
  .ltsm-sheet-clear {
    height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--lts-navy); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  }
  .ltsm-sheet-body { flex: 1; overflow-y: auto; padding: 4px 20px 16px; overscroll-behavior: contain; }
  .ltsm-sheet-body fieldset { border: 0; margin: 0; padding: 16px 0; border-bottom: 1px solid #EDF0F4; }
  .ltsm-sheet-body fieldset:last-child { border-bottom: 0; }
  .ltsm-sheet-body legend { padding: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--lts-ink); float: left; width: 100%; }
  .ltsm-sheet-body fieldset > div { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
  .ltsm-sheet-body button {
    min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #D3D9E3; background: #fff; color: var(--lts-text);
    font: inherit; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: left;
  }
  .ltsm-sheet-body button svg { display: none; width: 16px; height: 16px; }
  .ltsm-sheet-body button small { font-size: 12px; font-weight: 600; color: var(--lts-muted); }
  .ltsm-sheet-body button[aria-pressed="true"] { background: var(--lts-navy); border-color: var(--lts-navy); color: #fff; font-weight: 700; }
  .ltsm-sheet-body button[aria-pressed="true"] svg { display: block; }
  .ltsm-sheet-body button[aria-pressed="true"] small { color: #C9D8F5; }
  .ltsm-sheet-foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--lts-line); }
  .ltsm-sheet-foot .ltsm-btn { width: 100%; height: 52px; font-size: 16px; }

  /* Carrito y pago */
  body.ltsm-chrome .woocommerce td.product-name,
  body.ltsm-chrome .woocommerce td.product-name a { font-size: 16px !important; line-height: 1.3 !important; font-weight: 700; }
  body.ltsm-chrome .woocommerce .button,
  body.ltsm-chrome .woocommerce button.button { border-radius: 14px !important; min-height: 48px; }

  body.ltsm-chrome .et_pb_section { padding-top: 16px !important; padding-bottom: 16px !important; }
  body.ltsm-chrome .et_pb_row { width: 92% !important; }
}
