/* CSS externalizado desde bloques <style> para CSP estricta. */
:root { --cat-accent: #10b981; }

    .nov-hero {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      padding: 40px 0 32px;
      text-align: center;
      color: #fff;
    }
    .nov-hero__title {
      font-family: var(--font-display, sans-serif);
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 900;
      letter-spacing: -.02em;
      margin: 0 0 6px;
    }
    .nov-hero__sub { font-size: 1rem; opacity: .85; margin: 0; }

    .nov-toolbar {
      background: var(--surface, #fff);
      border-bottom: 1px solid var(--border, #e2e8f0);
      padding: 12px 0;
      position: sticky;
      top: 0;
      z-index: 90;
    }
    .nov-toolbar__inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }
    .nov-toolbar__search { flex:1; min-width:200px; display:flex; }
    .nov-toolbar__search input {
      flex: 1;
      border: 1px solid var(--border,#e2e8f0);
      border-right: none;
      border-radius: 8px 0 0 8px;
      padding: 8px 14px;
      font-size: 14px;
      background: var(--bg2,#f8fafc);
      color: var(--text,#1e293b);
      outline: none;
    }
    .nov-toolbar__search input:focus { border-color: #10b981; }
    .nov-toolbar__search button {
      background: #10b981;
      border: 1px solid #10b981;
      border-radius: 0 8px 8px 0;
      padding: 8px 14px;
      cursor: pointer;
      color: #fff;
    }
    .nov-toolbar select {
      border: 1px solid var(--border,#e2e8f0);
      border-radius: 8px;
      padding: 8px 12px;
      font-size: 13px;
      background: var(--bg2,#f8fafc);
      color: var(--text,#1e293b);
      cursor: pointer;
    }
    .nov-toolbar label {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text2,#475569);
      cursor: pointer;
      white-space: nowrap;
    }
    .nov-toolbar__total {
      font-size: 13px;
      color: var(--text3,#94a3b8);
      margin-left: auto;
      white-space: nowrap;
    }
    /* chips de días */
    .dias-chips { display:flex; gap:6px; flex-wrap:wrap; }
    .dia-chip {
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid var(--border,#e2e8f0);
      background: var(--bg2,#f8fafc);
      color: var(--text2,#475569);
      transition: all .15s;
    }
    .dia-chip.active { background:#10b981; border-color:#10b981; color:#fff; }

    .nov-wrap {
      max-width: 1280px;
      margin: 0 auto;
      padding: 28px 20px 60px;
    }
    .nov-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px;
    }
    @media(max-width:600px) { .nov-grid { grid-template-columns:repeat(2,1fr); gap:10px; } }

    .nov-card {
      background: var(--surface,#fff);
      border: 1px solid var(--border,#e2e8f0);
      border-radius: 12px;
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: box-shadow .2s, transform .15s;
    }
    .nov-card:hover { box-shadow:0 8px 24px rgba(0,0,0,.1); transform:translateY(-2px); }
    .nov-card__img-wrap {
      position: relative;
      padding: 16px;
      background: var(--bg2,#f8fafc);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 140px;
    }
    .nov-card__img { max-width:120px; max-height:120px; object-fit:contain; }
    .nov-badge {
      position: absolute;
      top: 8px; left: 8px;
      background: #10b981;
      color: #fff;
      font-size: 10px;
      font-weight: 800;
      padding: 2px 8px;
      border-radius: 20px;
      letter-spacing: .03em;
    }
    .nov-card__body { padding:10px 12px 12px; display:flex; flex-direction:column; flex:1; }
    .nov-card__fab { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--text3,#94a3b8); margin-bottom:3px; }
    .nov-card__name {
      font-size: 13px; font-weight:600; color:var(--text,#1e293b);
      line-height:1.35;
      display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
      flex:1; margin-bottom:8px;
    }
    .nov-card__footer { display:flex; justify-content:space-between; align-items:flex-end; gap:6px; }
    .nov-card__precio strong { font-size:15px; font-weight:800; color:var(--text,#1e293b); }
    .nov-card__stock { font-size:11px; font-weight:600; text-align:right; }
    .nov-card__fecha { font-size:10px; color:var(--text3,#94a3b8); margin-top:3px; }

    .nov-pag { display:flex; justify-content:center; gap:6px; margin-top:32px; flex-wrap:wrap; }
    .nov-pag button {
      min-width:36px; height:36px;
      border:1px solid var(--border,#e2e8f0); border-radius:8px;
      background:var(--surface,#fff); color:var(--text,#1e293b);
      font-size:13px; font-weight:600; cursor:pointer; transition:background .15s;
    }
    .nov-pag button:hover, .nov-pag button.active { background:#10b981; border-color:#10b981; color:#fff; }

    .nov-empty { text-align:center; padding:60px 20px; color:var(--text3,#94a3b8); }
    .nov-empty__icon { font-size:3rem; margin-bottom:12px; }
    .nov-empty__title { font-size:1.2rem; font-weight:700; color:var(--text2,#475569); margin-bottom:6px; }
    .nov-spin { display:flex; justify-content:center; padding:60px; }
    .nov-spin .spin { width:36px; height:36px; border:3px solid var(--border,#e2e8f0); border-top-color:#10b981; border-radius:50%; animation:spin .7s linear infinite; }
    @keyframes spin { to { transform:rotate(360deg); } }
