.oglasMainBox.mobile{
  width:100%;
  overflow: hidden; 
}


._mapArea {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}




.booking-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
}

body.mobile .booking-section{
  max-width: 10000px;
  padding: 20px 0px;
}

.booking-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  align-items: end;
}



.form-row {
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
}

.icon-input .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.icon-input input {
  width: 100%;
  padding: 8px 35px 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.icon-input i {
  position: absolute;
  right: 10px;
  color: #666;
  pointer-events: none;
  font-size: 16px;
}


label {
  font-weight: 600;
  margin-bottom: 5px;
}

input, select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.search-btn {
  background: #0078d7;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.search-btn:hover {
  background: #005fa3;
}

.units-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}



/*body {
  font-family: 'Segoe UI', sans-serif;
  background: #f7f7f7;
  padding: 30px;
}*/


/*
input[type="text"] {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  width: 160px;
}*/





.units-list h1,
.units-list h2,
.units-list h3,
.units-list h4,
.units-list h5
 {
  font-family: 'Segoe UI', sans-serif;
}




.oglas-info-top {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-size: 14px;
}

.oglas-info-top.mobile{
  border: 1px solid transparent;
  border-bottom: 1px solid #ddd;
  border-radius: 0px;
  padding: 0px;
  padding-bottom: 15px;
  box-shadow:none;

}

/* Zvjezdice */ 
.oglas-kategorizacija {
  margin-bottom: 10px;
}
.oglas-kategorizacija i {
  color: #ffd700;
  font-size: 18px;
  margin-right: 0px;
}

/* Osnovni info red */
.oglas-basic-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}
.oglas-basic-info div i {
  margin-right: 6px;
  color: #007bff;
}


/* Značajke */
.oglas-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 15px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #444;
}
.feature-item i {
  color: #007bff;
}

.feature-item.not-available{
  /*opacity: 0.5;*/
  text-decoration: line-through;
  opacity: 0.5;
}
.feature-item.not-available i {
  color: gray;
}


/* Home rules */
.oglas-rules {
  border-top: 1px solid #eee;
  padding-top: 10px;
}
.rules-title {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}
.rules-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.rule-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rule-item.allowed i {
  color: #28a745;
}
.rule-item.denied i {
  color: #dc3545;
}
.rule-item.onrequest i {
  color: #ffc107;
}







/*.booking-popup-container - izmješten u cssToAll.css*/


.booking-popup-content {
  max-width: 650px;


}

.booking-popup-title {
  margin-bottom: 10px;
  text-align: center;
  font-size: 24px;
  color: #0067A5;
}

.booking-popup-dates-subtitle {
  font-size: 14px;
  color: #0067A5;

  margin-bottom:20px;
  text-align: center;
}


.booking-popup-form-group {
  margin-bottom: 18px;
}

.booking-popup-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}



.booking-popup-input,
.booking-popup-textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.booking-popup-textarea {
  resize: vertical; /* dopušta resize samo po visini */
}



.booking-popup-unit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.booking-popup-unit-name {
  flex: 1; /* lijeva strana */
}


.booking-popup-unit-select {
  flex: 1;
  display: flex;
  gap: 15px; /* razmak između labela */
  justify-content: center; /* centrirano */
  align-items: center;
}

.booking-popup-unit-select label {
  display: flex;
  align-items: center;
  gap: 5px; /* razmak između teksta i dropdowna */
  font-weight: 500;
}










.booking-popup-unit-price {
  flex: 0; /* desno */
  font-weight: bold;
  color: #0067A5;
}

.booking-popup-total-container {
  font-size: 20px;
  color: #d9534f;
  text-align: right;
  margin-bottom: 15px;
}

.booking-popup-submit-btn {
  background-color: #0067A5;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.booking-popup-submit-btn:hover {
  background-color: #005089;
}


.booking-popup-add-unit {
  margin-top: 15px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.booking-popup-add-unit label {
  font-weight: 600;
}

.booking-popup-add-unit-select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}













.booking-popup-units-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.booking-popup-units-table th,
.booking-popup-units-table td {
  border-bottom: 1px solid #ddd;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.booking-popup-units-table tr.cB td{
  border-bottom: none!important;
}

.booking-popup-units-table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

.booking-popup-units-table select {
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-left: 5px;
}

.booking-popup-unit-price {
  text-align: right;
  font-weight: 600;
  color: #0067A5;
}



.home-rules-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  font-size: 15px;
}

.home-rules-table tr {
  border-bottom: 1px solid #ddd;

}

.home-rules-table tr:last-child {
  border-bottom: none;

}

.home-rules-table td {
  vertical-align: top;
  padding: 15px 30px 30px;

}

body.mobile .home-rules-table td {
  padding: 15px 30px 30px 0px;

}

.home-rules-table td:first-child {
  font-weight: 600;
  color: #333;
  /*width: 35%;*/
  /*background: #fafafa;*/
  white-space: nowrap;
}
.home-rules-table td:last-child {
  width: 100%;
  color: #555;
  word-wrap: break-word;
}



.surcharges-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.surcharges-table th,
.surcharges-table td {
    padding: 10px 12px;
    text-align: left;
}

.surcharges-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.surcharges-table th {
    background: #f8f8f8;
    font-weight: 600;
}

.surcharges-table td {
    vertical-align: top;
}

/* Lijevi stupac – naziv + opis */
.surcharges-table .surcharge-title {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.surcharges-table .surcharge-desc {
    color: #666;
    font-size: 13px;
    margin-top: 3px;
    display: block;
}

/* Desni stupci */
.surcharges-table td:nth-child(2),
.surcharges-table td:nth-child(3),
.surcharges-table td:nth-child(4) {
    white-space: nowrap;
}








/* da forma u popupu ne bude full width nego kao modal */
.review-popup-dialog {
  max-width: 760px;
  width: 95%;
}

/* malo smanji marginu forme jer je sada u popupu */
.review-form {
  margin: 0;
}

/* Container */
.review-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 25px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

.review-form-title {
  margin: 0 0 15px;
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

.review-form-subtitle {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.review-form-section {
  margin-bottom: 18px;
}

.review-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.review-form-required {
  color: #d00;
}

/* Glavna ocjena */
.review-form-overall-section {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f9fbff;
  margin-bottom: 20px;
}

.review-form-overall-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.review-form-overall-select {
  padding: 8px 10px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #bbb;
  min-width: 150px;
  font-weight: 600;
  background-color: #fff;
}

.review-form-overall-hint {
  font-size: 13px;
  color: #666;
}

/* Grid s kategorijama */
.review-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 18px;
}

.review-form-field {
  margin-bottom: 10px;
}

.review-form-select {
  width: 100%;
  padding: 7px 9px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
  box-sizing: border-box;
}

/* Textarea & inputs */
.review-form-textarea {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
  min-height: 90px;
  box-sizing: border-box;
}

.review-form-input {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Autor info */
.review-form-author-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.review-form-hint {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

/* Submit button */
.review-form-submit-section {
  text-align: right;
  margin-top: 10px;
}

.review-form-submit-btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  background-color: #0067A5;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.review-form-submit-btn:hover {
  background-color: #005a93;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .review-form {
    padding: 15px;
  }

  .review-form-author-section {
    grid-template-columns: 1fr;
  }

  .review-form-overall-wrapper {
    align-items: flex-start;
  }
}


















.oglas_gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; /* ili center, po želji */
}


.oglas_gallery_thumb {
    flex: 1 1 180px;   /* raste do max {max-width}, minimalno 150px */
    max-width: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.oglas_gallery_thumb img,
.oglas_gallery_thumb .asImage
{
    width: 100%;
    display: block;
    border-bottom: 1px solid #ddd;
    height: 150px;   /* ograničava visinu thumb-a */
    object-fit: cover;    /* osigurava da slika zadrži proporcije i ispuni prostor */
    z-index: 100;
}

.oglas_gallery_thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}



body.mobile .oglas_gallery { 
    display: flex;
    flex-wrap: nowrap;           /* sve u jednom redu */
    overflow-x: auto;            /* horizontalni scroll */
    scroll-snap-type: x mandatory; /* smooth "page" scroll po thumbu */
    gap: 0;
    overflow-y: visible; 
    padding-bottom: 15px;
}

body.mobile .oglas_gallery_thumb {
    flex: 0 0 100%;              /* svaki thumb zauzima 100% ekrana */
    max-width: 100%;             /* sigurnost */
    scroll-snap-align: start;    /* svaki thumb se poravna na početak ekrana */
    position: relative;
}

body.mobile .oglas_gallery_thumb img,
body.mobile .oglas_gallery_thumb .asImage {
    max-height: 200px;  
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/*MULTIPLEEEE*/

body.mobile .oglas_gallery.multiple{  /*multiple omogućava ux da se vidi malo iduće galerije*/
    padding-left: 0px;
}

/* prvi thumb dobije lijevi margin */
body.mobile .oglas_gallery.multiple .oglas_gallery_thumb:first-child {
    margin-left: 20px;
}

/* svi thumbs imaju desni margin za peek efekt */
body.mobile .oglas_gallery.multiple .oglas_gallery_thumb{
    flex: 0 0 90%;      
    margin-right: 20px;     
}

body.mobile .oglas_gallery.multiple .oglas_gallery_thumb:last-child {
    margin-right: 0;   /* zadnja ide skroz do ruba */
}





/* Title ostaje nepromijenjen, ali osiguravamo da je uvijek vidljiv */
.oglas_gallery_title {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #333;
    background-color: white;
}

.oglas_gallery_thumb.with_video .oglas_gallery_title{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 55px;
}











.icon-gold-glow {
  color: #FFD700;

  /* početno (slabije) stanje */
  text-shadow:
    0 0 4px   rgba(0, 0, 0, 0.10),
    0 0 8px   rgba(0, 0, 0, 0.20),
    0 0 12px  rgba(0, 0, 0, 0.30),
    0 0 20px  rgba(0, 0, 0, 0.20),
    0 0 26px  rgba(255, 215, 0, 0.32);

  /* pulsiranje */
  animation: goldGlowPulse 1.65s ease-in-out infinite;
}

/* definiramo animaciju */
@keyframes goldGlowPulse {
  0% {
    text-shadow:
      0 0 4px   rgba(0, 0, 0, 0.10),
      0 0 8px   rgba(0, 0, 0, 0.20),
      0 0 12px  rgba(0, 0, 0, 0.30),
      0 0 20px  rgba(0, 0, 0, 0.20),
      0 0 26px  rgba(255, 215, 0, 0.32);
  }
  50% {
    /* jače stanje (ono što je bilo u :hover) */
    text-shadow:
      0 0 4px   rgba(0, 0, 0, 0.20),
      0 0 8px   rgba(0, 0, 0, 0.30),
      0 0 12px  rgba(0, 0, 0, 0.40),
      0 0 20px  rgba(0, 0, 0, 0.30),
      0 0 26px  rgba(255, 215, 0, 0.32);
  }
  100% {
    /* natrag na slabije */
    text-shadow:
      0 0 4px   rgba(0, 0, 0, 0.10),
      0 0 8px   rgba(0, 0, 0, 0.20),
      0 0 12px  rgba(0, 0, 0, 0.30),
      0 0 20px  rgba(0, 0, 0, 0.20),
      0 0 26px  rgba(255, 215, 0, 0.32);
  }
}



.btn-see-map {
    display: block;
    width: 100%;
    padding: 14px 18px;
    background: #f2f2f3;              /* lijepa, moderna svijetla siva */
    color: #333;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);   /* mekani shadow */
    transition: background 0.2s, transform 0.15s;
}

.btn-see-map i {
    margin-right: 8px;
    font-size: 18px;
    color: #555;
}

.btn-see-map:active {
    transform: scale(0.97);
    background: #e6e6e7;
}


.btn-see-map.blue{

  background: #2b7cff;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-see-map.blue i {
    color: #fff;
}


.opisBox:not(.expanded){
  max-height: 350px;
  overflow: hidden;
}





#trazilicaSection.mobile.onOglasPage section
{
  padding-bottom: 0;
  margin-bottom: 0;
}