/* HomeandSmart Deals Slider */
.hs-deals{
  position: relative;
  padding: 40px 0 32px;
}

.hs-deals__header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 10px;
}

.hs-deals__title{
  margin:0;
  font-size: 40px;
  line-height: 1.05;
  font-weight: normal;
  letter-spacing: .2px;
  color: #0b5673;
  font-family: 'Brandon Text Medium';
}

.hs-deals__btn {
  display:inline-flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  font-weight: normal;
  font-family: 'Brandon Text Regular';
  white-space: nowrap;
  padding: 10px 0px;
}

.hs-deals__rule{
  max-width: 1240px;
  margin: 0 auto 18px;
  padding: 0 32px;
  height: 2px;
  background: rgba(11, 86, 115, .85);
}

/* Carousel container */
.hs-deals__carousel{
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 22px;
    width: 100%;
  display: flex;
  overflow-x: auto;
  min-height: 240px;
}

  .hs-deals__carousel.flickity-enabled {
    display: block;
    overflow-x: visible;
  }


/* Flickity buttons */
.hs-deals .flickity-prev-next-button{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(140, 110, 92, .85);
  border: none;
}
.hs-deals .flickity-prev-next-button:hover{
  background: rgba(140, 110, 92, 1);
}
.hs-deals .flickity-prev-next-button .flickity-button-icon{
  fill: #fff;
}
.hs-deals .flickity-prev-next-button:disabled{
  opacity: .35;
}
.hs-deals .flickity-prev-next-button.previous{
  left: -40px;
}
.hs-deals .flickity-prev-next-button.next{
  right: -40px;
}

/* Cells: 4 visible on desktop */
.hs-deals__cell{
  width: 25%;
  padding: 0 10px;
  box-sizing: border-box;
}

.hs-deals__card{
  display:block;
  text-decoration:none;
  color: inherit;
}

.hs-deals__media{
  position:relative;
  border-radius: 0px;
  overflow:hidden;
  background:#e6e6e6;
  aspect-ratio: 16/9;
}

.hs-deals__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hs-deals__img--placeholder{
  width:100%;
  height:100%;
  background:#cfcfcf;
}

.hs-deals__badge{
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    background: #c94134;
    color: #fff;
    font-weight: normal;
    font-family: 'Brandon Text Medium';
    font-size: 14px;
    line-height: 1;
    padding: 8px 12px;
    border-radius: 10px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
}

.hs-deals__badge + img {
    border: 2px solid #c94134;
}

.hs-deals__card-title{
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: normal;
  font-family: 'Brandon Text Medium';
  color: rgba(140, 110, 92, 1);
}

@media (max-width: 1100px){
  .hs-deals__title{ font-size: 44px; }
  .hs-deals__card-title{ font-size: 22px; }
}

@media (max-width: 900px){
  .hs-deals__cell{ width: 50%; }
  .hs-deals__header,
  .hs-deals__rule{
    padding-left: 22px;
    padding-right: 22px;
  }
  .hs-deals__carousel{ padding: 0 12px; }
}

@media (max-width: 560px){
  .hs-deals__title{ font-size: 34px; }
  .hs-deals__cell{ width: 100%; }
  .hs-deals__card-title{ font-size: 20px; }
}

/* overrides */
.hs-deals__carousel{padding:0px;}
.hs-deals__header{padding:0 0px 10px;}
.hs-deals .flickity-prev-next-button.previous{left:-60px;}
.hs-deals .flickity-prev-next-button.next{right:-60px;}

/* Arrow logic + mobile subtle arrows */
@media (max-width: 900px){
  .hs-deals .flickity-prev-next-button{
    width: 50px;
    height: 50px;
  }
}


/* Desktop: Pfeile nur wenn mehr als 4 Items (Class wird per JS gesetzt) */
@media (min-width: 901px){
  .hs-deals.hs-deals--no-arrows-desktop .flickity-prev-next-button{
    display:none !important;
  }
}

/* Mobile: Pfeile dezenter + kleiner */
@media (max-width: 560px){
  .hs-deals .flickity-prev-next-button{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(140, 110, 92, .45);
  }
  .hs-deals .flickity-prev-next-button:hover{
    background: rgba(140, 110, 92, .60);
  }
  .hs-deals .flickity-prev-next-button.previous{
    left: -10px;
  }
  .hs-deals .flickity-prev-next-button.next{
    right: -10px;
  }
}

/* Button tweak (Alle Deals) */
.hs-deals__btn{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 2px solid rgba(140, 110, 92, .75);
  color: rgba(140, 110, 92, 1);
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: normal;
  font-family: 'Brandon Text Regular';
  white-space: nowrap;
  font-size: 16px;
}

/* SVG Arrow alignment fix */
.hs-deals__btn{
  align-items: center;
}

.hs-deals__btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.hs-deals__btn-svg{
  display:block;
  width:28px;
  height:28px;
  transform: translateY(1px); /* optical centering */
}

/* Button icon as SVG (alignment + size like screenshot) */
.hs-deals__btn{
  gap: 14px; /* a bit more space */
}

.hs-deals__btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
}

.hs-deals__btn-icon svg{
  width: 26px;
  height: 26px;
  display:block;
}

.hs-videos-slider .hs-deals__card:after,
.hs-videos-slider .hs-deals__card::after,
.hs-videos-slider .hs-deals__btn-link:after,
.hs-videos-slider .hs-deals__btn-link::after{
  content: none !important;
  display: none !important;
}

.hs-shorts-slider{
  --hs-shorts-media-height: 430px;
}

.hs-shorts-slider .hs-deals__carousel{
  max-width: 1050px;
}

.hs-shorts-slider .hs-deals__cell{
  width: 25%;
}

.hs-shorts-slider .hs-deals__card{
  width: 100%;
}

.hs-shorts-slider .hs-deals__media{
  aspect-ratio: auto;
  background:#111;
  height: var(--hs-shorts-media-height);
  width: 100%;
}

.hs-shorts-slider .hs-deals__media::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:44%;
  background:linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,0));
  pointer-events:none;
  z-index:1;
}

.hs-shorts-slider .hs-deals__img{
  height:100%;
  object-fit:cover;
}

.hs-shorts-slider .hs-deals__card-title{
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.28;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

.hs-shorts-slider a.hs-deals__card:hover .hs-deals__card-title {
    color: #fff;
}

.hs-shorts-slider__play{
  position:absolute;
  top:16px;
  right:16px;
  z-index:2;
  width:44px;
  height:44px;
  border-radius:50%;
  background:#cf5542;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
}

.hs-shorts-slider__play::before{
  content:"";
  position:absolute;
  left:17px;
  top:12px;
  width:0;
  height:0;
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
  border-left:15px solid #fff;
}

.hs-shorts-slider .flickity-prev-next-button{
  top: calc(var(--hs-shorts-media-height) / 2) !important;
  transform: translateY(-50%);
}

.hs-shorts-slider .hs-deals__card:after,
.hs-shorts-slider .hs-deals__card::after,
.hs-shorts-slider .hs-deals__btn-link:after,
.hs-shorts-slider .hs-deals__btn-link::after{
  content: none !important;
  display: none !important;
}

@media (max-width: 900px){
  .hs-shorts-slider{
    --hs-shorts-media-height: 500px;
  }
  .hs-shorts-slider .hs-deals__cell{ width: 50%; }
  .hs-shorts-slider .hs-deals__card-title{
    font-size:24px;
  }
}

@media (max-width: 560px){
  .hs-shorts-slider{
    --hs-shorts-media-height: 520px;
  }
  .hs-shorts-slider .hs-deals__cell{ width: 80%; }
  .hs-shorts-slider .hs-deals__card-title{
    left:22px;
    right:20px;
    bottom:24px;
    font-size:22px;
  }
  .hs-shorts-slider__play{
    top:14px;
    right:14px;
    width:40px;
    height:40px;
  }
  .hs-shorts-slider__play::before{
    left:15px;
    top:11px;
    border-top-width:9px;
    border-bottom-width:9px;
    border-left-width:14px;
  }
}

html.hs-shorts-overlay-open,
body.hs-shorts-overlay-open{
  overflow:hidden;
}

.hs-short-block{
  width:min(100%, 360px);
  margin:32px auto;
}

.hs-short-block__preview{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:9 / 16;
  overflow:hidden;
  border-radius:12px;
  background:#111;
  box-shadow:0 5px 22px rgba(0,0,0,.14);
}

.hs-short-block__image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s ease;
}

.hs-short-block__preview:hover .hs-short-block__image{
  transform:scale(1.025);
}

.hs-short-block__shade{
  position:absolute;
  inset:auto 0 0;
  height:30%;
  background:linear-gradient(to top, rgba(0,0,0,.62), transparent);
  pointer-events:none;
}

.hs-short-block__action{
  position:absolute;
  left:20px;
  bottom:18px;
  color:#fff;
  font-size:16px;
  line-height:1.2;
  font-weight:700;
  text-shadow:0 2px 6px rgba(0,0,0,.7);
}

.hs-short-block__caption{
  margin-top:10px;
  color:inherit;
  font-size:16px;
  line-height:1.45;
  text-align:center;
}

.hs-short-block .hs-deals__card::after{
  content:none !important;
  display:none !important;
}

.hs-shorts-overlay--single .hs-shorts-overlay__nav{
  display:none;
}

.hs-shorts-overlay{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
}

.hs-shorts-overlay[aria-hidden="false"]{
  display:flex;
}

.hs-shorts-overlay__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.84);
}

.hs-shorts-overlay__stage{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  padding:32px 96px;
  box-sizing:border-box;
}

.hs-shorts-overlay__frame-wrap{
  position:relative;
  width:min(420px, 78vw);
  height:min(760px, 88vh);
  background:#000;
  box-shadow:0 20px 70px rgba(0,0,0,.45);
  overflow:hidden;
}

.hs-shorts-overlay__frame{
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#000;
}

.hs-shorts-overlay__title{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:76px 24px 24px;
  color:#fff;
  font-size:22px;
  line-height:1.25;
  font-weight:700;
  text-shadow:0 2px 8px rgba(0,0,0,.7);
  background:linear-gradient(to top, rgba(0,0,0,.68), rgba(0,0,0,0));
  pointer-events:none;
  box-sizing:border-box;
}

.hs-shorts-overlay__close,
.hs-shorts-overlay__nav{
  position:absolute;
  border:0;
  margin:0;
  padding:0;
  cursor:pointer;
  background:rgba(140, 110, 92, .9);
  box-shadow:none;
}

.hs-shorts-overlay__close{
  top:24px;
  right:28px;
  width:46px;
  height:46px;
  border-radius:50%;
}

.hs-shorts-overlay__close::before,
.hs-shorts-overlay__close::after{
  content:"";
  position:absolute;
  left:14px;
  top:22px;
  width:18px;
  height:2px;
  background:#fff;
}

.hs-shorts-overlay__close::before{
  transform:rotate(45deg);
}

.hs-shorts-overlay__close::after{
  transform:rotate(-45deg);
}

.hs-shorts-overlay__nav{
  right:28px;
  width:54px;
  height:54px;
  border-radius:14px;
}

.hs-shorts-overlay__nav--prev{
  top:calc(50% - 70px);
}

.hs-shorts-overlay__nav--next{
  top:calc(50% + 16px);
}

.hs-shorts-overlay__nav::before{
  content:"";
  position:absolute;
  left:19px;
  width:16px;
  height:16px;
  border-top:3px solid #fff;
  border-left:3px solid #fff;
}

.hs-shorts-overlay__nav--prev::before{
  top:21px;
  transform:rotate(45deg);
}

.hs-shorts-overlay__nav--next::before{
  top:15px;
  transform:rotate(225deg);
}

@media (max-width: 700px){
  .hs-shorts-overlay__stage{
    padding:18px;
  }

  .hs-shorts-overlay__frame-wrap{
    width:min(420px, 92vw);
    height:min(760px, 88vh);
  }

  .hs-shorts-overlay__close{
    top:14px;
    right:14px;
    width:42px;
    height:42px;
  }

  .hs-shorts-overlay__nav{
    right:14px;
    width:44px;
    height:44px;
    border-radius:12px;
    background:rgba(140, 110, 92, .72);
  }

  .hs-shorts-overlay__nav--prev{
    top:auto;
    bottom:76px;
  }

  .hs-shorts-overlay__nav--next{
    top:auto;
    bottom:24px;
  }

  .hs-shorts-overlay__nav::before{
    left:15px;
    width:14px;
    height:14px;
  }

  .hs-shorts-overlay__nav--prev::before{
    top:18px;
  }

  .hs-shorts-overlay__nav--next::before{
    top:12px;
  }

  .hs-shorts-overlay__title{
    font-size:20px;
    padding:68px 20px 22px;
  }
}
