@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
  outline: none;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  letter-spacing: 0.05vw;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  background-color: #000;
}



body {
  --dot-bg: #000000e0;
  --dot-color: #939393;
  --dot-size: 0.1vw;
  --dot-space: 12vw;

  background:
    linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
    linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
    var(--dot-color);

  min-height: 50vh;          /* aspoÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Â¹ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â  vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â½ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ka okna */
  background-attachment: fixed; /* pozadie sa nehÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â½be pri scrollovanÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­ */
  background-repeat: repeat;  /* nech sa vzor opakuje, ak je strÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡nka dlhÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ia */
}



.top-container {
  position: absolute;
  top: 4.25vw;
  left: 20vw;
  border-radius: 0vw;
  background: #000000d1;
  width: 80vw;
  height: 4.5vw;
  margin-bottom: 1vw;
  margin-top: 0;
  backdrop-filter: blur(0.5vw);
  box-shadow: 0.25vw 0.25vw 0.35vw 0vw #0000009c;
}

.top-links, .top-links a {
  display: flex;
  color: white;
  border-bottom: 0.1vw solid #80808029;
  z-index: 999;
}

.top-link-home {
  font-size: 1.5vw;
  margin: 1.3vw 0.35vw 1vw 1.35vw;
}

.top-link {
  margin: 1.55vw 0vw;
  font-size: 1vw;
}

.top-link-active {
  margin: 1.55vw 0vw;
  font-size: 1vw;
}

.top-link-separator {
  margin: 1.25vw 0.65vw;
  font-size: 1.35vw;
}


.sorting-menu {
	display: none;
}

.sorting-phone {
	display: none;
}




.top-categories {
  display: flex;
  flex-wrap: wrap;
  width: 80vw;
  margin-left: 20vw;
  gap: 1vw;
  justify-content: center;
  margin-top: -19vw;
}

.category-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5vw;
  justify-content: center;
  width: 100%;
}

.category {
  display: flex;
  align-items: center;
  background-color: #0a0a0a;
  width: 23vw;
  height: 7vw;
  border-radius: 2vw;
  box-sizing: border-box;
  overflow: hidden;
  padding-left: 1vw;
  transition: box-shadow 0.25s ease;
  box-shadow: 0.2vw 0.2vw 0.5vw 0vw #000000cf;
}

.category:hover {
  box-shadow: 0vw 0vw 0vw 0.15vw #3737376e;
}

.category i {
  font-size: 3vw;
  color: #ffffff52;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 1vw;
  margin-right: 1.5vw;
}

.category-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-title {
  font-size: 1.2vw;
  margin-bottom: 0.5vw;
  color: white;
}

.category-description {
  font-size: 0.9vw;
  color: #ccc;
}





































#new-listing-container {
  width: 80vw;
  margin-left: 20vw;
  padding: 5vw;
  padding-top: 10vw;
  box-sizing: border-box;
  color: #fff;
  border-radius: 0.8vw;
  box-shadow: 0 0.4vw 1.2vw rgb(0 0 0 / 0%);
  min-height: 100vh;
}

#new-listing-title {
  font-size: 2.2vw;
  margin: 0 0 3vw 0;
	text-align: center;
	margin-bottom: -1vw;
}

.fields-container {
	width: 100%;
}

.new-listing-steps {
  display: flex;
	width: 100%;
	gap: 3vw;
	margin: 0 auto;
}
.new-listing-step-indicator {
  flex: 1 1 0;
  align-items: center;
  gap: 0.6vw;
  padding: 0.5vw;
  cursor: pointer;
	display: block;
	background-color: #0d0d0d59;
	backdrop-filter: blur(0.15vw);
	border-radius: 1vw;
}
.new-listing-step-indicator.active {
  font-weight: 700;
  opacity: 1;
	display: block;
}
.new-listing-step-line {
  height: 0.4vw;
  background: #505050;
  flex: 1 1 0;
  border-radius: 0.2vw;
}
.new-listing-step-indicator.invalid .new-listing-step-line {
  background: #d33 !important;
}
.new-listing-step-label {
  min-width: 9vw;
  text-align: center;
  font-size: 1.2vw;
  color: #ddd;
  margin: 1vw;
  transition: letter-spacing 0.35s ease, font-weight 0.35s ease;
}
.new-listing-step-indicator.active .new-listing-step-label {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.1vw;
}

.new-listing-form {
  width: 100%;
}

.new-listing-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75vw;
  align-items: center;
	justify-content: center;
}

.new-listing-images-row {
  display: block;
  flex-wrap: wrap;
  gap: 1.2vw;
  margin-bottom: 1.2vw;
  align-items: flex-start;
}

.new-listing-row-title-description {
  display: block;
  flex-wrap: wrap;
  gap: 1.2vw;
  margin-top: 1.2vw;
  align-items: flex-start;
}

/* Fields */
.new-listing-field {
  display: flex;
  flex-direction: column;
  gap: 0.416vw; /* was 0.4vw but keep close */
  width: calc(25vw - 1.2vw);
  min-width: 18vw;
  box-sizing: border-box;
  font-size: 1.2vw;
}
.new-listing-field.fullwidth {
  width: 100%;
}

/* Inputs, selects, textarea */
.new-listing-field input[type="text"],
.new-listing-field input[type="number"],
.new-listing-field select,
.new-listing-field textarea {
  padding: 0.6vw;
  border-radius: 0.4vw;
  border: 0.0625vw solid #333; /* 1px ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â°ÃƒÆ’Ã¢â‚¬Â¹ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â  0.052vw, used slightly larger for visibility */
  background: #0f0f0f;
  color: #fff;
  font-size: 1.1vw;
  box-sizing: border-box;
}

/* Placeholder color */
.new-listing-field input::placeholder,
.new-listing-field textarea::placeholder,
.new-listing-field select::-ms-value { color: #8f8f8f; }

/* Remove number input spinners (all modern browsers) */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* textarea vertical-only resize */
.new-listing-field textarea {
  resize: vertical;
  min-height: 6vw;
  max-width: 100%;
}

/* invalid / required visuals */
.invalid, .invalid-field {
  border-color: #d33 !important;
  color: red;
  box-shadow: 0 0 0 0.208vw rgba(211,51,51,0.06); /* 4px -> ~0.208vw */
}
.touched.invalid, .touched.invalid-field { border-color: #d33 !important; }

/* images / dropzone */
#new-listing-imagesInput.hidden-file-input { display: none !important; }

.new-image-dropzone {
  width: 100%;
  min-height: 8vw;
  border: 0.104vw dashed #444; /* 2px -> ~0.104vw */
  border-radius: 0.6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  transition: background .12s, border-color .12s, color .12s;
  font-size: 1.25vw;
  backdrop-filter: blur(0.15vw);
}
.new-image-dropzone i {
  margin-right: 0.5vw;
}
.new-image-dropzone.dragover {
  border-color: #505050;
  color: #fff;
  background: rgba(43, 136, 136, 0.03);
}

.new-listing-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1vw;
  justify-content: start;
  align-content: start;
}

.preview-item {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.5vw;
  background: #111;
  position: relative;
}

.new-listing-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  border: 0vw solid #ff000000;
  box-sizing: border-box;
  transition: transform 0.35s ease, filter 0.35s ease;
  border-radius: 1.5vw;
  filter: brightness(0.5);
  transform: scale(1);
}

.new-listing-preview img:hover {
  filter: brightness(0.65);
}

.new-listing-preview img.main {
  box-shadow: 0 0 3vw rgba(255, 255, 255, 0.8);
  transform: scale(1.03);
  filter: brightness(1);
  transition: transform 0.35s ease, filter 0.35s ease;
}

#new-listing-preview .preview-item::after {
  content: "Set as main";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  padding: 0.5vw 1vw;
  font-size: 1.0vw;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.35);
  border-radius: 0.5vw;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  letter-spacing: 0.05vw;
}

#new-listing-preview .preview-item:hover::after {
  opacity: 1;
}

#new-listing-preview .preview-item .del-btn {
  position: absolute;
  top: 0.6vw;
  right: 0.6vw;
  width: 2.25vw;
  height: 2.25vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2vw;
  line-height: 1;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 0;
  border-radius: 0.75vw;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  backdrop-filter: blur(0.2vw);
}

#new-listing-preview .preview-item .del-btn:hover {
  background: rgb(86 0 0 / 22%);
  color: #fff;
}




/* actions */
.new-listing-actions {
  display: flex;
  gap: 1vw;
  justify-content: flex-end;
  margin-top: 1.2vw;
}
.new-listing-btn {
  padding: 0.8vw 1.6vw;
  border-radius: 0.6vw;
  border: none;
  font-size: 1.1vw;
  cursor: pointer;
  background: #222;
  color: #fff;
}
/* small button: converted from rem/px */
.new-listing-btn {
  border-radius: 0.6vw;
  border: none;
  font-size: 1.1vw;
  cursor: pointer;
  background: #222;
  color: #fff;
}
.new-listing-btn-next {
	background: #ffffff26;
	color: #ffffffcf;
	font-weight: 500;
	width: 6.5vw;
	transition: letter-spacing 0.35s ease, color 0.35s ease;
}
.new-listing-btn-next:hover {
	color: #fffffff0;
	letter-spacing: 0.1vw;
	font-weight: 500;
}

.new-listing-btn-back {
	background: #ffffff12;
	color: #ffffffad;
	transition: letter-spacing 0.35s ease, color 0.35s ease;
	width: 6.5vw;
	text-align: center
}
.new-listing-btn-back:hover {
	background: #ffffff12;
	color: #ffffffdb;
	letter-spacing: 0.1vw;
	font-weight: 500;
}

.new-listing-btn-create {
	background: #ffffff26;
	color: #ffffffcf;
	font-weight: 500;
	width: 12vw;
	transition: letter-spacing 0.35s ease, color 0.35s ease;
}
.new-listing-btn-create:hover {
	color: #fffffff0;
	letter-spacing: 0.075vw;
	font-weight: 500;
}

/* summary */
.new-listing-summary-content {
  background: #0d0d0d;
  padding: 1.2vw;
  border-radius: 0.6vw;
  font-size: 1.1vw;
}

/* category buttons */
/* converted rem values -> vw */
.category-buttons {
	display: flex;
	gap: 0.833vw;
	flex-wrap: wrap;
	margin: 0 auto;
  font-size: 1.25vw;
}



.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7vw;
  padding: 0.75vw 1.25vw;
  border-radius: 1vw;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin: 0 auto;
}
.cat-btn i { font-size: 1.5vw; /* 1.05rem -> ~0.875vw */ }
.cat-btn:hover { transform: translateY(-0.104vw); /* 2px -> ~0.104vw */ box-shadow: 0 0.3125vw 0.9375vw rgba(0, 0, 0, 0.6); /* 6px/18px -> ~0.3125vw/0.9375vw */ }

/* subcategory buttons */
.subcategory-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5vw;
  padding: 0vw 13vw;
}

.subcat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7vw;
  padding: 0.75vw 1.25vw;
  border-radius: 1vw;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
	font-size: 1.25vw;
}

.subcat-btn:hover { transform: translateY(-0.104vw); }

/* hide "Back" at the top of category selection start */
#step0-view-categories #main-back-categories { display: none !important; }

/* fields container */

.brand-model-group { display: flex; gap: 0.6rem; gap: 0.417vw; flex-wrap: wrap; align-items: flex-start; margin-bottom: 1vw; }
.price-row { align-items: center; }

/* contact */
.new-listing-row {
  display: flex;
  gap: 1vw;
  justify-content: center;
}





/* FEATURES */

.features-wrapper {
  margin: 0 auto;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  justify-content: space-between;
}

/* skrytý checkbox vo vnútri tlačidla */
.feature-checkbox {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* základný štýl tlačidla */
.feature-button {
  position: relative;
  display: flex;
  flex: 1 1 calc(25% - 1vw);   /* max 4 v riadku */
  max-width: calc(25% - 1vw);
  box-sizing: border-box;
  border-radius: 0.6vw;
  height: 3vw;
  border: 0.15vw solid rgba(0, 0, 0, 0.1);
  background: #ffffff03;
  text-align: center;
  font-size: 0.9vw;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, transform 0.1s ease;
  justify-content: center;
  align-items: center;
}

.feature-button:hover {
  background: rgb(255 255 255 / 5%);
}

/* zvolený stav – keď je checkbox vnútri labelu zaškrtnutý */
.feature-button:has(.feature-checkbox:checked) {
  background: #00ff3f17;
  border-color: #25a244;
  color: #ffffff;
}















/* location suggestions list */
.location-suggestions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  z-index: 999;
  background: #000000;
  color: #fff;
  border: 0.0625vw solid #333; /* 1px */
  width: 100%;
  max-height: 5vw; /* 12rem -> 12 * 0.833vw = 10vw; but to keep it visually reasonable use 6.25vw */
  overflow: auto;
  display: none;
	left: 0;
	top: 3.5vw;
	font-size: 1vw;
}
.location-suggestion-item { padding: 0.417vw; cursor: pointer; border-bottom: 0.052vw solid #222; }
.location-suggestion-item:hover { background: #1a1a1a; }

/* summary boxes */
.summary-wrap { display: flex; flex-direction: column; gap: 0.8vw; }
.summary-title { font-size: 0.96vw; /* 1.15rem -> ~0.958vw */ margin: 0 0 0.5vw 0; }
.summary-grid { display: flex; gap: 0.8vw; flex-wrap: wrap; }
.summary-box { width: 32.5%; /* 18rem -> 18 * 0.8333 = 15vw, adjusted to 9.375vw to fit layout better */ box-sizing: border-box; padding: 0.6vw; background: #070707; border-radius: 0.5vw; }
.summary-label { font-size: 0.75vw; /* 0.9rem -> ~0.75vw */ color: #aaa; margin-bottom: 0.3vw; }
.summary-value { font-size: 0.833vw; /* 1rem -> ~0.833vw */ color: #fff; }
.summary-photos {
    display: flex;
    gap: 0.6vw; /* medzera medzi obrÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡zkami */
    flex-wrap: wrap;
}

.summary-photo img {
    width: 16.4vw; /* 5 obrÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡zkov = 5*19vw + 4*0.6vw ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°Ãƒâ€¹Ã¢â‚¬Â  100% */
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.4vw;
    flex: none; /* pevnÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ veÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â¾kosÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¥, nemenÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­ sa */
}




/* helper classes */
.touched { outline-offset: 0.104vw; /* 2px -> ~0.104vw */ }
.invalid { box-shadow: 0 0 0 0.104vw rgba(255,102,102,0.12); border-color: #d33 !important; }

/* section divider style (centered title with lines) */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0.833vw; /* 1rem -> ~0.833vw */
  color: #ddd;
  font-weight: 600;
  font-size: 0.833vw; /* 1rem -> ~0.833vw */
  margin: 3vw 0vw 1.5vw 0vw;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 0.052vw; /* 1px -> ~0.052vw */
  background: #333;
}
.section-divider span { padding: 0 0.667vw; color: #ddd; } /* 0.8rem -> ~0.667vw */


.section-divider-vehicles {
  display: flex;
  align-items: center;
  gap: 0.833vw; /* 1rem -> ~0.833vw */
  color: #ddd;
  font-weight: 600;
  font-size: 0.833vw; /* 1rem -> ~0.833vw */
  margin: 3vw 0vw 1.5vw 0vw;
}

.section-divider-vehicles::before,
.section-divider-vehicles::after {
  content: "";
  flex: 1;
  height: 0.052vw; /* 1px -> ~0.052vw */
  background: #333;
}
.section-divider span { padding: 0 0.667vw; color: #ddd; } /* 0.8rem -> ~0.667vw */


/* label + icon to the left layout */
.new-listing-field.icon-left {
  flex-direction: row;
  align-items: center;
  gap: 0.8vw;
}
.new-listing-field.icon-left .label-text {
  min-width: 6rem;
  min-width: 5vw; /* convert approximate */
  display: inline-block;
  color: #ddd;
}
.new-listing-field.icon-left i { font-size: 1.1rem; font-size: 0.916vw; color: #ddd; }

/* select default "label" look (first option empty) */
.new-listing-field select option[value=""] { color: #8f8f8f; }
.new-listing-field select { color: #fff; }

/* price input with currency marker
Note: requires JS to set data-currency attribute on the container with the symbol (e.g. data-currency="ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬")
Example HTML wrapper expected: <div class="price-input-wrapper" data-currency="ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬"><input id="new-listing-price" ...></div>
*/
.price-input-wrapper { position: relative; display: inline-block; width: 100%; }
.price-input-wrapper input[type="number"],
.price-input-wrapper input[type="text"] { padding-right: 3.2vw; box-sizing: border-box; }
.price-input-wrapper::after {
  content: attr(data-currency);
  position: absolute;
  right: 0.8vw;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.87vw; /* 1.05rem -> ~0.875vw */
  color: #ddd;
  pointer-events: none;
}

/* pieces input (for "Amount per piece" price type)
JS should toggle .show-pieces on the parent .price-row or on #price-quantity-wrapper
*/
#price-quantity-wrapper { display: none; }
.price-row.show-pieces #price-quantity-wrapper,
#price-quantity-wrapper.show { display: block; }

/* focus states */
.new-listing-field input:focus,
.new-listing-field select:focus,
.new-listing-field textarea:focus {
  outline: none;
  border-color: #505050;
  box-shadow: 0 0 0 0.156vw rgba(43, 136, 136, 0.06); /* 3px -> ~0.156vw */
}

/* make select arrow less prominent */
.new-listing-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 0.729vw) calc(1.15em + 0.104vw),
                       calc(100% - 0.521vw) calc(1.15em + 0.104vw); /* translated approx */
  background-size: 0.3125vw 0.3125vw, 0.3125vw 0.3125vw; /* 6px -> ~0.3125vw */
  background-repeat: no-repeat;
  padding-right: 2.4vw;
}

/* small width adjustments */
.new-listing-field select, .new-listing-field input { min-width: 10vw; }

/* visual red highlight for summary create attempt:
.highlight-missing class can be toggled by JS on the form or fields to mark all missing required fields */
.highlight-missing .new-listing-field[data-required="true"]:not([data-filled="true"]) input,
.highlight-missing .new-listing-field[data-required="true"]:not([data-filled="true"]) select,
.highlight-missing .new-listing-field[data-required="true"]:not([data-filled="true"]) textarea {
  border-color: #d33 !important;
  box-shadow: 0 0 0 0.208vw rgba(211, 51, 51, 0.06); /* 4px -> ~0.208vw */
}

/* small usability tweaks */
.new-listing-field label { color: #ddd; }
.new-listing-field .note { font-size: 0.9vw; color: #9a9a9a; }

/* ==== INPUTS S IKONOU ==== */
/* ==== INPUTS S IKONOU ==== */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  background: #0f0f0f91;
  border: 0.052vw solid #333;
  backdrop-filter: blur(0.25vw);
  border-radius: 0.417vw;
  padding: 0vw 0vw 0vw 0.8vw;
  transition: all 0.2s ease;
  flex: 1 1 auto;
  width: 20vw;
  overflow: visible; /* umoÅ¾nÃ­ tooltipu presahovaÅ¥ */
}

/* select vo vnÃºtri */
.input-with-icon select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  font: inherit;
  padding: 0.4vw 0.8vw;
  outline: none;
  cursor: pointer;
  background-image: none !important;
}

/* tooltip */
.tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #0a0a0aed;
  color: #fff;
  padding: 0.6vw;
  border-radius: 0.5vw;
  font-size: 0.75vw;
  opacity: 0;
  border: 0.1vw solid #414141;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
  z-index: 999;
  width: 100%;
  text-align: center;
  transform: translateX(-50%) translateY(-5vw);
}

/* zobrazÃ­ tooltip pri hover */
.input-with-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-5.5vw);
}

/* skryje tooltip, keÄ je select v focus */
.input-with-icon select:focus + .tooltip {
  opacity: 0;
}

/* odstrÃ¡ni natÃ­vnu Å¡Ã­pku */
.input-with-icon select::-ms-expand {
  display: none;
}

/* Firefox Å¡peciÃ¡lne */
.input-with-icon select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #fff;
}

/* vypnutÃ¡ vlastnÃ¡ Å¡Ã­pka */
.input-with-icon::after {
  content: '';
  position: absolute;
  right: 0.8vw;
  pointer-events: none;
}

/* ikona */
.input-with-icon i {
  margin-right: 0.5vw;
  color: #ffffff;
}

/* doplnkovÃ© info vpravo */
.input-with-icon span {
  position: absolute;
  right: 1vw;
  color: #898989;
  font-weight: 500;
  font-size: 1vw;
	cursor: pointer;
	user-select: none;
}


.input-with-icon-description {
  position: relative;
  display: flex;
  background: #0f0f0f91;
  border: 0.052vw solid #333;
  backdrop-filter: blur(0.25vw);
  border-radius: 0.417vw;
  transition: all 0.2s ease;
  flex: 1 1 auto;
  width: 100%;
  margin-top: 1vw;
  flex-direction: column;
  gap: 0.5vw;
  box-sizing: border-box;
  padding: 1vw 1vw;
}

.new-description-icon {
  color: #aaa;
  font-size: 0.916vw;
  min-width: 1.083vw;
  text-align: center;
  align-self: flex-start;
}

/* wrapper for icon + editor */
.input-with-icon-description .desc-wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

/* the visible rich editor */
.desc-editor {
  background: transparent;
  border: 0;
  color: #ddd;
  outline: none;
  width: 100%;
  font-size: 0.9vw;
  line-height: 1.4;
  padding: 0;
  margin-bottom: 1vw;
  box-sizing: border-box;
  white-space: pre-wrap;
  word-wrap: break-word;
  caret-color: #fff;
  min-height: 10vw;
  max-height: 30vw;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.desc-editor::-webkit-scrollbar {
  display: none;
}


/* placeholder */
.desc-placeholder {
  color: #6f6f6f;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1vw;
  user-select: none;
	padding-left: 0.5vw;
}

/* toolbar always visible */
.input-with-icon-description .desc-toolbar {
  position: absolute;
  left: 0.6vw;
  right: 0.8vw;
  bottom: 0.6vw;
  display: flex;
  gap: 0.6vw;
  align-items: center;
  background: rgba(20,20,20,0.95);
  border: 0.04vw solid #2a2a2a;
  padding: 0.45vw 0.5vw;
  border-radius: 0.417vw;
  box-shadow: 0 0.3vw 0.8vw rgba(0,0,0,0.6);
  z-index: 50;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* toolbar controls */
.input-with-icon-description .desc-toolbar button,
.input-with-icon-description .desc-toolbar select {
  border: none;
  background: transparent;
  border-radius: 0.3vw;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s ease;
  color: #d0d0d0;
  font-size: 0.9vw;
}

.input-with-icon-description .desc-toolbar select {
  border: none;
  background: rgba(255,255,255,0.02);
  color: #ddd;
  height: 2vw;
  width: 8vw;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  background-repeat: none;
  padding-right: 0.5vw;
}


/* active state */
.input-with-icon-description .desc-toolbar .active {
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.input-with-icon-description .desc-toolbar button i:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.input-with-icon-description .desc-toolbar button i {
  font-size: 0.95vw;
  width: 3vw;
  height: 2vw;
  display: flex;
  align-items: center;
  justify-content: center;
	transition: background 0.25s ease, color 0.25s ease;
  border-radius: 0.3vw;
	color: #818181;
}


/* ensure content has visible default semantics */
.desc-editor p { margin: 0 0 0.6em 0; }
.desc-editor h1 { font-size: 1.6vw; margin: 0 0 0.6em 0; font-weight: 700; }
.desc-editor h2 { font-size: 1.3vw; margin: 0 0 0.5em 0; font-weight: 700; }
.desc-editor h3 { font-size: 1.05vw; margin: 0 0 0.4em 0; font-weight: 700; }

.desc-editor strong, .desc-editor b { font-weight: 700; }
.desc-editor em, .desc-editor i { font-style: italic; }
.desc-editor u { text-decoration: underline; }
.desc-editor s, .desc-editor strike { text-decoration: line-through; }

/* lists visible (force list-style in case global CSS removed it) */
.desc-editor ul { list-style: disc inside; margin: 0.4em 0 0.4em 1.2em; padding: 0; }
.desc-editor ol { list-style: decimal inside; margin: 0.4em 0 0.4em 1.2em; padding: 0; }
.desc-editor li { margin: 0.2em 0; }

/* links visible */
.desc-editor a { color: #8fbaf7; text-decoration: underline; }

/* ensure enough bottom padding so toolbar doesn't overlap */
.input-with-icon-description .desc-editor[contenteditable="true"] {
  padding-bottom: 3.2vw;
  padding-left: 0.5vw;
}


.input-with-icon i {
  color: #aaa;
  margin-right: 0.6vw;
  font-size: 0.916vw;
  min-width: 1.083vw;
  text-align: center;
}

.new-description-icon {
	margin-top: 0.15vw;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon-description textarea {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1vw;
  width: 100%;
  outline: none;
  padding: 1vw 0;
}


.input-with-icon-description textarea {
  resize: vertical;
  min-height: 6vw;
  padding: 0.4vw 0;
}

.input-with-icon select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%),
                    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 0.729vw) calc(1.15em + 0.104vw),
                       calc(100% - 0.521vw) calc(1.15em + 0.104vw);
  background-size: 0.3125vw 0.3125vw, 0.3125vw 0.3125vw;
  background-repeat: no-repeat;
}

select option {
  background-color: #111;
  color: #fff;
  font-size: 1vw;
}

select option:hover,
select option:checked,
select option:focus {
  background-color: #333;
  color: #ffffff;
}


/* Hover & focus efekty */

.input-with-icon-description:hover {
  border-color: #505050;
}

.input-with-icon:hover {
  border-color: #505050;
}

.input-with-icon input::placeholder,
.input-with-icon textarea::placeholder,
.input-with-icon select {
  color: #888;
}

/* Disabled stav */
.input-with-icon select:disabled,
.input-with-icon input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Fullwidth verzie */
.input-with-icon.fullwidth {
  width: 100%;
}

/* Price s menou napravo */
.price-with-suffix {
  position: relative;
}

.price-with-suffix .currency-suffix {
  position: absolute;
  right: 1vw;
  color: #aaa;
  font-size: 0.87vw; /* ~1.05rem */
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
}

.section-divider-vehicles.hidden {
  display: none !important;
}
