/*
Theme Name: Proem Child
Template: proem
Version: 1.5
Text Domain: proem-child
*/

/* Pełna szerokość tła, zawartość maksymalnie 1240 px */
@media (min-width: 1241px) {
  .vc_row[data-vc-full-width="true"]:not(.vc_row-no-padding) {
    padding-left: calc((100vw - 1240px) / 2) !important;
    padding-right: calc((100vw - 1240px) / 2) !important;
  }
}

@media (max-width: 1240px) {
  .vc_row[data-vc-full-width="true"]:not(.vc_row-no-padding) {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

.additional_dsc_1630 {
  padding-top: 50px;
}

.roll-content {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.6s ease,
    opacity 0.35s ease;
}

.roll-content.active {
  margin-top: 30px;
  max-height: 5000px;
  opacity: 1;
}

.roll-content-inner {
  padding: 0;
}

*:focus-visible {
  outline: 2px solid var(--tensi-green);
  outline-offset: 2px;
}



/* ==========================================================
   00. TOP HEADER Z LOGO I MENU
   ========================================================== */
:root {
  --tensi-header-height: 76px;
  --tensi-orange: #ffa670;
  --tensi-orange-hover: #ff8f4d;
  --tensi-green: #23a896;
}

/* Jeden krój pisma dla całej strony i kontrolek formularzy */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
label,
strong,
small,
blockquote,
table,
th,
td,
summary,
button,
input,
textarea,
select,
option {
  font-family: "Montserrat", sans-serif;
}

body {
  padding-top: var(--tensi-header-height);
}
body.tensi-panel-open,
body.tensi-menu-open {
  overflow: hidden;
}

.tensi-site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10003;
  width: 100%;
  height: var(--tensi-header-height);
  background: #050505;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.admin-bar .tensi-site-header {
  top: 32px;
}

.tensi-site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.tensi-header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1220px;
  height: 100%;
  margin: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ==========================================================
   LOGO
   ========================================================== */

.tensi-header-logo {
  flex: 0 0 auto;
  min-width: 0;
  margin-right: auto;
}

.tensi-header-logo a {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
}

.tensi-logo {
  display: block;
  width: 295px;
  height: 52px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.tensi-logo-scrolled {
  display: none;
}

.tensi-site-header.is-scrolled .tensi-logo-default {
  display: none;
}

.tensi-site-header.is-scrolled .tensi-logo-scrolled {
  display: block;
}

/* ==========================================================
   MENU DESKTOP
   ========================================================== */

.tensi-main-navigation {
  height: 100%;
  margin-left: auto;
}

.tensi-menu {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tensi-menu > li {
  position: relative;
  height: 100%;
  margin: 0;
}

.tensi-menu > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.tensi-menu > li:hover > a {
  color: var(--tensi-green);
  border-bottom-color: var(--tensi-green);
}

.tensi-menu > .current-menu-item > a,
.tensi-menu > .current-menu-ancestor > a {
  color: var(--tensi-green);
}

.tensi-site-header.is-scrolled .tensi-menu > li > a {
  color: #111;
}

.tensi-site-header.is-scrolled .tensi-menu > li:hover > a {
  color: var(--tensi-green);
}

.tensi-menu .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -3px 0 0 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ==========================================================
   SUBMENU DESKTOP
   ========================================================== */

.tensi-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  visibility: hidden;
  min-width: 300px;
  margin: 0;
  padding: 18px 0;
  background: #333;
  border: 0;
  border-radius: 0;
  list-style: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.tensi-menu li:hover > .sub-menu,
.tensi-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tensi-menu .sub-menu li {
  position: relative;
  margin: 0;
}

.tensi-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.tensi-menu .sub-menu a:hover {
  background: #151515;
  color: var(--tensi-green);
}

.tensi-menu .sub-menu .sub-menu {
  top: -18px;
  left: 100%;
}

/* SUBMENU PO PRZEWINIĘCIU */

.tensi-site-header.is-scrolled .tensi-menu .sub-menu {
  background: #333;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tensi-site-header.is-scrolled .tensi-menu .sub-menu a {
  color: #fff;
}

.tensi-site-header.is-scrolled .tensi-menu .sub-menu a:hover {
  background: #444;
  color: var(--tensi-green);
}

/* ==========================================================
   PRZYCISKI HEADERA
   ========================================================== */

.tensi-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: 12px;
}

.tensi-header-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background: var(--tensi-orange);
  border: 0;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.tensi-header-button:hover,
.tensi-header-button:focus {
  background: var(--tensi-orange-hover);
}

.tensi-header-button > img {
  display: block;
  width: 21px;
  height: 21px;
  margin: 0;
  object-fit: contain;
  filter: brightness(0);
}

.tensi-menu-toggle {
  display: none;
}

/* ==========================================================
   WYBÓR JĘZYKA
   ========================================================== */

.tensi-language-control {
  position: relative;
}

.tensi-language-native,
.tensi-language-native .gtranslate_wrapper {
  position: absolute;
  inset: 0;
}

.tensi-language-native .gt_switcher-popup {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.tensi-language-native #google_translate_element2 {
  display: none;
}

/* ==========================================================
   WARSTWA POD MENU I FORMULARZEM
   ========================================================== */

.tensi-header-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.tensi-header-overlay.is-active {
  visibility: visible;
  opacity: 1;
}

.tensi-mobile-company {
  display: none;
}

/* ==========================================================
   TABLET I MOBILE
   ========================================================== */

@media (max-width: 991px) {
  .tensi-header-inner {
    justify-content: space-between;
  }

  .tensi-logo {
    width: min(295px, calc(100vw - 96px));
    height: auto;
    aspect-ratio: 295 / 52;
  }

  /* Ukrycie formularza, konfiguratora i języków */

  .tensi-header-actions .tensi-contact-open,
  .tensi-header-actions .tensi-car-button,
  .tensi-header-actions .tensi-language-control {
    display: none;
  }

  /* Na mobile pozostaje tylko przycisk menu */

  .tensi-header-actions {
    flex: 0 0 auto;
    gap: 0;
    margin-left: 12px;
  }

  .tensi-header-actions .tensi-menu-toggle {
    display: flex;
  }
	
.tensi-mobile-company {
  display: block;
  margin-top: 20px;
  padding: 0 20px 30px;
  color: #fff;
  font-size: 13px;
  line-height: 1.7;
}

.tensi-mobile-company address {
  margin: 0;
  font-style: normal;
}

.tensi-mobile-company strong,
.tensi-mobile-company span {
  display: block;
}

.tensi-mobile-company strong {
  margin-bottom: 12px;
  font-size: 14px;
}

.tensi-mobile-company span:nth-of-type(2),
.tensi-mobile-company span:nth-of-type(4) {
  margin-bottom: 12px;
}

.tensi-mobile-company a {
  color: var(--tensi-orange-hover);
  text-decoration: none;
}

.tensi-mobile-company a:hover,
.tensi-mobile-company a:focus {
  color: var(--tensi-green);
  text-decoration: underline;
}
}

/* Mniejsze telefony */

@media (max-width: 420px) {
  .tensi-header-inner {
    padding-right: 10px;
    padding-left: 10px;
  }

  .tensi-header-actions {
    margin-left: 0;
  }

  .tensi-logo {
    width: min(250px, calc(100vw - 84px));
    height: auto;
  }
}

/* Pasek administratora WordPress na mobile */

@media (max-width: 782px) {
  .admin-bar .tensi-site-header {
    top: 46px;
  }

  .admin-bar .tensi-main-navigation {
    top: calc(var(--tensi-header-height) + 46px);
  }
}
/* WordPress admin bar na mobile */

@media (max-width: 782px) {
  .admin-bar .tensi-site-header {
    top: 46px;
  }
}

/* ==========================================================
   PANEL BOCZNY – KONTAKT
   ========================================================== */

.tensi-contact-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999993;
  visibility: hidden;
  width: 100%;
  max-width: 464px;
  height: 100vh;
  height: 100dvh;
  padding: 0 44px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.35s ease, visibility 0.35s ease;
}

.tensi-contact-panel.is-open {
  visibility: visible;
  transform: translateX(0);
}


/* ==========================================================
   NAGŁÓWEK PANELU
   ========================================================== */

.tensi-contact-panel-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 103px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.tensi-contact-panel-header h2 {
  margin: 0;
  color: #111;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.tensi-contact-close {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 20px;
  padding: 0;
  color: #111;
  font-size: 23px;
  background: transparent;
  border: 0;
  cursor: pointer;
}


/* ==========================================================
   ZAWARTOŚĆ PANELU
   ========================================================== */

.tensi-contact-panel-content {
  padding: 0 0 42px;
}

.tensi-contact-intro {
  margin: 15px 0px;
  color: #111;
  font-size: 14px;
  line-height: 1.8;
}


/* ==========================================================
   STRUKTURA FORMULARZA
   ========================================================== */

.tensi-contact-form .formularz_kontakt,
.tensi-contact-form .formularz_kontakt_item,
.tensi-contact-form .formularz_kontakt_item > p,
.tensi-contact-form .wpcf7-form-control-wrap,
.tensi-contact-form label {
  width: 100%;
  box-sizing: border-box;
}

.tensi-contact-form .formularz_kontakt_item,
.tensi-contact-form .formularz_kontakt_item > p {
  margin: 0;
}

.tensi-contact-form .wpcf7-form-control-wrap,
.tensi-contact-form label {
  display: block;
}


/* ==========================================================
   WIERSZ: IMIĘ I E-MAIL
   ========================================================== */

.tensi-contact-form .formularz-kontakt-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}


/* ==========================================================
   ETYKIETY I POLA
   ========================================================== */

.tensi-contact-form label {
  margin-bottom: 20px;
  color: #777;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.tensi-contact-form input[type="text"],
.tensi-contact-form input[type="email"],
.tensi-contact-form input[type="tel"],
.tensi-contact-form textarea,
.tensi-contact-form select {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  color: #111;
  font-size: 14px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-sizing: border-box;
}

.tensi-contact-form input[type="text"],
.tensi-contact-form input[type="email"],
.tensi-contact-form input[type="tel"],
.tensi-contact-form select {
  height: 55px;
}

.tensi-contact-form textarea {
  height: 120px;
  resize: vertical;
}

.tensi-contact-form input:focus,
.tensi-contact-form textarea:focus,
.tensi-contact-form select:focus {
  border-color: var(--tensi-orange);
  outline: 0;
}


/* ==========================================================
   ZGODA
   ========================================================== */

.tensi-contact-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.7;
}

.tensi-contact-form .wpcf7-acceptance input {
  flex: 0 0 auto;
  margin-top: 5px;
}

.tensi-contact-form .wpcf7-acceptance a {
  color: #ff6000;
  text-decoration: underline;
}

.tensi-contact-form .wpcf7-acceptance a:hover {
  color: #d95000;
}


/* ==========================================================
   TURNSTILE I PRZYCISK – UKŁAD PODSTAWOWY
   ========================================================== */

.tensi-contact-form .formularz-kontakt-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  margin-top: 20px;
  box-sizing: border-box;
}

.tensi-contact-form .cf7-turnstile-box,
.tensi-contact-form .formularz-kontakt-submit {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}

.tensi-contact-form .cf7-turnstile-box {
  justify-content: flex-start;
}

.tensi-contact-form .wpcf7-turnstile,
.tensi-contact-form .cf-turnstile {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.tensi-contact-form .formularz-kontakt-submit,
.tensi-contact-form .formularz-kontakt-submit > p {
  justify-content: flex-end;
}

.tensi-contact-form .formularz-kontakt-submit > p {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
}


/* ==========================================================
   PRZYCISK WYŚLIJ
   ========================================================== */

.tensi-contact-form input[type="submit"],
.tensi-contact-form input.contact-send {
  display: block;
  width: auto;
  min-width: 180px;
  height: 55px;
  margin: 0;
  padding: 0 32px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  background: #ffbb92;
  border: 0;
  border-radius:0 !important;
  box-sizing: border-box;
  cursor: pointer;
}

.tensi-contact-form input[type="submit"]:hover,
.tensi-contact-form input.contact-send:hover {
  background: var(--tensi-orange-hover);
  color:#111 !important;
}

.tensi-contact-form input[type="submit"]:focus {  background: var(--tensi-orange-hover);  color:#111 !important;}

/* ==========================================================
   KOMUNIKAT BŁĘDU W WIERSZU AKCJI
   ========================================================== */

.tensi-contact-form .formularz-kontakt-actions > .cf7-error-custom {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  margin: 0 0 20px;
  box-sizing: border-box;
}

.tensi-contact-form .formularz-kontakt-actions > .cf7-error-custom ~ .cf7-turnstile-box {
  grid-column: 1;
  grid-row: 2;
}

.tensi-contact-form .formularz-kontakt-actions > .cf7-error-custom ~ .formularz-kontakt-submit {
  grid-column: 2;
  grid-row: 2;
}


/* ==========================================================
   LOADER I KOMUNIKATY CF7
   ========================================================== */

.tensi-contact-form .wpcf7-spinner {
  flex: 0 0 auto;
  margin: 0 0 0 10px;
}

.tensi-contact-form .wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 12px;
}

.tensi-contact-form .wpcf7-response-output {
  margin: 15px 0 0;
  padding: 10px;
  font-size: 13px;
}


/* ==========================================================
   PANEL BOCZNY – ELEMENTY JEDEN POD DRUGIM
   ========================================================== */

.tensi-contact-panel .formularz-kontakt-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.tensi-contact-panel .formularz-kontakt-actions .cf7-error-custom {
  order: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.tensi-contact-panel .cf7-turnstile-box {
  order: 2;
  justify-content: center;
}

.tensi-contact-panel .formularz-kontakt-submit {
  order: 3;
  display: block;
  width: 100%;
}

.tensi-contact-panel .formularz-kontakt-submit > p {
  display: block;
  width: 100%;
  margin: 0;
}

.tensi-contact-panel .formularz-kontakt-submit input.wpcf7-submit.contact-send {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.tensi-contact-panel .wpcf7-spinner {
  display: block;
  margin: 10px auto 0;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {
  .tensi-contact-panel {
    max-width: none;
    padding: 0 24px;
  }

  .tensi-contact-panel-header {
    min-height: 82px;
  }

  .tensi-contact-form .formularz-kontakt-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tensi-contact-form .formularz-kontakt-actions {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tensi-contact-form .formularz-kontakt-actions > .cf7-error-custom {
    grid-column: 1;
    grid-row: 1;
  }

  .tensi-contact-form .formularz-kontakt-actions > .cf7-error-custom ~ .cf7-turnstile-box {
    grid-column: 1;
    grid-row: 2;
  }

  .tensi-contact-form .formularz-kontakt-actions > .cf7-error-custom ~ .formularz-kontakt-submit {
    grid-column: 1;
    grid-row: 3;
  }

  .tensi-contact-form .cf7-turnstile-box,
  .tensi-contact-form .formularz-kontakt-submit,
  .tensi-contact-form .formularz-kontakt-submit > p {
    justify-content: center;
  }

  .tensi-contact-form .formularz-kontakt-submit input.wpcf7-submit.contact-send {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .tensi-contact-form .wpcf7-spinner {
    display: block;
    margin: 10px auto 0;
  }
}

@media (max-width: 420px) {
  .tensi-contact-panel {
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* TABLET I MOBILE */
@media (max-width: 991px) {
  :root {
    --tensi-header-height: 72px;
  }

  .tensi-header-inner {
    padding: 0 16px;
  }
  .tensi-logo {
    width: 295px;
    height: 52px;
    max-width: 295px;
    max-height: none;
  }
  .tensi-language-control {
    display: none;
  }
  .tensi-menu-toggle {
    display: flex;
  }
  .tensi-header-actions {
    gap: 6px;
    margin-left: auto;
  }

  .tensi-main-navigation {
    position: fixed;
    top: var(--tensi-header-height);
    right: 0;
    bottom: 0;
    z-index: 10002;
    visibility: hidden;
    width: 100%;
    max-width: 380px;
    margin: 0;
    padding: 20px 0 40px;
    background: #333;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(100%);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0.3s ease;
  }
  .admin-bar .tensi-main-navigation {
    top: calc(var(--tensi-header-height) + 32px);
  }
  .tensi-main-navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .tensi-menu {
    display: block;
    height: auto;
  }
  .tensi-menu > li {
    height: auto;
    border-bottom: 1px solid #1d1d1d;
  }

  .tensi-menu > li > a,
  .tensi-site-header.is-scrolled .tensi-menu > li > a {
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding: 16px 24px;
    border-bottom-color: transparent;
    background: transparent;
    color: #fff;
    white-space: normal;
  }
  .tensi-menu > li:hover > a,
  .tensi-site-header.is-scrolled .tensi-menu > li:hover > a {
    background: #444;
    border-bottom-color: transparent;
    color: var(--tensi-green);
  }
  .tensi-menu > .current-menu-item > a,
  .tensi-menu > .current-menu-ancestor > a,
  .tensi-site-header.is-scrolled .tensi-menu > .current-menu-item > a,
  .tensi-site-header.is-scrolled .tensi-menu > .current-menu-ancestor > a {
    color: var(--tensi-green);
  }

  .tensi-menu .menu-item-has-children > a::after {
    margin-left: auto;
  }
  .tensi-menu .submenu-open > a::after {
    margin-top: 3px;
    transform: rotate(225deg);
  }

  .tensi-menu .sub-menu,
  .tensi-site-header.is-scrolled .tensi-menu .sub-menu {
    position: static;
    display: none;
    visibility: visible;
    min-width: 0;
    width: 100%;
    padding: 0 0 8px;
    background: #333;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .tensi-menu .submenu-open > .sub-menu,
  .tensi-site-header.is-scrolled .tensi-menu .submenu-open > .sub-menu {
    display: block;
  }

  .tensi-menu .sub-menu li {
    border-top: 1px solid #292929;
  }
  .tensi-menu .sub-menu a,
  .tensi-site-header.is-scrolled .tensi-menu .sub-menu a {
    width: 100%;
    padding: 12px 20px 12px 40px;
    background: transparent;
    color: #fff;
    text-align: left;
    white-space: normal;
  }
  .tensi-menu .sub-menu a:hover,
  .tensi-site-header.is-scrolled .tensi-menu .sub-menu a:hover {
    background: #444;
    color: var(--tensi-green);
  }
  .tensi-menu .sub-menu .sub-menu {
    position: static;
  }
}

@media (max-width: 782px) {
  .admin-bar .tensi-site-header {
    top: 46px;
  }
  .admin-bar .tensi-main-navigation {
    top: calc(var(--tensi-header-height) + 46px);
  }
}

@media (max-width: 767px) {
  .tensi-contact-panel {
    max-width: none;
    padding: 0 24px;
  }
  .tensi-contact-panel-header {
    min-height: 82px;
  }
}

@media (max-width: 420px) {
  .tensi-header-inner {
    padding-left: 20px;
  }

  .tensi-header-actions {
    margin-left: 0;
  }

  .tensi-logo {
    width: min(250px, calc(100vw - 84px));
    height: auto;
    max-width: 250px;
  }
}

.fbmm-menu {
  border-top: 1px solid black;
}

/* ==========================================================
   01. NAGŁÓWEK – ROZSUWANE PANELE
   ========================================================== */

.melex-head .head-slide {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 600px;
  margin-right: 0;
  margin-left: 0;
  overflow: hidden;
  background: #111;
  box-sizing: border-box;
}
.melex-head .head-slide-panel {
  cursor: pointer;
  flex: 0 0 110px;
  height: 600px;
  overflow: hidden;
  position: relative;
  transition: flex 0.75s ease;
}
.melex-head .head-slide-panel.active {
  cursor: default;
  flex: 1 1 auto;
}
.melex-head .head-slide-bg {
  background-position: 50%;
  background-size: cover;
  inset: 0;
  position: absolute;
  transition: transform 0.75s ease;
}
.melex-head .head-slide-panel.active .head-slide-bg {
  transform: scale(1.03);
}
.melex-head .head-slide-panel:before {
  background: rgba(0, 0, 0, 0.52);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.melex-head .head-slide-panel.active:before {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.68),
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.25)
  );
}
.melex-head .head-slide-content {
  bottom: 12%;
  left: 6%;
  max-width: 760px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateY(25px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  z-index: 4;
}
.melex-head .head-slide-panel.active .head-slide-content {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0.25s;
}
.melex-head .head-slide-content h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 0 0 30px;
}
.melex-head .head-slide-content h1,
.melex-head .head-slide-content h4 {
  color: #fff;
  padding: 0;
}
.melex-head .head-slide-content h4 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
}
.melex-head .head-slide-content p {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 24px;
  max-width: 920px;
  padding: 0;
}
.melex-head .head-slide-btn {
  align-items: center;
  background: #ffa670;
  box-sizing: border-box;
  color: #000;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 22px;
  height: 54px;
  justify-content: center;
  letter-spacing: 0.6px;
  max-width: 100%;
  min-width: 240px;
  padding: 0 30px;
  text-decoration: none;
  transition: 0.25s ease;
}
.melex-head .head-slide-btn:after {
  content: "⟶";
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.melex-head .head-slide-btn:hover {
  background: #fff;
  color: #000;
}
.melex-head .head-slide-number {
  font-size: 18px;
  left: 45px;
  line-height: 1;
  top: 105px;
  z-index: 20;
}
.melex-head .head-slide-number,
.melex-head .head-slide-title-vertical {
  color: #fff;
  font-weight: 700;
  pointer-events: none;
  position: absolute;
}
.melex-head .head-slide-title-vertical {
  bottom: 100px;
  font-size: 17px;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center center;
  transition: opacity 0.25s ease;
  white-space: nowrap;
  z-index: 8;
}
.melex-head .head-slide-panel.active .head-slide-title-vertical {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 767px) {
  .melex-head .head-slide {
    flex-direction: row;
    height: 600px;
    min-height: 600px;
  }
  .melex-head .head-slide-panel {
    flex: 0 0 72px;
    height: 600px;
    width: auto;
  }
  .melex-head .head-slide-panel.active {
    flex: 1 1 auto;
    min-height: 600px;
  }
  .melex-head .head-slide-number {
    font-size: 16px;
    left: 14px;
    top: 105px;
    z-index: 50;
  }
  .melex-head .head-slide-title-vertical {
    bottom: 80px;
    font-size: 14px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    z-index: 20;
  }
  .melex-head .head-slide-content {
    bottom: 70px;
    left: 24px;
    max-width: none;
    right: 22px;
  }
  .melex-head .head-slide-content p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  .melex-head .head-slide-content h4 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .melex-head .head-slide-content h1 {
    font-size: 18px;
    letter-spacing: -1px;
    line-height: 1.3;
    margin-bottom: 22px;
  }
  .melex-head .head-slide-btn {
    font-size: 13px;
    height: 50px;
    justify-content: space-between;
    line-height: 1.35;
    min-width: 0;
    padding: 0 22px;
    text-align: left;
    width: 100%;
  }
  .melex-head .head-slide-btn:after {
    flex: 0 0 auto;
    font-size: 26px;
  }
}
/* ==========================================================
   02. SEKCJA HERO
   ========================================================== */

.melex-hero {
  background-color: #111;
  background-image: var(--bg-image);
  background-position: var(--bg-position-desktop, center center);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  min-height: 600px;
  overflow: hidden;
  position: relative;
  width: 100vw;
}
.melex-hero.melex-hero-dark:before {
  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.28) 22%,
      transparent 55%
    ),
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.68),
      rgba(0, 0, 0, 0.45) 42%,
      rgba(0, 0, 0, 0.15)
    );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.melex-hero.melex-hero-light:before {
  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.44) 2%,
      rgba(0, 0, 0, 0.31) 32%,
      transparent 55%
    ),
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.22),
      rgba(0, 0, 0, 0.12) 42%,
      transparent
    );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.melex-hero-inner {
  height: 100%;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 20px;
  position: relative;
  width: 100%;
  z-index: 2;
}
.melex-hero-slide {
  inset: 0 20px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition:
    opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1.3s;
  visibility: hidden;
}
.melex-hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.melex-hero-content {
  bottom: var(--content-bottom, 12%);
  left: var(--content-left, 0);
  max-width: var(--content-width, 900px);
  opacity: 0;
  position: absolute;
  transform: translateY(25px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.melex-hero-slide.active .melex-hero-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}
.melex-hero-dots {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  margin: 0 0 28px;
  padding: 0;
}
.melex-hero-dot {
  background: #fff;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  display: block;
  flex: 0 0 auto;
  height: 6px;
  margin: 0;
  padding: 0;
  transition: 0.25s ease;
  width: 32px;
}
.melex-hero-dot.active {
  background: #ffa670;
}
.melex-hero h4 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
  padding: 0;
}
.melex-hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 0 0 30px;
}
.melex-hero h1,
.melex-hero p {
  color: #fff;
  max-width: 920px;
  padding: 0;
}
.melex-hero p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 24px;
}
.melex-hero-btn {
  align-items: center;
  background: #ffa670;
  box-sizing: border-box;
  color: #000;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 28px;
  height: 56px;
  justify-content: center;
  letter-spacing: 0.6px;
  max-width: 100%;
  min-width: 245px;
  padding: 0 30px;
  text-decoration: none;
  transition: 0.25s ease;
}
.melex-hero-btn:after {
  content: "⟶";
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.melex-hero-btn:hover {
  background: #fff;
  color: #000;
}
.melex-hero-btns{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin:0 0 15px;
}

.melex-hero-scroll-wrap {
  display: none;
}
@media (max-width: 767px) {
  .melex-hero {
    background-position: var(--bg-position-mobile, center center);
    height: 100vh;
    min-height: 600px;
  }
.melex-hero.melex-hero-dark::before,
.melex-hero.melex-hero-light::before {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, var(--gradient-mobile-top, 0.6)) 0%,
      rgba(0, 0, 0, var(--gradient-mobile-middle, 0.28))
        var(--gradient-mobile-middle-position, 50%),
      rgba(0, 0, 0, 0) var(--gradient-mobile-end, 100%)
    ),
    rgba(0, 0, 0, var(--gradient-mobile-overlay, 0.2));
}
  .melex-hero h1 {
    font-size: 24px;
    line-height: 1.38;
  }
  .melex-hero-inner {
    padding: 0;
  }
.melex-hero-slide {
  inset: 0;
  }
.melex-hero-content {
  bottom: auto;
  box-sizing: border-box;
  left: 24px;
  margin: 0;
  max-width: none;
  overflow-wrap: break-word;
  position: absolute;
  right: 24px;
  top: 100px;
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  width: auto;
}
  .melex-hero-dots {
    gap: 10px;
    margin-bottom: 24px;
  }
  .melex-hero-dot {
    height: 5px;
    width: 30px;
  }
  .melex-hero h4 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .melex-hero h1 {
    letter-spacing: -1px;
    margin-bottom: 22px;
  }
  .melex-hero p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
  }
  .melex-hero-btn {
    font-size: 13px;
    height: 50px;
    justify-content: space-between;
    min-width: 0;
    padding: 0 22px;
    text-align: left;
    width: 100%;
  }
	.melex-hero-btns{
		display: flex;
		flex-direction: column;
		gap: 15px;
		margin-bottom: 15px;
}
  .melex-hero-scroll-wrap {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 50px auto 0;
  }

  .melex-hero-scroll-wrap span {
    color: #fff;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 10px;
    text-align: center;
  }

  .melex-hero-scroll {
    border: 1px solid #fff;
    box-sizing: border-box;
    display: block;
    height: 50px;
    margin: 0;
    position: relative;
    width: 50px;
  }

  .melex-hero-scroll::before {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    content: "";
    height: 12px;
    left: 50%;
    position: absolute;
    top: 15px;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
  }
}

/* ==========================================================
   03.1 SLIDER KART
   ========================================================== */

.melex-slider {
  overflow: hidden;
  width: 100%;
}
.melex-slider .card-slider-arrows {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-bottom: 22px;
}
.melex-slider .card-slider-arrows button {
  background: #ffc099;
  border: none;
  cursor: pointer;
  height: 48px;
  position: relative;
  transition: 0.25s ease;
  width: 48px;
}
.melex-slider .card-slider-arrows button:hover {
  background: #ffa670;
}
.melex-slider .card-slider-arrows button:before {
  border-right: 2px solid #000;
  border-top: 2px solid #000;
  content: "";
  height: 13px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 13px;
}
.melex-slider .card-prev:before {
  transform: translate(-35%, -50%) rotate(-135deg);
}
.melex-slider .card-next:before {
  transform: translate(-65%, -50%) rotate(45deg);
}
.melex-slider .card-slider {
  cursor: grab;
  overflow: hidden;
  touch-action: pan-y;
  width: 100%;
}
.melex-slider.is-dragging .card-slider {
  cursor: grabbing;
}
.melex-slider .card-track {
  display: flex;
  user-select: none;
  will-change: transform;
}
.melex-slider .card-slide {
  background: #111;
  flex: 0 0 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
  user-select: none;
  width: 100%;
}
.melex-slider .card-slide,
.melex-slider .card-slide * {
  user-select: none;
}
.melex-slider .card-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: 0.4s ease;
  user-select: none;
  width: 100%;
}
.melex-slider .card-slide:after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.88)
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.melex-slider .card-content {
  bottom: 32px;
  color: #fff;
  left: 32px;
  position: absolute;
  right: 32px;
  transform: translateY(0);
  transition: transform 0.35s ease;
  z-index: 2;
}
.melex-slider .card-slide:hover .card-content {
  transform: translateY(-72px);
}
.melex-slider .card-content h4 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 18px;
}
.melex-slider .card-content p {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  max-width: 720px;
}
.melex-slider .card-btn {
  align-items: center;
  background: #ffa670;
  border: 1px solid rgba(0, 0, 0, 0.22);
  bottom: 32px;
  box-sizing: border-box;
  color: #000;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 22px;
  height: 40px;
  justify-content: center;
  left: 32px;
  letter-spacing: 0.4px;
  line-height: 1;
  min-width: 240px;
  opacity: 0;
  padding: 0 30px;
  pointer-events: none;
  position: absolute;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(20px);
  transition: 0.25s ease;
  z-index: 3;
}

.melex-slider .card-btn::after {
  content: "⟶";
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.melex-slider .card-slide:hover .card-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.melex-slider .card-btn:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 767px) {
  .melex-slider {
    margin-top: 10px;
  }
  .melex-slider .card-slide {
    height: 430px;
  }
  .melex-slider .card-content {
    bottom: 26px;
    left: 24px;
    right: 24px;
    transform: none;
  }
  .melex-slider .card-slide.is-active .card-content,
  .melex-slider .card-slide:hover .card-content {
    transform: translateY(-72px);
  }
  .melex-slider .card-content h4 {
    font-size: 25px;
  }
  .melex-slider .card-content p {
    font-size: 14px;
  }
}

/* ==========================================================
   03.2 SLIDER GALERIA 100% WIDTH
   ========================================================== */
.melex-galeria {
  position: relative;
  width: 100%;
}
.melex-galeria-viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.melex-galeria.is-dragging .melex-galeria-viewport {
  cursor: grabbing;
}
.melex-galeria-track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  will-change: transform;
}
.melex-galeria-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}
.melex-galeria-slide img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  object-fit: initial;
  user-select: none;
  pointer-events: none;
}

/* ==========================================================
   03.3 SLIDER LOGOTYPÓW
   ========================================================== */
.melex-logotypy {
  position: relative;
  width: 100%;
}
.melex-logotypy > .melex-slider {
  width: 100%;
  min-height: 0;
  height: auto;
  background: transparent;
}
.melex-logotypy-viewport {
  width: 100%;
  padding: 0 20px;
  overflow: hidden;
  box-sizing: border-box;
  touch-action: pan-y;
  cursor: grab;
}
.melex-logotypy.is-dragging .melex-logotypy-viewport {
  cursor: grabbing;
}
.melex-logotypy-track {
  display: flex;
  width: max-content;
  height: 100px;
  align-items: center;
  will-change: transform;
}
.melex-logotypy-slide {
  display: flex;
  flex: 0 0 var(--logo-slide-width);
  width: var(--logo-slide-width);
  height: 100px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.melex-logotypy-slide img {
  display: block;
  width: 100px;
  max-width: 100px;
  height: 100px;
  margin: 0;
  padding: 0;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* ==========================================================
   04. KARTY STATYCZNE
   ========================================================== */

.melex-static-card {
  background: #000;
  min-height: 420px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.melex-static-card:before {
  background: #000;
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.melex-static-card:active:before,
.melex-static-card:focus-within:before,
.melex-static-card:hover:before {
  opacity: 0.3;
}
.melex-static-card img {
  display: block;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.45s ease;
  width: 100%;
}
.melex-static-card:after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0.88)
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.melex-static-card-content {
  bottom: 34px;
  color: #fff;
  left: 32px;
  padding-bottom: 48px;
  position: absolute;
  right: 32px;
  transform: translateY(60px);
  transition: transform 0.35s ease;
  z-index: 2;
}
.melex-static-card .melex-static-card-content h3 {
  font-size: 24px;
  margin: 0 0 16px;
}
.melex-static-card .melex-static-card-content h3,
.melex-static-card .melex-static-card-content h4 {
  color: #ffc099;
  font-weight: 600;
  letter-spacing: 0;
}
.melex-static-card .melex-static-card-content h4 {
  font-size: 20px;
  margin: 0 0 12px;
}
.melex-static-card .melex-static-card-content p {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 760px;
}
.melex-static-card .card-btn-wrap {
  bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  left: 32px;
  position: absolute;
  z-index: 3;
}
.melex-static-card .card-btn {
  align-items: center;
  background: #ffa670;
  border: 1px solid rgba(0, 0, 0, 0.22);
  bottom: auto;
  box-sizing: border-box;
  color: #000;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 24px;
  height: 40px;
  justify-content: space-between;
  left: auto;
  letter-spacing: 0.4px;
  line-height: 1;
  max-width: 100%;
  min-width: 240px;
  opacity: 0;
  padding: 0 28px;
  pointer-events: none;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(20px);
  transition: 0.25s ease;
  z-index: 3;
}
.melex-static-card .card-btn:after {
  content: "⟶";
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.melex-static-card:hover .card-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.melex-static-card .card-btn:hover {
  background: #fff;
  color: #000;
}

.melex-static-card:hover img {
  transform: scale(1.15);
}
.melex-static-card:hover .melex-static-card-content {
  transform: translateY(-6px);
}
@media (max-width: 767px) {
  .melex-static-card,
  .melex-static-card img {
    min-height: 360px;
  }

  .melex-static-card-content {
    right: 22px;
    bottom: 26px;
    left: 22px;
    padding-bottom: 45px;
  }

  .melex-static-card .melex-static-card-content h3 {
    font-size: 17px;
    line-height: 1.25;
  }

  .melex-static-card .melex-static-card-content h4 {
    font-size: 20px;
  }

  .melex-static-card .melex-static-card-content p {
    font-size: 13px;
  }

  .melex-static-card .card-btn-wrap {
    position: absolute;
    right: 22px;
    bottom: 26px;
    left: 22px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .melex-static-card .card-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    gap: 8px;
    font-size: 11px;
  }

  /* Wersja z tekstem i dwoma zawsze widocznymi przyciskami */
  .melex-static-card.melex-static-card-visible .melex-static-card-content {
    bottom: 86px;
    padding-bottom: 0;
    transform: none;
  }

  .melex-static-card.melex-static-card-visible
    .melex-static-card-content
    p:last-of-type {
    margin-bottom: 0;
  }
}
.melex-static-card.melex-static-card-visible strong {
  color: #fff;
}
.melex-static-card.melex-static-card-visible p {
  font-size: 16px;
}
.melex-static-card.melex-static-card-visible .melex-static-card-content {
  transform: translateY(-6px);
}
.melex-static-card.melex-static-card-visible .card-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.melex-static-card.melex-static-card-visible:before {
  opacity: 0;
}
.melex-static-card.melex-static-card-visible:after {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 0, 0, 0.5) 55%,
    rgba(0, 0, 0, 0.8)
  );
}
@media (max-width: 767px) {
  .melex-static-card.melex-static-card-visible .melex-static-card-content {
    bottom: 86px;
    padding-bottom: 0;
    transform: none;
  }

  .melex-static-card.melex-static-card-visible
    .melex-static-card-content
    p:last-of-type {
    margin-bottom: 0;
  }

  .melex-static-card.melex-static-card-visible p {
    font-size: 14px;
  }

  .melex-static-card.melex-static-card-visible:after {
    background: rgba(0, 0, 0, 0.7);
  }
}
/* ==========================================================
   05. TYPOGRAFIA I TREŚĆ MELEX
   ========================================================== */

.melex-content {
  color: #111;
  font-size: 18px;
  line-height: 1.6;
}
.melex-content h1 {
  font-size: 56px;
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 0 0 28px;
}
.melex-content h1,
.melex-content h2 {
  color: #000;
  font-weight: 700;
}
.melex-content h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 24px;
}
.melex-content .subtitle {
  color: #ffa670;
  font-size: 18px;
  margin: -18px 0 25px;
}
.melex-content .melex-h3,
.melex-content .subtitle {
  font-weight: 400;
  line-height: 1.4;
}
.melex-content .melex-h3 {
  color: #000;
  font-size: 22px;
  letter-spacing: -1px;
  margin: 0 0 22px;
  padding-left: 30px;
  position: relative;
}
.melex-content .melex-h3:before {
  border-radius: 0;
  content: "";
  height: calc(100% - 8px);
  left: 0;
  position: absolute;
  top: 4px;
  width: 16px;
}
.melex-content .melex-h3--green:before {
  background: #4acfb8;
}
.melex-content .melex-h3--orange:before {
  background: #ffa670;
}
.melex-content h4 {
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 18px;
}
.melex-content p {
  color: #111;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 20px;
}
.melex-content a {
  color: #ffa670;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.melex-content a:hover {
  color: #000;
}
.melex-content strong {
  font-weight: 600;
}
.melex-content ul {
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
}
.melex-content ul li {
  color: #111;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 6px;
  padding-left: 28px;
  position: relative;
}
.melex-content ul li:before {
  background: #ffa670;
  content: "";
  height: 9px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 9px;
}
.melex-content .btn-content-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 26px;
}
.melex-content p + .btn-content,
.melex-content p + .btn-content-wrap {
  margin-top: 26px;
}
.melex-content .btn-content {
  align-items: center;
  background: #ffc099;
  box-sizing: border-box;
  color: #000;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 7px;
  height: 40px;
  justify-content: center;
  letter-spacing: 0.6px;
  line-height: 1;
  max-width: 100%;
  min-width: 166px;
  padding: 0 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.25s ease;
}
.melex-content .btn-content:after {
  content: "⟶";
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.melex-content .btn-content:hover {
  background: #ffa670;
  color: #000;
}
.melex-content .content-box {
  background: #ffc099;
  margin: 30px 0;
  padding: 15px;
}
.melex-content .content-box p {
  color: #000;
  line-height: 1.9;
  margin: 0 0 20px;
}
.melex-content .content-box .btn-content-wrap {
  margin-top: 20px;
}
.melex-content .content-box .btn-content {
  background: #ffc099;
  border: 1px solid #d09978;
  color: #000;
}
.melex-content .content-box .btn-content:hover {
  background: #fff;
  color: #000;
}
.melex-content .content-box.content-box-black {
  background: #000;
  margin: 30px 0;
  padding: 15px;
}
.melex-content .content-box.content-box-black p {
  color: #fff;
  line-height: 1.9;
  margin: 0 0 20px;
}
.melex-content .content-box.content-box-black strong {
  color: #ffc099;
}
.melex-content .content-box.content-box-black a {
  color: #ffc099;
}
.melex-content .content-box.content-box-black .btn-content-wrap {
  margin-top: 20px;
}
.melex-content .content-box.content-box-black .btn-content {
  background: #000;
  border: 1px solid #ffc099;
  color: #ffc099;
}
.melex-content .content-box.content-box-black .btn-content:hover {
  background: #ffc099;
  border-color: #ffc099;
  color: #000;
}
@media (max-width: 767px) {
  .melex-content h1 {
    font-size: 28px;
    letter-spacing: -1px;
    line-height: 1.1;
  }
  .melex-content h2 {
    font-size: 20px;
    line-height: 1.3;
  }
  .melex-content .subtitle {
    font-size: 15px;
  }
  .melex-content .melex-h3 {
    font-size: 21px;
    line-height: 1.35;
    padding-bottom: 18px;
    padding-left: 0;
  }
  .melex-content .melex-h3:before {
    bottom: 0;
    height: 4px;
    left: 0;
    top: auto;
    width: 110px;
  }
  .melex-content h4 {
    font-size: 18px;
  }
  .melex-content p,
  .melex-content ul li {
    font-size: 13px;
  }
  .melex-content .btn-content-wrap {
    flex-direction: column;
    gap: 15px;
  }
  .melex-content .btn-content {
    justify-content: space-between;
    min-width: 0;
    width: 100%;
  }
}
/* ==========================================================
   06. OBRAZY I ROZWIJANA TREŚĆ
   ========================================================== */

.melex-image {
  overflow: hidden;
  position: relative;
}
.melex-image:before {
  background: rgba(0, 0, 0, 0.4);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.melex-content .tabela.tabela-simple {
  overflow-x: visible;
}
.melex-content .tabela.tabela-simple table {
  min-width: 0;
  width: 100%;
}
.melex-content .tabela.tabela-simple td,
.melex-content .tabela.tabela-simple th {
  white-space: normal;
}
.melex-content .tabela.tabela-simple td:first-child,
.melex-content .tabela.tabela-simple th:first-child {
  left: auto;
  min-width: 0;
  position: static;
  white-space: normal;
  z-index: auto;
}
.melex-content .tabela {
  margin: 30px 0;
  width: 100%;
}
.melex-content .tabela-scroll-main,
.melex-content .tabela-scroll-top {
  overflow-x: auto;
  width: 100%;
}
.melex-content .tabela-scroll-top {
  margin-bottom: 8px;
}
.melex-content .tabela-scroll-top-inner {
  height: 1px;
}
.melex-content .tabela table {
  border-collapse: collapse;
  min-width: 100%;
  width: max-content;
}
.melex-content .tabela th {
  background: #ffc099;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.melex-content .tabela td,
.melex-content .tabela th {
  border: 1px solid #e5e5e5;
  padding: 16px;
  white-space: nowrap;
}
.melex-content .tabela td {
  color: #333;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  vertical-align: top;
}
.melex-content .tabela tbody tr:nth-child(2n) {
  background: #fafafa;
}
.melex-content .tabela tbody tr:hover {
  background: #fff4ed;
}
.melex-content .tabela td:first-child,
.melex-content .tabela th:first-child {
  background: #fff;
  left: 0;
  min-width: 190px;
  position: sticky;
  white-space: normal;
  z-index: 3;
}
.melex-content .tabela th:first-child {
  background: #ffc099;
  z-index: 5;
}
.melex-content .tabela tbody tr:nth-child(2n) td:first-child {
  background: #fafafa;
}
.melex-content .tabela tbody tr:hover td:first-child {
  background: #fff4ed;
}
@media (max-width: 767px) {
  .melex-content .tabela td,
  .melex-content .tabela th {
    font-size: 13px;
    padding: 12px;
  }
  .melex-content .tabela td:first-child,
  .melex-content .tabela th:first-child {
    min-width: 160px;
  }
}
.melex-content .akordeon {
  margin: 0 0 15px;
}
.melex-content .akordeon details {
  background: #fff;
  border: 1px solid #e5e5e5;
}
.melex-content .akordeon summary {
  color: #111;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  padding: 14px 48px 14px 15px;
  position: relative;
  user-select: none;
}
.melex-content .akordeon summary::-webkit-details-marker {
  display: none;
}
.melex-content .akordeon summary:after {
  color: #737373;
  content: "+";
  font-size: 24px;
  font-weight: 400;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.melex-content .akordeon details[open] summary:after {
  content: "−";
}
.melex-content .akordeon-content {
  padding: 0 15px 15px;
}
.melex-content .akordeon-content p {
  margin: 0;
}
@media (max-width: 767px) {
  .melex-content .akordeon summary {
    font-size: 13px;
  }
}
/* ==========================================================
   07. GALERIA – POPUP
   ========================================================== */

.melex-popup-galeria {
  align-items: center;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 120px 40px 40px;
  position: fixed;
  z-index: 999999;
}
.melex-popup-galeria.active {
  display: flex;
}
.melex-popup-galeria-box {
  display: inline-block;
  position: relative;
}
.melex-popup-galeria img {
  display: block;
  max-height: 78vh;
  max-width: 92vw;
  object-fit: contain;
}
.melex-popup-galeria-close {
  background: #ffa670;
  border: none;
  color: #000;
  cursor: pointer;
  font-size: 34px;
  height: 48px;
  line-height: 1;
  position: absolute;
  right: 0;
  top: -68px;
  transition: 0.25s ease;
  width: 48px;
  z-index: 100;
}
.melex-popup-galeria-close:hover {
  background: #ffc099;
}
.melex-popup-galeria-nav {
  display: flex;
  gap: 14px;
  left: 0;
  position: absolute;
  top: -68px;
  z-index: 100;
}
.melex-popup-galeria-next,
.melex-popup-galeria-prev {
  background: #ffa670;
  border: none;
  cursor: pointer;
  display: block;
  font-size: 0;
  height: 48px;
  line-height: 0;
  padding: 0;
  position: relative;
  transition: 0.25s ease;
  width: 48px;
}
.melex-popup-galeria-next:hover,
.melex-popup-galeria-prev:hover {
  background: #ffc099;
}
.melex-popup-galeria-next:before,
.melex-popup-galeria-prev:before {
  border-right: 2px solid #000;
  border-top: 2px solid #000;
  content: "";
  height: 13px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 13px;
}
.melex-popup-galeria-prev:before {
  transform: translate(-35%, -50%) rotate(-135deg);
}
.melex-popup-galeria-next:before {
  transform: translate(-65%, -50%) rotate(45deg);
}
@media (max-width: 767px) {
  .melex-popup-galeria {
    padding: 95px 12px 25px;
  }
  .melex-popup-galeria img {
    max-height: 76vh;
    max-width: 94vw;
  }
  .melex-popup-galeria-close,
  .melex-popup-galeria-nav {
    top: -64px;
  }
  .melex-popup-galeria-nav {
    gap: 10px;
    left: 0;
  }
  .melex-popup-galeria-close {
    right: 0;
  }
  .melex-popup-galeria-close,
  .melex-popup-galeria-next,
  .melex-popup-galeria-prev {
    height: 42px;
    width: 42px;
  }
}
/* ==========================================================
   08. SEKCJA IKON
   ========================================================== */

.melex-ikony {
  width: 100%;
}
.melex-ikony-header {
  margin-bottom: 30px;
  width: 100%;
}
.melex-ikony-header h2 {
  color: #6ee8d3;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 24px;
}
.melex-ikony-header .subtitle {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: -18px 0 25px;
}
.melex-ikony-header strong {
  color: #6ee8d3;
}
.melex-ikony-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.melex-ikony-header p {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 25px;
}
.melex-ikony-header p i {
  color: #6ee8d3;
  font-style: normal;
}
.melex-ikona {
  border: 1px solid #282828;
  box-sizing: border-box;
  height: 100%;
  padding: 35px 20px;
  text-align: center;
}
.melex-ikona:hover {
  border-color: #4acfb8;
}
.melex-ikona img {
  display: block;
  height: 72px;
  margin: 0 auto 22px;
  object-fit: contain;
  width: 72px;
}
.melex-ikona h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 12px;
}
.melex-ikona p {
  color: #999;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 980px) {
  .melex-ikony-grid {
    gap: 15px;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .melex-ikony {
    margin-top: 35px;
  }
  .melex-ikony-header {
    margin-bottom: 35px;
  }
  .melex-ikony .melex-ikony-header h2 {
    font-size: 20px;
    line-height: 1.3;
  }
  .melex-ikony-header .subtitle {
    font-size: 15px;
  }
  .melex-ikony-header p {
    font-size: 14px;
  }
  .melex-ikony-grid {
    border: none;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, 1fr);
  }
  .melex-ikona {
    border: none;
    box-sizing: border-box;
    padding: 25px 15px;
  }
  .melex-ikona:nth-child(odd) {
    border-right: 1px solid #282828;
  }
  .melex-ikona:nth-child(-n + 4) {
    border-bottom: 1px solid #282828;
  }
  .melex-ikona img {
    height: 60px;
    margin-bottom: 18px;
    width: 60px;
  }
  .melex-ikona h5 {
    font-size: 14px;
  }
  .melex-ikona p {
    font-size: 13px;
  }
}
/* ==========================================================
   09. OFERTA, MODELE I ZAKŁADKI
   ========================================================== */

.melex-oferta {
  background: #fff;
  color: #111;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}
.tensi-melex-embed-wrap .grid-container {
  padding-left: 0;
  padding-right: 0;
}
.melex-oferta .header {
  margin-bottom: 45px;
  width: 100%;
}
.melex-oferta .header h2 {
  color: #000;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 24px;
}
.melex-oferta .subtitle {
  color: #ffa670;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: -18px 0 25px;
}
.melex-oferta .content {
  width: 100%;
}
.melex-oferta .content .title.text-center,
.melex-oferta .content h1,
.melex-oferta .content h1.title {
  display: none;
  font-size: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
}
.melex-oferta .content h2 {
  color: #000;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 35px 0 12px;
}
.melex-oferta .content p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}
.melex-oferta .element-items .grid-x {
  align-items: start;
  display: grid;
  gap: 45px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.melex-oferta .element-items .cell {
  box-sizing: border-box;
  float: none;
  max-width: none;
  padding: 0;
  text-align: center;
  width: auto;
}
.melex-oferta .ElementVehicleModel {
  text-align: center;
}
.melex-oferta .image {
  margin-bottom: 22px;
  overflow: hidden;
}
.melex-oferta picture {
  display: block;
}
.melex-oferta .image img {
  display: block;
  filter: none;
  height: auto;
  margin: 0 auto;
  max-width: 320px;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.4s ease;
  width: 100%;
}
.melex-oferta .image:hover img {
  transform: scale(1.1);
}
.melex-oferta .title,
.melex-oferta h3 {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 22px;
  text-align: center;
}
.melex-oferta .link-block {
  color: inherit;
  display: block;
  text-decoration: none;
}
.melex-oferta .button-group {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.melex-oferta .button {
  background: #ffc099;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  color: #000;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  gap: 18px;
  letter-spacing: 0.6px;
  max-width: none;
  min-width: auto;
  padding: 0 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.25s ease;
  white-space: nowrap;
  width: auto;
}
.melex-oferta .button,
.melex-oferta .button:after {
  align-items: center;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  line-height: 40px;
}
.melex-oferta .button:after {
  content: "⟶";
  font-size: 20px;
  font-weight: 700;
  transform: translateY(-1px);
}
.melex-oferta .button:hover {
  background: #ffa670;
  color: #000;
}
.melex-oferta .content h2.title,
.melex-oferta .content > .element .content > h2.title {
  color: #737373;
}
.melex-oferta .content h3.title,
.melex-oferta .content h3.title.h4 {
  color: #ffa670;
}
@media (max-width: 980px) {
  .melex-oferta .element-items .grid-x {
    gap: 40px 35px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .melex-oferta {
    max-width: 100%;
    padding: 0;
  }
  .melex-oferta .header {
    margin-bottom: 38px;
  }
  .melex-oferta .header h2 {
    font-size: 28px;
    letter-spacing: -1px;
    line-height: 1.3;
    margin-bottom: 22px;
  }
  .melex-oferta .subtitle {
    font-size: 15px;
    line-height: 1.35;
    margin: -14px 0 25px;
  }
  .melex-oferta .image {
    margin-bottom: 22px;
  }
  .melex-oferta .image img {
    max-width: 330px;
  }
  .melex-oferta .element-items {
    overflow: hidden;
    position: relative;
  }
  .melex-oferta .element-items .grid-x {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    padding: 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .melex-oferta .element-items .grid-x::-webkit-scrollbar {
    display: none;
  }
  .melex-oferta .element-items .cell {
    box-sizing: border-box;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 20px 35px;
    scroll-snap-align: start;
    width: 100%;
  }
  .melex-oferta .ElementVehicleModel {
    position: relative;
    text-align: center;
  }
  .melex-oferta .content h3.title,
  .melex-oferta .content h3.title.h4,
  .melex-oferta .title,
  .melex-oferta h3 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 22px;
  }
  .melex-oferta .button-group {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: center;
    margin-top: 18px;
    width: 100%;
  }
  .melex-oferta .button {
    font-size: 11px;
    gap: 14px;
    height: 40px;
    line-height: 40px;
    max-width: none;
    min-width: auto;
    padding: 0 20px;
    white-space: nowrap;
    width: auto;
  }
  .melex-oferta .button:after {
    font-size: 19px;
    height: 40px;
    line-height: 40px;
    transform: translateY(-1px);
  }
  .melex-oferta .melex-carousel-arrow {
    align-items: center;
    background: #ffa670;
    border: 0;
    border-radius: 0;
    color: #000;
    cursor: pointer;
    display: flex;
    font-size: 26px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    text-align: center;
    top: 20px;
    transform: translateY(-50%);
    width: 40px;
    z-index: 30;
  }
  .melex-oferta .melex-carousel-prev {
    left: 20px;
  }
  .melex-oferta .melex-carousel-next {
    right: 20px;
  }
}
.melex-oferta .melex-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 40px;
}
.melex-oferta .melex-tab {
  align-items: center;
  background: #fff;
  border: 1px solid #ffa670;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  height: 46px;
  justify-content: center;
  letter-spacing: 0.4px;
  line-height: 1;
  min-width: 150px;
  padding: 0 22px;
  transition: 0.25s ease;
}
.melex-oferta .melex-tab.active,
.melex-oferta .melex-tab:hover {
  background: #ffa670;
  color: #000;
}
.melex-oferta .ElementColumnsWideModelsSpecial {
  display: none;
}
.melex-oferta .ElementColumnsWideModelsSpecial.active {
  display: block;
}
.melex-oferta
  .ElementColumnsWideModelsSpecial.active
  .element-content
  h2.title {
  display: none;
}
.melex-oferta .ElementColumnsWideModelsSpecial.active .element-content {
  margin-bottom: 25px;
}
@media (max-width: 600px) {
  .melex-oferta .melex-tabs {
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .melex-oferta .melex-tabs::-webkit-scrollbar {
    display: none;
  }
  .melex-oferta .melex-tab {
    flex: 0 0 auto;
    font-size: 13px;
    height: 42px;
    min-width: auto;
    padding: 0 18px;
  }
}
/* ==========================================================
   10. MAŁY NAGŁÓWEK I OKRUSZKI
   ========================================================== */

.melex-head.melex-head-small .head-slide,
.melex-head.melex-head-small .head-slide-panel {
  height: 400px;
}
@media (max-width: 767px) {
  .melex-head.melex-head-small .head-slide,
  .melex-head.melex-head-small .head-slide-panel {
    height: 60vh;
    min-height: 60vh;
  }
}

.melex-head.melex-head-small .head-slide-content h1 {
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}
.melex-head.melex-head-small .melex-head-breadcrumbs {
  display: block;
  margin: 20px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}
.melex-head.melex-head-small .melex-head-breadcrumbs a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.melex-head.melex-head-small .melex-head-breadcrumbs a:hover {
  color: var(--main-color);
}
.melex-head.melex-head-small .melex-head-breadcrumbs strong {
  color: #fff;
  font-weight: 400;
}
.melex-head.melex-head-small .melex-head-breadcrumbs .sep-line {
  color: #f60;
  font-weight: 400;
}
@media (max-width: 767px) {
  .melex-head.melex-head-small .head-slide-content h1 {
    font-size: 38px;
  }
  .melex-head.melex-head-small .melex-head-breadcrumbs {
    font-size: 14px;
  }
}
.melex-head.melex-head-small .head-slide-bg {
  background-position: 50%;
}
/* ==========================================================
   11. LISTA CZĘŚCI I WYSZUKIWARKA
   ========================================================== */

.form-wyszukiwarka *,
.lista-czesci-wyniki *,
.pozostale-czesci-wrap *,
.custom-pagination * {
  box-sizing: border-box;
}

/* Wyszukiwarka */
.form-wyszukiwarka {
  width: 100%;
}

.form-wiersz {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.szukaj-input {
  width: 300px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 16px;
}

/* Przyciski wyszukiwarki */
.przyciski-wyszukiwarki {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}

.przyciski-wyszukiwarki .btn-szukaj-czesci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 166px;
  max-width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 20px;
  background: #ffc099;
  border: 0;
  border-radius: 0;
  color: #000;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.przyciski-wyszukiwarki .btn-szukaj-czesci::after {
  content: "⟶";
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.przyciski-wyszukiwarki .btn-szukaj-czesci:hover {
  background: #ffa670;
  color: #000;
}

/* Lista części */
.lista-czesci1602 {
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}

.lista-czesci1602 h3 {
  margin: 0;
}

.lista-czesci1602 h3 a {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.4;
  text-decoration: none;
}

.lista-czesci1602 h3 a:hover {
  color: #ff6000;
}

/* Numery katalogowe */
.lista-czesci-numery {
  color: #000;
  font-size: 14px;
  line-height: 1.6;
}

.lista-czesci-numery strong {
  font-weight: 700;
}

.lista-czesci-numery a {
  color: #ff6000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lista-czesci-numery a:hover {
  color: #d95000;
  text-decoration: underline;
}

.lista-czesci-wyszukiwarka + p {
  color: #fc4136;
}

/* Paginacja */
.custom-pagination {
  max-width: 100%;
}

.custom-pagination .page-numbers {
  color: #000;
  text-decoration: none;
}

.custom-pagination a.page-numbers:hover,
.custom-pagination .page-numbers.current {
  color: #ff6000;
}

/* Mobile */
@media (max-width: 768px) {
  .form-wiersz {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    min-width: 0;
  }

  .szukaj-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .przyciski-wyszukiwarki {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 0;
    padding: 0;
    box-sizing: border-box;
  }

  .przyciski-wyszukiwarki .btn-szukaj-czesci {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 10px;
    box-sizing: border-box;
    gap: 8px;
    font-size: 11px;
  }

  /* Jeden przycisk zajmuje cały wiersz */
  .przyciski-wyszukiwarki .btn-szukaj-czesci:only-child {
    grid-column: 1 / -1;
  }
}

/* ==========================================================
   13. STOPKA
   ========================================================== */

.proem-footer,
.proem-footer * {
  box-sizing: border-box;
}

.proem-footer {
  width: 100%;
  max-width: 100%;
}

.proem-footer-inner,
.proem-footer-bottom-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.proem-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  width: 100%;
  padding: 60px 0;
}

.proem-footer-column {
  min-width: 0;
}

.footer-widget-area {
  padding-top: 30px;
}

.proem-footer .footer_widget,
.proem-footer .widget,
.proem-footer .proem-footer-widget {
  margin: 0;
}

.proem-footer h5.widget-title,
.proem-footer .widget-title,
.proem-footer .proem-footer-title {
  margin-top: 0;
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
}

.proem-footer .footer_widget .menu,
.proem-footer .widget .menu,
.proem-footer .proem-footer-widget .menu,
.proem-footer .footer_widget ul,
.proem-footer .widget ul,
.proem-footer .proem-footer-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.proem-footer .footer_widget .menu li a,
.proem-footer .widget .menu li a,
.proem-footer .proem-footer-widget .menu li a,
.proem-footer .footer_widget ul a,
.proem-footer .widget ul a,
.proem-footer .proem-footer-widget ul a {
  line-height: 30px;
}

.proem-footer-accordion-title {
  cursor: default;
}

.proem-footer-accordion-content {
  display: block;
}

.proem-footer-bottom p {
  margin: 0;
  overflow-wrap: break-word;
}

/* ==========================================================
   13. STOPKA PROEM
   ========================================================== */

/* Główna konstrukcja */
.proem-footer,
.proem-footer * {
  box-sizing: border-box;
}

.proem-footer {
  width: 100%;
  max-width: 100%;
}

.proem-footer-main {
  width: 100%;
  background: #000;
  color: #fff;
}

.proem-footer-inner,
.proem-footer-bottom-inner {
  width: 100%;
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

/* Układ kolumn */
.proem-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  width: 100%;
  padding: 60px 0;
}

.proem-footer-column {
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Widgety */
.proem-footer-widget,
.proem-footer .widget,
.proem-footer .footer_widget {
  margin: 0 0 30px;
  padding: 0;
}

.proem-footer-widget:last-child,
.proem-footer .widget:last-child,
.proem-footer .footer_widget:last-child {
  margin-bottom: 0;
}

/* Nagłówki widgetów */
.proem-footer-title,
.proem-footer .widget-title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Tekst */
.proem-footer-main p,
.proem-footer-main li,
.proem-footer-main a {
  font-size: 14px;
}

.proem-footer-main p {
  margin: 0 0 12px;
  color: #ccc;
  line-height: 1.5;
}

.proem-footer-main p:last-child {
  margin-bottom: 0;
}

/* Listy i menu */
.proem-footer-main ul,
.proem-footer-main .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.proem-footer-main li,
.proem-footer-main .menu li {
  margin: 0 0 8px;
  padding: 0;
  line-height: 1.7;
}

.proem-footer-main li:last-child,
.proem-footer-main .menu li:last-child {
  margin-bottom: 0;
}

/* Linki głównej stopki */

.proem-footer-main a {
  color: #fff;
  line-height: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.proem-footer-main a:hover {
  color: #ffa670;
}

/* Akordeony są zawsze otwarte na desktopie */
.proem-footer-accordion-title {
  cursor: default;
}

.proem-footer-accordion-content {
  display: block;
}

/* Dolny biały pasek */

.proem-footer-bottom {
  width: 100%;
  background: #fff;
  color: #111;
}

.proem-footer-bottom-inner {
  padding-top: 20px;
  padding-bottom: 20px;
}

.proem-footer-bottom p {
  margin: 0;
  color: #111;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  overflow-wrap: break-word;
}

.proem-footer-bottom a {
  color: #111;
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.proem-footer-bottom a:hover {
  color: #ff6000;
}

@media (min-width: 1241px) {
  .proem-footer-inner,
  .proem-footer-bottom-inner {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 1240px) {
  .proem-footer-inner,
  .proem-footer-bottom-inner {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 767px) {
  .proem-footer {
    overflow-x: hidden;
  }

  /* Boczne odstępy całej stopki */
  .proem-footer-inner,
  .proem-footer-bottom-inner {
    width: 100%;
    max-width: 100%;
    padding-right: 25px;
    padding-left: 25px;
  }

  /* Jedna kolumna bez odstępów między widgetami */
  .proem-footer-grid {
    display: block;
    width: 100%;
    margin: 0;
    padding: 45px 0;
    gap: 0;
    row-gap: 0;
    column-gap: 0;
  }

  .proem-footer-column,
  .proem-footer-column-1,
  .proem-footer-column-2,
  .proem-footer-column-3 {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .proem-footer-widget,
  .proem-footer .widget,
  .proem-footer .footer_widget {
    margin: 0;
    padding: 0;
  }

  /* Tekst mobilny */
  .proem-footer-main p,
  .proem-footer-main li,
  .proem-footer-main a {
    font-size: 13px;
  }

  .proem-footer-main p {
    line-height: 1.5;
  }

  /* Zwykły nagłówek pierwszej kolumny */
  .proem-footer-column-1 .proem-footer-title,
  .proem-footer-column-1 .widget-title {
    margin: 0 0 20px;
    font-size: 16px;
  }

/* Tytuły widgetów kolumn 2 i 3 jako akordeony */
.proem-footer-column-2 .proem-footer-accordion-title,
.proem-footer-column-3 .proem-footer-accordion-title {
  position: relative;
  display: block;
  width: 100%;
  margin: 0px;
  padding: 10px 35px 16px 0;
  border: 0;
  border-top: 1px solid #444;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
}

  .menu-menustopka-container {margin-bottom:20px}
	
  .proem-footer-column-2 .proem-footer-accordion-title:focus,
  .proem-footer-column-3 .proem-footer-accordion-title:focus,
  .proem-footer-column-2 .proem-footer-accordion-title:focus-visible,
  .proem-footer-column-3 .proem-footer-accordion-title:focus-visible {
    outline: 0;
    box-shadow: none;
  }

  /* Strzałka w dół */
  .proem-footer-column-2 .proem-footer-accordion-title::after,
  .proem-footer-column-3 .proem-footer-accordion-title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s ease;
  }

  /* Strzałka w górę po otwarciu */
  .proem-footer-column-2
  .proem-footer-accordion-widget.is-open
  .proem-footer-accordion-title::after,
  .proem-footer-column-3
  .proem-footer-accordion-widget.is-open
  .proem-footer-accordion-title::after {
    transform: translateY(-30%) rotate(225deg);
  }

  /* Zamknięta zawartość */
  .proem-footer-column-2 .proem-footer-accordion-content,
  .proem-footer-column-3 .proem-footer-accordion-content {
    display: none;
    margin: 0;
    padding: 5px 0 15px;
  }

  /* Otwarta zawartość */
  .proem-footer-column-2
  .proem-footer-accordion-widget.is-open
  .proem-footer-accordion-content,
  .proem-footer-column-3
  .proem-footer-accordion-widget.is-open
  .proem-footer-accordion-content {
    display: block;
  }

  /* Dolny biały pasek */
  .proem-footer-bottom-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .proem-footer-bottom p {
    max-width: 100%;
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
}

/* ==========================================================
   14. ELEMENTY OGÓLNE I PAGINACJA
   ========================================================== */

.pss-step-number {
  background-color: #efefef;
}
.page-template-default #primary {
  padding-bottom: 0;
}
.blog-pagination {
  margin-top: 20px;
}
.blog-page-numbers li a,
.blog-page-numbers li a:hover,
.blog-page-numbers li.active a,
.blog-page-numbers li.disabled,
.page-links .post-page-numbers {
  width: 30px;
}

.custom-pagination .page-numbers {
  color: inherit;
  display: inline-block;
  font-size: 16px;
  margin: 0 10px;
  text-decoration: none;
}
.custom-pagination .page-numbers.current {
  color: #ff6405;
  font-weight: 700;
}
.custom-pagination .page-numbers:hover {
  color: #f60;
}
/* ==========================================================
   15. AKORDEON ROLL
   ========================================================== */

.roll1154 details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin: 10px 0;
}
.roll1154 details[open] {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.roll1154 summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  list-style: none;
  padding: 14px 18px;
}
.roll1154 summary::-webkit-details-marker {
  display: none;
}
.roll1154 summary:after {
  content: "+";
  font-weight: 700;
  margin-left: auto;
  transition: transform 0.2s ease;
}
.roll1154 details[open] summary:after {
  content: "–";
  transform: rotate(0deg);
}
.container section.roll1154 summary h3,
.roll1154 h3 {
  font-size: 16px;
  font-weight: 300;
  margin: 0;
}
.roll1154 details > div {
  line-height: 1.6;
  padding: 0 18px 16px;
}
@media (max-width: 767px) {
  .vc_grid-styled-select,
  .vc_grid-styled-select select {
    width: 100%;
  }
  .vc_grid-styled-select select {
    box-sizing: border-box;
    font-size: 16px;
    height: auto;
    padding: 10px;
  }
}
/* ==========================================================
   16. WIDOK POJEDYNCZEGO WPISU
   ========================================================== */

.single-post .entry-header.blog-header {
  padding-bottom: 0;
  padding-top: 0;
}
body.single.single-post #posts-content .container.single-post-content {
  padding-bottom: 0;
}
.container.single-post-content .meta-content {
  display: none;
}
.post.type-post.status-publish.format-standard.hentry.category-czesci-zamienne-do-pojazdow-elektrycznych {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  body.single.single-post #posts-content .vc_row.wpb_row.vc_row-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
  body.single.single-post #posts-content .vc_row.vc_row-flex {
    padding-left: 0;
    padding-right: 0;
  }
}
/* ==========================================================
   17. KROKI, OBRAMOWANIA I WIDEO
   ========================================================== */

.step-text h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 18px;
}
.step-text p {
  color: #111;
  font-size: 15px;
  font-weight: 400;
}
@media (max-width: 768px) {
  .step-text p {
    font-size: 13px;
  }
  .melex-sz {
    border-bottom: 1px solid #cfcfcf;
  }
}

.melex-w {
  border-bottom: 1px solid #fff;
}

.tensi-lazy-video {
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.tensi-lazy-video iframe,
.tensi-lazy-video video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
/* ==========================================================
   18. LINKI I GTRANSLATE
   ========================================================== */

a:not(.wp-element-button) {
  text-decoration: none;
}
a.glink.gt_switcher-popup img {
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.gtranslate_wrapper .gt_switcher-popup.glink span {
  display: none;
}
a.glink img {
  opacity: 1;
}
.gt_languages .glink.nturl {
  color: #212121;
}
.gt_languages .glink.nturl img {
  margin-right: 5px;
}
.et_pb_text_inner .glink img {
  height: 30px;
  width: 30px;
}
.gt_languages a.glink span {
  font-size: 14px;
}

/* ==========================================================
   19. CCM – WYŚRODKOWANE OKNO i MENU MOBILNE DOLNE
   ========================================================== */

.cky-consent-container {
  position: fixed !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  width: calc(100% - 32px) !important;
  max-width: 440px !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999 !important;
}

.cky-consent-container .cky-consent-bar {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.cky-consent-container,
.cky-modal,
.cky-consent-container * {
  font-family: "Montserrat", sans-serif !important;
}

.fbmm-menu {
  height: auto !important;
}

.fbmm-menu a:has(> .fbmm-icon-item) {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fbmm-menu .gt_switcher-popup {
  display: flex;
  align-items: center;
  gap: 7px;
}

