/* Tienda de cartelería de incendio — 28/11/2026. Se suma a style.css; no lo modifica. */
.t-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; margin: 56px 0 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.t-bar .filters { margin: 0; padding: 0; border: 0; }
.t-fam { margin-top: 72px; }
.t-famhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.t-grid { display: grid; gap: 48px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 700px) { .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .t-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1440px) { .t-grid { grid-template-columns: repeat(6, 1fr); gap: 48px 24px; } .t-img { padding: 14px; } .t-img img { width: 62%; } .t-img.f15x30 img { width: 100%; } }
.t-card { display: flex; flex-direction: column; gap: 18px; }
.t-img { position: relative; background: var(--soft); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 20px; transition: background .3s ease; }
.t-img.osc { background: #0f0f0f; }
.t-img img { height: auto; width: 50%; }
.t-img:not(.osc) img { filter: drop-shadow(3px 3px 5px rgba(0,0,0,.25)); }
.t-img.f15x30 img { width: 100%; }
.t-info { display: flex; flex-direction: column; gap: 4px; }
.t-name { font-size: 22px; font-weight: 700; letter-spacing: 0.03em; line-height: 1.25; }
.t-var { font-size: 16px; line-height: 1.45; }
.t-meta { font-size: 13px; color: var(--muted); line-height: 1.5; }
.t-price { font-size: 18px; font-weight: 700; margin-top: 8px; }
.t-price small { display: block; font-size: 12px; font-weight: 300; color: var(--muted); letter-spacing: 0.06em; }
.t-step { display: flex; align-items: stretch; border: 1px solid var(--ink); width: max-content; margin-top: auto; }
.t-step button { width: 48px; min-height: 48px; font: inherit; font-size: 22px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.t-step button:hover { background: var(--ink); color: #fff; }
.t-step input { width: 64px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font: inherit; font-weight: 700; font-size: 18px; letter-spacing: 0; background: transparent; color: var(--ink); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.t-step input::-webkit-outer-spin-button, .t-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Pedido */
.t-pedido { display: grid; gap: 64px 96px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.t-grupo { border-top: 1px solid var(--ink); padding: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.t-gh { display: flex; justify-content: space-between; gap: 16px; }
.t-gt { font-weight: 700; font-size: 20px; letter-spacing: 0.03em; }
.t-gc { color: var(--muted); }
.t-lineas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.t-lineas li { display: flex; align-items: center; gap: 14px; }
.t-th { height: 50px; width: auto; max-height: 50px; flex: none; background: var(--soft); }
.t-lt { flex: 1; min-width: 0; }
.t-q { white-space: nowrap; color: var(--muted); }
.t-meter { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.t-pb { display: block; height: 8px; background: #d9d9d9; }
.t-pb i { display: block; height: 100%; background: var(--ink); }
.t-pb.cR i, .t-plm.cR i { background: #ed1c24; }
.t-pb.cV i, .t-plm.cV i { background: #04ac4c; }
.t-mas { font-size: 12px; color: var(--muted); }
.t-det { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.t-aviso { margin: 0; font-size: 14px; line-height: 1.55; padding: 12px 16px; background: var(--soft); }
.t-mezcla { margin: 0; font-size: 14px; line-height: 1.55; }
.t-mezcla strong, .t-aviso strong { font-weight: 700; }
.t-gp { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; padding-top: 4px; }
.t-tot { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 20px; font-size: 18px; }
.t-tot strong { font-size: 32px; letter-spacing: 0.01em; }
.t-pago { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding-top: 10px; color: var(--muted); }
.t-opt { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 300; letter-spacing: 0.04em; line-height: 1.55; }
.t-opt input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--ink); padding: 0; border: 0; }
.t-fin { margin-top: 24px; }
.t-fin .btn[disabled] { opacity: .35; cursor: not-allowed; }
.t-modo button { font-family: inherit; font-size: 15px; font-weight: 300; letter-spacing: 0.08em; color: var(--ink); background: none; border: 0; padding: 12px 0; margin-left: 24px; cursor: pointer; }
.t-modo button[aria-pressed="true"] { font-weight: 700; }
.t-famhead .t-modo { margin-left: auto; }
.t-famhead .t-modo button { padding: 4px 0; }

/* Barra fija con el total */
.t-barra { position: fixed; left: 14px; right: 76px; bottom: 14px; z-index: 39; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px 12px 20px; background: #fff; border: 1px solid var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.12); max-width: 520px; }
.t-barra a { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-decoration: none; white-space: nowrap; border-bottom: 2px solid currentColor; padding: 6px 0; }
#t-barra-txt { font-weight: 700; font-size: 15px; }
@media (min-width: 701px) { .t-barra { left: 20px; right: auto; bottom: 20px; min-width: 0; } }
.t-fam:last-child { padding-bottom: 110px; }
.t-cond li { padding: 14px 0; }
/* Planchas por color en cada selector (28/11/2026) */
.t-nota { margin: 24px 0 0; font-size: 15px; color: var(--muted); max-width: 720px; }

/* Ampliar cartel: ventana chica, proporcional al tamaño real */
@media (min-width: 701px) { .t-img { cursor: zoom-in; } }
.t-img:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.t-zoom { position: fixed; inset: 0; z-index: 1000; --zk: min(22px, 2.8vw, 3.8vh); display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.45); cursor: zoom-out; }
.t-zoom.osc { background: rgba(0,0,0,.6); }
.t-zoom-w { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; overflow: auto; padding: 40px 28px 24px; background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.28); }
.t-zoom.osc .t-zoom-w { background: #0f0f0f; color: #fff; }
.t-zoom figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.t-zoom img { display: block; height: auto; width: calc(var(--zk) * 15); max-width: none; max-height: none; filter: drop-shadow(5px 5px 9px rgba(0,0,0,.25)); }
.t-zoom.osc img { filter: none; }
.t-zoom img.f15x30 { width: calc(var(--zk) * 30); }
.t-zoom figcaption { text-align: center; font-size: 14px; line-height: 1.6; letter-spacing: 0.03em; max-width: calc(var(--zk) * 30); }
.t-zoom-x { position: absolute; top: 6px; right: 10px; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: inherit; background: none; border: 0; padding: 8px 4px; cursor: pointer; }
.t-zoom-abierto { overflow: hidden; }
.t-zoom-modo { display: flex; justify-content: center; gap: 28px; margin-top: 4px; }
.t-zoom-modo button { font-family: inherit; font-size: 15px; font-weight: 300; letter-spacing: 0.08em; color: inherit; background: none; border: 0; padding: 8px 4px; cursor: pointer; }
.t-zoom-modo button[aria-pressed="true"] { font-weight: 700; }
.t-code { position: absolute; left: 8px; right: 8px; bottom: 10px; text-align: center; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); line-height: 1.2; pointer-events: none; }
.t-img.osc .t-code { color: #b5b5b5; }
.t-price { display: block; }
.t-price small { display: inline; margin-left: 2px; }
.t-price .t-desde { margin: 0 2px 0 0; text-transform: lowercase; }
.t-stepw { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.t-stepw .t-step { margin-top: 0; }
.t-trash { display: inline-flex; align-items: center; justify-content: center; width: 48px; min-height: 48px; background: none; border: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.t-trash:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Borrar pedido con papelera (30/11/2026) */
.t-barra { flex-wrap: wrap; row-gap: 8px; }
.t-barra-acc { display: flex; align-items: center; gap: 18px; }
.t-borrar { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-bottom: 2px solid currentColor; padding: 6px 0; font: inherit; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: inherit; cursor: pointer; white-space: nowrap; }
.t-borrar .t-ico { flex: none; }
.t-borrar:hover, .t-borrar:focus-visible { color: #c8102e; }

/* Ocupación de la última plancha debajo de cada tarjeta (30/11/2026) */
.t-plw { display: flex; flex-direction: column; gap: 6px; }
.t-plw[hidden] { display: none; }
.t-plm { display: block; height: 6px; background: #d9d9d9; }
.t-plm i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .3s ease; }
.t-pltx { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* Lamparitas en Con luz / A oscuras (30/11/2026) */
.t-modo button { display: inline-flex; align-items: center; gap: 6px; }
.t-bulb { flex: none; }
.t-modo button[aria-pressed="true"][data-m="luz"] .bulb { fill: #ffd84d; }
.t-modo button[aria-pressed="true"][data-m="osc"] .bulb { fill: currentColor; }

/* Miniatura del resumen abre el cartel ampliado, también en celular (30/11/2026) */
.t-th[data-sku] { cursor: zoom-in; }
.t-th[data-sku]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 700px) {
  .t-zoom { --zk: min(22px, 4.6vw, 3.8vh); }
  .t-zoom img.f15x30 { width: min(calc(var(--zk) * 30), 78vw); }
  .t-zoom figcaption { max-width: 78vw; }
}

/* Lamparitas también en la ventana del cartel ampliado (30/11/2026) */
.t-zoom-modo button { display: inline-flex; align-items: center; gap: 6px; }
.t-zoom-modo button[aria-pressed="true"][data-m="luz"] .bulb { fill: #ffd84d; }
.t-zoom-modo button[aria-pressed="true"][data-m="osc"] .bulb { fill: currentColor; }

/* Isotipo del cliente sobre los carteles (02/12/2026) */
.t-sig { position: relative; display: block; width: 50%; line-height: 0;}
.t-img.f15x30 .t-sig { width: 100%;}
.t-img .t-sig img { width: 100%;}
.t-zoom .t-sig { display: inline-block; width: auto;}
img.t-iso { position: absolute; left: 50%; transform: translateX(-50%); height: auto; max-width: none; filter: none !important; pointer-events: none;}
.t-zoom img.t-iso { display: block;}
#t-iso-est:empty { display: none;}

/* Con luz / A oscuras en cada cartel, dentro del sector gris (02/12/2026) */
.t-img .t-cmodo { position: absolute; top: 6px; left: 0; right: 0; display: flex; justify-content: center; gap: 16px; margin: 0; z-index: 2;}
.t-img .t-cmodo button { margin-left: 0; padding: 4px 0; font-size: 12px; color: var(--ink); cursor: pointer;}
.t-img .t-cmodo .t-bulb { width: 15px; height: 15px;}
.t-img.osc .t-cmodo button { color: #e6e6e6;}

/* Ventana de resultado del isotipo (02/12/2026) */
.t-isom .t-zoom-w { max-width: min(780px, 100%); align-items: stretch;}
.t-isom-t { font-size: 20px; font-weight: 700; margin: 0 0 18px; letter-spacing: 0.02em;}
.t-isom-g { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; justify-content: center;}
.t-zoom .t-isom-det img { width: auto; height: auto; max-width: 260px; max-height: 150px; filter: none !important; display: block;}
.t-isom-dw { position: relative; display: inline-block; background: #f2f2f0; padding: 16px; line-height: 0;}
.t-isom-av { margin-top: 18px; font-size: 14px; line-height: 1.6;}
.t-isom-av ul { margin: 6px 0 0 18px; padding: 0;}
.t-isom-n { color: var(--muted); font-size: 13px; margin-top: 6px;}
.t-isom.osc .t-isom-n { color: #b5b5b5;}
.t-isom-op { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; font-size: 15px;}
.t-isom-op label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer;}
.t-isom-op input { margin-top: 4px;}
.t-isom-b { margin-top: 20px; text-align: right;}
.t-iso-ver { font-family: inherit; font-size: 14px; letter-spacing: 0.04em; text-decoration: underline; color: var(--ink); background: none; border: 0; padding: 6px 0; cursor: pointer;}

/* Grabado láser: isotipo y firma de novoDiseño (02/12/2026) */
img.t-iso { opacity: .62;}
img.t-firma { position: absolute; height: auto; max-width: none; opacity: .62; filter: none !important; pointer-events: none;}
.osc .t-iso, .osc .t-firma { display: none !important;}