.hcrev-section {
  position: relative;
}

.hcrev-swiper {
  overflow: visible;
}

.hcrev-card {
  border: 1px solid #D6D2CD;
  border-radius: 25px;
  padding: 16px;
  background: #fff;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  overflow: hidden;
}

.hcrev-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.hcrev-chip {
  background: #F0EDE9;
  border-radius: 15px;
  padding: 6px 20px;
  font-size: 12px;
  line-height: 14px;
  color: #ADA7A0;
  font-weight: 500;
}

.hcrev-stars {
  margin-right: auto;
  letter-spacing: -2px;
}

.hcrev-stars .star {
  color: #F0EDE9;
  font-size: 25px;
}

.hcrev-stars .star.on {
  color: #FF9100;
}

.hcrev-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #F0EDE9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hcrev-badge img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.hcrev-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  margin-top: 15px;
  margin-bottom: 16px;
  color: #000000;
  
}
/* OPIS */


.hcrev-content p {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: #000000;
  margin: 0px;
}


/* === Clamp treści opinii z przyciskiem === */
/* CLAMP + overlay z przyciskiem */
.hcrev-content { position: relative; }

.hcrev-content.hcrev-is-clamped {
  overflow: hidden;
  /* max-height ustawiamy inline w JS */
}

/* Nakładka z fade + przycisk – zawsze widoczna gdy clamped */
.hcrev-readmore-veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 12px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 60%);
  display: flex;
  justify-content: flex-start; /* zmień na flex-end jeśli wolisz po prawej */
  align-items: flex-end;
  pointer-events: none; /* tło nie przechwytuje klików */
  z-index: 1;
}

.hcrev-readmore-btn {
  pointer-events: auto; /* aktywny klik */
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  color: #FB9100;
}

.hcrev-readmore-btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
  border-radius: 3px;
}

/* === Modal z pełną opinią (unikatowe nazwy) === */
.hcrev-modal {
  position: fixed;
  inset: 0;
  z-index: 999999; /* ponad GLightbox/Swiper */
  display: none; /* pokazywany przez klasę --open */
}

.hcrev-modal--open {
  display: block;
}

.hcrev-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.hcrev-modal__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 32px));
  max-height: min(80vh, 960px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hcrev-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.hcrev-modal__title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin: 0;
}

.hcrev-modal__close {
  border: 1px solid #eee;
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;

      display: flex
;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
}
.hcrev-modal__close svg{
  width: 15px;
    height: auto;
}
.hcrev-modal__body {
  padding: 16px;
  overflow: auto;
}

.hcrev-modal__body p {
  font-size: 14px;
  line-height: 24px;
  margin: 0 0 12px 0;
}

/* blokada scrolla dokumentu gdy modal otwarty */
.hcrev--lock-scroll {
  overflow: hidden !important;
}



/* GALERIA */
.hcrev-gallery {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  margin-top: 25px;
  overflow-x: auto;
  
}
.hcrev-gallery a{
  flex: 0 0 84px;
}
.hcrev-gallery img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #eee;
}

.hcrev-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  cursor: pointer;
  z-index: 3;
}
.hcrev-gal-nav{
  display: none !important;
}
.hcrev-prev {
  left: -6px;
}

.hcrev-next {
  right: -6px;
}

.hcrev-nav::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.hcrev-prev::after {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 18l-6-6 6-6' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hcrev-next::after {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hcrev-dots {
  position: relative;
  margin-top: 12px;
}



.hcrev-section .swiper-slide{
    max-width: 332px;
    width: 100%;
}



