.btn-brochures-container {
  position: relative;
  width: 100%;
  margin: 30px 0;
}
.btn-brochures {
  display: flex;
  gap: 10px;
  margin: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  transition: padding 0.3s ease;
}
/* Swipe styles when arrows are visible */
.btn-brochures.with-arrows {
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn-brochures.with-arrows:active {
  cursor: default;
}
/* Ensure no grab cursor when not scrollable */
.btn-brochures:not(.with-arrows) {
  cursor: default;
}
button#btn-nav-left {
  margin-left: -10px !important;
}
button#btn-nav-right {
  margin-right: -10px !important;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.btn-brochures::-webkit-scrollbar {
  display: none;
}
.btn-brochure {
  border: none;
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333F48;
  background: #ebebee;
  background-size: 100% 200%;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-brochure:hover {
  background: #333F48;
  color: #ffffff;
  cursor: pointer;
}
.btn-brochure.active {
  background: #00A7B5;
  color: #ffffff;
  text-shadow: .5px 0 0 currentColor;
  /* Creates bold effect without width change */
}
/* Navigation arrows */
.btn-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}
.btn-nav-arrow:hover {
  background: #333F48;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}
.btn-nav-arrow.visible {
  opacity: 1;
  visibility: visible;
}
.btn-nav-arrow.left {
  left: 0;
}
.btn-nav-arrow.right {
  right: 0;
}
.btn-nav-arrow svg {
  width: 16px;
  height: 16px;
  fill: #333F48;
}
.btn-nav-arrow:hover svg {
  fill: #ffffff;
}
.flipbooks {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
}
/* Responsive behavior */
@media (max-width: 768px) {
  .btn-nav-arrow {
    width: 36px;
    height: 36px;
  }
  .btn-nav-arrow svg {
    width: 18px;
    height: 18px;
  }
  .btn-brochures {
    justify-content: start;
  }
}
@media screen and (min-width: 1px) and (max-width: 375px) {
  .flipbooks iframe {
    height: 250px;
  }
}
@media screen and (min-width: 376px) and (max-width: 425px) {
  .flipbooks iframe {
    height: 300px;
  }
}
@media screen and (min-width: 426px) and (max-width: 767px) {
  .flipbooks iframe {
    height: 400px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .flipbooks iframe {
    height: 550px;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .flipbooks iframe {
    height: 600px;
  }
}
@media screen and (min-width: 1441px) and (max-width: 10000px) {
  .flipbooks iframe {
    height: 700px;
  }
}