/* tcp_returns · portal de devoluciones */
.tcpret{--tc-navy:#0b1f4d;--tc-red:#e30613;--tc-bg:#f5f7fb;--tc-line:#e3e7ef;--tc-muted:#6b7280;--tc-ok:#15803d;max-width:960px;margin:0 auto 40px;color:#111827;font-size:15px}
.tcpret *{box-sizing:border-box}
.tcpret h1,.tcpret h2,.tcpret h3{color:var(--tc-navy);margin:0 0 .6em;line-height:1.25}
.tcpret h2{font-size:1.15rem}
.tcpret h3{font-size:1rem}
.tcpret-hero{background:linear-gradient(135deg,var(--tc-navy),#1d3a7a);color:#fff;border-radius:14px;padding:28px;margin:10px 0 18px}
.tcpret-hero h1{color:#fff;font-size:1.6rem}
.tcpret-hero p{opacity:.9;margin:0 0 16px}
.tcpret-hero-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tcpret-hero-cards div{background:rgba(255,255,255,.1);border-radius:10px;padding:10px 12px}
.tcpret-hero-cards strong{display:block}
.tcpret-hero-cards span{font-size:.85rem;opacity:.9}
.tcpret-card{background:#fff;border:1px solid var(--tc-line);border-radius:12px;padding:20px;margin-bottom:14px}
.tcpret-muted{color:var(--tc-muted);font-size:.9em}
.tcpret-ref{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;letter-spacing:.02em}
.tcpret-badge{display:inline-block;color:#fff;border-radius:999px;padding:3px 10px;font-size:.8rem;font-weight:600;white-space:nowrap}
.tcpret-badge-lg{font-size:.95rem;padding:6px 14px}
.tcpret-alert{border-radius:10px;padding:12px 16px;margin-bottom:14px}
.tcpret-alert p{margin:0}
.tcpret-alert-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.tcpret-alert-ok{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
.tcpret-list{list-style:none;margin:0;padding:0}
.tcpret-list li a{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 6px;border-bottom:1px solid var(--tc-line);color:inherit;text-decoration:none}
.tcpret-list li:last-child a{border-bottom:0}
.tcpret-list li a:hover{background:var(--tc-bg)}
.tcpret-go{color:var(--tc-red);font-weight:600}
.tcpret label{display:block;font-weight:600;margin-bottom:12px}
.tcpret input[type=text],.tcpret input[type=email],.tcpret input[type=tel],.tcpret input[type=number],.tcpret select,.tcpret textarea{display:block;width:100%;margin-top:5px;padding:10px 12px;border:1px solid #cfd6e3;border-radius:8px;font:inherit;font-weight:400;background:#fff}
.tcpret textarea{resize:vertical}
.tcpret-form-inline{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}
.tcpret-form-inline label{margin:0}
.tcpret-legal-link{margin:14px 0 0;font-size:.9rem;color:var(--tc-muted)}
.tcpret-legal-link a{font-weight:700;color:var(--tc-navy)}
.tcpret-order-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.tcpret-order-head>div{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.tcpret-link{background:none;border:0;padding:0;color:var(--tc-navy);text-decoration:underline;cursor:pointer;font:inherit}
.tcpret-step{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--tc-navy);color:#fff;font-size:.85rem;margin-right:6px}
.tcpret-flows{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tcpret-flow{position:relative;border:2px solid var(--tc-line);border-radius:12px;padding:14px;cursor:pointer;font-weight:400!important;margin:0!important;transition:border-color .15s,box-shadow .15s}
.tcpret-flow input{position:absolute;opacity:0}
.tcpret-flow strong{display:block;color:var(--tc-navy);font-size:1.02rem}
.tcpret-flow small{display:block;color:var(--tc-muted);margin:4px 0 8px}
.tcpret-flow em{display:block;font-style:normal;font-size:.8rem;color:var(--tc-navy);background:var(--tc-bg);border-radius:6px;padding:4px 8px}
.tcpret-flow:has(input:checked){border-color:var(--tc-red);box-shadow:0 0 0 3px rgba(227,6,19,.12)}
.tcpret-flow.is-checked{border-color:var(--tc-red);box-shadow:0 0 0 3px rgba(227,6,19,.12)}
.tcpret-flow.is-disabled{opacity:.55;cursor:not-allowed}
.tcpret [data-needs-flow].is-hidden,.tcpret [data-only-flow].is-hidden{display:none}
.tcpret-line{display:grid;grid-template-columns:64px 1fr auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--tc-line)}
.tcpret-line:last-child{border-bottom:0}
.tcpret-line img,.tcpret-noimg{width:64px;height:64px;object-fit:contain;border-radius:8px;background:var(--tc-bg);display:block}
.tcpret-line-info strong{display:block;line-height:1.3}
.tcpret-line-info small{display:block;color:var(--tc-muted)}
.tcpret-line-note{color:#b45309!important}
.tcpret-line-extra{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px}
.tcpret-line-extra input[type=text]{max-width:220px;padding:6px 10px;margin:0}
.tcpret-line.is-selected{background:linear-gradient(90deg,rgba(227,6,19,.04),transparent)}
.tcpret-qty{display:flex;align-items:center;border:1px solid #cfd6e3;border-radius:8px;overflow:hidden}
.tcpret-qty button{width:34px;height:38px;border:0;background:var(--tc-bg);font-size:1.1rem;cursor:pointer}
.tcpret-qty input{width:48px!important;margin:0!important;border:0!important;border-radius:0!important;text-align:center;-moz-appearance:textfield}
.tcpret-qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.tcpret-check{display:flex!important;gap:8px;align-items:flex-start;font-weight:400!important}
.tcpret-check input{margin-top:3px}
.tcpret-check-strong{font-weight:700!important;color:var(--tc-navy)}
.tcpret-hint{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:10px 12px;margin:-4px 0 12px;font-size:.9rem}
.tcpret-previews{display:flex;gap:8px;flex-wrap:wrap;margin-top:-4px}
.tcpret-previews span{display:inline-flex;align-items:center;gap:6px;background:var(--tc-bg);border-radius:6px;padding:4px 8px;font-size:.8rem}
.tcpret-previews img{width:44px;height:44px;object-fit:cover;border-radius:4px}
.tcpret-contact{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.tcpret-contact .tcpret-check{grid-column:1/-1}
.tcpret-withdrawal{border:1px dashed var(--tc-navy);border-radius:10px;padding:14px;margin:6px 0 14px;background:var(--tc-bg)}
.tcpret-withdrawal p{margin:4px 0 0}
.tcpret-submit{min-width:240px;font-size:1.05rem;padding:12px 22px}
.tcpret-footer-help{text-align:center;color:var(--tc-muted);margin-top:18px}
.tcpret-case-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.tcpret-case-head h1{font-size:1.5rem;margin:2px 0}
.tcpret-timeline{display:flex;list-style:none;padding:0;margin:4px 0 8px;counter-reset:s}
.tcpret-timeline li{flex:1;position:relative;text-align:center;font-size:.8rem;color:var(--tc-muted);padding-top:28px}
.tcpret-timeline li span{position:absolute;top:4px;left:50%;transform:translateX(-50%);width:18px;height:18px;border-radius:50%;background:#d1d5db;border:3px solid #fff;box-shadow:0 0 0 1px #d1d5db;z-index:1}
.tcpret-timeline li:before{content:"";position:absolute;top:12px;left:-50%;width:100%;height:3px;background:#d1d5db}
.tcpret-timeline li:first-child:before{display:none}
.tcpret-timeline li.is-done{color:var(--tc-navy);font-weight:600}
.tcpret-timeline li.is-done span{background:var(--tc-ok);box-shadow:0 0 0 1px var(--tc-ok)}
.tcpret-timeline li.is-done:before{background:var(--tc-ok)}
.tcpret-timeline li.is-current span{background:var(--tc-red);box-shadow:0 0 0 4px rgba(227,6,19,.2)}
.tcpret-status-text{text-align:center;background:var(--tc-bg);border-radius:10px;padding:10px;margin-bottom:14px}
.tcpret-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.tcpret-address{white-space:pre-wrap;font:inherit;background:var(--tc-bg);border-radius:8px;padding:10px;margin:0 0 8px}
.tcpret-shipping .tcpret-form-inline{margin-top:14px;border-top:1px solid var(--tc-line);padding-top:14px}
.tcpret-products{list-style:none;padding:0;margin:0}
.tcpret-products li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--tc-line)}
.tcpret-refund{margin:10px 0 0}
.tcpret-ok{color:var(--tc-ok);font-weight:600}
.tcpret-thread{display:flex;flex-direction:column;gap:10px;margin-bottom:16px;max-height:600px;overflow:auto;padding:4px}
.tcpret-msg{max-width:82%;border-radius:12px;padding:10px 14px;background:var(--tc-bg)}
.tcpret-msg.is-mine{align-self:flex-end;background:#e8eefc}
.tcpret-msg-meta{font-size:.78rem;color:var(--tc-muted);margin-bottom:4px}
.tcpret-msg-body{word-wrap:break-word;overflow-wrap:anywhere}
.tcpret-msg-atts{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.tcpret-msg-atts img{width:90px;height:90px;object-fit:cover;border-radius:6px}
.tcpret-reply-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.tcpret-cancel{text-align:center;margin-top:6px}
.tcpret-order-box .btn{margin-top:6px}
.tcpret-footer-links{display:flex;gap:18px;justify-content:center;padding:10px;font-size:.9rem}
.tcpret-footer-links a{color:inherit;text-decoration:underline}
@media (max-width:767px){
  .tcpret-hero{padding:20px}
  .tcpret-hero-cards,.tcpret-flows,.tcpret-form-inline,.tcpret-grid-2,.tcpret-contact{grid-template-columns:1fr}
  .tcpret-line{grid-template-columns:48px 1fr;}
  .tcpret-line img,.tcpret-noimg{width:48px;height:48px}
  .tcpret-qty{grid-column:2;justify-self:start}
  .tcpret-msg{max-width:95%}
  .tcpret-list li a{grid-template-columns:1fr auto}
  .tcpret-list li a span:nth-child(2){grid-column:1/-1;order:3}
  .tcpret-submit{width:100%}
  .tcpret-timeline li{font-size:.68rem}
}
@media print{
  body *{visibility:hidden}
  #tcpret-case .tcpret-case-head,#tcpret-case .tcpret-case-head *,#tcpret-case .tcpret-shipping,#tcpret-case .tcpret-shipping *{visibility:visible}
  #tcpret-case .tcpret-shipping form,#tcpret-case .tcpret-shipping button{display:none}
  #tcpret-case{position:absolute;top:0;left:0;width:100%}
}
.tcpret-xmas{margin:12px 0 0!important;background:rgba(255,255,255,.12);border-radius:8px;padding:8px 12px;font-size:.9rem}
.tcpret-line-off{color:#b91c1c!important}
