/* TvojaMajica.si v13 — finalni odrasli vizualni popravki */

/* Številčne oznake namesto ilustrativnih emojijev. */
.tm-card .ic{
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  background:transparent!important;
  color:var(--cor);
  font:750 11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.12em;
}
.tm-grid4{counter-reset:tm-feature}
.tm-grid4>.tm-card{counter-increment:tm-feature}
.tm-grid4>.tm-card>.ic:empty:before{content:counter(tm-feature,decimal-leading-zero)}
.tm-hub-grid{counter-reset:tm-hub}
.tm-hub-grid>.tm-hub-card{counter-increment:tm-hub}
.tm-hub-grid>.tm-hub-card>.ic:empty{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--cor);
  font:750 11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.12em;
}
.tm-hub-grid>.tm-hub-card>.ic:empty:before{content:counter(tm-hub,decimal-leading-zero)}

/* Mobilna navigacija naj bo samostojen, stabilen panel. */
.tm-brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:var(--ink);
  text-decoration:none;
  white-space:nowrap;
}
.tm-brand-mark{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:11px;
  background:var(--cor);
  box-shadow:0 12px 24px -16px rgba(159,55,31,.72);
}
.tm-brand-mark svg{width:28px;height:28px;overflow:visible}
.tm-brand-mark .shirt{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tm-brand-mark .print{fill:#fff;opacity:.88}
.tm-brand-name{
  display:inline-flex;
  align-items:baseline;
  color:var(--ink);
  font-family:var(--disp);
  font-size:20px;
  font-weight:520;
  letter-spacing:-.045em;
}
.tm-brand-name b{font-weight:820}
.tm-brand-name em{margin-left:3px;color:var(--cor);font-size:11px;font-style:normal;font-weight:800;letter-spacing:.02em}
.tm-brand:hover .tm-brand-mark{background:var(--cor-d)}

@media(max-width:980px){
  .tm-header{z-index:2147481000}
  .tm-burger{
    display:block!important;
    flex:0 0 46px;
    margin-left:auto;
    position:relative;
    z-index:2;
    width:46px;
    height:46px;
    padding:11px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
  }
  .tm-burger span{width:22px;height:2px;margin:5px auto;background:var(--ink)}
  #tm-nav-t:checked ~ .tm-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  #tm-nav-t:checked ~ .tm-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .tm-menu{
    left:0!important;
    right:0!important;
    width:100%!important;
    max-height:calc(100dvh - 68px);
    overflow:auto;
    padding:20px 18px 24px!important;
    gap:4px!important;
    border-bottom:1px solid var(--line);
    background:rgba(255,255,255,.98)!important;
    backdrop-filter:blur(16px);
  }
  .tm-menu a:not(.tm-btn){padding:11px!important;border-bottom:1px solid #eee9e2}
  .tm-menu .tm-btn{margin-top:10px!important;width:100%!important;justify-content:center}
}

/* Zadržan in profesionalen izbor piškotkov. */
.tm-cookie-banner,.tm-cookie-banner *,
.tm-cookie-panel,.tm-cookie-panel *{box-sizing:border-box}
.tm-cookie-banner{
  width:min(720px,calc(100% - 32px));
  left:16px;
  right:16px;
  bottom:16px;
  max-width:720px;
  padding:22px 24px;
  border:1px solid #D9D2C9;
  border-radius:16px;
  background:rgba(255,255,255,.98);
  box-shadow:0 26px 70px rgba(27,27,34,.18);
  color:var(--ink);
}
.tm-cookie-banner:before{
  content:"";
  right:22px;
  top:22px;
  width:9px;
  height:9px;
  border:0;
  border-radius:50%;
  background:var(--cor);
  transform:none;
}
.tm-cookie-banner h2,.tm-cookie-panel h2{
  margin:0 34px 8px 0;
  color:var(--ink);
  font-family:var(--disp);
  font-size:23px;
  font-weight:760;
  letter-spacing:-.02em;
}
.tm-cookie-banner p{margin:0 24px 16px 0;color:var(--mut)}
.tm-cookie-actions{gap:8px}
.tm-cookie-actions button,.tm-cookie-panel button{
  min-height:42px;
  padding:10px 15px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  font-weight:700;
}
.tm-cookie-actions .primary,.tm-cookie-panel .primary{
  border-color:var(--cor);
  background:var(--cor);
}
.tm-cookie-card{border:1px solid var(--line);border-radius:16px;background:#fff}
.tm-cookie-option{border-radius:12px;background:var(--pap)}

@media(max-width:520px){
  .tm-brand{gap:8px}
  .tm-brand-mark{width:36px;height:36px;border-radius:9px}
  .tm-brand-mark svg{width:25px;height:25px}
  .tm-brand-name{font-size:17px}
  .tm-brand-name em{font-size:9px}
  .tm-cookie-banner{
    width:auto;
    left:8px;
    right:8px;
    bottom:8px;
    max-height:calc(100dvh - 16px);
    overflow:auto;
    padding:18px 16px;
    border-radius:13px;
  }
  .tm-cookie-banner h2{font-size:20px}
  .tm-cookie-banner p{margin-right:0;font-size:14px;line-height:1.45}
  .tm-cookie-actions{display:grid;grid-template-columns:1fr}
  .tm-cookie-actions button{width:100%}
}
