/* =============================================================================
 * tabel_marimi.css — tabul „Tabel de mărimi” de pe pagina de produs (același aspect la orice brand)
 * 2026-10-25: Creat. Desktop: mărimile pe coloane (.tm-oriz, derulare proprie dacă nu încap); telefon (≤767px): mărimile
 *             pe rânduri (.tm-vert), fără derulare laterală. Mărimea aleasă: .tm-sel (portocaliul butonului de mărime).
 * ============================================================================= */
.tm { font-family: 'Barlow', Arial, sans-serif; color: #10151c; display: flex; flex-direction: column; gap: 14px; }
.tm-cap { display: flex; flex-direction: column; gap: 4px; }
.tm-nume { font: 800 20px/1.2 'Barlow Condensed', Arial, sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.tm-ajutor { font-size: 14px; color: #4a5361; }

.tm-t { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.tm-t th, .tm-t td { padding: 10px 12px; text-align: center; border-bottom: 1px solid #e8eaee; white-space: nowrap; }
.tm-t th[scope="row"] { text-align: left; font-weight: 700; color: #3a4350; background: #f6f7f9; }
.tm-t thead th { font-size: 13px; font-weight: 700; color: #3a4350; background: #f6f7f9; }
.tm-cheie td { font-weight: 700; color: #10151c; }

.tm-oriz { overflow-x: auto; border: 1px solid #e8eaee; border-radius: 10px; -webkit-overflow-scrolling: touch; }
.tm-oriz th[scope="row"] { position: sticky; left: 0; z-index: 1; }
.tm-oriz tr:last-child th, .tm-oriz tr:last-child td { border-bottom: 0; }

.tm-vert { display: none; border: 1px solid #e8eaee; border-radius: 10px; overflow: hidden; }
.tm-vert tbody th[scope="row"] { text-align: center; background: transparent; color: #10151c; }
.tm-vert tr:last-child th, .tm-vert tr:last-child td { border-bottom: 0; }

/* mărimea aleasă — coloana pe desktop, rândul pe telefon */
.tm-oriz td.tm-sel { background: #FA4616; color: #ffffff; font-weight: 700; }
.tm-vert tr.tm-sel th, .tm-vert tr.tm-sel td { background: #FA4616; color: #ffffff; font-weight: 700; }

.tm-cum { background: #f6f7f9; border-radius: 10px; padding: 14px 16px; font-size: 14px; color: #3a4350; }
.tm-cum-titlu { font-weight: 700; color: #10151c; margin-bottom: 6px; }
.tm-cum ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.tm-nota { font-size: 13px; color: #5b6472; }

@media (max-width: 767px) {
    .tm-oriz { display: none; }
    .tm-vert { display: block; }
    .tm-t th, .tm-t td { padding: 9px 6px; font-size: 14px; white-space: normal; }
    .tm-nume { font-size: 18px; }
}

/* ── link din tab spre ghid + GHIDUL /ghid-marimi/ (2026-10-25) ─────────────────────────────────────────── */
.tm-link { display: inline-block; margin-top: 12px; font-weight: 700; color: #FA4616; text-decoration: none; }
.tm-link:hover { text-decoration: underline; }
.tm-ghid { max-width: 1180px; margin: 0 auto; padding: 24px 16px 48px; font-family: 'Barlow', Arial, sans-serif; color: #10151c; }
.tm-ghid-titlu { font: 800 36px/1.1 'Barlow Condensed', Arial, sans-serif; text-transform: uppercase; margin: 0 0 8px; }
.tm-ghid-intro { font-size: 16px; color: #4a5361; margin: 0 0 20px; }
.tm-branduri { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.tm-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 14px;
            border: 1px solid #e3e6eb; border-radius: 12px; background: #ffffff; text-decoration: none; color: #10151c; }
.tm-brand img { max-width: 110px; max-height: 42px; object-fit: contain; }
.tm-brand-nume { font: 800 22px 'Barlow Condensed', Arial, sans-serif; }
.tm-brand-n { font-size: 13px; color: #5b6472; }
.tm-brand:hover { border-color: #FA4616; }
.tm-brand-activ { border: 2px solid #FA4616; background: #fff4ef; }
.tm-ghid-brand { font: 800 28px/1.15 'Barlow Condensed', Arial, sans-serif; text-transform: uppercase; margin: 0 0 18px; }
.tm-grupa { margin-bottom: 30px; }
.tm-grupa-titlu { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #FA4616; margin: 0 0 14px; }
.tm-grupa-tabele { display: flex; flex-direction: column; gap: 34px; }
.tm-ghid-gol { color: #5b6472; }
.tm-se-incarca { opacity: .45; transition: opacity .15s; }
@media (max-width: 767px) {
    .tm-ghid-titlu { font-size: 28px; }
    .tm-branduri { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
