.contact-us__map,
.kata-single-product-map {
  filter: grayscale(1);
}
.kata-search-form {
  position: relative;
}

/* Stendai search: same Flatpickr range as single product (no filter wiring yet) */
.kata-search-form
  .kata-search-form__field--laikotarpis.laikotarpis-select--flatpickr
  .itb-rental-range-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 30px;
  padding: 0px 0 0 0;
  margin: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  font-family: var(--sub-font, inherit);
  cursor: pointer;
}

.kata-search-form
  .kata-search-form__field--laikotarpis.laikotarpis-select--flatpickr
  .itb-rental-range-input::placeholder {
  color: #fff;
  opacity: 0.55;
}

.kata-search-form
  .kata-search-form__field--laikotarpis.laikotarpis-select--flatpickr
  .itb-rental-range-input:focus {
  outline: none;
}

.kata-search-form__actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

.kata-search-form__filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  color: var(--main-color, #0d3d2a);
  font-family: var(--sub-font, var(--font, inherit));
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.kata-search-form__filter-btn:hover {
  background-color: var(--sub-color, #333);
  color: #fff;
}

.kata-search-form__filter-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.katafilter-cities-helper {
  position: absolute;
  width: 100%;
  z-index: 2;
  height: 100%;
}
.katafilter-cities {
  background: #000;
  color: #fff;
  padding: 30px;
  height: 100%;
}

.katafilter-cities h3 {
  margin-bottom: 10px;
}
.katafilter-cities p {
  margin-bottom: 30px;
}

.cityitem {
  padding: 15px 40px 15px 50px;
  border-bottom: 1px solid #fff;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}
.cityitem:hover {
  opacity: 0.7;
  transition: all 0.3s;
}
.screen-ico {
  display: block;
  background: url(../images/screenicon.svg) no-repeat center center;
  background-size: 32px;
  width: 32px;
  height: 31px;
}
/* .cityitem .cityquantity:after {
  content: "";
  display: block;
  background: url("../images/screenicon.svg") no-repeat center center;
  background-size: 32px;
  position: absolute;
  left: 7px;
  top: 12px;
  width: 32px;
  height: 31px;
} */
.cityitem:before {
  content: "";
  display: block;
  background: url("../images/arrow-city.svg") no-repeat center center;
  background-size: 10px;
  position: absolute;
  right: 12px;
  top: 24px;
  width: 10px;
  height: 7px;
}
.katafilter-cities-list {
  overflow-y: scroll;
  max-height: 560px;
}
.cityitem .cityquantity {
  display: block;
  position: absolute;
  left: 6px;
  top: 50%;
  font-size: 12px;
  line-height: 12px;
  transform: translateY(-49%);
}
.cityitem .cityquantity .number {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 5px);
}
.katafilter-cities .cityitem:first-child {
  border-top: 1px solid #fff;
}

@media screen and (min-width: 1500px) {
}

@media screen and (max-width: 900px) or (min-width: 600px) {
}

/* Eye control: link to product (same look as former button) */
.map-location-content-info a.openTableItem,
.search-form-table__column-item a.openTableItem {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  margin: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

/* List row: fly map to this stendas */
.search-form-table__column-item button.itb-locate-on-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  margin: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 0;
}

.search-form-table__column-item button.itb-locate-on-map:hover {
  opacity: 0.75;
}

.search-form-table__column-item button.itb-locate-on-map:focus-visible {
  outline: 2px solid var(--sub-color, #333);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Stendai / map: add-to-cart icon — loading spinner, then red when in cart */
button.addTableItem {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  vertical-align: middle;
  cursor: pointer;
  line-height: 0;
}

button.addTableItem:disabled {
  cursor: default;
}

button.addTableItem.loading {
  cursor: wait;
  pointer-events: none;
}

button.addTableItem.loading img {
  opacity: 0.25;
}

button.addTableItem.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--sub-color, #333);
  border-radius: 50%;
  animation: itb-atc-spin 0.65s linear infinite;
  box-sizing: border-box;
}

button.addTableItem.itb-atc-added {
  cursor: default;
  pointer-events: none;
}

button.addTableItem.itb-atc-added img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(7498%)
    hue-rotate(357deg) brightness(95%) contrast(118%);
}

@keyframes itb-atc-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Stendai: table list while filtered-billboards REST request runs */
.search-form-table.itb-search-table-loading {
  position: relative;
}

.search-form-table.itb-search-table-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(255, 255, 255, 0.78);
  cursor: wait;
}

.search-form-table.itb-search-table-loading::before {
  content: "";
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--sub-color, #333);
  border-radius: 50%;
  animation: itb-atc-spin 0.65s linear infinite;
  box-sizing: border-box;
  pointer-events: none;
}

.map-location-content-info button.addTableItem.loading::after {
  border-color: rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 0.9);
}

.map-location-content-info button.addTableItem.itb-atc-added img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(95%) saturate(6400%)
    hue-rotate(353deg) brightness(98%) contrast(104%);
}

/* Map popup: week strip — current week (.active), free vs busy (from week_availability_json) */
.weeks-item.active .weeks-item__line {
  background-color: var(--sub-color);
}
.weeks-item.weeks-item--free:not(.active) .weeks-item__line {
  background-color: #8cba6a;
}
.weeks-item.weeks-item--busy:not(.active) .weeks-item__line {
  background-color: #d8d8d8;
}
.map-location-content-info__status--busy {
  color: var(--text-color);
  opacity: 0.85;
}

/* Single product: billboard specs (meta) above timeline */
.kata-product-specs {
  padding-top: 24px;
  padding-left: 29px;
  margin: 0 0 24px;
}

.kata-product-specs__row {
  margin: 0 0 1px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-color);
}

.kata-product-specs__row:last-child {
  margin-bottom: 0;
}

.kata-product-specs__label {
  font-weight: 400;
  margin-right: 0.35em;
}

.kata-product-specs__value {
  font-weight: 700;
}

/* Single product: dynamic week timeline (matches week_availability_json) */
.timeline-single-flex .timeline-top,
.timeline-single-flex .timeline-bars,
.timeline-single-flex .timeline-bottom {
  display: flex;
  gap: 2px;
  align-items: stretch;
  justify-content: flex-start;
}

.timeline-single-flex .timeline-top span,
.timeline-single-flex .timeline-bottom span {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-size: 8px;
  line-height: 1;
  font-weight: 300;
  color: var(--text-color);
}

.timeline-single-flex .timeline-top span {
  font-weight: 700;
}

.timeline-single-flex .timeline-bars .bar {
  flex: 1 1 0;
  min-width: 3px;
  width: auto;
  height: 8px;
  border-radius: 2px;
}

.timeline-single-flex .timeline-bars .bar--free {
  background-color: #8cba6a;
}

.timeline-single-flex .timeline-bars .bar--busy {
  background-color: #d8d8d8;
}

.timeline-single-flex .timeline-bars .bar--current {
  box-shadow: 0 0 0 1px var(--sub-color, #333);
}

.timeline-empty {
  font-size: 12px;
  margin: 0;
  color: var(--text-color);
  opacity: 0.8;
}

/* Single product Leaflet (was iframe ~681px) */
.single-product-leaflet.product-leaflet-map {
  width: 100%;
  height: 681px;
  min-height: 320px;
  border-radius: 0 20px 20px 0;
  background: #f0f0f0;
}

.single-product-leaflet--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.single-product-leaflet--empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-color);
}

/* Single product: Flatpickr range (Laikotarpis) */
.laikotarpis-select--flatpickr .itb-rental-range-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 28px 6px 0;
  margin: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc9c6;
  border-radius: 0;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
  font-family: var(--sub-font);
  cursor: pointer;
}

.laikotarpis-select--flatpickr .itb-rental-range-input::placeholder {
  color: var(--text-color);
  opacity: 0.55;
}

.laikotarpis-select--flatpickr .itb-rental-range-input:focus {
  outline: none;
}

.flatpickr-calendar {
  z-index: 5000;
}

.laikotarpis--unavailable {
  padding: 20px;
}

.laikotarpis__notice {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-color);
}
.cart-title {
  font-family: Inter;
  font-weight: 700;
  font-style: Bold;
  font-size: 54px;
  line-height: 54px;
}

/* Cart: billboard cards (Figma-style) */
.woocommerce-cart .web-section {
  padding: 73px 0px !important;
}
.woocommerce-cart .cart-title {
  padding-bottom: 24px;
}
.kata-product-specs--cart {
  padding: 0;
  margin: 0;
}

.kata-product-specs--cart .kata-product-specs__row {
  font-size: 14px;
}

.itb-cart-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.itb-cart-item-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 28px 48px 28px 28px;
}

.itb-cart-item-card__remove.remove {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-decoration: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.18s ease;
}

.itb-cart-item-card__remove.remove::before,
.itb-cart-item-card__remove.remove::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #111;
  transition: background-color 0.18s ease;
}

.itb-cart-item-card__remove.remove::before {
  transform: rotate(45deg);
}

.itb-cart-item-card__remove.remove::after {
  transform: rotate(-45deg);
}

.itb-cart-item-card__remove.remove:hover {
  background: #111;
}

.itb-cart-item-card__remove.remove:active,
.itb-cart-item-card__remove.remove:focus-visible {
  background: #111;
}

.itb-cart-item-card__remove.remove:hover::before,
.itb-cart-item-card__remove.remove:hover::after,
.itb-cart-item-card__remove.remove:active::before,
.itb-cart-item-card__remove.remove:active::after,
.itb-cart-item-card__remove.remove:focus-visible::before,
.itb-cart-item-card__remove.remove:focus-visible::after {
  background: #fff;
}

/* Hard override for Woo remove button in cart cards */
.woocommerce-cart .itb-cart-item-card .woocommerce a.remove,
.woocommerce-cart .itb-cart-item-card a.remove {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  transition: background-color 0.18s ease;
}

.woocommerce-cart .itb-cart-item-card .woocommerce a.remove::before,
.woocommerce-cart .itb-cart-item-card .woocommerce a.remove::after,
.woocommerce-cart .itb-cart-item-card a.remove::before,
.woocommerce-cart .itb-cart-item-card a.remove::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 17px;
  width: 18px;
  height: 2px;
  background: #111;
  border-radius: 99px;
  transition: background-color 0.18s ease;
}

.woocommerce-cart .itb-cart-item-card .woocommerce a.remove::before,
.woocommerce-cart .itb-cart-item-card a.remove::before {
  transform: rotate(45deg);
}

.woocommerce-cart .itb-cart-item-card .woocommerce a.remove::after,
.woocommerce-cart .itb-cart-item-card a.remove::after {
  transform: rotate(-45deg);
}

.woocommerce-cart .itb-cart-item-card .woocommerce a.remove:hover,
.woocommerce-cart .itb-cart-item-card .woocommerce a.remove:focus-visible,
.woocommerce-cart .itb-cart-item-card .woocommerce a.remove:active,
.woocommerce-cart .itb-cart-item-card a.remove:hover,
.woocommerce-cart .itb-cart-item-card a.remove:focus-visible,
.woocommerce-cart .itb-cart-item-card a.remove:active {
  background: #111 !important;
}

.woocommerce-cart .itb-cart-item-card .woocommerce a.remove:hover::before,
.woocommerce-cart .itb-cart-item-card .woocommerce a.remove:hover::after,
.woocommerce-cart
  .itb-cart-item-card
  .woocommerce
  a.remove:focus-visible::before,
.woocommerce-cart
  .itb-cart-item-card
  .woocommerce
  a.remove:focus-visible::after,
.woocommerce-cart .itb-cart-item-card .woocommerce a.remove:active::before,
.woocommerce-cart .itb-cart-item-card .woocommerce a.remove:active::after,
.woocommerce-cart .itb-cart-item-card a.remove:hover::before,
.woocommerce-cart .itb-cart-item-card a.remove:hover::after,
.woocommerce-cart .itb-cart-item-card a.remove:focus-visible::before,
.woocommerce-cart .itb-cart-item-card a.remove:focus-visible::after,
.woocommerce-cart .itb-cart-item-card a.remove:active::before,
.woocommerce-cart .itb-cart-item-card a.remove:active::after {
  background: #fff;
}

.itb-cart-item-card__grid {
  display: flex;
  gap: 36px;
  align-items: stretch;
}

.itb-cart-item-card__col--info {
  flex: 0 0 40%;
  max-width: 40%;
}

.itb-cart-item-card__title {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  font-family: var(--sub-font);
  color: var(--text-color);
}

.itb-cart-item-card__title a {
  color: inherit;
  text-decoration: none;
}

.itb-cart-item-card__title a:hover {
  text-decoration: underline;
}

.itb-cart-item-card__title-icon {
  margin-top: 2px;
  flex-shrink: 0;
}

.itb-cart-item-card__print {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
  color: var(--text-color);
}

.itb-cart-item-card__print-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.itb-cart-item-card__print-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 3px;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  box-sizing: border-box;
}

.itb-cart-item-card__print-input:checked + .itb-cart-item-card__print-box {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: inset 0 0 0 2px #fff;
}

.itb-cart-item-card__print-input:focus + .itb-cart-item-card__print-box {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.itb-cart-item-card__qty-wrap {
  margin-top: 16px;
}

.itb-cart-item-card__qty-label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--text-color);
  opacity: 0.85;
}

.itb-cart-item-card__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 16px;
  font-size: 14px;
  align-items: baseline;
}

.itb-cart-item-card__col--calendar {
  flex: 0 0 25%;
  max-width: 25%;
  min-width: 280px;
}

.itb-cart-item-card__col--media {
  flex: 0 0 30%;
  max-width: 30%;
  display: flex;
}

.itb-cart-inline-cal {
  display: block;
}

.itb-cart-inline-cal .flatpickr-calendar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  box-shadow: none;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  pointer-events: none;
  font-size: 12px;
}

.itb-cart-inline-cal .flatpickr-day.selected,
.itb-cart-inline-cal .flatpickr-day.startRange,
.itb-cart-inline-cal .flatpickr-day.endRange {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.itb-cart-inline-cal .flatpickr-day.inRange {
  background: rgba(37, 99, 235, 0.18);
  border-color: transparent;
  box-shadow: none;
  color: var(--text-color, #111);
}

.itb-cart-inline-cal__hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-color);
  opacity: 0.65;
  text-align: center;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.itb-cart-item-card__img {
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  line-height: 0;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.itb-cart-item-card__img-el {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.itb-cart-item-card__img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.itb-cart-actions {
  display: none;
}

@media screen and (max-width: 992px) {
  .itb-cart-item-card__grid {
    flex-direction: column;
  }

  .itb-cart-item-card__col--info,
  .itb-cart-item-card__col--calendar {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }

  .itb-cart-inline-cal .flatpickr-calendar {
    width: 100%;
    max-width: 340px;
  }

  .itb-cart-item-card__col--media {
    flex: 1 1 100%;
    max-width: 100%;
    order: -1;
  }

  .itb-cart-item-card__img {
    min-height: 220px;
  }
}

/* Header: cart quantity badge */
.header-link--cart .header-link__block {
  position: relative;
}

.header-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 999px;
  background-color: var(--sub-color, #333);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  font-family: var(--font, inherit);
  pointer-events: none;
}

.header-cart-count.is-empty {
  display: none;
}

@media screen and (min-width: 1200px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 992px) {
}

@media screen and (max-width: 767px) {
}

@media screen and (max-width: 480px) {
}
