@view-transition {
  navigation: auto;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fonts/cera/cera-thin.woff2") format("woff2"), url("../fonts/cera/cera-thin.woff") format("woff");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fonts/cera/cera-light.woff2") format("woff2"), url("../fonts/cera/cera-light.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fonts/cera/cera-regular.woff2") format("woff2"), url("../fonts/cera/cera-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fonts/cera/cera-medium.woff2") format("woff2"), url("../fonts/cera/cera-medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fonts/cera/cera-bold.woff2") format("woff2"), url("../fonts/cera/cera-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fonts/cera/cera-black.woff2") format("woff2"), url("../fonts/cera/cera-black.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}

:root {
  --font-normal: "CeraPro", sans-serif;
}

body {
  font-family: var(--font-normal);
  font-weight: 400;
}

h1,
h2,
h3 {
  font-weight: 700;
}

/* SOF CONTACT PAGE */
.nd-info-block .module-body {
  height: 250px;
  padding: 0 50px;
}

.nd-info-block .info-block {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.nd-info-block .info-block-title {
  margin-top: 0;
  padding-top: 0;
  line-height: 1.3;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  width: 200px;
}

/* responsive */ 
@media (max-width: 1200px) {
  .nd-info-block .module-body {
    height: auto;          
    padding: 30px 30px;
  }

  .nd-info-block .info-block {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .nd-info-block .module-body {
    padding: 20px 15px;
  }

  .nd-info-block .info-blocks-grid {
    flex-direction: column;
  }

  .nd-info-block .info-block {
    margin-bottom: 25px;
  }

  .nd-info-block .info-block-title {
    width: 100%;
    max-width: 260px;
  }
}
/* end of responsive */

/* EOF CONTACT PAGE */

/* SOF HOME PAGE */
/* Banners Grid Module */
.nd-banner.module-banners_grid .banners-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
  gap: 8px;
}

.nd-banner.module-banners_grid .module-item {
  height: auto !important;
  min-height: 0 !important;
  position: relative;
}

.nd-banner .module-item-1 {
  grid-column: 1;
  grid-row: span 2;
}

.nd-banner .module-item-2 {
  grid-column: 1;
  grid-row: span 4;
}

.nd-banner .module-item-3 {
  grid-column: 2;
  grid-row: span 4;
}

.nd-banner .module-item-4 {
  grid-column: 2;
  grid-row: span 2;
}

.nd-banner .module-item-5 {
  grid-column: 3;
  grid-row: span 2;
}

.nd-banner .module-item-6 {
  grid-column: 3;
  grid-row: span 4;
}
/* responsive */
/* 320px-430px */
@media (max-width: 430px) {
  .nd-banner.module-banners_grid .banners-wrapper {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 190px;
  }

  .nd-banner .module-item-1,
  .nd-banner .module-item-2,
  .nd-banner .module-item-3,
  .nd-banner .module-item-4,
  .nd-banner .module-item-5,
  .nd-banner .module-item-6 {
    grid-column: auto;
    grid-row: auto;
  }
}
@media (max-width: 375px) {
  .nd-banner.module-banners_grid .banners-wrapper {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 170px;
  }
}
@media (max-width: 320px) {
  .nd-banner.module-banners_grid .banners-wrapper {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 140px;
  }
}

/* eof 320px-430px */

/* end of responsive */

/* End Banners Grid Module */

/* giannakidis banner */
.nd-giannakidis-banner {
  display: flex;
  justify-content: center;
}

.nd-giannakidis-banner .module-item {
  width: 600px;
  height: 360px;
  overflow: hidden;
}

.nd-giannakidis-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .nd-giannakidis-banner .module-item {
    width: 560px;
    height: 360px;
  }
}

@media (max-width: 430px) {
  .nd-giannakidis-banner .module-item {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 375px) {
  .nd-giannakidis-banner .module-item {
    width: 310px;
    height: 280px;
  }
}

@media (max-width: 320px) {
  .nd-giannakidis-banner .module-item {
    width: 250px;
    height: 260px;
  }
}
/* end giannakidis banner */
/* Top bar Animation */
.j-menu .c--header-phones {
  display: none;
  opacity: 0;
  transition: opacity 400ms ease;
}

.menu-item.top-menu-item.top-menu-item-3.c--expand > a {
  cursor: pointer;
}

.j-menu .c--header-phones.visible {
  opacity: 1;
}

/* End Top bar Animation */
/* Make Model Search - Home Page */
.makes,
.models {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;

  a {
    background: #ffffff;
    border: solid;
    border-width: 2px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
  }
}

.makes a img {
  padding: 6px;
  box-sizing: border-box;
}

.makes a:hover,
.models a:hover,
.makes a:active,
.models a:active,
.makes a:focus,
.models a:focus {
  border-color: #e21c23;
  text-decoration: none !important;
  color: #373737 !important;
}

.makes.active,
.models.active {
  display: grid;
}

.models a {
  display: flex;
  justify-content: center;
}

/* responsive */
/* 1024px */ 
@media (max-width: 1024px) {
  .makes,
  .models {
    grid-template-columns: repeat(3, 1fr);
  }

  .makes a:nth-child(n+16),
  .models a:nth-child(n+16) {
    display: none;
  }
}
/* eof 1024px */

/* 430px */
@media (max-width: 430px) {
  .makes,
  .models {
    grid-template-columns: repeat(2, 1fr);
  }

  .makes a:nth-child(n+11),
  .models a:nth-child(n+11) {
    display: none;
  }
}
/* eof 430px  */

/* 320px */ 
@media (max-width: 320px) {
  .makes,
  .models {
    grid-template-columns: 1fr;
  }

  .makes a:nth-child(n+6),
  .models a:nth-child(n+6) {
    display: none;
  }
}
/* eof 320px */
/* eof responsive */
/* End Make Model Search - Home Page */

/* EOF HOME PAGE */

/* make-model search results */

.category-title {
  margin: 20px 0 30px;
}

.c--product-grid {
  gap: 10px;
  justify-content: center;
}

.c--product-grid .product-card {
  height: 100%;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow: hidden;
}

.product-card__image {
  text-align: center;
}

.product-card__image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.product-card__placeholder {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #999;
  font-size: 32px;
}

.product-card__body {
  padding: 6px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-card__title {
  font-size: 18px;
  margin: 0 0 6px;
  min-height: auto;
}

.product-card__title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* show 2 lines */
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.product-card__title a {
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 400;
}

.product-card__title a:hover,
.product-card__title a:active {
  color: #000 !important;
  text-decoration: none !important;
  opacity: 0.85;
}

.product-card__price {
  font-size: 24px;
  font-weight: bold;
  margin: 4px 0 10px;
}

.c--product-grid .product-layout {
  width: 320px;
}

.c--product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 320px);
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.main-products.product-grid.auto-grid.c--product-grid {
  --auto-grow-type: auto-fill !important;
}

.product-card__price-old {
  text-decoration: line-through;
  color: #999;
  margin-left: 5px;
}

.product-card__btn i {
  margin-inline-end: 8px;
}

.product-card__actions {
  margin-top: auto;
}

/*responsive*/

@media (min-width: 1024px) {
  .c--product-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    justify-content: start;
  }

  .c--product-grid .product-layout {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .c--product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }

  .c--product-grid .product-layout {
    width: 100%;
  }

  .c--product-grid.product-card {
    padding: 12px;
  }

  .product-card__image img {
    max-height: 220px;
    object-fit: contain;
  }

  .product-card__title {
    font-size: 15px;
  }

  .product-card__price {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .product-card__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .product-card__title {
    font-size: 16px;
  }

  .product-card__price {
    font-size: 20px;
  }
}

@media (max-width: 430px) {
  .product-card__title {
    font-size: 14px;
  }

  .product-card__price {
    font-size: 18px;
  }
}

@media (max-width: 320px) {
  .product-card__title {
    font-size: 12px;
  }

  .product-card__price {
    font-size: 16px;
  }
}

/*responsive*/

/* make-model search results */

/* SOF PRODUCT PAGE */

.nd-module-content .tabs a {
  font-size: 18px;
  color: #1c2021;
  text-decoration: none;
  cursor: pointer;
  padding: 10px;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.3s ease, color 0.3s ease;
}

.nd-module-content .tabs a:hover {
  color: #000;
  text-decoration: none;
  border-bottom-color: #e21c23;
}

.nd-tab-section h3 {
  font-size: 20px;
  }

#content .nd-tab-section {
  background-color: #fff;
  padding: 15px;
  margin-top: 40px;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid #EBEBF0;
  font-size: 14px;
  color: #070707;
}

#warranty p {
  margin: 0;
} 
/* responsive */
@media (max-width: 768px) {

  #content .nd-tab-section {
    margin-top: 12px;
  }

  .nd-module-content .tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

.nd-module-content .tabs a {
    width: 100%;
    font-size: 14px;
  }

    .nd-tab-section h3 {
    font-size: 18px;
  }

}
/* end of responsive

/* EOF PRODUCT PAGE */

/* SOF INFO PAGES */

#information-information.container {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 30px;
}

/* EOF INFO PAGES */

/* SOF PERFORMANCE */
.grid-row {
  contain: layout;

  &:has([data-lazy-render]) {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
  }
}
/* EOF PERFORMANCE */