/* fix-v23: Plus Jakarta Sans + hero polna sirina + kocka ponudbe */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/tvojamajica/font/jakarta-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/tvojamajica/font/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Codexovi druzini TMX in TMXDisplay preusmerimo na Jakarto (nas CSS se nalozi zadnji) */
@font-face { font-family: 'TMX'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/tvojamajica/font/jakarta-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+2020, U+20A0-20C0; }
@font-face { font-family: 'TMX'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/tvojamajica/font/jakarta-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: 'TMXDisplay'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/tvojamajica/font/jakarta-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+2020, U+20A0-20C0; }
@font-face { font-family: 'TMXDisplay'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/tvojamajica/font/jakarta-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }

body, body * {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  font-stretch: normal !important;
  font-variation-settings: normal !important;
}
/* Codexov tesni razmik (-0.11em) je pri majhnem besedilu necitljiv */
body *:not(h1):not(h2):not(h3):not(h4):not(.tmx-kicker):not(.tm-eyebrow) {
  letter-spacing: normal !important;
}
h1, h2, h3, h4 { letter-spacing: -0.015em !important; }

/* hero: naslov cez celo sirino, v eni vrstici */
.tmx-hero-head { margin: 0 0 26px; }
.tmx-hero-head h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.08;
  margin: 10px 0 0;
  max-width: none;
}
.tmx-hero-head h1.tmx-h1-ena {
  white-space: nowrap;
  font-size: clamp(15px, 4.35vw, 57px);
}
.tmx-hero-head h1.tmx-h1-ena em { display: inline !important; white-space: nowrap; }
.tmx-hero-grid { align-items: start; }

/* kocka ponudbe: cena cez celo sirino zgoraj, dva stolpca spodaj */
.tmx-offer {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px 26px;
  align-items: start;
}
.tmx-offer .tmx-offer-price {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  width: 100%;
  border-bottom: 1px dashed rgba(0,0,0,.14);
  padding-bottom: 12px;
}
.tmx-offer .tmx-offer-price strong {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.tmx-offer .tmx-offer-price small {
  display: inline-block !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600;
  font-stretch: normal;
  letter-spacing: 0;
  opacity: .72;
  transform: none !important;
  white-space: normal;
}
.tmx-offer > p { margin: 0; }
.tmx-offer .tmx-offer-col { font-size: 14.5px; line-height: 1.55; }

@media (max-width: 700px) {
  .tmx-offer { grid-template-columns: 1fr; }
  .tmx-hero-head { margin-bottom: 18px; }
}

/* sredinske sekcije: naslov z max-width mora biti tudi vodoravno centriran */
[style*="text-align:center"] h1,
[style*="text-align:center"] h2,
[style*="text-align: center"] h1,
[style*="text-align: center"] h2 {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* moderni dodatki namesto stare tabele */
.tm-dodatki {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 26px 0 18px;
}
.tm-dodatek {
  background: #fff;
  border: 1px solid rgba(24, 22, 31, .12);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(24, 22, 31, .04);
}
.tm-dodatek .ic { font-size: 22px; line-height: 1 }
.tm-dodatek b { font-size: 15.5px; font-weight: 700 }
.tm-dodatek .cena { font-size: 26px; font-weight: 800; color: #C1441F; margin-top: 2px }
.tm-dodatek .cena span { font-size: 13px; font-weight: 600; color: #6E6377; margin-left: 4px }
.tm-dodatek p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #6E6377 }
/* moderna kolicinska tabela */
.tm-table-wrap {
  background: #fff;
  border: 1px solid rgba(24, 22, 31, .12);
  border-radius: 18px;
  padding: 6px 8px;
  overflow-x: auto;
  box-shadow: 0 1px 2px rgba(24, 22, 31, .04);
}
.tm-table { width: 100%; border-collapse: collapse; font-size: 15px }
.tm-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em !important;
  color: #6E6377;
  font-weight: 700;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(24, 22, 31, .1);
}
.tm-table td { padding: 12px 14px; border-bottom: 1px solid rgba(24, 22, 31, .06) }
.tm-table tbody tr:last-child td { border-bottom: 0 }
.tm-table tbody tr:hover { background: rgba(193, 68, 31, .04) }
.tm-table td b { font-weight: 700 }
.tm-table td small { display: block; font-size: 12.5px; color: #6E6377; font-weight: 500; margin-top: 2px }

.tm-dodatki-opomba {
  background: #fff;
  border: 1px dashed rgba(24, 22, 31, .22);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px;
}

/* locitev sekcij: koraki na belem, cenik ostane na krem podlagi */
.tmx-section:has(.tmx-steps) {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
