.icon {
    font-family:'FontAwesome';
    font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

.site-frame {
  width: 100%;
  max-width: 1920px;
  min-height: 100vh;
  margin: 0 auto;
  margin-inline: auto;
  border-inline: 0;
  outline: 1px solid #c8c8c8;
}

.site-header {
  width: 100%;
}

.utility-bar {
  min-height: 56px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(345px, 1fr) auto minmax(345px, 1fr);
  align-items: center;
  gap: 28px;
  border-bottom: 2px solid #111;
  background: #fff;
}

.contact-links,
.primary-nav,
.info-nav {
  display: flex;
  align-items: center;
}

.contact-links {
  gap: clamp(22px, 3.5vw, 64px);
}

.utility-link,
.primary-nav a,
.info-nav a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-size: 15px;
}

.utility-link,
.info-nav a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.utility-link i,
.info-nav i {
  font-size: 19px;
}

.primary-nav {
  justify-content: center;
  gap: clamp(26px, 4vw, 76px);
}

.info-nav {
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 34px);
}

.info-nav a {
  gap: 9px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 24px;
}

.main-header {
  min-height: 158px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.1fr) minmax(250px, 0.9fr);
  align-items: center;
  gap: 36px;
  background-color: #fff;
  background-image: url("images/fejlec_bg.jpg");
  background-position: center;
  background-size: cover;
  padding-left: 24px;    
  padding-right: 200px;    
}

.brand {
  width: min(220px, 100%);
  display: block;
  justify-self: start;
  align-self: center;      
    
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.main-header .brand {
  justify-self: start;
  align-self: center;
  margin: 0;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 24px;
}

.search-form input {
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 0 17px;
  border: 1px solid #111;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  font: italic 22px Arial, Helvetica, sans-serif;
}

.search-form input::placeholder {
  color: #333;
  opacity: 1;
}

.search-form button {
  flex: 0 0 auto;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 29px;
  cursor: pointer;
}

.cart-summary {
  min-height: 80px;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #111;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.96);
  color: inherit;
  text-decoration: none;
}

.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 39px;
}

.cart-count {
  position: absolute;
  top: -14px;
  right: -17px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f20d16;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
}

.cart-total {
  font-size: clamp(22px, 1.7vw, 30px);
  white-space: nowrap;
}

.site-main,
.site-footer {
  min-width: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-banner {
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin-inline: auto;
  overflow: hidden;
}

.hero-banner #slideshow {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-banner #slideshow img {
  display: block;
  object-fit: cover;
}

.brands {
    margin-left: 94px;
    margin-right: 94px;
    margin-top:50px;
    border-top: 1px solid #909fb1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding-top:40px;
    padding-bottom:40px;
}

.brands img {
    height: 70px;
    display: block;
}

.brands a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer {
    min-height:435px;
    background-image: url("images/footer_bg.png");
    background-repeat: no-repeat;
    background-position: right bottom;    
    border-top:2px solid #162840;   
}

.footer-row1 {
    display: grid;
    grid-template-columns: 1fr 0.8fr 2fr;    
    gap:50px;
    margin-top:40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_menu_title {
    font-size: 30px;    
    padding-bottom:40px;
    font-weight: bold;
}


.footer_menu_row {
    font-size: 22px;
    padding-bottom:30px;
    color: #000;    
}

.footer_menu_row a {
    text-decoration: none;
    color: #000;
    
}

.footer_right_row {
    display: grid;
    grid-template-columns: 0.8fr 0.9fr 2fr;    
    gap:20px;
    font-size: 22px;
    padding-bottom:30px;
    color: #000;      
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;    
    margin-top:40px;
    font-size:18px;
    margin-inline: 94px;
    border-top:2px solid #162840; 
    padding-top:15px;
}

.footer-bottom > :first-child {
  justify-self: start;
}

.footer-bottom > :last-child {
  justify-self: end;
}

.site_content {
    clear:both;
    margin: 45px 94px 45px 94px;
}

.content_title {
    padding-bottom:20px;
    font-size:30px;
    font-weight: bold;
    border-bottom:1px solid #dbdbdb;
}























@media (max-width: 1200px) {
  .utility-bar {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0 0 14px;
  }

  .utility-bar {
    padding-top: 12px;
  }

  .info-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .main-header {
    padding-inline: 4%;
    grid-template-columns: minmax(150px, 0.8fr) minmax(280px, 1.2fr) minmax(210px, 0.9fr);
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .utility-bar {
    min-height: 58px;
    padding: 0 16px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }


  .contact-links {
    gap: 16px;
  }

  .contact-links .utility-link {
    gap: 7px;
    font-size: 13px;
  }

  .contact-links .utility-link i {
    font-size: 16px;
  }

  .contact-links .utility-link:nth-child(2) span {
    display: none;
  }

  .primary-nav,
  .info-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-header {
    min-height: 0;
    padding: 18px 16px 20px;
    grid-template-columns: 1fr auto;
    gap: 18px 14px;
    background-position: center;
  }

  .brand {
    width: min(145px, 100%);
  }

  .cart-summary {
    min-height: 58px;
    padding: 8px 14px;
    gap: 12px;
  }

  .cart-icon-wrap {
    font-size: 29px;
  }

  .cart-count {
    top: -10px;
    right: -12px;
    width: 27px;
    height: 27px;
    font-size: 16px;
  }

  .cart-total {
    font-size: 18px;
  }

  .search-form {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 8px;
  }

  .search-form input {
    height: 48px;
    font-size: 18px;
  }

  .search-form button {
    font-size: 25px;
  }
}

@media (max-width: 380px) {
  .contact-links .utility-link:first-child span {
    font-size: 12px;
  }

  .cart-summary {
    padding-inline: 10px;
  }

  .cart-total {
    font-size: 16px;
  }
}



/* A fejléc 212 px magas, a háttér a két sáv mögött fut végig. */
html,
body {
  margin: 0;
  padding: 0;
}

.site-frame {
  margin: 0 auto;
}

.site-header {
  height: 212px;
  max-height: 212px;
  overflow: visible;
  background: #fff url("images/fejlec_bg.jpg") center center / 100% 100% no-repeat;
}

.utility-bar {
  height: 56px;
  min-height: 56px;
  background: transparent;
}

.main-header {
  height: 156px;
  min-height: 0;
  background: transparent;
}






@media (max-width: 1200px) {
  .utility-bar {
    height: 56px;
    min-height: 56px;
    padding: 0 20px;
    grid-template-columns: 1fr auto;
  }

  .primary-nav,
  .info-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .utility-bar {
    height: 56px;
    min-height: 56px;
    padding: 0 16px;
  }

  .main-header {
    height: 156px;
    min-height: 156px;
    padding: 10px 16px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 54px 52px;
    gap: 8px 14px;
  }
}

