/**
 * Theme Name:     Flatsome Child
 * Author:         UX-Themes
 * Template:       flatsome
 * Text Domain:	   flatsome-child
 * Description:    Flatsome child theme
 * Version: 0.0.2
 */

/* DO NOT EDIT THIS FILE USE SCSS! RUN NPM RUN BUILD TO COMPILE */

.custom-card-tag-container {
  margin-top: 10px;
  margin-bottom: 10px;
}

.custom-dropdown {
  position: relative;
  width: 200px;
  user-select: none;
  cursor: pointer;
  z-index: 100;
}
.custom-dropdown-selected {
  padding: 5px 10px;

  background: #fff;
  font-size: 15px;
  color: #222;
  border: 1px solid #bbb;
  z-index: 100;
  @media (max-width: 576px) {
    text-align: center !important;

    .custom-dropdown-list {
      text-align: left !important;
    }
  }
}
.custom-dropdown.open .custom-dropdown-selected,
.custom-dropdown-selected:focus {
  border-color: #333;
}
.custom-dropdown-list {
  display: none;
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 0 0 4px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 10;
}
.custom-dropdown-list.show {
  display: block;
  width: 100%;
}
.custom-dropdown-list li {
  padding: 2px 12px;
  margin-bottom: 0px !important;
  font-size: 15px;
  color: #222;
  cursor: pointer;
}
.custom-dropdown-list li.active,
.custom-dropdown-list li:hover {
  background: #f0f0f0;
}

.box-shadow-pdf {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 2px solid lightgray;
  padding: 20px;
  border-radius: 5px;
}

.calendar-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;

  .calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .nav-arrow {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    padding: 5px 10px;
    color: #333;
  }

  .nav-arrow:hover {
    background-color: #f0f0f0;
    border-radius: 3px;
  }

  #month-year {
    font-size: 20px;
    font-weight: 600;
    color: #333;
  }

  .weekdays-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 2px;
  }

  .weekday {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    padding: 8px 4px;
    text-align: left;
  }

  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
  }

  .passed-date .day-header {
    background: #d3d3d3 !important;
    color: #666 !important;
    cursor: not-allowed !important;
  }

  .calendar-day {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 0;
    height: 65px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
  }

  .calendar-day:hover:not(.other-month) {
    border-color: #ccc;
  }

  .day-header {
    padding: 4px 6px;
    border-radius: 4px 4px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 20px;
  }

  /* Status-based styling - only for the header */
  .calendar-day.other-month .day-header {
    background: #d3d3d3;
    color: #666;
  }

  .calendar-day.available .day-header {
    background: #90ee90;
    color: #333;
  }

  .calendar-day.no-booking .day-header {
    background: #d3d3d3;
    color: #666;
  }

  .calendar-day.booked .day-header {
    background: #cd5c5c;
    color: white;
  }

  .calendar-day.partial .day-header {
    background: #ffd700;
    color: #333;
  }

  .day-content {
    padding: 6px;
    flex: 1;
    display: flex;
    align-items: flex-end;
  }

  /* Selection styling - simple border */
  .calendar-day.selected {
    border: 2px solid orange;
    border-radius: 4px;
  }

  .calendar-day.selection-range {
    border: 2px solid orange;
    border-radius: 4px;
  }

  .calendar-day.selection-start,
  .calendar-day.selection-end {
    border: 2px solid orange;
    border-radius: 4px;
  }

  .day-number {
    font-size: 12px;
    font-weight: 600;
  }

  .day-status {
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.1;
  }

  .day-price {
    font-size: 10px;
    line-height: 1.2;
    color: #333;
  }

  .current-price {
    font-weight: 600;
    margin-right: 4px;
  }

  .original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 9px;
  }

  .notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #333;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    border: 1px solid white;
  }
}

/* Selection info panel */
.booking-output {
  .selection-info {
    margin-top: 15px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    display: none;
  }

  .selection-info.show {
    display: block;
  }

  .selection-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }

  .selection-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
  }

  .selection-actions {
    display: flex;
    gap: 8px;
  }

  .btn {
    padding: 6px 12px;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
  }

  .btn-primary {
    background: #007aff;
    color: white;
  }

  .btn-primary:hover {
    background: #0056cc;
  }

  .btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
  }

  .btn-secondary:hover {
    background: #e9ecef;
  }
}
/* Loading state */
.calendar-container {
  .loading {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1000;
    display: none;
  }

  .calendar-day.discounted {
    .day-header {
      background: orange !important;
    }
  }

  /* Responsive design */
  @media (max-width: 768px) {
    .calendar-container {
      margin: 10px;
    }

    .calendar-grid {
      gap: 1px;
    }

    .calendar-day {
      height: 55px;
    }

    .day-header {
      padding: 3px 4px;
    }

    .day-content {
      padding: 4px;
    }

    .day-number {
      font-size: 11px;
    }

    .day-status {
      font-size: 7px;
    }

    .day-price {
      font-size: 9px;
    }

    .selection-details {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
    }

    .selection-actions {
      justify-content: center;
    }
  }

  @media (max-width: 480px) {
    .calendar-day {
      height: 50px;
    }

    .day-header {
      padding: 2px 3px;
    }

    .day-content {
      padding: 3px;
    }

    .day-number {
      font-size: 10px;
    }

    .day-status {
      font-size: 6px;
    }

    .current-price {
      font-size: 8px;
    }

    .original-price {
      font-size: 7px;
    }

    .weekday {
      font-size: 10px;
      padding: 6px 2px;
    }

    #month-year {
      font-size: 18px;
    }
  }
}

.full-width-blue {
  height: 80px;
  position: relative;
  margin: 40px 0px;
}
.full-width-blue:before {
  content: "";
  position: absolute;
  width: 1000vw;
  height: 100%;
  background-color: #5198cb;
  z-index: -1;
  transform: translatex(-50%);
}

.calendar-side-image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  position: relative;
  transform: translateY(23.5%);
}

.calendar-side-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Adjust opacity here */
}

.calendar-side-content {
  filter: drop-shadow(12px 2px 14px #000);
  position: relative;
  left: 50%;
  transform: translate(-50%, -80%);
  color: white;
  padding: 20px 0px;
  border-radius: 8px;
  width: 80%;
}

.calendar-side-content h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
  filter: drop-shadow(2px 9px 5px #000);
}

.calendar-side-content p {
  font-size: 10px;
  margin-bottom: 15px !important;
  line-height: 1.2;
  max-width: 100%;
  filter: drop-shadow(2px 9px 5px #000);
}

.calendar-side-content {
  span {
    font-weight: bold;
  }
}

.calendar-side-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  height: 45px;
  margin-top: 10px;
}

@media (max-width: 576px) {
  .calendar-side-buttons {
    flex-direction: column;
    gap: 5px !important;
  }
}

.calendar-side-buttons .btn {
  padding: 10px 0px;
  text-decoration: none;
  font-size: 12px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  height: 40px;
  width: 100%;
  justify-content: center;
  display: flex;
}

.contact-btn {
  background-color: black;
  color: white;
  border: 2px solid #333;
}

.back-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.contact-btn:hover {
  background-color: white;
  color: #333;
  border-color: #333;
}

.back-btn:hover {
  background-color: white;
  color: #333;
  border-color: #333;
}

@media (max-width: 768px) {
  .calendar-side-content {
    padding: 15px 20px;
    transform: translate(-50%, -30%);
  }

  .calendar-side-content h2 {
    font-size: 24px;
    filter: drop-shadow(2px 9px 5px #000);
  }

  .calendar-side-content p {
    font-size: 14px;
    filter: drop-shadow(2px 9px 5px #000);
  }

  .calendar-side-buttons .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}

.purchasable {
  .product-sell-featured-image img {
    width: 100% !important;
    height: 600px !important;
    object-fit: cover;
    margin-top: -55px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    @media (max-width: 768px) {
      height: 300px !important;
    }
  }
  .product-sell-text h2 {
    color: white;
  }
  .sell-gallery {
    .sell-gallery-item .selected {
      transform: unset;
    }
  }
  .equipment_categories_attributes {
    padding-bottom: 50px;
  }
  .additional-options-text {
    width: 50%;
    padding-bottom: 25px;
    @media (width <=576px) {
      width: 100%;
    }
  }
  .dodatne-moznosti-col {
    .dodatne-moznosti-content {
      gap: 40px;
      h3 {
        margin-bottom: 5px;
      }
      .additional-options-description {
        padding-bottom: 0px;
      }
      .dodatne-moznosti-subfields {
        padding-top: 20px;
      }
      .dodatne-moznosti-subfields {
        gap: 20px 10px;
      }
    }
  }
}
.dodatne-moznosti-grid {
  padding-bottom: 50px;
}

.katalog-section {
  padding-bottom: 50px;
  img {
    transition: all 0.3s ease;
  }
}
.katalog-section .icon-box:hover img {
  transform: scale(1.07);
  transition: transform 0.3s ease;
}

.kako-do-nas {
  .col {
    height: 100%;
  }
  .col-inner {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .col-inner:hover {
    transform: translate(0, -5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

#customDropdownList {
  text-align: center !important;
  @media (min-width: 576px) {
    text-align: left !important;
  }
}

.calendar-side-image {
  filter: brightness(0.25) !important;
}

.akcijska-ponudba-page {
  .seasonal-discount-info {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    background-color: rgba(254, 185, 58, 0.895);
  }
}

.seasonal-discount-info {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  background-color: rgba(254, 185, 58, 0.895);
}
