.wide-carousel {
  max-height: 500px !important;
}
div#carousel {
  max-height: 500px !important;
  overflow: hidden;
}
.carousel-inner {
  max-height: 500px !important;
}
.carousel-inner > .item {
  max-height: 500px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-inner > .item a {
  max-height: 500px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.carousel-inner > .item a img {
  height: 500px;
  width: auto;
  min-width: 100%;
  object-fit: cover;
  object-position: center;
}

a.name span {
  font-size: 2rem;
  color: #333333 !important;
}

.product {
  border: 2px solid #e5e6e6;
}

.p-in {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price.price-final strong {
  color: #367c2a;
  font-weight: 700;
  font-size: 3rem;
  line-height: 3rem;
}

a.btn.btn-primary {
  background: #ffe400 !important;
  color: #000 !important;
  border: transparent;
  font-size: 1.6rem;
  font-weight: normal;
}

.p-bottom.single-button > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

p.p-desc {
  text-align: center;
  order: 1;
}

.prices {
  order: 2;
}

.p-tools {
  order: 3;
  margin-top: 15px;
}
.p-bottom-2 {
  width: 100% !important;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.product .p {
  padding: 15px;
}

.p-bottom-2 > span,
.p-bottom-2 > div {
  width: 100px;
}

/* Custom Owl Carousel Styling */
.custom-owl-carousel {
  position: relative;
}

.custom-owl-carousel .owl-stage-outer {
  overflow: hidden;
  position: relative;
}

/* Fog effect on sides */
.custom-owl-carousel .owl-stage-outer::before,
.custom-owl-carousel .owl-stage-outer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 5;
  pointer-events: none;
}

.custom-owl-carousel .owl-stage-outer::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.custom-owl-carousel .owl-stage-outer::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Product items and owl-item width control */
.custom-owl-carousel .owl-item {
  width: 280px !important;
}

.custom-owl-carousel .product {
  width: 280px !important;
  max-width: 280px !important;
  margin: 0 !important;
}

/* Navigation arrows */
.custom-owl-carousel .owl-nav {
  display: none;
}

/* Responsive - wider items on larger screens */
@media (min-width: 1440px) {
  .custom-owl-carousel .owl-item {
    width: 350px !important;
  }

  .custom-owl-carousel .product {
    width: 350px !important;
    max-width: 350px !important;
  }
}

@media (min-width: 1920px) {
  .custom-owl-carousel .owl-item {
    width: 400px !important;
  }

  .custom-owl-carousel .product {
    width: 400px !important;
    max-width: 400px !important;
  }

  .custom-owl-carousel .owl-stage-outer::before,
  .custom-owl-carousel .owl-stage-outer::after {
    width: 150px;
  }
}

@media (min-width: 2560px) {
  .custom-owl-carousel .owl-item {
    width: 500px !important;
  }

  .custom-owl-carousel .product {
    width: 500px !important;
    max-width: 500px !important;
  }

  .custom-owl-carousel .owl-stage-outer::before,
  .custom-owl-carousel .owl-stage-outer::after {
    width: 200px;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .custom-owl-carousel .owl-stage-outer::before,
  .custom-owl-carousel .owl-stage-outer::after {
    width: 50px;
  }

  .custom-owl-carousel .owl-nav button {
    padding: 10px 15px !important;
    font-size: 24px !important;
  }
}

/* Smooth dragging */
.custom-owl-carousel .owl-stage {
  display: flex !important;
}

.custom-owl-carousel.owl-drag .owl-item {
  cursor: grab;
}

.custom-owl-carousel.owl-grab .owl-item {
  cursor: grabbing;
}

.prices {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.price-wrapper {
  display: flex;
  flex-direction: column-reverse;
  width: auto;
}

.price-additional {
  color: #c4c4c4 !important;
}

span.price-standard strong {
  font-size: 0.8em;
  font-weight: 300;
  color: #b4b4b4;
  text-decoration: line-through;
}
.price-standard > span {
  text-decoration: none;
}
