/* Tiendas (2026-10-29): formulario /MiTienda, página /tienda/{slug}, modal "¿Cómo vas a usar TODO Laptop?", sellos.
   Mismo lineamiento que los modales nuevos del detalle: esquinas 6 px, celeste #3483fa, botones suaves. */
:root { --tl-c: #3483fa; --tl-cd: #2968c8; --tl-cl: #e8f1fe; --tl-g: #00a650; --tl-gl: #e7f8ef; }

/* ── botones y campos ── */
.tl-btn { border: 0; border-radius: 6px; font-weight: 600; font-size: 15px; padding: 12px 18px; display: inline-flex; align-items: center;
          justify-content: center; gap: 8px; cursor: pointer; text-decoration: none !important; font-family: inherit; line-height: 1.2; }
.tl-btn-p { background: var(--tl-c); color: #fff !important; } .tl-btn-p:hover { background: var(--tl-cd); }
.tl-btn-l { background: var(--tl-cl); color: var(--tl-c) !important; } .tl-btn-l:hover { background: #d9e8fd; }
.tl-btn-wa { background: #00a650; color: #fff !important; } .tl-btn-wa:hover { background: #008f45; }
.tl-btn:disabled { opacity: .65; cursor: default; }
.tl-lbl { display: block; font-size: 13px; font-weight: 600; color: #555; margin: 14px 0 6px; }
.tl-lbl small { font-weight: 400; color: #999; }
.tl-in { width: 100%; border: 1px solid #d9d9d9 !important; border-radius: 6px !important; padding: 10px 12px; font-size: 15px; color: #333; background: #fff !important; font-family: inherit; outline: none; }
.tl-in:focus { border-color: var(--tl-c) !important; box-shadow: 0 0 0 3px rgba(52,131,250,.15); }
.tl-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.tl-slug { display: flex; align-items: stretch; border: 1px solid #d9d9d9; border-radius: 6px; overflow: hidden; background: #fff; }
.tl-slug span { background: #f5f5f5; color: #888; padding: 10px; font-size: 14px; border-right: 1px solid #e5e5e5; white-space: nowrap; }
.tl-slug input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #fff !important; padding: 10px; font-size: 15px; flex: 1; min-width: 0; outline: 0; font-family: inherit; }
.tl-slug:focus-within { border-color: var(--tl-c); box-shadow: 0 0 0 3px rgba(52,131,250,.15); }
.tl-hint { font-size: 12.5px; margin-top: 4px; min-height: 18px; }
.tl-hint.ok { color: var(--tl-g); } .tl-hint.bad { color: #dc2626; } .tl-hint.mute { color: #999; }
.tl-note { font-size: 12.5px; color: #888; margin-top: 12px; display: flex; gap: 6px; line-height: 1.45; }
.tl-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #555; margin-top: 8px; cursor: pointer; }
.tl-section { font-size: 13px; font-weight: 700; color: #333; text-transform: uppercase; letter-spacing: .04em; margin: 22px 0 2px; padding-top: 16px; border-top: 1px solid #f0f0f0; }

/* ── tarjeta tipo modal (formulario de la tienda) ── */
.tl-card { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.08); max-width: 620px; margin: 24px auto 48px; }
.tl-card-hd { padding: 20px 24px 0; } .tl-card-hd h1 { margin: 0; font-size: 22px; font-weight: 600; color: #333; }
.tl-card-hd p { margin: 6px 0 0; font-size: 14px; color: #666; }
.tl-card-bd { padding: 8px 24px 24px; }
.tl-ft { display: flex; gap: 10px; margin-top: 20px; } .tl-ft .tl-btn-p { flex: 1; }
.tl-img-up { display: flex; gap: 14px; align-items: center; margin-top: 4px; }
.tl-img-up .lg { width: 72px; height: 72px; border-radius: 6px; background: var(--tl-cl); display: flex; align-items: center; justify-content: center;
                 color: var(--tl-c); font-size: 26px; border: 1px dashed var(--tl-c); overflow: hidden; flex-shrink: 0; }
.tl-img-up .lg img { width: 100%; height: 100%; object-fit: cover; }
.tl-img-up .cv { width: 160px; height: 56px; border-radius: 6px; background: linear-gradient(120deg,#1e3a8a,#3483fa 60%,#60a5fa); overflow: hidden; flex-shrink: 0; }
.tl-img-up .cv img { width: 100%; height: 100%; object-fit: cover; }
.tl-status { border-radius: 6px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; margin: 16px 0 0; line-height: 1.45; }
.tl-status i { font-size: 18px; flex-shrink: 0; }
.tl-st-ok { background: var(--tl-gl); color: #0a7d42; } .tl-st-wait { background: #fff8e1; color: #8a6200; }
.tl-st-bad { background: #fef2f2; color: #b91c1c; } .tl-st-info { background: var(--tl-cl); color: var(--tl-cd); }
.tl-err { background: #fef2f2; color: #b91c1c; border-radius: 6px; padding: 10px 12px; font-size: 14px; margin-top: 14px; }

/* ── sellos ── */
.tl-seal { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; border-radius: 4px; padding: 3px 8px; vertical-align: middle; white-space: nowrap; }
.tl-seal-ver { background: var(--tl-cl); color: var(--tl-cd); } .tl-seal-fun { background: #fff4d6; color: #8a6200; }

/* ── página de la tienda ── */
.tl-shop { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-top: 16px; }
.tl-cover { height: 180px; border-radius: 6px 6px 0 0; background: linear-gradient(120deg,#1e3a8a,#3483fa 60%,#60a5fa) center/cover no-repeat; }
.tl-shop-hd { display: flex; gap: 18px; align-items: flex-end; padding: 0 24px 18px; margin-top: -44px; }
.tl-shop-logo { width: 96px; height: 96px; border-radius: 6px; background: #fff; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15);
                display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; color: var(--tl-c); overflow: hidden; flex-shrink: 0; }
.tl-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.tl-shop-info { padding-top: 56px; min-width: 0; }
.tl-shop-info h1 { margin: 0 0 6px; font-size: 26px; font-weight: 600; color: #333; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-shop-desc { font-size: 14px; color: #666; }
.tl-shop-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: #666; margin-top: 6px; }
.tl-shop-meta i { color: var(--tl-c); margin-right: 3px; }
.tl-shop-meta a { color: #666; }
.tl-shop-acts { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }
.tl-stats { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #eee; }
.tl-stats div { padding: 14px; text-align: center; border-right: 1px solid #eee; font-size: 12.5px; color: #888; }
.tl-stats div:last-child { border-right: 0; }
.tl-stats b { display: block; font-size: 20px; color: #333; font-weight: 600; }
.tl-fbar { display: flex; gap: 8px; align-items: center; margin: 18px 0 14px; flex-wrap: wrap; }
.tl-chip { border: 1px solid #d9d9d9; background: #fff; border-radius: 6px; padding: 7px 12px; font-size: 13.5px; color: #333 !important; text-decoration: none !important; }
.tl-chip:hover { border-color: var(--tl-c); }
.tl-chip.on { border-color: var(--tl-c); color: var(--tl-c) !important; background: var(--tl-cl); font-weight: 600; }
.tl-pager { display: flex; justify-content: center; gap: 6px; margin: 22px 0 8px; }
.tl-empty { background: #fff; border-radius: 6px; padding: 40px 20px; text-align: center; color: #888; }

/* ── caja del vendedor (detalle) ── */
.tl-store-box .sv { display: flex; gap: 12px; align-items: center; text-decoration: none !important; color: #333 !important; }
.tl-store-box .lg { width: 48px; height: 48px; border-radius: 6px; background: var(--tl-cl); color: var(--tl-c); font-weight: 800; display: flex;
                    align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.tl-store-box .lg img { width: 100%; height: 100%; object-fit: cover; }
.tl-gar { background: var(--tl-gl); color: #0a7d42; border-radius: 6px; padding: 10px 12px; font-size: 13.5px; margin-top: 12px; display: flex; gap: 8px; line-height: 1.4; }

/* ── modal "¿Cómo vas a usar TODO Laptop?" ── */
.tl-opt { display: flex; gap: 14px; align-items: flex-start; border: 1px solid #d9d9d9; border-radius: 6px; padding: 14px; margin-bottom: 10px; cursor: pointer; background: #fff; width: 100%; text-align: left; font-family: inherit; }
.tl-opt > i { font-size: 22px; color: var(--tl-c); width: 44px; height: 44px; background: var(--tl-cl); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-opt b { display: block; font-size: 15px; color: #333; } .tl-opt span { font-size: 13px; color: #666; }
.tl-opt.on, .tl-opt:hover { border-color: var(--tl-c); }
.tl-opt.on { box-shadow: 0 0 0 3px rgba(52,131,250,.15); }

@media (max-width: 640px) {
    .tl-row2 { grid-template-columns: 1fr; } .tl-sp { display: none; }
    .tl-card { margin: 12px 0 32px; border-radius: 0; }
    .tl-cover { height: 120px; }
    .tl-shop-hd { flex-wrap: wrap; padding: 0 16px 16px; }
    .tl-shop-info { padding-top: 0; }
    .tl-shop-info h1 { font-size: 22px; }
    .tl-shop-acts { margin-left: 0; width: 100%; } .tl-shop-acts .tl-btn { flex: 1; } .tl-shop-acts .tl-btn-l { flex: 0 0 52px; }
    .tl-stats { grid-template-columns: repeat(2,1fr); }
    .tl-stats div:nth-child(2) { border-right: 0; }
    .tl-stats div:nth-child(-n+2) { border-bottom: 1px solid #eee; }
    .tl-slug span { font-size: 12.5px; padding: 10px 6px; }
}
