/* Siuvimo masina - v4 virsus/apacia senuose (legacy) puslapiuose. Sugeneruota is maketas.css; kiekvienas selektorius po .sm4c,
   kad Journal CSS jo nesugadintu ir jis nesugadintu senojo turinio. */
.sm4c { display: contents; font: 15px/1.5 var(--sans); color: var(--ink); text-align: left; letter-spacing: normal; text-transform: none; text-shadow: none; -webkit-text-size-adjust: 100%;
  --navy-900: #0b2338; --navy-800: #0f2c46; --navy-700: #163a58; --navy-600: #1f4a6e;
  --green-700: #175e41; --green-600: #1c7a52; --green-500: #219262;
  --sale: #d3321d;
  --ink: #16232c; --ink-soft: #4f5f6b; --ink-faint: #7a8791;
  --line: #e1e5e3; --field: #f2f3f1; --sand: #f1ebe0;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px; --gut: 20px; }
@media (max-width: 980px) { .sm4c { --gut: 16px; } }
.sm4c, .sm4c *, .sm4c *::before, .sm4c *::after { box-sizing: border-box; }
.sm4c a { color: inherit; text-decoration: none; background: none; border: 0; box-shadow: none; text-shadow: none; }
.sm4c a:hover { color: var(--green-600); }
.sm4c img { max-width: 100%; display: block; border: 0; }
.sm4c button, .sm4c input, .sm4c select, .sm4c textarea { font: inherit; color: inherit; margin: 0; box-shadow: none; text-shadow: none; text-transform: none; letter-spacing: normal; }
.sm4c button { cursor: pointer; }
.sm4c form { margin: 0; padding: 0; }
.sm4c ul, .sm4c ol, .sm4c li { list-style: none; margin: 0; padding: 0; background: none; }
.sm4c h4 { font-family: var(--sans); font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -.01em; text-transform: none; color: inherit; }
.sm4c p { margin: 0; }
.sm4c header, .sm4c nav, .sm4c footer { display: block; margin: 0; padding: 0; float: none; width: auto; max-width: none; border: 0; background: none; box-shadow: none; text-shadow: none; }
.sm4c nav::before, .sm4c nav::after { content: none; display: none; }
.sm4c :focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; }

/* ---------- header / footer (is maketas.css) ---------- */
.sm4c .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sm4c .ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sm4c .topbar { background: var(--navy-900); color: rgba(255,255,255,.8); font-size: 13px; }
.sm4c .topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 20px; }
.sm4c .topbar a:hover { color: #fff; }
.sm4c .topbar__left, .sm4c .topbar__right { display: flex; gap: 24px; align-items: center; }
.sm4c .topbar__tel { display: none; font-weight: 600; color: #fff; }
.sm4c .lang { display: inline-flex; gap: 10px; }
.sm4c .lang b { color: #fff; font-weight: 600; }
.sm4c .hdr { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.sm4c .hdr__row { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.sm4c .logo { flex: none; line-height: 1; }
.sm4c .logo__name { font-size: 29px; font-weight: 700; letter-spacing: -.03em; color: var(--navy-900); }
.sm4c .logo__name i { font-style: normal; color: var(--green-600); }
.sm4c .logo__name em { font-style: normal; color: var(--ink-faint); font-weight: 500; }
.sm4c .search { flex: 1; display: flex; max-width: 620px; }
.sm4c .search input { flex: 1; min-width: 0; height: 46px; border: 2px solid var(--navy-700); border-right: 0; border-radius: 2px 0 0 2px; padding: 0 16px; background: #fff; font-size: 15px; }
.sm4c .search input:focus { outline: none; border-color: var(--green-600); }
.sm4c .search button { height: 46px; padding: 0 22px; border: 0; background: var(--navy-700); color: #fff; border-radius: 0 2px 2px 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.sm4c .search button:hover { background: var(--navy-800); }
.sm4c .hdr__call { display: flex; flex-direction: column; line-height: 1.25; flex: none; }
.sm4c .hdr__call b { font-size: 17px; color: var(--navy-900); font-weight: 700; }
.sm4c .hdr__call span { font-size: 12.5px; color: var(--ink-soft); }
.sm4c .hdr__tools { display: flex; gap: 2px; margin-left: auto; flex: none; }
.sm4c .tool { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 10px; font-size: 13px; line-height: 1.2; position: relative; color: var(--ink); }
.sm4c .tool:hover { color: var(--green-600); }
.sm4c .tool .ico { width: 24px; height: 24px; }
.sm4c .tool b { display: block; font-size: 14px; font-weight: 600; }
.sm4c .tool__n { position: absolute; top: 3px; left: 20px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--green-600); color: #fff; font: 700 11px/18px var(--sans); text-align: center; font-style: normal; }
.sm4c .tool__n[data-n="0"] { display: none; }
.sm4c .nav { background: var(--navy-800); position: relative; z-index: 45; }
.sm4c .nav__row { display: flex; align-items: stretch; min-height: 50px; }
.sm4c .cat-btn { display: flex; align-items: center; gap: 10px; border: 0; background: var(--green-600); color: #fff; font-weight: 600; font-size: 15px; padding: 0 22px 0 18px; }
.sm4c .cat-btn:hover, .sm4c .cat.is-open .cat-btn { background: var(--green-700); }
.sm4c .cat-btn .chev { width: 16px; height: 16px; margin-left: 4px; transition: transform .15s; }
.sm4c .cat.is-open .cat-btn .chev { transform: rotate(180deg); }
.sm4c .nav__links { display: flex; flex: 1; min-width: 0; }
.sm4c .nav__links a { display: flex; align-items: center; padding: 0 16px; color: #fff; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.sm4c .nav__links a:hover { background: rgba(255,255,255,.09); color: #fff; }
.sm4c .nav__links a.is-on { box-shadow: inset 0 -3px 0 var(--green-500); }
.sm4c .nav__links .nav__deal { background: var(--sale); font-weight: 600; margin-left: 6px; }
.sm4c .nav__links .nav__deal:hover { background: #b92a17; }
.sm4c .nav__links .push { margin-left: auto; }
.sm4c .cat { display: flex; }
.sm4c .mega { display: none; position: absolute; left: 0; right: 0; top: 100%; }
.sm4c .cat.is-open .mega { display: block; }
.sm4c .mega__inner { background: #fff; position: relative; min-height: 440px; box-shadow: 0 24px 34px -18px rgba(11,35,56,.45); }
.sm4c .mega__group { width: 280px; }
.sm4c .mega__head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; text-align: left; border: 0; background: var(--field); padding: 0 20px; min-height: 52px; font-size: 15px; font-weight: 500; }
.sm4c .mega__head .chev-r { width: 16px; height: 16px; transform: rotate(-90deg); color: var(--ink-faint); }
.sm4c .mega__group.is-active .mega__head { background: var(--green-600); color: #fff; }
.sm4c .mega__group.is-active .mega__head .chev-r { color: #fff; }
.sm4c .mega__panel { display: none; position: absolute; left: 280px; top: 0; right: 0; bottom: 0; padding: 28px 34px; overflow: auto; }
.sm4c .mega__group.is-active .mega__panel { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) 220px; gap: 6px 34px; align-content: start; }
.sm4c .mega__col h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.sm4c .mega__col h4 a { color: var(--navy-800); }
.sm4c .mega__col h4 a:hover { color: var(--green-600); }
.sm4c .mega__col h4 { color: var(--navy-800); }
.sm4c .mega__col ul { list-style: none; margin: 0 0 18px; padding: 0; }
.sm4c .mega__col li a { display: block; padding: 4px 0; font-size: 14.5px; color: var(--ink-soft); }
.sm4c .mega__col li a:hover { color: var(--green-600); }
.sm4c .mega__feat { display: flex; flex-direction: column; gap: 8px; font-size: 14px; align-self: start; }
.sm4c .mega__img { display: block; background: var(--field); aspect-ratio: 1; padding: 10px; }
.sm4c .mega__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sm4c .mega__nm { font-weight: 500; line-height: 1.3; }
.sm4c .mega__feat b { font-size: 17px; }
.sm4c .mega__feat { grid-column: 4; grid-row: 1; }
.sm4c .foot { background: var(--navy-900); color: rgba(255,255,255,.78); font-size: 14.5px; }
.sm4c .foot__top { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 44px; }
.sm4c .foot__logo { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1; }
.sm4c .foot__logo i { font-style: normal; color: #4fc08e; }
.sm4c .foot__logo em { font-style: normal; color: rgba(255,255,255,.5); font-weight: 500; }
.sm4c .foot__contact { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.sm4c .foot__tel { font-size: 22px; font-weight: 700; color: #fff; margin-top: 18px; line-height: 1.25; min-height: 32px; }
.sm4c .foot__tel--2 { margin-top: 0; }
.sm4c .foot__mail { color: #9fe3c0; min-height: 40px; display: inline-flex; align-items: center; }
.sm4c .foot__mail:hover, .sm4c .foot a:hover { color: #fff; }
.sm4c .foot__contact p { margin: 8px 0 12px; line-height: 1.6; }
.sm4c .foot__fb { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: #fff; font-weight: 500; }
.sm4c .foot__col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.sm4c .foot__col ul { list-style: none; margin: 0; padding: 0; }
.sm4c .foot__col li a { display: block; padding: 6px 0; }
.sm4c .foot__pay { background: var(--navy-800); padding: 22px 0; }
.sm4c .foot__pay .wrap { display: flex; flex-wrap: wrap; gap: 16px 56px; align-items: center; }
.sm4c .foot__logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.sm4c .foot__logos > span { color: rgba(255,255,255,.6); margin-right: 6px; }
.sm4c .foot__logos > b { color: #fff; letter-spacing: .02em; }
.sm4c .foot__logos img { height: 29px; width: auto; }
.sm4c .foot__chip { background: #fff; padding: 8px 12px; display: inline-flex; align-items: center; min-height: 40px; }
.sm4c .foot__chip img { height: 20px; width: auto; max-width: none; display: block; }
.sm4c .foot__base { padding: 16px 0 20px; font-size: 13px; color: rgba(255,255,255,.55); }
@media (max-width: 1180px) {
  .sm4c .hdr__call { display: none; }
  .sm4c .mega__group.is-active .mega__panel { grid-template-columns: repeat(2, minmax(0,1fr)) 200px; }
  .sm4c .mega__feat { grid-column: 3; }
  .sm4c .foot__top { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 26px; }
}
@media (max-width: 980px) {
  .sm4c .topbar__tel { display: inline-flex; align-items: center; min-height: 40px; }
  .sm4c .topbar__adr { display: none; }
  .sm4c .topbar .wrap { min-height: 40px; }
  .sm4c .topbar__left { gap: 16px; }
  .sm4c .topbar__right a { display: inline-flex; align-items: center; min-height: 40px; }
  .sm4c .hdr { position: sticky; top: -56px; }
  .sm4c .hdr__row { display: grid; grid-template-columns: minmax(0, 1fr) 46px 46px; grid-template-rows: 56px 54px; gap: 0 2px; align-items: center; min-height: 0; padding-bottom: 0; }
  .sm4c .logo { grid-column: 1 / 3; grid-row: 1; }
  .sm4c .logo__name { font-size: 26px; }
  .sm4c .hdr__tools { display: contents; }
  .sm4c .tool { padding: 0; justify-content: center; width: 46px; min-height: 46px; }
  .sm4c .tool span { display: none; }
  .sm4c .tool--user { grid-column: 3; grid-row: 1; }
  .sm4c .search { grid-column: 1; grid-row: 2; max-width: none; }
  .sm4c .search input { height: 44px; }
  .sm4c .search button { height: 44px; padding: 0 14px; }
  .sm4c .search button span { display: none; }
  .sm4c .tool--cmp { grid-column: 2; grid-row: 2; }
  .sm4c .tool--cart { grid-column: 3; grid-row: 2; }
  .sm4c .tool__n { left: auto; right: 0; top: 4px; }
  .sm4c .nav__row { min-height: 46px; }
  .sm4c .cat-btn { padding: 0 16px; }
  .sm4c .cat-btn span { display: none; }
  .sm4c .cat-btn .chev { display: none; }
  .sm4c .nav__links { overflow-x: auto; scrollbar-width: none; }
  .sm4c .nav__links::-webkit-scrollbar { display: none; }
  .sm4c .nav__links .push { margin-left: 0; }
  .sm4c .mega { position: absolute; max-height: calc(100vh - 160px); overflow: auto; }
  .sm4c .mega .wrap { padding: 0; }
  .sm4c .mega__inner { min-height: 0; }
  .sm4c .mega__group { width: auto; }
  .sm4c .mega__head { border-bottom: 1px solid var(--line); }
  .sm4c .mega__head .chev-r { transform: none; }
  .sm4c .mega__group.is-active .mega__head .chev-r { transform: rotate(180deg); }
  .sm4c .mega__panel, .sm4c .mega__group.is-active .mega__panel { position: static; display: none; padding: 14px 18px 6px; }
  .sm4c .mega__group.is-active .mega__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .sm4c .mega__feat { display: none; }
  .sm4c .foot__top { grid-template-columns: 1fr 1fr; }
  .sm4c .foot__contact { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .sm4c .hide-m { display: none !important; }
  .sm4c .foot__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; }
  .sm4c .foot__pay .wrap { gap: 14px; }
  .sm4c .foot__base { padding-bottom: 52px; }
}
.sm4c .logo { display: inline-flex; align-items: center; min-height: 40px; }
.sm4c .foot__tel { display: inline-flex; align-items: center; }
.sm4c .foot__logo { display: inline-flex; align-items: center; min-height: 40px; }
@media (max-width: 700px) {
  .sm4c .foot__logos { gap: 10px 8px; }
  .sm4c .foot__logos > span { flex: 0 0 100%; margin: 0; }
  .sm4c .foot__logos img { height: 24px; }
  .sm4c .foot__chip { padding: 0 9px; min-height: 36px; }
  .sm4c .foot__chip img { height: 16px; }
  .sm4c .foot__pay { padding: 24px 0 18px; }
  .sm4c .foot__pay .wrap { gap: 22px; }
}
.sm4c .foot__logos p { margin: 0; color: #fff; }
.sm4c .foot__logos p b { letter-spacing: .02em; }
@media (max-width: 700px) {
  .sm4c .foot__tel { display: inline-flex; align-items: center; min-height: 40px; }
  .sm4c .foot__col li a { padding: 10px 0; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .sm4c .nav__links { overflow-x: auto; scrollbar-width: none; }
  .sm4c .nav__links::-webkit-scrollbar { display: none; }
  .sm4c .nav__links a { padding: 0 11px; font-size: 14px; }
  .sm4c .nav__links .push { display: none; }
  .sm4c .cat-btn { padding: 0 14px 0 14px; font-size: 14.5px; }
}
@media (max-width: 980px) {
  .sm4c .lang { align-items: center; min-height: 40px; }
}
.sm4c .tool span { margin-left: 4px; }
.sm4c .tool__n { padding: 0 4px; }
@media (min-width: 981px) {
  .sm4c .mega__inner { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: repeat(6, minmax(52px, 1fr)); min-height: 0; }
  .sm4c .mega__inner .mega__group { display: contents; }
  .sm4c .mega__inner .mega__head { grid-column: 1; }
  .sm4c .mega__inner .mega__group .mega__panel { position: static; display: grid; visibility: hidden; grid-column: 2; grid-row: 1 / -1; overflow: visible; grid-template-columns: repeat(3, minmax(0, 1fr)) 220px; gap: 6px 34px; align-content: start; }
  .sm4c .mega__inner .mega__group.is-active .mega__panel { visibility: visible; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .sm4c .mega__inner .mega__group .mega__panel { grid-template-columns: repeat(3, minmax(0, 1fr)) 150px; gap: 6px 22px; padding: 28px 24px; }
  .sm4c .mega__inner .mega__feat { grid-column: 4; grid-row: 1; }
  .sm4c .mega__col li a { font-size: 14px; }
}

/* ---------- toast ---------- */
.sm4c .sm4-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; width: 380px; max-width: calc(100vw - 24px); pointer-events: none; }
.sm4c .sm4-toast { pointer-events: auto; position: relative; background: #fff; color: var(--ink); font-size: 14.5px; line-height: 1.45; padding: 14px 40px 14px 16px; border-left: 4px solid var(--green-600); box-shadow: 0 10px 30px rgba(11,35,56,.28); }
.sm4c .sm4-toast.is-err { border-left-color: var(--sale); }
.sm4c .sm4-toast a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sm4c .sm4-toast__x { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--ink-faint); font-size: 22px; line-height: 1; padding: 0; }
.sm4c .sm4-toast__x:hover { color: var(--ink); }
@media (max-width: 700px) {
  .sm4c .sm4-toasts { left: 12px; right: 12px; bottom: 76px; width: auto; max-width: none; }
}
/* Journal.enableStickyHeader() prideda body padding-top slenkant */
body.is-sticky { padding-top: 0 !important; }

/* 2026-10-20: telefone ir plansetese laukeliai >= 16px, kad iPhone/iPad nepadidintu puslapio paspaudus lauka */
@media (max-width: 980px), (pointer: coarse) {
  input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input:not([type]), select, textarea { font-size: 16px !important; }
  .sm4c .search input { padding: 0 12px; text-overflow: ellipsis; }
}

/* 2026-10-20: krepselis - preke per visa ploti telefone, matoma antraste; antrastes telefone nekerpamos */
.sc-page .action-area h3 { color: #0b2338; }
#content h1.heading-title { white-space: normal; overflow: visible; text-overflow: clip; }
@media (max-width: 980px) { .sc-page .sm-cart-summary { flex: 1 1 100%; } }
@media (max-width: 760px) {
  .sc-page .sm-cart-layout { align-items: stretch; }
  .sc-page .sm-cart-main { flex: 0 0 auto; width: 100%; }
}
