@import url("_variables.css");

.feed-shell {
  --reel-header-offset: 7.45rem;
  --reel-card-gap: 0.45rem;
  --reel-card-top-gap: var(--reel-card-gap);
  position: fixed;
  top: var(--reel-header-offset);
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--reel-header-offset));
  background: rgba(var(--bs-dark-rgb), 0.96);
  overflow: hidden;
}

.feed-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feed-shell::after {
  background:
    linear-gradient(180deg, rgba(10, 12, 18, 0.48) 0%, rgba(10, 12, 18, 0.14) 32%, rgba(10, 12, 18, 0.54) 100%),
    radial-gradient(110% 80% at 0% 100%, rgba(54, 131, 255, 0.12) 0%, rgba(54, 131, 255, 0) 58%),
    radial-gradient(110% 80% at 100% 0%, rgba(var(--bs-primary-rgb), 0.14) 0%, rgba(var(--bs-primary-rgb), 0) 55%);
}

.feed {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 100%;
  overflow-y: auto;
  overflow-anchor: none;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform-origin: 50% 100%;
  transition: transform 220ms ease;
}

body.deal-overlay-active .feed {
  transform: none;
}

.feed::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.feed.is-loading-deals::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 20;
  width: 2.4rem;
  height: 2.4rem;
  margin: -1.2rem 0 0 -1.2rem;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--bs-primary);
  border-radius: 50%;
  animation: reel-loader-spin 0.75s linear infinite;
}

.reel {
  box-sizing: border-box;
  min-height: 0;
  height: 100%;
  padding: var(--reel-card-top-gap) max(1.2vw, var(--reel-card-gap)) var(--reel-card-gap);
  background: rgba(var(--bs-dark-rgb), 0.96);
  overflow-anchor: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  justify-items: center;
  align-items: start;
}

.reel-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  clip-path: inset(0 round 22px);
  background: rgba(var(--bs-dark-rgb), 0.85);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.konfeti {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
}

.reel.is-current-reel .konfeti {
  background: url("../img/confetti-explode.svg") center / cover no-repeat;
  animation: konfeti-explode-repeat 5s ease-out;
}

.reel-card--end {
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(var(--bs-primary-rgb), 0.22) 0%, rgba(var(--bs-primary-rgb), 0) 58%),
    linear-gradient(180deg, rgba(30, 34, 42, 0.96) 0%, rgba(12, 15, 20, 0.98) 100%);
}

.reel-card--banner {
  display: grid;
  box-sizing: border-box;
  place-items: center;
  padding: 1rem;
  background: radial-gradient(120% 100% at 100% 0%, rgba(var(--bs-primary-rgb), 0.22) 0%, rgba(var(--bs-primary-rgb), 0) 58%), linear-gradient(180deg, rgba(23, 28, 37, 0.98) 0%, rgba(14, 18, 25, 0.98) 100%);;
}

.reel.is-current-reel .reel-card--banner .mobile-banner img {
  animation: reel-banner-pulse 1.05s ease-out 2;
}

.reel-card--banner .mobile-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  }

.reel-card--banner .mobile-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;  
  
}

.reel-card--banner .mobile-banner img {
  max-width: 100%;
  max-height: 100%;  
  object-fit: contain;
  border-radius: 30px !important; 
  border: 1px solid rgba(var(--bs-primary-rgb), 0.34);
}

@keyframes reel-banner-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.985);
  }

  100% {
    transform: scale(1);
  }
}

.reel.is-current-reel .reel-card .reel-price-wrapper {
  animation: reel-price-wrapper-pulse 0.5s ease-out 2;
}

@keyframes reel-price-wrapper-pulse {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.reel-card--giveaway {
  border: 1px solid rgba(var(--bs-pink-rgb), 0.82);
  background:
    radial-gradient(95% 72% at 18% 0%, rgba(var(--bs-pink-rgb), 0.36) 0%, rgba(var(--bs-pink-rgb), 0) 58%),
    radial-gradient(90% 75% at 100% 12%, rgba(var(--bs-purple-rgb), 0.48) 0%, rgba(var(--bs-purple-rgb), 0) 62%),
    linear-gradient(180deg, rgba(var(--bs-purple-rgb), 0.9) 0%, rgba(14, 18, 25, 0.98) 100%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(var(--bs-pink-rgb), 0.18),
    0 0 32px rgba(var(--bs-pink-rgb), 0.24);
}

.reel-card--giveaway::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 2px rgba(var(--bs-pink-rgb), 0.9),
    inset 0 0 38px rgba(var(--bs-pink-rgb), 0.24);
}

.reel-card--giveaway .overlay {
  background:
    radial-gradient(82% 70% at 12% 6%, rgba(var(--bs-pink-rgb), 0.42) 0%, rgba(var(--bs-pink-rgb), 0) 58%),
    radial-gradient(82% 70% at 92% 8%, rgba(var(--bs-purple-rgb), 0.48) 0%, rgba(var(--bs-purple-rgb), 0) 62%),
    linear-gradient(180deg, rgba(var(--bs-purple-rgb), 0.1) 0%, rgba(0, 0, 0, 0.2) 34%, rgba(var(--bs-pink-rgb), 0.2) 58%, rgba(0, 0, 0, 0.74) 84%, #000 100%) !important;
}

.reel-end-message {
  place-items: center;
  gap: 0.55rem;
  color: #fff;
  text-align: center;
}

.reel-end-message .mat-ico {
  color: var(--bs-primary);
  font-size: clamp(2.6rem, 12vw, 4.5rem);
  line-height: 1;
}

.reel-end-message h2 {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
}

.reel-end-message p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  font-weight: 700;
}

.reel-media {
  border-radius: inherit;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(var(--bs-primary-rgb), 0.22) 0%, rgba(var(--bs-primary-rgb), 0) 58%),
    linear-gradient(180deg, rgba(23, 28, 37, 0.98) 0%, rgba(14, 18, 25, 0.98) 100%);
}

.reel-gallery-stage {
  position: absolute;
  left: 50%;
  top: 5%;
  width: min(116%, 720px);
  height: 68%;
  --stack-offset: clamp(106px, 24vw, 184px);
  transform: translateX(-50%);
  z-index: 4;
  touch-action: pan-y;
}

.reel--gallery-hero .top-badges {
  top: 1rem;
  left: 1rem;
}


.gallery-card {
  position: absolute;
  left: 50%;
  top: 42%;
  width: clamp(196px, 50vw, 305px);
  aspect-ratio: 0.7;
  border-radius: 30px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  transform-origin: center center;
  transition: transform 0.28s ease, opacity 0.22s ease;
}

.gallery-card-frame {
  border-radius: inherit;
  background: inherit;
}

.reel-image {
  object-fit: cover;
  object-position: var(--focus-x, 50%) var(--focus-y, 44%);
  --zoom-start: 1.06;
  border-radius: inherit;
  transform: scale(var(--zoom-start));
  backface-visibility: hidden;
}

.gallery-card.is-center {
  z-index: 4;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1.16);
}

.gallery-card.is-left {
  z-index: 2;
  opacity: 0.4;
  transform: translate(calc(-50% - var(--stack-offset)), -50%) scale(0.84);
}

.gallery-card.is-right {
  z-index: 2;
  opacity: 0.4;
  transform: translate(calc(-50% + var(--stack-offset)), -50%) scale(0.84);
}

.gallery-card.is-hidden {
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
}

.gallery-card.is-center .reel-image {
  --zoom-start: 1.06;
}

.reel-image.is-landscape {
  --zoom-start: 1.12;
}

.reel-image.is-portrait {
  --zoom-start: 1.03;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 20rem;
  z-index: 4;
  transform: translateX(-50%);
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  background: rgba(11, 14, 20, 0.28);
}

.gallery-dot {
  width: 0.48rem;
  height: 0.48rem;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

.gallery-dot.is-active {
  background: #fff;
  transform: scale(1.45);
}

@media (min-width: 481px) and (max-width: 991.98px) {
  .gallery-dots {
    top: calc(42% + ((clamp(196px, 50vw, 305px) / 0.7) * 1.16 / 2) - 1.45rem);
    bottom: auto;
  }
}

.gallery-scene-panel {
  top: auto;
  bottom: 2.55rem;
  z-index: 6;
  min-height: 0;
  padding: 0 0.8rem;
  background: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.gallery-scene-badge { 
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  color: var(--bs-white) !important;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem !important;
  font-weight: 700;
  text-shadow: none !important;
  background: rgba(var(--bs-dark-rgb), 0.96);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
  isolation: isolate;
  opacity: 1 !important;
  transform: none !important;
   text-transform: capitalize;
}

.gallery-card.is-center .gallery-scene-panel {
  opacity: 1;
  transform: translateY(0);
}

.overlay {
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.14) 34%, rgba(0, 0, 0, 0.28) 56%, rgba(0, 0, 0, 0.72) 82%, #000 100%) !important;
}

.top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 4;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.top-badges::-webkit-scrollbar {
  display: none;
}

.category-badge,
.price-badge {
  border-radius: 999px;
  padding: 0.56rem 0.9rem;
  font-weight: 700;
  font-size: clamp(0.84rem, 2.8vw, 0.98rem);
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
}

.category-badge .mat-ico,
.heart-button .mat-ico {
  display: inline-grid;
  place-items: center;
  width: 1em;
  line-height: 1;
}

.category-badge .mat-ico {
  width: 0.88rem;
  min-width: 0.88rem;
  color: #ff4d4d;
}

.category-badge {
  color: #fff;
  padding: 5px 12px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap; 
}

.price-badge {
  color: #fff; 
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 0.14rem 0;
  background: none;
  box-shadow: none;
  white-space: nowrap;
}

.reel-card .price-badge .amount {
  color: #fff;
}

.price-badge .amount {
  font-weight: 700 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
  font-size: clamp(1rem, 2.8vw, 1.2rem);
}


@keyframes wishlist-error-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(-3px);
  }

  70% {
    transform: translateX(3px);
  }
}

.copy-wrap {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  gap: 0.78rem;
}

.deal-title 
{
  color: white;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden !important;
  text-overflow: ellipsis;
  padding-right: 2.15rem;
  font-size: clamp(1rem, 3.9vw, 1.36rem);
  line-height: 1.28;
  cursor: pointer;
  transition: color 0.18s ease;
}

.deal-title:hover,
.deal-title:focus-visible {
  color: #fff;
  outline: none;
}

.trip-facts {
  gap: 0.45rem;
  padding-bottom: 1rem;
  padding-top: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.trip-facts--reel {
  margin-top: 0.1rem;
}

.trip-facts--overlay {
  margin-top: -0.1rem;
}

.trip-fact,
.overlay-subtag {
  gap: 0.34rem;
  min-height: 1.85rem;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.34);
  background: rgba(var(--bs-primary-rgb), 0.16);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trip-fact .mat-ico,
.overlay-subtag .mat-ico {
  color: var(--bs-primary);
  font-size: 0.78rem;
  line-height: 1;
}

.overlay-subtags {
  gap: 0.45rem;
  margin: -0.08rem 0 0.08rem;
}

.copy-footer {
  gap: 0.8rem;
}

.reel-price-wrap,
.discount-price-card {
  justify-items: center;
  text-align: center;
}

.reel-price-wrap {
  min-width: 0;
  padding: 10px 14px !important;
  border-radius: 14px !important;
}

.reel-card .reel-price-wrap,
.deal-sheet .reel-price-wrap {
    position: relative;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: #ed1c24 !important;
    border-radius: 14px !important;
}


.discount-wrap {   
    position: relative;
    padding: 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: #ed1c24 !important;
    border-radius: 14px !important;    
    
}

.column.dodatno.nl {
    position: relative;
    padding: 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(var(--bs-success-rgb),0.4);
    border-radius: 14px !important;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.5rem;
    line-height: 1;
    font-weight: 700; 
    text-transform: uppercase;
   
}

.column.dodatno.nl strong { 
    font-weight: 700 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    letter-spacing: auto;
    text-transform: uppercase;
    opacity: 1;
} 
.reel-price-label, .price-badge-old {
    font-size: 0.5rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.94;
}

.reel-price-wrap--discount {
  display: inline-grid !important;
  grid-template-columns: auto auto;
  align-items: stretch;
  justify-items: stretch;
  justify-content: start;
  gap: 0.62rem;
  width: auto !important;
  max-width: max-content;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none;
}

.reel-card .reel-price-wrap--discount,
.deal-sheet .reel-price-wrap--discount {
  position: static;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.reel-price-wrap--discount .reel-price-label {
  display: none;
}

.discount-price-card {
  min-width: 0;
  padding: 10px 10px;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.34);
  border-radius: 14px !important;
  background: rgba(92, 38, 18, 0.84) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.price-badge-old {   
  text-decoration: line-through; 
  font-size: 0.7rem;
}

.copy-footer .btn,
.overlay-actions .btn {
  min-height: 2.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 14px;
}

.deal-overlay {
  z-index: 11000;
  background: linear-gradient(180deg, rgba(5, 8, 14, 0.06) 0%, rgba(5, 8, 14, 0.56) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.deal-overlay.is-dragging {
  transition: none;
}

.deal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.deal-sheet {
  width: min(640px, 100%);
  max-height: min(85svh, 800px);
  overscroll-behavior: contain;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(var(--bs-primary-rgb), 0.22) 0%, rgba(var(--bs-primary-rgb), 0) 58%),
    linear-gradient(180deg, rgba(23, 28, 37, 0.98) 0%, rgba(14, 18, 25, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  padding: 1.55rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.36);
  color: #f3f6fb;
  gap: 0.85rem;
  transform: translateY(105%);
  transition: transform 0.24s ease;
  touch-action: pan-y;
}

.deal-overlay--giveaway {
  background:
    radial-gradient(80% 65% at 50% 100%, rgba(var(--bs-pink-rgb), 0.28) 0%, rgba(var(--bs-pink-rgb), 0) 62%),
    linear-gradient(180deg, rgba(var(--bs-purple-rgb), 0.12) 0%, rgba(5, 8, 14, 0.68) 100%);
}

.deal-overlay--giveaway .deal-sheet {
  background:
    radial-gradient(110% 90% at 14% 0%, rgba(var(--bs-pink-rgb), 0.32) 0%, rgba(var(--bs-pink-rgb), 0) 58%),
    radial-gradient(120% 100% at 100% 0%, rgba(var(--bs-purple-rgb), 0.45) 0%, rgba(var(--bs-purple-rgb), 0) 64%),
    linear-gradient(180deg, rgba(var(--bs-purple-rgb), 0.92) 0%, rgba(17, 16, 31, 0.98) 100%);
  border-color: rgba(var(--bs-pink-rgb), 0.84);
  box-shadow:
    0 -12px 28px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(var(--bs-pink-rgb), 0.16),
    0 0 36px rgba(var(--bs-pink-rgb), 0.24);
}

.deal-sheet.is-dragging {
  cursor: grabbing;
  user-select: none;
  transition: none;
}

.deal-overlay.is-open .deal-sheet {
  transform: translateY(0);
}

.deal-sheet-pull-handle {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 5rem;
  height: 2rem;
  cursor: grab;
  touch-action: none;
  transform: translateX(-50%);
}

.deal-sheet-pull-handle::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 50%;
  width: 2.9rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transform: translateX(-50%);
}

.overlay-close {
  top: 1rem;
  right: 0.9rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

.overlay-head {
  gap: 0.8rem;
  padding-right: 3rem;
}

.overlay-title {
  font-size: clamp(1.06rem, 4.4vw, 1.36rem);
  line-height: 1.28;
  text-wrap: balance;
  padding-top: 0.5rem;
  background: none!important;
  background-color: none!important;
  color: white!important;
}

.overlay-title span {
  font-size: clamp(1.06rem, 4.4vw, 1.36rem);
  line-height: 1.28;
  text-wrap: balance;
  padding-top: 0.5rem;
  background: none!important;
  background-color: none!important;
  color: white!important;
}


.overlay-title span b{
  font-size: clamp(1.06rem, 4.4vw, 1.36rem);
  line-height: 1.28;
  text-wrap: balance;
  padding-top: 0.5rem;
  background: none!important;
  background-color: none!important;
  color: white!important;
}

.overlay-title strong {
  font-size: clamp(1.06rem, 4.4vw, 1.36rem);
  line-height: 1.28;
  text-wrap: balance;
  padding-top: 0.5rem;
  background: none!important;
  background-color: none!important;
  color: white!important;
}

.overlay-actions {
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}


@media (max-width: 480px) {
  .feed-shell {
    --reel-card-gap: 0.45rem;
    --reel-card-top-gap: var(--reel-card-gap);
  }

  .reel-card {
    border-radius: 20px;
  }

  .reel-gallery-stage {
    inset: auto 0 auto 0;
    top: auto;
    left: 0;
    width: 100%;
    bottom: 16.1rem;
    height: clamp(17rem, 43svh, 24.5rem);
    transform: none;
    --stack-offset: min(20vw, 78px);
  }

  .gallery-card {
    top: 50%;
    width: min(72vw, 300px);
    aspect-ratio: 0.76;
    border-radius: 24px;
  }

  .reel-card--banner .mobile-banner {
    border-radius: 24px !important;
  }

  .gallery-card.is-center {
    transform: translate(-50%, -50%) scale(1.08);
  }

  .gallery-card.is-left,
  .gallery-card.is-right {
    opacity: 0.4;
  }

  .gallery-card.is-left {
    transform: translate(calc(-50% - var(--stack-offset)), -50%) scale(0.72);
  }

  .gallery-card.is-right {
    transform: translate(calc(-50% + var(--stack-offset)), -50%) scale(0.72);
  }

  .gallery-dots {
    top: calc(50% + (min(72vw, 300px) / 0.76) / 2 - 0.95rem);
    bottom: auto;
    gap: 0.38rem;
    padding: 0.34rem 0.52rem;
  }

  .gallery-scene-panel {
    bottom: 2.45rem;
    padding-inline: 0.7rem;
  }


  .copy-wrap {
    left: 0.85rem;
    right: 0.85rem;
    bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
    gap: 0.66rem;
  }

  .deal-title {
    font-size: 0.85rem;
    line-height: 1.5;
    padding-right: 1.9rem;
    font-weight: 800;
  }


  .trip-facts {
    gap: 0.34rem;
    padding-bottom: 1rem;
    padding-top: 0.5rem; 
  }

  .trip-facts--reel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .trip-facts--reel::-webkit-scrollbar {
    display: none;
  }

  .trip-fact {
    flex: 0 0 auto;
    min-height: 1.56rem;
    padding: 0.28rem 0.5rem;
  }

  .copy-footer {
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .copy-footer .btn {
    padding-inline: 0.9rem;
  }

  .reel-price-wrap, .discount-price-card {
    padding: 10px 11px !important;
  }

  body.deal-overlay-active .feed {
    transform: none;
  }

  .deal-sheet {
    gap: 0.45rem;
  }

  .overlay-head {
    gap: 0.65rem;
  }

  .overlay-actions {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 390px) {
  .reel-gallery-stage {
    bottom: 16rem;
    height: clamp(16rem, 41svh, 22.8rem);
    --stack-offset: min(18vw, 66px);
  }

  .gallery-card {
    top: 50%;
    width: min(69vw, 262px);
    border-radius: 22px;
  }

  .reel-card--banner .mobile-banner {
    border-radius: 22px !important;
  }

  .gallery-dots {
    top: calc(50% + (min(69vw, 262px) / 0.76) / 2 - 0.9rem);
    bottom: auto;
  }


  .gallery-scene-panel {
    bottom: 2.25rem;
  }
}


@media (max-width: 320px) {

.reel-card .reel-price-wrap,.deal-sheet .reel-price-wrap, .discount-wrap, .column.dodatno.nl, .discount-price-card {
	padding: 5px 7px;
}

.reel-card .reel-price-wrap .amount,.deal-sheet .reel-price-wrap .amount, .discount-wrap .amount, .column.dodatno.nl strong, .discount-price-card .amount{
	font-size: clamp(0.8rem, 2.8vw, 1.2rem);
}

}

@media (max-width: 480px) and (min-height: 900px) {
  .reel-gallery-stage {
    bottom: 16.4rem;
    height: clamp(18.2rem, 47svh, 27rem);
  }

  .gallery-card {
    top: 50%;
    width: min(75vw, 320px);
  }

  .gallery-dots {
    top: calc(50% + (min(75vw, 320px) / 0.76) / 2 - 0.98rem);
  }

  .gallery-scene-panel {
    bottom: 2.7rem;
  }
}

@media (max-width: 480px) and (max-height: 860px) {
  .reel-gallery-stage {
    bottom: 15.85rem;
    height: clamp(16.5rem, 42svh, 23.2rem);
  }

  .gallery-card {
    top: 50%;
    width: min(70vw, 286px);
  }

  .gallery-dots {
    top: calc(50% + (min(70vw, 286px) / 0.76) / 2 - 0.92rem);
  }

  .gallery-scene-panel {
    bottom: 2.35rem;
  }
}

@media (max-width: 480px) and (max-height: 780px) {
  .reel-gallery-stage {
    bottom: 15.5rem;
    height: clamp(15.7rem, 40svh, 21.8rem);
  }

  .gallery-card {
    top: 50%;
    width: min(67vw, 264px);
  }

  .gallery-dots {
    top: calc(50% + (min(67vw, 264px) / 0.76) / 2 - 0.9rem);
  }

  .gallery-scene-panel {
    bottom: 2.15rem;
  }
}

@media (max-width: 480px) and (max-height: 700px) {
  .reel-gallery-stage {
    bottom: 15.5rem;
    height: clamp(14.6rem, 36svh, 19.6rem);
  }

  .gallery-card {
    top: 50%;
    width: min(63vw, 236px);
  }

  .gallery-dots {
    top: calc(50% + (min(63vw, 236px) / 0.76) / 2 - 0.86rem);
    bottom: auto;
  }

  .gallery-scene-panel {
    bottom: 2rem;
  }

  .copy-wrap {
    gap: 0.46rem;
  }

  .deal-title {
    font-size: 0.85rem;
    line-height: 1.5;
    padding-right: 1.9rem;
  }

  .trip-facts {
    padding-bottom: 1rem;
    padding-top: 0.5rem;
  }
}

@media (min-width: 760px) {
  .feed-shell {
    --reel-card-gap: 0.45rem;
  }  
}

@keyframes reel-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes konfeti-explode-repeat {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  8% {
    opacity: 1;
    transform: scale(1);
  }
  72% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feed {
    transition: none;
  }

  body.deal-overlay-active .feed {
    transform: none;
  }

  .gallery-card {
    transition: none !important;
  }

  .konfeti {
    display: none;
  }
}
