/* maXprint24 – predstavitev naprav Epson (lokalni predlog 22. 10. 2026). NOVA datoteka; css/style.css se ne spreminja. Razredi imajo predpono ep-. */
.row.ep-vrstica-sredina { display: flex; justify-content: center; }
.row.ep-vrstica-sredina::after { display: none; }
@media (max-width: 56.25em) { .row.ep-vrstica-sredina { display: block; } .row.ep-vrstica-sredina::after { display: table; } }
.ep-sekcija-doma { padding: 80px 0 40px; }
.ep-uvod-doma { color: #444; max-width: 700px; margin: 0 auto 40px; text-align: center; font-size: 16px; }
.ep-mreza { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.ep-karta { flex: 1 1 300px; max-width: 360px; background: #fff; border-radius: 3px; box-shadow: 0 15px 40px rgba(0, 0, 0, .15); overflow: hidden; display: flex; flex-direction: column; }
.ep-karta__slika { display: block; background: #000; line-height: 0; }
.ep-karta__slika img { width: 100%; height: auto; }
.ep-karta__naslov { font-size: 19px; font-weight: 700; margin: 20px 20px 10px; line-height: 1.3; }
.ep-karta__naslov a { color: #2c4a55; text-decoration: none; }
.ep-karta__naslov a:hover, .ep-karta__naslov a:focus { text-decoration: underline; }
.ep-karta__seznam { color: #444; list-style: none; margin: 0 20px 15px; font-size: 15px; }
.ep-karta__seznam li { padding: 6px 0; border-bottom: 1px solid #eee; }
.ep-karta__cena { margin: 0 20px 15px; font-size: 16px; font-weight: 700; color: #006b94; }
.ep-karta__gumbi { display: flex; flex-wrap: wrap; gap: 10px; margin: auto 20px 25px; }
.ep-karta__gumbi .btn, .ep-main .btn, .ep-glava__cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 24px; font-size: 15px; }
.ep-btn-obroba, .ep-btn-obroba:link, .ep-btn-obroba:visited { border: 2px solid #006b94; color: #006b94; background: #fff; }
.ep-btn-obroba:hover { background: #006b94; color: #fff; }

/* stran naprave */
body.ep-stran { padding: 0; background: #fff; }
.ep-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ep-glava { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 30px; border-bottom: 1px solid #e5e5e5; }
.ep-glava__logo img { display: block; height: 40px; width: auto; max-width: 100%; }
.ep-glava__nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 15px; }
.ep-glava__nav a { color: #2c4a55; text-decoration: none; }
.ep-glava__nav a:hover, .ep-glava__nav a:focus { text-decoration: underline; }
.ep-glava__cta { border: 2px solid #006b94; padding: 6px 16px; border-radius: 100px; color: #006b94 !important; font-weight: 700; }
.ep-main { color: #444; max-width: 1100px; margin: 0 auto; padding: 20px 30px 40px; font-size: 16px; }
.ep-drobtine { font-size: 13px; margin: 10px 0 20px; }
.ep-drobtine a { color: #006b94; }
.ep-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; margin-bottom: 50px; }
.ep-hero__besedilo { flex: 1 1 360px; }
.ep-hero__slika { flex: 1 1 360px; background: #000; border-radius: 3px; line-height: 0; }
.ep-hero__slika img { width: 100%; height: auto; }
.ep-h1 { font-size: 32px; line-height: 1.25; color: #2c4a55; margin-bottom: 20px; }
.ep-h2 { font-size: 24px; color: #2c4a55; margin: 0 0 20px; }
.ep-uvod { font-size: 18px; margin-bottom: 15px; }
.ep-opomba { font-size: 14px; color: #555; margin: 10px 0 20px; }
.ep-opomba a { color: #006b94; }
.ep-sekcija { margin-bottom: 50px; }
.ep-prednosti { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.ep-prednost { border-left: 4px solid #006b94; padding: 5px 0 5px 18px; }
.ep-prednost__naslov { font-size: 18px; color: #2c4a55; margin-bottom: 8px; }
.ep-tabela-ovoj { overflow-x: auto; }
.ep-tabela { border-collapse: collapse; width: 100%; font-size: 15px; }
.ep-tabela th, .ep-tabela td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e5e5e5; }
.ep-tabela th { width: 30%; color: #2c4a55; font-weight: 700; }
.ep-seznam { margin-left: 22px; }
.ep-seznam li { margin-bottom: 8px; }
.ep-seznam a { color: #006b94; }
.ep-faq { border-bottom: 1px solid #e5e5e5; padding: 12px 0; }
.ep-faq summary { cursor: pointer; font-weight: 700; color: #2c4a55; }
.ep-faq p { margin-top: 10px; }
.ep-main a:focus-visible, .ep-glava a:focus-visible, .ep-faq summary:focus-visible, .ep-karta a:focus-visible { outline: 3px solid #005b9f; outline-offset: 2px; }
@media (max-width: 37.5em) {
  .ep-glava { padding: 15px; }
  .ep-main { padding: 15px; }
  .ep-h1 { font-size: 25px; }
  .ep-tabela th, .ep-tabela td { display: block; width: 100%; padding: 4px 0; border: 0; }
  .ep-tabela tr { display: block; border-bottom: 1px solid #e5e5e5; padding: 10px 0; }
}

/* Domača stran na telefonu (popravek 22. 10. 2026): dokument je bil širok 900 px zaradi iframe width="900" in logotipa v zaglavju.
   Namizni prikaz ostane enak: iframe ima pri 900 px širine višino 500 px (razmerje 9:5), logotip se skrči šele pod 600 px. */
.video__div iframe { max-width: 100%; height: auto; aspect-ratio: 9 / 5; }
@media (max-width: 37.5em) {
  .header__logo { height: auto; width: min(51rem, calc(100vw - 8rem)); }
}

/* Dopolnitev (25. 10. 2026): vstopna animacija podnaslova (.heading-primary--sub, moveInRight: translateX(10rem)) prvi ~2 s razširi postavitev pod 900 px širine
   (npr. 437 px pri 390 px; stran je začasno pomanjšana). Obrezovanje samo na naslovu h1 in samo na ožjih zaslonih; animacija ostane, namizje (nad 900 px) enako. */
@media (max-width: 56.25em) {
  .heading-primary { overflow-x: clip; }
}

/* ===== v4 (26. 10. 2026): mobilna uporabnost – obrazec, tipografija, kartice, površine za dotik. Samo CSS, samo pod 900 px (56,25 em); namizje nespremenjeno.
   Podlaga je v3 (zgoraj). 1 rem = 8 px pod 900 px, zato so vrednosti v px. Nič ni skrito; povezave, polja obrazca in besedila ostanejo. ===== */
@media (max-width: 56.25em) {
  /* --- Obrazec za povpraševanje: višine v tok, polja 16 px (brez samodejnega povečave v iOS), izbirni gumbi 48 px --- */
  .section-book { height: auto !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
  .map { height: 260px; }
  .row-form, .row-form:not(:last-child) { margin-bottom: 0; }
  .book, .book:not(.x) { height: auto !important; padding: 28px 16px 36px !important; }
  .book__form { max-width: 520px; margin: 0 auto; }
  .form__group:not(:last-child) { margin-bottom: 14px; }
  .form__input { width: 100%; float: none; margin: 0 auto; font-size: 16px; line-height: 1.3; padding: 14px 16px; min-height: 52px; box-sizing: border-box; background-color: #fff; border: 1px solid #c9d3d8; }
  .form__input::placeholder { font-size: 16px; color: #666; opacity: 1; }
  .form__label { font-size: 13px; margin-top: 2px; }
  .form__radio-group { display: block; width: 100%; margin: 0 0 4px; padding: 0; }
  .form__radio-label { display: flex; align-items: center; min-height: 48px; padding: 8px 8px 8px 52px; font-size: 16px; line-height: 1.35; position: relative; }
  .form__radio-button { height: 26px; width: 26px; border-width: 4px; left: 10px; top: 50%; transform: translateY(-50%); }
  .form__radio-button::after { height: 10px; width: 10px; }
  .form__textarea { display: block; position: static; transform: none; width: 100%; height: 150px; margin: 0 auto 16px; padding: 12px 14px; font-size: 16px; line-height: 1.4; box-sizing: border-box; font-family: inherit; }
  .form .g-recaptcha { margin: 0 0 14px; max-width: 100%; overflow: visible; }
  .form button.btn { display: block; width: 100%; max-width: 360px; min-height: 52px; margin: 0 auto; padding: 14px 24px; font-size: 16px; }
  .form .status { font-size: 15px; text-align: center; }

  /* --- Gumb »Brezplačen test«: v meniju poudarjen kot primarna akcija; v karticah večji, z boljšim kontrastom --- */
  .navigation__list { width: 100%; max-height: 100vh; overflow-y: auto; padding: 8px 0; }
  .navigation__item { margin: 6px 12px; }
  .navigation__link:link, .navigation__link:visited { font-size: 20px; padding: 12px 18px; min-height: 48px; box-sizing: border-box; line-height: 1.3; }
  .navigation__link span { margin-right: 10px; }
  .navigation__item:last-child .navigation__link:link, .navigation__item:last-child .navigation__link:visited { background-image: none; background-color: #fff; color: #006b94; font-weight: 700; border-radius: 40px; padding: 14px 28px; margin-top: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
  .navigation__link:hover, .navigation__link:active { transform: none; }
  .navigation__button { width: 56px; height: 56px; }
  .btn, .btn:link, .btn:visited { min-height: 48px; padding: 14px 32px; font-size: 16px; line-height: 1.3; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
  .card__cta .btn--white, .card__cta .btn--white:link, .card__cta .btn--white:visited { background-color: #fff; color: #004a68; font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); min-width: 200px; }
  .btn-text:link, .btn-text:visited { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }

  /* --- Tipografija in razmiki --- */
  .paragraph { font-size: 16px; line-height: 1.6; }
  .feature-box, .feature-box-text { font-size: 16px; line-height: 1.55; }
  .heading-tertiary { font-size: 16px; line-height: 1.4; }
  .heading-secondary { letter-spacing: 1px; line-height: 1.25; }

  /* --- Kartice naprav: berljive pisave, močnejši kontrast, brez sprememb vsebine --- */
  .card__heading { width: 78%; font-size: 22px; line-height: 1.35; }
  .card__details ul { width: 100%; }
  .card__details ul li { font-size: 15px; line-height: 1.45; padding: 9px 4px; }
  .card__price-only { font-size: 13px; letter-spacing: 0.5px; line-height: 1.5; }
  .card__price-value { font-size: 48px; line-height: 1.2; }
  .card__side--back-3 .card__price-box { color: #3b3600; }
  .card__heading-span--3 { color: #3b3600; }

  /* --- Reference (drsnik): ciljni elementi 44 px, besedilo ne trči s puščicami --- */
  .slideshow-container { height: auto; min-height: 0; }
  .slideshow-container__mySlides { padding: 24px 52px 20px; font-size: 16px; line-height: 1.6; }
  .prev, .next { width: 44px; height: 44px; padding: 0; margin-top: -22px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
  .dot-container { padding: 8px 4px; }
  .dot { width: 44px; height: 44px; margin: 0; padding: 15px; box-sizing: border-box; background-clip: content-box; vertical-align: middle; }

  /* --- Noga: berljiva, povezave brez modrih ploščic, 44 px --- */
  .footer { font-size: 14px; }
  .footer__list { margin: 0; padding: 0; }
  .footer__item, .footer__item:not(:last-child) { display: inline-block; margin: 0 2px; }
  .footer__link:link, .footer__link:visited { background-color: transparent; color: #00526f; text-decoration: underline; text-transform: uppercase; font-size: 14px; padding: 12px 10px; min-height: 44px; box-sizing: border-box; }
  .footer__link:hover, .footer__link:active { transform: none; box-shadow: none; color: #003a50; }
  .footer__copyright { font-size: 12px; line-height: 1.55; padding: 14px 16px 0; width: 100%; box-sizing: border-box; }
  .footer__copyright .footer__link:link, .footer__copyright .footer__link:visited { display: inline; padding: 0; min-height: 0; text-transform: none; font-size: 12px; }

  /* --- Pojavna okna (piškotki, FAQ, podjetje): ožji zasloni, ena stolpec, drsenje, zapiranje 44 px --- */
  .popup__content { width: 92vw; max-height: 90vh; overflow-y: auto; display: block; }
  .popup__left { display: flex; width: 100%; height: 96px; }
  .popup__left .popup__img { width: 50%; height: 100%; object-fit: cover; }
  .popup__right, .popup__both { display: block; width: 100%; padding: 24px 18px 20px; box-sizing: border-box; }
  .popup__text { -moz-column-count: 1; column-count: 1; font-size: 15px; line-height: 1.6; }
  .popup__list ul li { font-size: 15px; line-height: 1.6; }
  .popup__close:link, .popup__close:visited { top: 6px; right: 6px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 30px; background: rgba(255, 255, 255, 0.9); border-radius: 50%; }

  /* --- Epson podstrani: meni in gumbi 44 px --- */
  .ep-glava__nav a, .ep-glava__logo { display: inline-flex; align-items: center; min-height: 44px; }
  .ep-seznam a, .ep-main a.ep-povezava { display: inline-block; padding: 10px 0; }
  .ep-drobtine { font-size: 14px; }
  .ep-drobtine a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 23.75em) {
  /* ≤ 380 px: reCAPTCHA je 304 px; zmanjšaj stranske robove obrazca, da ne sega čez rob */
  .book, .book:not(.x) { padding-left: 8px !important; padding-right: 8px !important; }
  .heading-secondary { font-size: 22px; }
}
