/* PETIT — piezas de la tienda real (se carga después de styles.css) */
html{color-scheme:light}body{background:#fff}
[hidden]{display:none!important}
.account-button{position:relative}
.account-button i{position:absolute;right:6px;top:8px;width:8px;height:8px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 3px var(--navy)}
.catalog-loading{grid-column:1/-1;padding:40px 0;color:var(--muted);font-size:14px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.product-img{max-width:82%;max-height:180px;object-fit:contain}

.google-btn{width:100%;justify-content:center;gap:12px;font-size:14px}
.google-btn svg{width:20px;height:20px}
.or-line{display:flex;align-items:center;gap:14px;margin:22px 0 18px;color:var(--muted);font-size:11px;letter-spacing:.5px}
.or-line:before,.or-line:after{content:'';flex:1;height:1px;background:var(--line)}
#auth-reset{margin-top:14px}
.payment-option.disabled{opacity:.5;cursor:not-allowed}

.bank-box{border:1px solid #bfe3e8;background:#f0fafb;border-radius:10px;padding:18px 20px;margin:18px 0;font-size:13px}
.bank-box>strong{display:block;margin-bottom:10px;font-size:14px}
.bank-box>div{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border-top:1px solid #d9eef1}
.bank-box span{color:var(--muted)}
.bank-box b{font-weight:600;text-align:right;word-break:break-word}

.account-menu{display:flex;flex-direction:column;margin:10px 0 6px}
.account-menu button{display:flex;justify-content:space-between;align-items:center;padding:18px 4px;border-top:1px solid var(--line);font-size:15px;text-align:left;min-height:56px}
.account-menu button:last-child{border-bottom:1px solid var(--line)}
.account-menu button:hover{color:#0d8fa0}

.order-row{border:1px solid var(--line);border-radius:10px;padding:0 16px;margin-bottom:12px}
.order-row summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;cursor:pointer;list-style:none}
.order-row summary::-webkit-details-marker{display:none}
.order-row summary b{display:block;font-size:14px}
.order-row summary small{color:var(--muted);font-size:12px}
.order-row[open]{padding-bottom:12px}
.order-line{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:7px 0;border-top:1px solid #eef2f3}
.status{font-size:11px;font-weight:600;padding:5px 10px;border-radius:999px;background:#eef2f3;color:#4b6470;white-space:nowrap;text-transform:capitalize}
.status-pendiente,.status-nueva{background:#fff4dc;color:#8a5a00}
.status-pagado,.status-cotizado{background:#dff6ee;color:#11704f}
.status-en-preparación,.status-contactado{background:#e1f1fb;color:#135b86}
.status-entregado,.status-cerrada{background:#e6ecef;color:#2c4552}
.status-cancelado{background:#fde6e6;color:#a12b2b}

.footer-contact{display:flex;flex-direction:column;gap:10px;font-size:12px}
.footer-contact:empty{display:none}
.footer-contact a:hover{color:var(--cyan)}

.wa-float{position:fixed;right:20px;bottom:20px;z-index:40;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;box-shadow:0 12px 30px #0b3d2240;transition:transform .25s}
.wa-float:hover{transform:scale(1.07)}
.wa-float svg{width:30px;height:30px}
.wa-float[hidden]{display:none}

@media(max-width:600px){
  .account-button i{right:4px;top:6px}
  .header-actions{gap:6px}
  .bank-box{padding:14px;font-size:12px}
  .wa-float{right:14px;bottom:14px;width:52px;height:52px}
}

/* Textos editables: los <i>/<b> envoltorios no cambian el estilo */
[data-t]{font-style:inherit}
i[data-t]{font-style:normal}
.eyebrow b[data-t]{font-weight:inherit}
.faq-list summary b{font-weight:inherit}

/* Cotizador */
.estimator{padding-top:30px}
.est-card{display:grid;grid-template-columns:1.35fr 1fr;gap:28px;align-items:start}
.est-form{display:flex;flex-direction:column;gap:22px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px}
.est-form fieldset{border:0;padding:0;margin:0;min-width:0}
.est-form legend{font-size:15px;font-weight:600;margin-bottom:10px;font-family:Manrope,sans-serif}
.est-help{font-size:12px;color:var(--muted);margin:-4px 0 10px}
.est-chips{display:flex;flex-wrap:wrap;gap:8px}
.est-chip{position:relative;cursor:pointer}
.est-chip input{position:absolute;opacity:0;pointer-events:none}
.est-chip span{display:inline-flex;align-items:center;min-height:42px;padding:9px 15px;border:1px solid #cfdde2;border-radius:999px;font-size:13px;transition:.2s;background:#fff}
.est-chip:hover span{border-color:#17a9bb}
.est-chip input:checked+span{background:var(--ink);border-color:var(--ink);color:#fff}
.est-chip input:focus-visible+span{outline:3px solid #0ba9c1;outline-offset:3px}
.est-row{display:grid;grid-template-columns:1fr 1.4fr;gap:16px}
.est-row .field{font-size:15px;font-weight:600;font-family:Manrope,sans-serif}
.est-mini{font-size:11px;font-weight:500;margin-top:4px;align-self:flex-start;min-height:30px}
.est-result{position:sticky;top:110px;background:linear-gradient(160deg,#0d2948,#0a2036);color:#fff;border-radius:10px;padding:28px;display:flex;flex-direction:column;gap:14px}
.est-total{font-family:Manrope,sans-serif;font-size:38px;font-weight:500;letter-spacing:-1.5px;line-height:1.1}
.est-total small{font-size:22px;color:#9eeaf0;letter-spacing:-.5px}
.est-lines{border-top:1px solid #ffffff22}
.est-lines div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #ffffff14;font-size:12px;color:#c9d9e3}
.est-lines b{color:#fff;font-weight:500;white-space:nowrap}
.est-note{font-size:11px;color:#9fb7c6;line-height:1.6}
.est-result .button{justify-content:center}

/* Catálogo: filtros y ficha */
.catalog-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:-18px 0 26px}
.catalog-tools label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--muted)}
.catalog-tools select{min-height:42px;border:1px solid #d6e0df;border-radius:5px;padding:8px 12px;background:#fff;min-width:150px;font-size:13px}
button.product-art{width:100%;border:0;cursor:pointer}
.detail-link{font-size:11px;margin:-6px 0 12px;min-height:30px}
.detail-summary{font-size:14px;line-height:1.7;margin-bottom:16px}
.detail-features{margin:0 0 18px;padding-left:20px;font-size:13px;line-height:1.8}
.detail-specs{border-top:1px solid var(--line);margin-bottom:6px}
.detail-specs div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}
.detail-specs span{color:var(--muted)}
.inst-line{margin-top:14px}
.cart-inst{display:flex;align-items:center;gap:8px;font-size:12px;margin:6px 0 4px;cursor:pointer}
.cart-inst input{width:16px;height:16px;accent-color:#0e9cc2}
.muted{color:var(--muted)}

@media(max-width:900px){
  .est-card{grid-template-columns:1fr}
  .est-result{position:static}
}
@media(max-width:600px){
  .est-form{padding:20px}
  .est-row{grid-template-columns:1fr}
  .est-total{font-size:30px}
  .est-total small{font-size:18px}
  .catalog-tools{margin-top:-6px}
  .catalog-tools label{flex:1 1 45%}
  .catalog-tools select{min-width:0;width:100%}
}
