/* OLD PRODUCT CARD LAYOUT DELETE WHEN DONE */
.product-layout {
  margin-bottom: 10px;
  float: none;
  min-width: 0;
}
.product-layout-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
}
/*
.product-layout-row .product-layout {
  flex-basis: calc(100% / 6);
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box;
}
*/
.col-6 {
  flex-basis: calc(100% / 6);
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box;
}
.col-5 {
  flex-basis: calc(100% / 4);
  padding-left: 5px;
  padding-right: 5px;
  justify-content: space-between;
  box-sizing: border-box;
}
.col-4 {
  flex-basis: calc(100% / 4);
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box;
}
.product-extension-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-left: -5px;
  margin-right: -5px;
}
.product-extension-row .product-layout {
  flex-basis: calc(100% / 6);
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box;
}
.product-extension-row .product-thumb {
  flex-direction: column;
}
/*
.product-extension-row .product-thumb--info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
}
*/

/* Make only .product-layout children inside product-extension-row equal width */
.product-extension-row .product-layout {
  padding-left: 5px;
  padding-right: 5px;
}
.product-list {
  width: 100%; /* overwrite all bootstrap cols */
}
.product-thumb {
  /*added by me*/
  display: flex;
  height: 100%;
  /*added by me*/
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 6px;
  position: relative;
  background: #fff;
  margin: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
  transition: box-shadow .2s ease;
  overflow: hidden;
}

.product-grid .product-thumb {
  flex-direction: column;
}

.product-thumb:hover {
  border: 1px solid rgba(0,0,0,.086);
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
  box-shadow: 0 5px 5px rgba(0,0,0,.1);
  box-shadow: 3px 3px 15px 0px rgba(0,0,0,.15);
  z-index: 2;
  /*height: auto;*/
}


/* effect with change height of card container */
@media (min-width: 1200px) {
  
  .product-layout.product-grid.grid-hover-effect .product-thumb:hover {
    position: relative;
    margin-bottom: 20px; /* button height + margin-top of it */
    /* it is possible to add new elements and then it is necessary to take in account also their fixed height */
  }
}

.product-thumb--image {
  text-align: center;
  margin: 0;
  margin-bottom: 10px;
}

.product-thumb--image.-has-margins {
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  
  margin-bottom: 5px;
}

.product-list .product-thumb--image {
  float: left;
  width: 100px;
  margin-right: 10px;
}

.product-list .product-thumb--image.-has-margins {
  margin-bottom: 10px;
}

@media (min-width: 1200px) {
  .product-list .product-thumb--image {
    width: 260px;
    margin-bottom: 0;
  }
  .product-list .product-thumb--image.-has-margins {
    width: 210px;
  }
}

.product-thumb--image a {
  display: block;
  transition: all .2s ease;
}
.product-thumb:hover .product-thumb--image a {
  opacity: 0.9;
  
}
.product-thumb--image img {
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
}

.product-thumb--image.-has-margins img {
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .product-list .product-thumb .image {
    float: left;
    padding: 0 5px;
  }
}

.product-thumb--wishlist, .product-thumb--compare {
  display: block;
  color: #8a8a90;
  border: 1px solid rgba(200, 200, 200, .8);
  border: 1px solid #8a8a90;
  text-align: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: all .25s ease;
  opacity: 0.5;
}

.product-thumb:hover .product-thumb--wishlist, .product-thumb:hover .product-thumb--compare {
  opacity: 1;
}

.product-thumb--wishlist:hover, .product-thumb--compare:hover {
  color: #0056b3;
  border: 1px solid #415F69;
  cursor: pointer;
}

.product-thumb--wishlist .fa, .product-thumb--compare .fa {
  /*line-height: 32px;*/
  font-weight: bolder;
}

.product-thumb--wishlist .fa {
  color: red;
}

.product-thumb--compare .fa {
  color: green;
}

.product-list .product-thumb--wishlist, .product-list .product-thumb--compare {
  margin-right: 5px;
  float: left;
  margin-top: 3px;
}

.product-thumb--info {
  /* never set position for .product-thumb--info - compare & wishlist dependency */
}

.product-list .product-thumb--info {
  float: left;
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  width: calc(100% - 100px - 10px - 10px - 10px);
}

@media (min-width: 1200px) {
  .product-list .product-thumb--info {
    width: calc(100% - 260px - 10px - 10px - 10px);
  }
  
  .product-list .product-thumb--image.-has-margins + .product-list .product-thumb--info {
    width: calc(100% - 210px - 10px - 10px - 10px);
  }
}

.product-grid .product-thumb--info {
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
  /*added by me*/
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /*added by me*/
}


.product-thumb--rating {
  padding-bottom: 8px;
}

.product-thumb--rating .fa-stack {
  /*font-size: 12px;*/
  width: 12px;
  height: 12px;
}

.product-thumb--rating .fa-star {
  color: #ffdb00;
  font-size: 12px;
}

.product-thumb--rating .fa-star-o {
  color: #ffdb00;
  font-size: 12px;
}
.product-thumb--name {
  line-height: 16px;
  margin-bottom: 5px;
  max-height: 78px;
  overflow: hidden;
}
.product-thumb--name, .product-thumb--name a {
  color: #373737;
  font-weight: 600;
}
.product-thumb--name:hover, .product-thumb--name a:hover {
  color: #373737;
}
a.product-thumb--name {
  display: block;
 }
.product-thumb--description {
  font-size: 12px;
  line-height: 14px;
}
.product-thumb--footer {
  margin-top: auto; /* mt-auto - Pushes this content to the bottom of the flex container */
}
.product-thumb--buttons {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}


@media (min-width: 768px) {
  .product-thumb--name {
    line-height: 14px;
    max-height: 60px;
    overflow: hidden;
  }
  
  .product-thumb--description {
    font-size: 14px;
  }
}


@media (min-width: 1500px) {
  .product-thumb--name {
    font-size: 12px;
    max-height: 64px;
    overflow: hidden;
  }
  
  .product-thumb--description {
    /*font-size: 16px;*/
    max-height: 56px;
    overflow: hidden;
  }
}

.product-thumb .price {
  margin: 5px 0;
}

.product-thumb .price-value {
  color: #444;
  font-size: 18px;
  line-height: 1; /* in 1 string */
  /*color: var(--color-primary);*/
}

.product-thumb .price-new {
  font-size: 18px;
  line-height: 1; /* in 1 string */
  font-weight: 600;
  color: #ef3434;
}
.product-thumb .price-old {
  color: #999;
  /*text-decoration: line-through;*/
  margin-right: 10px;
}

.price-old {
  position: relative;
}

.price-old:before {
	content: "";
  display: inline-block;
	border-bottom: 1px solid #ef3434;
	position: absolute;
	width: 120%;
	height: 50%;
  left: -10%;
  top: 1px;
	transform: rotate(-15deg);
}
/*.product-thumb .price-old:after {
	content: "";
  display: inline-block;
	border-bottom: 2px solid #ef3434;
	position: absolute;
	width: 120%;
	height: 50%;
  left: -7%;
  top: 1px;
	transform: rotate(15deg);
}*/

.product-thumb .price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}


@media (min-width: 1200px) {
  .product-grid.grid-hover-effect .-grid-hover-effect-hidden {
    display: none;
    margin-top: 10px;
    opacity: 0;
    /*transition: all .25s ease;*/
  }
  
  .product-grid.grid-hover-effect .product-thumb:hover .-grid-hover-effect-hidden {
    opacity: 1;
    display: block;
  }
}

.product-list .product-thumb--button-buy {
  margin-right: 10px;
  float: left;
}

.product-grid .product-thumb--button-buy {
  /*width: 100%;*/
}
/* OLD PRODUCT CARD LAYOUT DELETE WHEN DONE */

/* SWIPER LAYOUT WILL GO HERE */
.product-carousel.swiper-viewport {
  padding-bottom: 25px;
	margin: 0;
  background: none;
  z-index: 1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  position: relative;
  overflow: visible;
}
.product-carousel.swiper-slide {
  display: flex;
  height: auto;
}
.product-carousel--container {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  container-type: inline-size;
  position: relative;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow .2s ease;
  overflow: hidden;
}
.product-carousel--container:hover {
  border: 1px solid rgba(0,0,0,.086);
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
  box-shadow: 0 5px 5px rgba(0,0,0,.1);
  box-shadow: 3px 3px 15px 0px rgba(0,0,0,.15);
  z-index: 2;
}
@media (min-width: 992px) {
  .product-carousel--grid {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .product-carousel--grid > .product-carousel--container {
    flex: 0 0 calc(16.666% - 8.34px);
    box-sizing: border-box;
  }
}
@media (max-width: 991px) {
  .product-carousel--grid > .product-carousel--container {
    flex-basis: calc(33% - 5px);
  }
}
@media (max-width: 576px) {
  .product-carousel--grid > .product-carousel--container {
    flex-basis: calc(50% - 5px);
    box-sizing: border-box;
  }
}
.product-carousel--image img {
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
}
.product-carousel--model-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 5px;
  font-size: 10px;
  background-color: #5c8bb4;
  color: #fff;
}
.product-carousel--model-brand .model-label,.brand-label {
  font-weight: bold;
}
.product-carousel--model-brand > span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
}
.product-carousel--model-brand span,
.product-carousel--model-brand a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.product-carousel--model-brand a {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

@container (max-width: 210px) {
  .product-carousel--model-brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-carousel--model-brand > span {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2px;
    order: 0;
  }
  .product-carousel--model-brand a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
.product-carousel--info {
  flex-grow: 1;
  /*margin: 10px;*/
  padding: 10px;
}
.product-carousel--name {
  line-height: 16px;
  margin-bottom: 5px;
  max-height: 78px;
  overflow: hidden;
}
.product-carousel--name, .product-carousel--name a {
  color: #373737;
  font-weight: 600;
}
.product-carousel--name:hover, .product-carousel--name a:hover {
  color: #373737;
}
a.product-carousel--name {
  display: block;
}
.product-carousel--description {
  font-size: 12px;
  line-height: 14px;
}
@media (min-width: 768px) {
  .product-carousel--name {
    line-height: 14px;
    max-height: 60px;
    overflow: hidden;
  }
  .product-carousel--description {
    font-size: 14px;
  }
}
@media (min-width: 1500px) {
  .product-carousel--name {
    font-size: 12px;
    max-height: 64px;
    overflow: hidden;
  }
  .product-carousel--description {
    max-height: 56px;
    overflow: hidden;
  }
}
.product-carousel--footer {
  padding: 10px;
  /*margin: 10px;*/
  margin-top: auto;
}
.product-carousel--price {
  margin: 5px 0;
}
.product-layout .price-value {
  color: #444;
  font-size: 18px;
  line-height: 1;
}
.product-layout .price-new {
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  color: #ef3434;
}
.product-layout .price-old {
  color: #999;
  margin-right: 10px;
}
.price-old {
  position: relative;
}
.product-carousel--buttons {
  display: flex;
  gap: 5px;
  width: 100%;
  align-items: stretch;
}
.product-carousel--button-buy {
  flex: 1 1 0;
  width: 100%;
  padding: 6px 8px;
  font-size: 12px;
}
@media (min-width: 768px) {
  .product-carousel--button-buy {
    padding: 5px 10px;
    font-size: 12px;
  }
}
.product-carousel--wishlist, .product-carousel--compare {
  display: block;
  color: #333;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  text-align: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  transition: all .25s ease;
  opacity: 1;
}
@container (max-width: 185px) {
  .product-carousel--buttons {
    flex-wrap: wrap;
  }
  .product-carousel--button-buy {
    order: 1;
    flex: 0 0 100%;
  }
  .product-carousel--wishlist,
  .product-carousel--compare {
    order: 2;
    flex: 1 1 calc(50% - 2.5px);
    width: auto;
  }
}
.product-carousel--container:hover .product-carousel--wishlist, .product-carousel--container:hover .product-carousel--compare {
  opacity: 1;
}
.product-carousel--wishlist:hover, .product-carousel--compare:hover {
  color: #0056b3;
  border: 1px solid #415F69;
  cursor: pointer;
}
.product-carousel--wishlist .fa, .product-carousel--compare .fa {
  font-weight: bolder;
  font-size: 14px;
  line-height: 1.5;
}
.product-carousel--wishlist .fa {
  color: red;
}
.product-carousel--compare .fa {
  color: green;
}
.product-list .product-carousel--wishlist, .product-list .product-carousel--compare {
  margin-right: 5px;
  float: left;
  margin-top: 3px;
}
/* SWIPER LAYOUT WILL GO HERE */

/* NEW PRODUCT CARD LAYOUT DO NOT MODIFY */
/* Grid Layout CSS */
.product-layout--grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.product-layout--container {
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  position: relative;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow .2s ease;
  overflow: hidden;
}
.product-layout--container:hover {
  border: 1px solid rgba(0,0,0,.086);
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
  box-shadow: 0 5px 5px rgba(0,0,0,.1);
  box-shadow: 3px 3px 15px 0px rgba(0,0,0,.15);
  z-index: 2;
}
@media (min-width: 992px) {
  .product-layout--grid {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .product-layout--grid > .product-layout--container {
    flex: 0 0 calc(16.666% - 8.34px);
    box-sizing: border-box;
  }
}
@media (max-width: 991px) {
  .product-layout--grid > .product-layout--container {
    flex-basis: calc(33% - 5px);
  }
}
@media (max-width: 576px) {
  .product-layout--grid > .product-layout--container {
    flex-basis: calc(50% - 5px);
    box-sizing: border-box;
  }
}
.product-layout--image img {
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
}
.product-layout--model-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 5px;
  font-size: 10px;
  background-color: #5c8bb4;
  color: #fff;
}
.product-layout--model-brand .model-label,.brand-label {
  font-weight: bold;
}
.product-layout--model-brand > span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
}
.product-layout--model-brand span,
.product-layout--model-brand a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.product-layout--model-brand a {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

@container (max-width: 210px) {
  .product-layout--model-brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-layout--model-brand > span {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2px;
    order: 0;
  }
  .product-layout--model-brand a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
.product-layout--info {
  margin: 10px;
}
.product-layout--name {
  line-height: 16px;
  margin-bottom: 5px;
  max-height: 78px;
  overflow: hidden;
}
.product-layout--name, .product-layout--name a {
  color: #373737;
  font-weight: 600;
}
.product-layout--name:hover, .product-layout--name a:hover {
  color: #373737;
}
a.product-layout--name {
  display: block;
}
.product-layout--description {
  font-size: 12px;
  line-height: 14px;
}
@media (min-width: 768px) {
  .product-layout--name {
    line-height: 14px;
    max-height: 60px;
    overflow: hidden;
  }
  .product-layout--description {
    font-size: 14px;
  }
}
@media (min-width: 1500px) {
  .product-layout--name {
    font-size: 12px;
    max-height: 64px;
    overflow: hidden;
  }
  .product-layout--description {
    max-height: 56px;
    overflow: hidden;
  }
}
.product-layout--footer {
  margin: 10px;
  margin-top: auto;
}
.product-layout--price {
  margin: 5px 0;
}
.product-layout .price-value {
  color: #444;
  font-size: 18px;
  line-height: 1;
}
.product-layout .price-new {
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  color: #ef3434;
}
.product-layout .price-old {
  color: #999;
  margin-right: 10px;
}
.price-old {
  position: relative;
}
.product-layout--buttons {
  display: flex;
  gap: 5px;
  width: 100%;
  align-items: stretch;
}
.product-layout--button-buy {
  flex: 1 1 0;
  width: 100%;
  padding: 6px 8px;
  font-size: 12px;
}
@media (min-width: 768px) {
  .product-layout--button-buy {
    padding: 5px 10px;
    font-size: 12px;
  }
}
.product-layout--wishlist, .product-layout--compare {
  display: block;
  color: #333;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  text-align: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  transition: all .25s ease;
  opacity: 1;
}
@container (max-width: 185px) {
  .product-layout--buttons {
    flex-wrap: wrap;
  }
  .product-layout--button-buy {
    order: 1;
    flex: 0 0 100%;
  }
  .product-layout--wishlist,
  .product-layout--compare {
    order: 2;
    flex: 1 1 calc(50% - 2.5px);
    width: auto;
  }
}
.product-layout--container:hover .product-layout--wishlist, .product-layout--container:hover .product-layout--compare {
  opacity: 1;
}
.product-layout--wishlist:hover, .product-layout--compare:hover {
  color: #0056b3;
  border: 1px solid #415F69;
  cursor: pointer;
}
.product-layout--wishlist .fa, .product-layout--compare .fa {
  font-weight: bolder;
  font-size: 14px;
  line-height: 1.5;
}
.product-layout--wishlist .fa {
  color: red;
}
.product-layout--compare .fa {
  color: green;
}
.product-list .product-layout--wishlist, .product-list .product-layout--compare {
  margin-right: 5px;
  float: left;
  margin-top: 3px;
}
/* Compact Layout CSS */
.compact-recently-viewed {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}
.compact-layout {
  margin-bottom: 10px;
}
.compact-recently-viewed .compact-layout {
  display: flex;
  flex: 0 1 calc(20% - 8px); /* 5 items per row with 10px gap */
  min-width: 0;
  padding: 5px;
  border-radius: 6px;
  height: 100%;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
  transition: box-shadow .2s ease;
}
.compact-recently-viewed .compact-layout--image {
  position: relative;
  margin-right: 10px;
}
.compact-recently-viewed .compact-layout--image img {
  border-radius: 4px;
}
.compact-recently-viewed .quickview-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.compact-recently-viewed .compact-layout:hover .quickview-button {
  opacity: 1;
}
.compact-recently-viewed .btn-quickview {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background-color: #204565;
  color: #fff;
}
.compact-recently-viewed .btn-quickview:hover {
  background-color: #5c85a6;
  color: #ccc;
}
.compact-recently-viewed .compact-layout--button-group {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2px;
}
.compact-recently-viewed .compact-layout--button-group .btn {
  flex-shrink: 0;
  padding: 3px 5px;
  font-size: 11px;
  line-height: 1;
}
.compact-recently-viewed .compact-layout--button-group .btn i {
  color: #333;
  font-size: 11px;
}
.compact-recently-viewed .compact-layout--button-group .btn-cart:hover i {
  color: #204565;
}
.compact-recently-viewed .compact-layout--button-group .btn-wishlist:hover i {
  color: red;
}
.compact-recently-viewed .compact-layout--button-group .btn-compare:hover i {
  color: green;
}
.compact-recently-viewed .compact-layout--rating .fa-stack {
  font-size: 6px;
}
.compact-recently-viewed .compact-layout--name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: bold;
}
.compact-recently-viewed .compact-layout--info {
  min-width: 0;
  flex: 1;
}
@media (max-width: 991px) {
  .compact-recently-viewed {
    flex-direction: column;
  }
  .compact-recently-viewed .compact-layout {
    flex-direction: row;
    width: 100%;
  }
  .compact-recently-viewed .compact-layout--image {
    margin-right: 10px;
    margin-bottom: 0;
  }
  .compact-recently-viewed .compact-layout--image img {
    width: 70px;
    height: auto;
  }
}
@media (max-width: 767px) {
  .product-layout-row {
    margin-left: 0;
    margin-right: 0;
    gap: 10px;
  }
  .product-layout-row .product-layout {
    padding-left: 0;
    padding-right: 0;
    flex-basis: calc(50% - 5px);
  }
}
/* NEW PRODUCT CARD LAYOUT DO NOT MODIFY */
