/* LIVIN (livin.mk) — the shop's own styles on top of the shared app.
 *
 * Sections of the home page are html widgets built from lv-* classes; the header and footer
 * are the theme's 'navbar' and 'columns' variants, adjusted through their ss-* classes.
 */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/custom/assets/fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/custom/assets/fonts/montserrat-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;
}

:root {
  --lv-red: #e1251b;
  --lv-red-dark: #c41d14;
  --lv-ink: #1e1f22;
  --lv-muted: #5b5d63;
  --lv-line: #e7e7ea;
  --lv-soft: #f6f6f7;
  --lv-dark: #16171a;
  --lv-radius: 10px;
  --lv-wrap: 1240px;
}

/* Keep the scrollbar's room even while a short page or a page still loading has nothing to
   scroll. Otherwise the bar comes and goes on every navigation and the whole layout jumps
   sideways by its width. */
html {
  scrollbar-gutter: stable;
}

/* ------------------------------------------------------------------ header & footer */

.ss-header__bar {
  border-bottom-color: var(--lv-line);
}

.ss-header__link {
  color: var(--lv-ink);
  font-weight: 500;
}

.ss-header__cta {
  border-radius: var(--lv-radius);
  padding: 12px 20px;
}

/* The content pages end in a coloured section that meets the footer edge to edge; the app's
   own pages (catalogue, product, cart) sit in .mainContainer and get room above the footer. */
.ss-footer {
  margin-top: 0;
  background: var(--lv-dark);
}

.mainContainer {
  padding-bottom: 64px;
}

.ss-footer__logo-img {
  height: 52px;
}

/* ------------------------------------------------------------------ shared section pieces */

/* The widget wrappers add MUI spacing around html content; sections own their spacing. */
.lv-section {
  font-family: Montserrat, Arial, sans-serif;
  color: var(--lv-ink);
  line-height: 1.6;
}

.lv-section img {
  display: block;
  max-width: 100%;
  height: auto;
}

.lv-section p {
  margin: 0;
}

.lv-wrap {
  box-sizing: border-box;
  max-width: var(--lv-wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.lv-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--lv-red);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lv-eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--lv-red);
}

.lv-h2 {
  margin: 0;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
}

.lv-accent {
  color: var(--lv-red);
}

.lv-section .ph-icon {
  flex-shrink: 0;
}

.lv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid var(--lv-red);
  border-radius: var(--lv-radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lv-btn .ph-icon {
  font-size: 1.1em;
}

.lv-btn--primary {
  background: var(--lv-red);
  color: #fff;
}

.lv-btn--primary:hover {
  background: var(--lv-red-dark);
  border-color: var(--lv-red-dark);
  color: #fff;
}

.lv-btn--ghost {
  border-color: var(--lv-ink);
  color: var(--lv-ink);
}

.lv-btn--ghost:hover {
  background: var(--lv-ink);
  color: #fff;
}

.lv-btn--small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.85rem;
}

/* ------------------------------------------------------------------ hero */

.lv-hero {
  padding: 32px 0 48px;
  background: linear-gradient(90deg, #fff 0%, #fff 45%, var(--lv-soft) 100%);
}

.lv-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.lv-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.lv-section .lv-lead {
  max-width: 520px;
  margin-top: 20px;
  color: var(--lv-muted);
  font-size: 1rem;
}

.lv-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.lv-features li {
  align-content: start;
  display: grid;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--lv-muted);
}

.lv-features .ph-icon {
  margin-bottom: 6px;
  color: var(--lv-ink);
  font-size: 1.8rem;
}

.lv-features strong {
  color: var(--lv-ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.lv-hero__media img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* ------------------------------------------------------------------ solutions */

.lv-solutions {
  padding: 56px 0;
}

.lv-head {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.lv-head__text {
  max-width: 440px;
  color: var(--lv-muted);
  font-size: 0.95rem;
}

.lv-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  background: #fff;
  color: var(--lv-ink);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lv-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.lv-card__img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.lv-card__body {
  display: grid;
  gap: 4px;
  padding: 14px 52px 16px 14px;
}

.lv-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.lv-card__text {
  color: var(--lv-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.lv-card__arrow {
  position: absolute;
  right: 12px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lv-red);
  color: #fff;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------ quote band */

.lv-quote {
  padding: 48px 0;
  background: var(--lv-dark);
  color: #fff;
}

.lv-quote__grid {
  display: grid;
  align-items: center;
  gap: 24px;
}

.lv-quote__title {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 18px;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
}

.lv-quote__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  background: var(--lv-red);
}

.lv-quote__text p {
  max-width: 520px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.lv-quote__media img {
  width: 100%;
  border-radius: var(--lv-radius);
}

/* ------------------------------------------------------------------ partners */

.lv-partners {
  padding: 56px 0;
}

.lv-partners__logos {
  width: 100%;
  margin-top: 28px;
  mix-blend-mode: multiply;
}

/* ------------------------------------------------------------------ contact */

.lv-contact {
  padding: 48px 0;
  background: var(--lv-soft);
}

.lv-contact__grid {
  display: grid;
  gap: 24px;
}

.lv-contact__text p {
  max-width: 460px;
  margin: 16px 0 28px;
  color: var(--lv-muted);
}

.lv-contact__media img {
  width: 100%;
  height: 100%;
  border-radius: var(--lv-radius);
  object-fit: cover;
}

.lv-contact__cards {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lv-contact__cards li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--lv-radius);
  background: var(--lv-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.lv-contact__cards .ph-icon {
  color: #fff;
  font-size: 1.8rem;
}

.lv-contact__cards strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------ inner pages */

.lv-pagehead {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, var(--lv-soft) 0%, #fff 100%);
}

.lv-pagehead__title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
}

.lv-section .lv-pagehead .lv-lead,
.lv-pagehead .lv-lead {
  max-width: 680px;
}

.lv-split {
  padding: 40px 0;
  scroll-margin-top: calc(var(--theme-customSettings-appBarHeight) + 16px);
}

.lv-split__grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.lv-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
}

.lv-split__text p {
  margin-top: 16px;
  color: var(--lv-muted);
}

.lv-checks {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.lv-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.lv-checks .ph-icon {
  color: var(--lv-red);
  font-size: 1.3rem;
}

.lv-block {
  padding: 48px 0;
}

.lv-block--soft {
  background: var(--lv-soft);
}

.lv-iconcards {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.lv-block > .lv-wrap > .lv-iconcards:first-child {
  margin-top: 0;
}

.lv-iconcards li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  background: #fff;
  color: var(--lv-muted);
  font-size: 0.85rem;
}

.lv-iconcards .ph-icon {
  margin-bottom: 8px;
  color: var(--lv-red);
  font-size: 2rem;
}

.lv-iconcards strong {
  color: var(--lv-ink);
  font-size: 1rem;
}

.lv-steps {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: lv-step;
}

.lv-steps li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 20px 20px 72px;
  border-radius: var(--lv-radius);
  background: #fff;
  color: var(--lv-muted);
  font-size: 0.85rem;
  counter-increment: lv-step;
}

.lv-steps li::before {
  content: counter(lv-step);
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lv-red);
  color: #fff;
  font-weight: 700;
}

.lv-steps strong {
  color: var(--lv-ink);
  font-size: 1rem;
}

/* Red, not dark: the dark footer follows directly and the two would read as one block. */
.lv-cta {
  padding: 48px 0;
  background: var(--lv-red);
  color: #fff;
}

.lv-cta .lv-btn--primary {
  border-color: #fff;
  background: #fff;
  color: var(--lv-red);
}

.lv-cta .lv-btn--primary:hover {
  border-color: var(--lv-dark);
  background: var(--lv-dark);
  color: #fff;
}

.lv-cta__inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.lv-cta__inner p {
  max-width: 560px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------------------------------------------ contact page (/kontakt) */

/* The info column and the form sit in one builder row; its ids are fixed in the data script
   (livin_contact.js) so these selectors hold locally and in production. */
.wid_6ac3c0000000000000000002 {
  box-sizing: border-box;
  max-width: var(--lv-wrap);
  margin: 0 auto !important;
  padding: 8px 16px 64px !important;
}

.lv-contactinfo .lv-h2 {
  margin-bottom: 20px;
}

.lv-contactinfo .lv-contact__cards li {
  align-items: flex-start;
}

.wid_6ac3c0000000000000000005 {
  box-sizing: border-box;
  margin-top: 24px;
  padding: 8px 24px 24px;
  border: 1px solid var(--lv-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  font-family: Montserrat, Arial, sans-serif;
}

.wid_6ac3c0000000000000000005 .MuiTypography-subtitle1 {
  font-size: 1.15rem;
  font-weight: 700;
}

.wid_6ac3c0000000000000000005 a {
  text-decoration: underline;
}

.wid_6ac3c0000000000000000005 .MuiOutlinedInput-root {
  border-radius: var(--lv-radius);
}

.wid_6ac3c0000000000000000005 .CustomButton {
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--lv-radius);
  font-weight: 600;
}

/* ------------------------------------------------------------------ placeholder pages */

.lv-page {
  padding: 48px 0 24px;
}

.lv-page p:last-child {
  margin-top: 16px;
  color: var(--lv-muted);
}

/* ------------------------------------------------------------------ desktop */

@media (min-width: 900px) {
  .lv-wrap {
    padding: 0 24px;
  }

  .lv-hero {
    padding: 0;
  }

  .lv-hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
  }

  .lv-hero__text {
    padding: 56px 0;
  }

  .lv-hero__media img {
    border-radius: 0;
    min-height: 520px;
  }

  .lv-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lv-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .lv-head__text {
    text-align: right;
  }

  .lv-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .lv-quote__grid,
  .lv-contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .lv-contact__grid {
    grid-template-columns: 1fr 0.8fr 0.9fr;
    align-items: center;
  }

  .lv-pagehead {
    padding: 72px 0 48px;
  }

  .lv-split {
    padding: 56px 0;
  }

  .lv-split__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .lv-split--reverse .lv-split__media {
    order: 2;
  }

  .lv-iconcards,
  .lv-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lv-steps li {
    padding: 72px 20px 24px;
  }

  .lv-cta__inner {
    grid-template-columns: 1fr auto;
    gap: 40px;
  }

  .wid_6ac3c0000000000000000002 {
    padding: 8px 24px 80px !important;
  }

  .lv-contactinfo {
    padding: 24px 40px 0 0;
  }

  .wid_6ac3c0000000000000000005 {
    margin-top: 0;
    padding: 16px 32px 32px;
  }
}

/* ------------------------------------------------------------------ page change */

/* Page content is swapped in place on navigation; a short fade keeps the change from reading
   as a jump. The header and footer stay put. */
/* Opacity only: a slide moves every section a few pixels on each navigation. */
@keyframes lv-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lv-section {
  animation: lv-fade-in 0.2s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .lv-section {
    animation: none;
  }
}
