/* =========================================================
   MOBELSHIPPING — sistema de diseño del catálogo
   Paleta extraída del logotipo (letras multicolor sobre navy)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap');

:root{
  --bg:            #FAFAF7;
  --surface:       #FFFFFF;
  --surface-sunk:  #F1EFE9;
  --text:          #0B1B2B;
  --text-muted:    #5B6472;
  --border:        #E7E4DC;

  --red:    #E8332A;
  --yellow: #F2B705;
  --blue:   #2B3A8F;
  --teal:   #0F9E9A;
  --green:  #1F8A50;

  --accent: var(--teal);
  --accent-ink: #08403E;

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 18px;

  --shadow-card: 0 1px 2px rgba(11,27,43,.04), 0 8px 24px rgba(11,27,43,.06);
  --shadow-pop:  0 12px 40px rgba(11,27,43,.18);
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
a{ color:inherit; }
:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }

.container{
  max-width:1220px;
  margin:0 auto;
  padding:0 20px;
}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:40;
  background:rgba(250,250,247,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; gap:20px;
  padding:14px 0;
}
.logo-mark{ height:34px; width:auto; }
.header-search{
  flex:1; max-width:420px; margin-left:auto;
  display:flex; align-items:center; gap:8px;
  background:var(--surface); border:1px solid var(--border);
  border-radius:999px; padding:9px 16px;
}
.header-search input{
  border:none; outline:none; background:transparent;
  font-family:var(--font-body); font-size:14px; width:100%; color:var(--text);
}
.header-search svg{ flex:none; opacity:.5; }

.cart-btn{
  position:relative;
  display:flex; align-items:center; gap:8px;
  background:var(--text); color:#fff;
  border:none; border-radius:999px;
  padding:10px 18px; font-weight:600; font-size:14px;
  font-family:var(--font-display);
  transition:transform .15s ease;
}
.cart-btn:hover{ transform:translateY(-1px); }
.cart-count{
  background:var(--red); color:#fff;
  font-size:11px; font-weight:700; font-family:var(--font-body);
  min-width:18px; height:18px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  padding:0 4px;
}

/* ---------- category rail ---------- */
.cat-rail{
  display:flex; flex-wrap:wrap; gap:10px;
  padding:14px 0;
}
.cat-pill{
  flex:none;
  display:flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:999px;
  border:1px solid var(--border); background:var(--surface);
  font-family:var(--font-display); font-weight:600; font-size:13.5px;
  color:var(--text-muted); white-space:nowrap;
  transition:all .15s ease;
}
.cat-pill .dot{ width:8px; height:8px; border-radius:50%; }
.cat-pill.active, .cat-pill:hover{
  color:var(--text); border-color:var(--text); background:var(--surface);
}
.cat-pill.active{ box-shadow:inset 0 0 0 1.5px var(--text); }
.cat-pill.sub{ padding:6px 13px; font-size:12.5px; }
#subRail{ padding-top:0; margin-top:-6px; }

/* ---------- hero ---------- */
.hero{ padding:34px 0 6px; }
.hero-eyebrow{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--accent-ink);
  background:#E6F6F5; border:1px dashed var(--teal);
  display:inline-flex; padding:4px 10px; border-radius:999px;
  margin-bottom:12px;
}
.hero h1{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(28px,4vw,44px); margin:0 0 8px; letter-spacing:-.01em;
}
.hero p{ color:var(--text-muted); max-width:560px; margin:0; font-size:15.5px; }
.hero-disclaimer{
  display:flex; gap:8px; align-items:flex-start;
  max-width:640px; margin:16px 0 0; padding:10px 14px;
  background:#FFF8E6; border:1px dashed var(--yellow);
  border-radius:var(--radius-m); font-size:12.5px; color:var(--accent-ink);
  line-height:1.5;
}

/* ---------- product grid ---------- */
.grid-section{ padding:26px 0 80px; }
.grid-heading{
  display:flex; align-items:baseline; justify-content:space-between;
  margin:34px 0 16px;
}
.grid-heading h2{
  font-family:var(--font-display); font-size:20px; margin:0;
  display:flex; align-items:center; gap:10px;
}
.grid-heading .count{
  font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted);
}
.product-grid{
  display:grid; gap:20px;
  grid-template-columns:repeat(auto-fill, minmax(240px,1fr));
}

.product-card{
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-l); overflow:hidden;
  display:flex; flex-direction:column;
  box-shadow:var(--shadow-card);
  transition:transform .18s ease, box-shadow .18s ease;
}
.product-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-pop); }

.product-photo{
  position:relative; aspect-ratio:1/1; background:var(--surface-sunk);
  overflow:hidden;
}
.product-photo img{ width:100%; height:100%; object-fit:cover; }
.product-photo .no-photo{
  position:absolute; inset:0;
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); font-family:var(--font-mono); font-size:12px;
}
.photo-dots{
  position:absolute; bottom:9px; left:0; right:0;
  display:flex; justify-content:center; gap:5px;
}
.photo-dots button{
  width:6px; height:6px; border-radius:50%; border:none;
  background:rgba(255,255,255,.6); padding:0;
  box-shadow:0 0 0 1px rgba(11,27,43,.15);
}
.photo-dots button.active{ background:#fff; width:16px; border-radius:4px; }

.photo-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:34px; height:34px; border-radius:50%; border:none;
  background:rgba(11,27,43,.55); color:#fff;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .15s ease, background .15s ease;
}
.photo-nav:hover{ background:rgba(11,27,43,.8); }
.photo-nav svg{ width:18px; height:18px; }
.photo-nav.prev{ left:8px; }
.photo-nav.next{ right:8px; }
.product-photo:hover .photo-nav{ opacity:1; }
@media (hover:none){
  .photo-nav{ opacity:1; background:rgba(11,27,43,.4); }
}
.cat-tag{
  position:absolute; top:10px; left:10px;
  font-family:var(--font-display); font-weight:600; font-size:11px;
  padding:5px 10px; border-radius:999px; color:#fff;
  text-transform:uppercase; letter-spacing:.03em;
}
.stock-badge{
  position:absolute; top:10px; right:10px; z-index:2;
  font-family:var(--font-display); font-weight:700; font-size:11px;
  padding:5px 10px; border-radius:999px; color:#fff; background:var(--red);
  text-transform:uppercase; letter-spacing:.03em;
}
.product-card.agotado .main-photo{ filter:grayscale(.4); opacity:.85; }

.product-body{ padding:16px 16px 14px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-title{ font-family:var(--font-display); font-weight:600; font-size:15.5px; margin:0; }
.product-price{ font-family:var(--font-display); font-weight:700; font-size:15px; color:var(--accent-ink); margin:0; }
.product-desc{
  color:var(--text-muted); font-size:13.5px; margin:0; flex:1;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.product-desc.expanded{ -webkit-line-clamp:unset; }
.desc-toggle{
  background:none; border:none; padding:0; color:var(--accent-ink);
  font-size:12px; font-weight:600; text-align:left; text-decoration:underline;
}

/* shipping-tag reference chip — signature element */
.ref-tag{
  display:inline-flex; align-items:center; gap:6px;
  align-self:flex-start;
  font-family:var(--font-mono); font-size:12px; font-weight:600;
  color:var(--text); background:var(--surface-sunk);
  border:1px dashed var(--text-muted);
  border-radius:0 6px 6px 0;
  padding:4px 10px 4px 8px;
  position:relative; margin-left:6px;
}
.ref-tag::before{
  content:''; position:absolute; left:-6px; top:50%; transform:translateY(-50%);
  width:6px; height:6px; border-radius:50%; background:var(--bg);
  border:1px dashed var(--text-muted); border-right:none; border-top:none;
}

/* related products */
.related{ margin-top:2px; }
.related-label{
  font-size:11px; text-transform:uppercase; letter-spacing:.05em;
  color:var(--text-muted); font-weight:600; margin:0 0 6px;
}
.related-thumbs{ display:flex; gap:6px; }
.related-thumbs button{
  width:34px; height:34px; border-radius:8px; overflow:hidden;
  border:1px solid var(--border); padding:0; background:var(--surface-sunk);
}
.related-thumbs img{ width:100%; height:100%; object-fit:cover; }

.product-footer{
  display:flex; align-items:center; gap:10px;
  padding:12px 16px; border-top:1px solid var(--border);
}
.qty-stepper{
  display:flex; align-items:center; border:1px solid var(--border);
  border-radius:999px; overflow:hidden;
}
.qty-stepper button{
  width:28px; height:28px; border:none; background:var(--surface);
  font-size:15px; color:var(--text); flex:none;
}
.qty-stepper button:hover{ background:var(--surface-sunk); }
.qty-stepper input.qty-val{
  width:44px; text-align:center; font-family:var(--font-mono); font-size:13px;
  border:none; border-left:1px solid var(--border); border-right:1px solid var(--border);
  height:28px; color:var(--text); background:var(--surface);
  -moz-appearance:textfield;
}
.qty-stepper input.qty-val::-webkit-outer-spin-button,
.qty-stepper input.qty-val::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.add-btn{
  flex:1; background:var(--text); color:#fff; border:none;
  border-radius:999px; padding:9px 14px; font-family:var(--font-display);
  font-weight:600; font-size:13px; display:flex; align-items:center; justify-content:center; gap:6px;
  transition:background .15s ease;
}
.add-btn:hover{ background:var(--accent-ink); }
.add-btn.added{ background:var(--green); }
.add-btn:disabled{ background:var(--border); color:var(--text-muted); cursor:not-allowed; }

.sold-out-note{
  flex:1; text-align:center; font-family:var(--font-display); font-weight:600; font-size:13px;
  color:var(--red); background:#FDECEA; border-radius:999px; padding:10px 14px;
}

.empty-state{
  text-align:center; padding:80px 20px; color:var(--text-muted);
  font-family:var(--font-body);
}
.empty-state strong{ display:block; font-family:var(--font-display); color:var(--text); font-size:17px; margin-bottom:6px; }

.load-more-btn{
  display:flex; margin:28px auto 10px; padding:12px 26px;
  border-radius:999px; border:1px solid var(--border); background:var(--surface);
  font-family:var(--font-display); font-weight:600; font-size:13.5px; color:var(--text);
}
.load-more-btn:hover{ border-color:var(--text); background:var(--surface-sunk); }

/* ---------- cart drawer ---------- */
.overlay{
  position:fixed; inset:0; background:rgba(11,27,43,.35);
  opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:60;
}
.overlay.open{ opacity:1; pointer-events:auto; }

.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; width:min(400px,100%);
  background:var(--surface); z-index:61; box-shadow:var(--shadow-pop);
  display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .25s ease;
}
.cart-drawer.open{ transform:translateX(0); }
.cart-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 20px; border-bottom:1px solid var(--border);
}
.cart-head h3{ font-family:var(--font-display); margin:0; font-size:17px; }
.cart-close{ background:none; border:none; font-size:20px; color:var(--text-muted); line-height:1; }
.cart-clear{
  background:none; border:none; color:var(--text-muted); font-size:12px;
  text-decoration:underline; padding:0; font-family:var(--font-body);
}
.cart-clear:hover{ color:var(--red); }

.cart-items{ flex:1; overflow-y:auto; padding:8px 20px; }
.cart-row{
  display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--border);
}
.cart-row img{ width:52px; height:52px; border-radius:8px; object-fit:cover; background:var(--surface-sunk); }
.cart-row-info{ flex:1; min-width:0; }
.cart-row-info p{ margin:0 0 4px; font-size:13.5px; font-weight:600; font-family:var(--font-display); }
.cart-row-info .ref-tag{ margin:0; padding:2px 8px 2px 6px; font-size:11px; }
.variant-tag{
  display:inline-block; margin:4px 0 0; font-size:11px; color:var(--text-muted);
  background:var(--surface-sunk); border-radius:6px; padding:2px 7px;
}

/* selects de atributos en el catálogo público (modo combinaciones) */
.attr-select-group{ display:flex; flex-direction:column; gap:8px; }
.combo-unavailable{ font-size:12px; color:var(--red); margin:2px 0 0; font-weight:600; }
.cart-row-remove{
  background:none; border:none; color:var(--text-muted); font-size:12px;
  text-decoration:underline; padding:0; margin-top:6px; display:block;
}
.cart-row-remove:hover{ color:var(--red); }
.cart-row-price{
  flex:none; font-family:var(--font-mono); font-weight:600; font-size:13px;
  color:var(--text); align-self:flex-start; margin-top:2px;
}

.cart-total{
  display:flex; align-items:center; justify-content:space-between;
  font-family:var(--font-display); font-size:16px; padding:6px 0 14px;
}
.cart-total strong{ font-size:19px; }

.cart-foot{ border-top:1px solid var(--border); padding:16px 20px 20px; }
.cart-note{ font-size:12px; color:var(--text-muted); margin:0 0 12px; }
.whatsapp-btn{
  width:100%; background:var(--green); color:#fff; border:none;
  border-radius:999px; padding:14px; font-family:var(--font-display);
  font-weight:700; font-size:14.5px; display:flex; align-items:center; justify-content:center; gap:8px;
}
.whatsapp-btn:hover{ filter:brightness(1.05); }
.whatsapp-btn:disabled{ background:var(--border); color:var(--text-muted); }

/* ---------- footer ---------- */
.site-footer{
  border-top:1px solid var(--border); padding:26px 0 50px;
  color:var(--text-muted); font-size:12.5px; text-align:center;
}

@media (max-width:640px){
  .header-inner{ flex-wrap:wrap; }
  .header-search{ order:3; max-width:none; width:100%; }
  .hero h1{ font-size:26px; }
}

/* ---------- admin (shared base, extended in admin section) ---------- */
.admin-shell{ display:flex; height:100vh; overflow:hidden; }
.admin-side{
  width:340px; flex:none; border-right:1px solid var(--border);
  background:var(--surface); padding:20px; overflow-y:auto; overscroll-behavior:contain;
  display:flex; flex-direction:column; gap:16px;
}
.admin-main{ flex:1; padding:26px 34px; overflow-y:auto; overscroll-behavior:contain; }
.admin-topbar{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin-bottom:22px;
}
.btn{
  font-family:var(--font-display); font-weight:600; font-size:13px;
  border-radius:999px; padding:9px 16px; border:1px solid var(--border);
  background:var(--surface); color:var(--text); display:inline-flex; align-items:center; gap:6px;
}
.btn:hover{ border-color:var(--text); }
.btn-primary{ background:var(--text); color:#fff; border-color:var(--text); }
.btn-primary:hover{ background:var(--accent-ink); }
.btn-accent{ background:var(--teal); color:#fff; border-color:var(--teal); }
.btn-danger{ color:var(--red); border-color:var(--red); background:#fff; }
.btn-danger:hover{ background:var(--red); color:#fff; }
.btn-sm{ padding:6px 12px; font-size:12px; }

.field{ display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.field label{ font-size:12px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:.03em; }
.field input[type=text], .field input[type=file], .field select, .field textarea{
  border:1px solid var(--border); border-radius:8px; padding:9px 11px;
  font-family:var(--font-body); font-size:14px; color:var(--text); background:var(--surface);
}
.field textarea{ resize:vertical; min-height:70px; }
.field-hint{ font-size:11.5px; color:var(--text-muted); }

.product-list-item{
  display:flex; align-items:center; gap:10px; padding:8px 10px;
  border-radius:10px; cursor:pointer; border:1px solid transparent;
  content-visibility:auto; contain-intrinsic-size:0 54px;
}
.product-list-item:hover{ background:var(--surface-sunk); }
.product-list-item.active{ background:#E6F6F5; border-color:var(--teal); }
.product-list-item img{ width:36px; height:36px; border-radius:6px; object-fit:cover; background:var(--surface-sunk); }
.product-list-item .pli-text{ min-width:0; }
.product-list-item .pli-text p{ margin:0; font-size:13px; font-weight:600; font-family:var(--font-display); line-height:1.3; }
.product-list-item .pli-text span{ font-size:11px; color:var(--text-muted); font-family:var(--font-mono); }

.cat-manage-row{
  display:flex; align-items:center; gap:8px; padding:6px 0;
}
.cat-manage-row input[type=text]{ flex:1; }
.color-dot{ width:14px; height:14px; border-radius:50%; flex:none; }

.related-picker{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:8px; max-height:260px; overflow-y:auto; border:1px solid var(--border);
  border-radius:10px; padding:10px;
}
.related-pick-item{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  padding:6px; border-radius:8px; border:1.5px solid transparent; text-align:center;
}
.related-pick-item img{ width:48px; height:48px; border-radius:6px; object-fit:cover; background:var(--surface-sunk); }
.related-pick-item span{ font-size:10.5px; line-height:1.2; }
.related-pick-item.selected{ border-color:var(--teal); background:#E6F6F5; }

.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--text); color:#fff; padding:12px 20px; border-radius:999px;
  font-size:13px; font-weight:600; opacity:0; pointer-events:none; transition:all .2s ease; z-index:100;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

@media (max-width:900px){
  .admin-shell{ flex-direction:column; height:auto; overflow:visible; }
  .admin-side{ width:auto; border-right:none; border-bottom:1px solid var(--border); max-height:50vh; }
  .admin-main{ overflow:visible; }
}

/* ---------- modal ---------- */
.modal-backdrop{
  position:fixed; inset:0; background:rgba(11,27,43,.4);
  display:flex; align-items:center; justify-content:center; z-index:80; padding:20px;
}
.modal-box{
  background:var(--surface); border-radius:var(--radius-l); width:min(480px,100%);
  max-height:80vh; overflow-y:auto; padding:22px; box-shadow:var(--shadow-pop);
}
.modal-box h3{ font-family:var(--font-display); margin:0 0 14px; font-size:17px; }
.modal-close-row{ display:flex; justify-content:flex-end; margin-top:16px; }
.file-list{ font-family:var(--font-mono); font-size:12.5px; background:var(--surface-sunk); border-radius:8px; padding:12px; max-height:220px; overflow-y:auto; }
.file-list div{ padding:2px 0; }
.file-list .missing{ color:var(--red); }
.file-list .ok{ color:var(--green); }

/* chips de variantes en el admin */
.chip-list{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.chip{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--surface-sunk); border:1px solid var(--border);
  border-radius:999px; padding:5px 6px 5px 12px; font-size:12.5px;
}
.chip button{
  background:none; border:none; color:var(--text-muted); font-size:13px;
  width:18px; height:18px; border-radius:50%; line-height:1;
}
.chip button:hover{ background:var(--red); color:#fff; }
.chip-add-row{ display:flex; gap:8px; margin-top:8px; }
.chip-add-row input{ flex:1; }

/* subcategorías dentro del gestor de categorías */
.subcat-row{
  display:flex; align-items:center; gap:8px; padding:5px 0 5px 26px;
}
.subcat-row input[type=text]{ flex:1; }
.add-subcat-btn{ margin-left:26px; margin-top:2px; }
.cat-block{ border-bottom:1px solid var(--border); padding-bottom:10px; margin-bottom:10px; }
.cat-block:last-child{ border-bottom:none; }

/* triple foto en el formulario */
.photo-slots{ display:flex; gap:12px; flex-wrap:wrap; }
.photo-slot{ width:110px; }
.photo-slot img{ width:110px; height:110px; object-fit:cover; border-radius:8px; border:1px solid var(--border); background:var(--surface-sunk); margin-bottom:6px; display:none; }
.photo-slot .remove-photo{ font-size:11px; color:var(--red); background:none; border:none; text-decoration:underline; padding:2px 0; display:none; }

/* modo de variante: radios */
.mode-radios{ display:flex; gap:10px; flex-wrap:wrap; }
.mode-radio{
  flex:1; min-width:150px; border:1.5px solid var(--border); border-radius:10px;
  padding:10px 12px; cursor:pointer; display:flex; flex-direction:column; gap:2px;
}
.mode-radio input{ margin-right:6px; }
.mode-radio strong{ font-family:var(--font-display); font-size:13px; }
.mode-radio span{ font-size:11.5px; color:var(--text-muted); }
.mode-radio.checked{ border-color:var(--teal); background:#E6F6F5; }

/* gestor de atributos (modo combinaciones) */
.attr-block{ border:1px solid var(--border); border-radius:12px; padding:14px; margin-bottom:12px; }
.attr-block-head{ display:flex; align-items:center; gap:10px; margin-bottom:10px; flex-wrap:wrap; }
.attr-block-head input[type=text]{ flex:1; min-width:120px; font-weight:600; }
.attr-photo-toggle{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--text-muted); white-space:nowrap; }
.attr-option-row{ display:flex; align-items:center; gap:8px; padding:5px 0; }
.attr-option-row input[type=text]{ flex:1; }
.attr-option-photo{ width:34px; height:34px; border-radius:6px; object-fit:cover; background:var(--surface-sunk); border:1px solid var(--border); flex:none; }
.attr-option-photo-input{ width:120px; font-size:11px; }
.attr-option-row .remove-opt{ background:none; border:none; color:var(--text-muted); font-size:15px; padding:0 4px; }
.attr-option-row .remove-opt:hover{ color:var(--red); }

/* matriz de combinaciones */
/* matriz de combinaciones agrupada por el primer atributo */
.combo-group{ border:1px solid var(--border); border-radius:12px; padding:14px; margin-bottom:12px; }
.combo-group-head{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.combo-group-head img{ width:32px; height:32px; border-radius:7px; object-fit:cover; border:1px solid var(--border); background:var(--surface-sunk); }
.combo-group-head .swatch{ width:16px; height:16px; border-radius:50%; border:1px solid var(--border); background:var(--surface-sunk); }
.combo-group-head strong{ font-family:var(--font-display); font-size:14px; }
.combo-matrix{ width:100%; border-collapse:collapse; margin-top:0; font-size:12.5px; }
.combo-matrix th{ text-align:left; font-family:var(--font-display); font-size:11px; text-transform:uppercase; letter-spacing:.03em; color:var(--text-muted); padding:6px 8px; border-bottom:1px solid var(--border); }
.combo-matrix td{ padding:5px 8px; border-bottom:1px solid var(--border); vertical-align:middle; }
.combo-matrix input[type=text]{ width:100%; padding:6px 8px; font-size:12.5px; }
.combo-matrix input.combo-price{ width:90px; }
.combo-matrix tr:last-child td{ border-bottom:none; }

/* ejemplo correcto/incorrecto sobre atributos */
.attr-example-box{ display:flex; gap:12px; margin:8px 0 10px; flex-wrap:wrap; }
.attr-example-col{ flex:1; min-width:220px; border-radius:10px; padding:10px 12px; font-size:12px; line-height:1.5; }
.attr-example-col strong{ display:block; font-family:var(--font-display); font-size:12.5px; margin-bottom:4px; }
.attr-example-col p{ margin:2px 0; color:var(--text-muted); }
.attr-example-col.ok{ background:#EAF7EE; border:1px solid var(--green); }
.attr-example-col.ok strong{ color:var(--green); }
.attr-example-col.bad{ background:#FDECEA; border:1px solid var(--red); }
.attr-example-col.bad strong{ color:var(--red); }
