/* TMR Core · Reseñas */
.tmr-rv,.tmr-rv-page,.tmr-rv-acc,.tmr-rv-feat,.tmr-rv-sheet{font-family:var(--tmr-font);color:var(--tmr-ink)}

.tmr-rv{margin:8px 0 32px}
.tmr-rv-title{font-size:22px;font-weight:800;margin:0 0 10px;letter-spacing:-.01em}
.tmr-rv-head{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:28px;align-items:center;padding:22px;border:1px solid var(--tmr-line);border-radius:var(--tmr-r-lg);background:var(--tmr-surface)}
.tmr-rv-avg{display:flex;align-items:center;gap:12px}
.tmr-rv-avg strong{font-size:44px;font-weight:800;line-height:1;letter-spacing:-.03em}
.tmr-rv-count{margin:6px 0 14px;color:var(--tmr-muted);font-size:14px}
.tmr-rv-cta,.tmr-rv-send{appearance:none;border:0;cursor:pointer;font:700 15px/1 var(--tmr-font);color:#fff;background:var(--tmr-gradient);border-radius:var(--tmr-r-pill);padding:14px 22px;box-shadow:0 6px 18px rgba(230,0,103,.22);transition:transform var(--tmr-dur) var(--tmr-ease),box-shadow var(--tmr-dur)}
.tmr-rv-cta:hover,.tmr-rv-send:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(230,0,103,.28);color:#fff}
.tmr-rv-send{width:100%;padding:16px}
.tmr-rv-send:disabled{opacity:.6;cursor:wait;transform:none}
.tmr-rv-bars{display:grid;gap:6px}
.tmr-rv-bar{appearance:none;background:none;border:0;padding:3px 4px;margin:0;display:grid;grid-template-columns:38px 1fr 32px;align-items:center;gap:10px;font:600 13px var(--tmr-font);color:var(--tmr-ink-2);cursor:pointer;border-radius:var(--tmr-r-xs)}
.tmr-rv-bar:hover:not(:disabled){background:var(--tmr-surface-3)}
.tmr-rv-bar:disabled{cursor:default;opacity:.55}
.tmr-rv-bar i,.tmr-rv-adm-bar i{display:block;height:8px;border-radius:99px;background:var(--tmr-surface-3);overflow:hidden}
.tmr-rv-bar b,.tmr-rv-adm-bar b{display:block;height:100%;border-radius:99px;background:#FFB400}
.tmr-rv-bar em{font-style:normal;color:var(--tmr-muted);text-align:right}

.tmr-rv-gallery{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:16px 0 4px;scrollbar-width:none}
.tmr-rv-gallery::-webkit-scrollbar{display:none}
.tmr-rv-ph{appearance:none;border:0;padding:0;margin:0;background:var(--tmr-surface-3);border-radius:var(--tmr-r);overflow:hidden;cursor:zoom-in;flex:0 0 auto;scroll-snap-align:start}
.tmr-rv-gallery .tmr-rv-ph{width:96px;height:96px}
.tmr-rv-ph img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0!important}

.tmr-rv-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 6px;flex-wrap:wrap}
.tmr-rv-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;max-width:100%}
.tmr-rv-chips::-webkit-scrollbar{display:none}
.tmr-rv-chips button{appearance:none;flex:0 0 auto;border:1px solid var(--tmr-line-strong);background:var(--tmr-surface);color:var(--tmr-ink-2);font:600 13px var(--tmr-font);padding:8px 14px;border-radius:var(--tmr-r-pill);cursor:pointer;transition:all var(--tmr-dur)}
.tmr-rv-chips button.is-on{background:var(--tmr-ink);border-color:var(--tmr-ink);color:#fff}
.tmr-rv-sort select{font:600 16px var(--tmr-font);border:1px solid var(--tmr-line-strong);border-radius:var(--tmr-r-pill);padding:8px 34px 8px 14px;background-color:var(--tmr-surface);color:var(--tmr-ink);min-height:40px}

.tmr-rv-list{display:grid;gap:0;transition:opacity var(--tmr-dur)}
.is-loading .tmr-rv-list{opacity:.45}
.tmr-rv-item{padding:18px 0;border-bottom:1px solid var(--tmr-line)}
.tmr-rv-item header{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.tmr-rv-av{flex:0 0 36px;height:36px;border-radius:50%;background:var(--tmr-gradient);color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px}
.tmr-rv-who{display:flex;flex-direction:column;min-width:0;flex:1;text-decoration:none;color:inherit}
.tmr-rv-who strong{font-size:14.5px}
.tmr-rv-ok{font-style:normal;font-size:12px;font-weight:600;color:var(--tmr-success)}
.tmr-rv-item time{font-size:12px;color:var(--tmr-subtle);white-space:nowrap}
.tmr-rv-text{font-size:15px;line-height:1.6;color:var(--tmr-ink-2);margin-top:6px;overflow-wrap:anywhere}
.tmr-rv-text p{margin:0 0 8px}
.tmr-rv-media{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 4px}
.tmr-rv-media .tmr-rv-ph{width:84px;height:84px}
.tmr-rv-media video{width:160px;max-width:100%;height:84px;border-radius:var(--tmr-r);background:#000;object-fit:cover}
.tmr-rv-reply{margin:12px 0 0;padding:12px 14px;border-radius:var(--tmr-r);background:var(--tmr-brand-soft);border-left:3px solid var(--tmr-brand);font-size:14px;line-height:1.55}
.tmr-rv-reply strong{display:block;font-size:12.5px;margin-bottom:4px;color:var(--tmr-brand-strong)}
.tmr-rv-reply p{margin:0}
.tmr-rv-item footer{margin-top:10px}
.tmr-rv-util{appearance:none;border:1px solid var(--tmr-line);background:none;border-radius:var(--tmr-r-pill);font:600 12.5px var(--tmr-font);color:var(--tmr-muted);padding:6px 12px;cursor:pointer}
.tmr-rv-util.is-on{border-color:var(--tmr-brand);color:var(--tmr-brand);background:var(--tmr-brand-soft)}
.tmr-rv-more{display:block;margin:18px auto 0;appearance:none;border:1.5px solid var(--tmr-ink);background:none;color:var(--tmr-ink);font:700 14px var(--tmr-font);padding:12px 22px;border-radius:var(--tmr-r-pill);cursor:pointer}
.tmr-rv-more:hover{background:var(--tmr-ink);color:#fff}
.tmr-rv-empty,.tmr-rv-note{color:var(--tmr-muted);font-size:14px;padding:14px 0}

/* Formulario */
.tmr-rv-form{display:grid;gap:16px}
.tmr-rv-prod{display:flex;align-items:center;gap:12px}
.tmr-rv-prod img{width:56px;height:56px;border-radius:var(--tmr-r);object-fit:cover;flex:0 0 56px}
.tmr-rv-prod strong{font-size:15px;line-height:1.35}
.tmr-rv-pick{border:0;margin:0;padding:0;text-align:center}
.tmr-rv-pick legend{font-weight:700;font-size:15px;margin:0 auto 8px;padding:0}
.tmr-rv-pick-stars{display:inline-flex;gap:4px}
.tmr-rv-pick-stars label{position:relative;cursor:pointer;font-size:42px;line-height:1;color:var(--tmr-line-strong);transition:transform .12s,color .12s;-webkit-tap-highlight-color:transparent}
.tmr-rv-pick-stars label.is-on{color:#FFB400}
.tmr-rv-pick-stars label:active{transform:scale(.88)}
.tmr-rv-pick-stars input{position:absolute;opacity:0;width:1px;height:1px}
.tmr-rv-pick-stars input:focus-visible+span{outline:2px solid var(--tmr-brand);outline-offset:2px;border-radius:4px}
@media (hover:hover){.tmr-rv-pick-stars:hover label{color:#FFB400}.tmr-rv-pick-stars label:hover~label{color:var(--tmr-line-strong)}}
.tmr-rv-pick-label{margin:6px 0 0;font-size:13.5px;font-weight:600;color:var(--tmr-muted);min-height:1.4em}
.tmr-rv-field{display:grid;gap:6px;margin:0}
.tmr-rv-field>span{font-size:13px;font-weight:700;color:var(--tmr-ink-2)}
.tmr-rv-field small{font-weight:500;color:var(--tmr-subtle)}
.tmr-rv-field textarea,.tmr-rv-field input{width:100%;box-sizing:border-box;font:400 16px/1.5 var(--tmr-font);color:var(--tmr-ink);background:var(--tmr-surface-2);border:1.5px solid var(--tmr-line);border-radius:var(--tmr-r);padding:12px 14px;transition:border-color var(--tmr-dur),box-shadow var(--tmr-dur)}
.tmr-rv-field textarea:focus,.tmr-rv-field input:focus{outline:none;border-color:var(--tmr-brand);box-shadow:0 0 0 4px var(--tmr-brand-ring);background:#fff}
.tmr-rv-guest{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tmr-rv-guest .tmr-rv-check{grid-column:1/-1}
.tmr-rv-check{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--tmr-muted);line-height:1.4}
.tmr-rv-check input{margin-top:2px;width:18px;height:18px;accent-color:var(--tmr-brand)}
.tmr-rv-check a{color:var(--tmr-brand)}
.tmr-rv-up{display:flex;flex-wrap:wrap;gap:8px}
.tmr-rv-up-btn,.tmr-rv-thumb{width:76px;height:76px;border-radius:var(--tmr-r);flex:0 0 76px}
.tmr-rv-up-btn{display:grid;place-content:center;text-align:center;border:1.5px dashed var(--tmr-line-strong);cursor:pointer;color:var(--tmr-muted);background:var(--tmr-surface-2)}
.tmr-rv-up-btn span{font-size:22px;line-height:1;color:var(--tmr-brand)}
.tmr-rv-up-btn b{font-size:12px;font-weight:600}
.tmr-rv-up-btn[hidden]{display:none}
.tmr-rv-thumb{position:relative;overflow:hidden}
.tmr-rv-thumb img{width:100%;height:100%;object-fit:cover}
.tmr-rv-thumb button{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;border:0;background:rgba(25,25,25,.7);color:#fff;font-size:16px;line-height:1;cursor:pointer;padding:0}
.tmr-rv-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.tmr-rv-msg{margin:0;padding:10px 14px;border-radius:var(--tmr-r);background:var(--tmr-danger-soft);color:var(--tmr-danger);font-size:14px;font-weight:600}
.tmr-rv-msg.is-ok{background:var(--tmr-success-soft);color:var(--tmr-success)}
.tmr-rv-thanks{text-align:center;padding:24px 8px}
.tmr-rv-thanks span{font-size:40px;display:block}
.tmr-rv-thanks strong{display:block;font-size:19px;margin:8px 0 4px}
.tmr-rv-thanks p{color:var(--tmr-muted);font-size:14.5px;margin:0;line-height:1.5}

/* Ventana: centrada en escritorio, hoja inferior en móvil */
.tmr-rv-lock,.tmr-rv-lock body{overflow:hidden}
.tmr-rv-modal{position:fixed;inset:0;z-index:var(--tmr-z-modal);background:var(--tmr-overlay);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .2s}
.tmr-rv-modal.is-open{opacity:1}
.tmr-rv-sheet{position:relative;width:100%;max-width:520px;max-height:calc(100vh - 40px);overflow-y:auto;background:#fff;border-radius:var(--tmr-r-xl);padding:26px 24px 24px;box-shadow:var(--tmr-shadow-lg);transform:translateY(16px);transition:transform .22s var(--tmr-ease);overscroll-behavior:contain}
.tmr-rv-modal.is-open .tmr-rv-sheet{transform:none}
.tmr-rv-sheet h3{margin:0 0 16px;font-size:19px;font-weight:800}
.tmr-rv-x{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;border:0;background:var(--tmr-surface-3);font-size:22px;line-height:1;cursor:pointer;color:var(--tmr-ink);padding:0}
@media (max-width:640px){
  .tmr-rv-modal{align-items:flex-end;padding:0}
  .tmr-rv-sheet{max-width:none;border-radius:var(--tmr-r-xl) var(--tmr-r-xl) 0 0;max-height:92vh;padding:22px 18px calc(18px + env(safe-area-inset-bottom));transform:translateY(100%)}
  .tmr-rv-sheet::before{content:"";display:block;width:40px;height:4px;border-radius:4px;background:var(--tmr-line-strong);margin:-10px auto 14px}
  .tmr-rv-head{grid-template-columns:1fr;gap:18px;padding:18px}
  .tmr-rv-cta{width:100%}
  .tmr-rv-guest{grid-template-columns:1fr}
  .tmr-rv-tools{flex-direction:column;align-items:stretch}
  .tmr-rv-sort select{width:100%}
}
.tmr-rv-zoom{position:fixed;inset:0;z-index:calc(var(--tmr-z-modal) + 1);background:rgba(10,10,10,.92);display:grid;place-items:center;padding:16px;cursor:zoom-out}
.tmr-rv-zoom img{max-width:100%;max-height:100%;border-radius:var(--tmr-r);object-fit:contain}
.tmr-rv-zoom button{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.15);color:#fff;font-size:24px;cursor:pointer}

/* Página del email y Mi cuenta */
.tmr-rv-page{max-width:640px;margin:0 auto;display:grid;gap:16px;padding:8px 0 30px}
.tmr-rv-box{background:#fff;border:1px solid var(--tmr-line);border-radius:var(--tmr-r-lg);padding:22px}
.tmr-rv-box h2{font-size:22px;font-weight:800;margin:8px 0 6px;line-height:1.25}
.tmr-rv-box p{color:var(--tmr-muted);font-size:15px;line-height:1.55;margin:0}
.tmr-rv-hello{background:linear-gradient(135deg,#FFF2EB,#FFF 60%)}
.tmr-rv-gift{margin-top:12px!important;padding:10px 14px;border-radius:var(--tmr-r);background:var(--tmr-brand-soft);color:var(--tmr-ink)!important;font-weight:600;font-size:14px!important}
.tmr-rv-inline.is-done{opacity:.75}
.tmr-rv-done{color:var(--tmr-success)!important;font-weight:700;margin-top:10px!important}
.tmr-rv-unsub{text-align:center;font-size:12.5px}
.tmr-rv-unsub a{color:var(--tmr-subtle)}
.tmr-rv-acc h3{font-size:17px;font-weight:800;margin:6px 0 12px}
.tmr-rv-acc h3:not(:first-child){margin-top:30px}
.tmr-rv-acc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
.tmr-rv-acc-card{border:1px solid var(--tmr-line);border-radius:var(--tmr-r-lg);overflow:hidden;background:#fff;display:flex;flex-direction:column}
.tmr-rv-acc-card a{color:var(--tmr-ink);text-decoration:none;display:block;flex:1}
.tmr-rv-acc-card img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.tmr-rv-acc-card span{display:block;padding:10px 12px 0;font-size:13.5px;font-weight:600;line-height:1.35}
.tmr-rv-acc-stars{display:flex;justify-content:center;padding:8px 6px 12px}
.tmr-rv-acc-stars button{appearance:none;border:0;background:none;font-size:28px;line-height:1;color:var(--tmr-line-strong);cursor:pointer;padding:2px 3px}
@media (hover:hover){.tmr-rv-acc-stars:hover button{color:#FFB400}.tmr-rv-acc-stars button:hover~button{color:var(--tmr-line-strong)}}
.tmr-rv-acc-card.is-done .tmr-rv-acc-stars{pointer-events:none}
.tmr-rv-acc-card.is-done .tmr-rv-acc-stars::after{content:"✓ Enviada";font-size:13px;font-weight:700;color:var(--tmr-success)}
.tmr-rv-acc-card.is-done .tmr-rv-acc-stars button{display:none}
.tmr-rv-acc .tmr-rv-item header{justify-content:space-between}

/* Destacadas */
.tmr-rv-feat{margin:10px 0}
.tmr-rv-feat-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.tmr-rv-feat-head h2{margin:0;font-size:24px;font-weight:800}
.tmr-rv-feat-head p{margin:0;display:flex;align-items:center;gap:6px;font-size:14px;color:var(--tmr-muted)}
.tmr-rv-feat-head b{color:var(--tmr-ink)}
.tmr-rv-feat-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 10px;scrollbar-width:none}
.tmr-rv-feat-track::-webkit-scrollbar{display:none}
.tmr-rv-card{flex:0 0 min(300px,82%);scroll-snap-align:start;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--tmr-line);border-radius:var(--tmr-r-lg);padding:18px}
.tmr-rv-card p{margin:0;font-size:14.5px;line-height:1.55;color:var(--tmr-ink-2);flex:1}
.tmr-rv-card>strong{font-size:13.5px}
.tmr-rv-card-ph{width:100%;height:160px}
.tmr-rv-card-prod{display:flex;align-items:center;gap:10px;padding-top:10px;border-top:1px solid var(--tmr-line);text-decoration:none;color:var(--tmr-ink);font-size:13px;font-weight:600}
.tmr-rv-card-prod img{width:40px;height:40px;border-radius:var(--tmr-r-sm);object-fit:cover}
