 :root {
  --text-highlight: #FFD100;
  --bg-summary-hover: #2E2F4B;
  --text-color: white;
  --text-hover-color: white;
  --bg-summary: #23253A; /* ako ga koristiš u .tab-button */
}

 @media (min-width: 768px) {
  .custom-tab-container {
    max-width: 100%;
    padding-left: 150px;
    padding-right: 100px;
  }

  .custom-tab-container .tab-content .desc-content {
    font-size: 18px;
    line-height: 1.8;
  }

  .custom-tab-container .nav-pills .nav-link {
    font-size: 16px;
    padding: 10px 20px;
    margin-right: 8px;
  }

}

.discount-message {
  background: #1e4620;
  color: #d4edda;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 8px;
  font-size: 0.9em;
  display: none;   
}

.btn-group-custom {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.btn-group-custom .vs-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 10px 20px;
  font-size: 16px;
}
/* 2.1) Спречи X-scroll по целом body/HTML */


/* 2.2) Full-bleed breadcumb wrapper */
.breadcumb-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  box-sizing: border-box;
}

/* 2.3) Распони video за desktop (без измена) */
@media (min-width: 768px) {
  .breadcumb-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 600px;
    max-height: 600px;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
  }
}

/* 2.4) Присили .container у banneru да иде full-width */
.breadcumb-wrapper > .container {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  max-width: 100vw;
  padding: 0 1rem; /* optional */
  box-sizing: border-box;
}

/* 2.5) Responsive video за мобилне */
@media (max-width: 767px) {
  .breadcumb-bg-video {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: auto;
    min-width: 0;
    min-height: 0;
    max-height: none;
    transform: translateX(-50%);
    object-fit: cover;
    z-index: -1;
  }
}

@media (max-width: 767px) {
  /* Ograniči visinu videa, i pomeri fokus više na gornji deo (gde je panda) */
  .breadcumb-bg-video {
    top: 0;                   /* izbaci vertikalno centriranje */
    left: 50%;                /* zadržava horizontalno centriranje */
    width: 100vw;             /* puna širina ekrana */
    height: 320px;            /* fiksna visina banner zone */
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center top; /* fokusiraj na vrh videa */
    max-height: none;
    min-height: 0;
  }

  /* Da breadcrumb wrapper i container ne „iskaču“ vertikalno */
  
  .breadcumb-wrapper > .container {
    padding-top: 1rem;        /* razmak teksta od vrha */
    padding-bottom: 1rem;     /* razmak teksta od dna */
  }

  /* Naslov i breadcrumb linkovi malo smanji da stane sve unutar 200px */
  .breadcumb-title {
    font-size: 1.6rem !important;
    line-height: 1.2;
    margin-top: 0.5rem;
  }
  .breadcumb-wrapper .breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }
   .breadcumb-menu,
  .breadcumb-title,
  .breadcumb-wrapper .breadcrumb {
    display: none !important;
  }

  /* po želji, smanji visinu wrappera da ne ostaje prazan prostor */
  .breadcumb-wrapper {
    height: 0;
    padding: 0;
    overflow: hidden;
  }
  
  .breadcumb-wrapper {
    height: 0;
    overflow: hidden;
    padding: 0;
  }
  
}

@media (max-width: 767px) {
  .breadcumb-title {
    font-size: 1.6rem !important;
    line-height: 1.2;
  }

}


/* Container + arrows */
.custom-tabs {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}
.tab-arrow {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-highlight);
  cursor: pointer;
  padding: 0 0.5rem;
  transition: opacity .2s;
}
.tab-arrow:disabled { opacity: .3; cursor: default; }

/* Scrollable buttons */
.tab-buttons-wrapper {
  overflow: hidden;
  flex: 1 1 auto;
}
.tab-buttons {
  display: flex;
  flex-wrap: nowrap;
  transition: transform .3s;
}

/* Individual tab buttons */
.tab-button {
  flex: 0 0 auto;
  margin: 0 0.25rem;
  padding: 0.5rem 1rem;
  background: var(--bg-summary);
  color: var(--text-highlight);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.tab-button.active {
  background: var(--text-highlight);
  color: var(--text-color);
}
.tab-button:not(.active):hover {
  background: var(--bg-summary);
  color: var(--text-hover-color);
}

/* Content panes */
.custom-tab-content .tab-pane {
  display: none;
}
.custom-tab-content .tab-pane.active {
  display: block;
}


summary.active-category {
  background-color: #ffcc00;
  color: #fff;
}

summary.active-subcategory {
  background-color: #ffcc00;
  color: #fff;
}

.swal-confirm-btn {
  background-color: green;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
}

.swal-deny-btn {
  background-color: dodgerblue;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
}

.swal-cancel-btn {
  background-color: #aaa;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
}

.deal-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 2px solid gold; /* zlatni okvir */
    background: transparent; /* transparentna pozadina */
    border-radius: 10px;
    color: gold; /* zlatni tekst */
}

.deal-card__icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: gold; /* zlatna pozadina ikone */
    color: black; /* kontrastni tekst */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.deal-card__title {
    font-size: 14px;
    font-weight: 700;
    color: gold;
}

.deal-card__text,
.deal-card__until {
    font-size: 12px;
    color: gold;
}

.deal-card__badge {
    font-size: 12px;
    font-weight: 700;
    color: black;
    background: gold;
    padding: 2px 8px;
    border-radius: 999px;
}

#dynamicFields[inert] { opacity: .95; }
#dynamicFields[inert] * { cursor: not-allowed !important; }
