.lcr-wrap {
    width: 100%;
}

.lcr-bar {
    background: #f3f6fb;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.lcr-row {
    display: grid;
    /* Keep fields readable; wrap earlier on medium widths */
    grid-template-columns: 1.15fr 1.15fr 1.35fr 1.35fr minmax(180px, 220px);
    gap: 10px;
    align-items: stretch;
}

.lcr-field {
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Improve labels and input text spacing */
.lcr-field label,
.lcr-sub label {
    font-size: 12px;
    margin-bottom: 4px;
    color: #64748b;
}

.lcr-field select,
.lcr-field input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 15px;
    color: #0f172a;
    background: transparent;
}

.lcr-field.is-disabled {
    opacity: .55;
}

.lcr-action {
    display: flex;
    align-items: stretch;
}

.lcr-btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #2b63c5;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 20px rgba(43, 99, 197, .25);
}

.lcr-btn:hover {
    filter: brightness(1.03);
}

.lcr-icon {
    font-size: 16px;
    opacity: .9;
}

.lcr-row--bottom {
    margin-top: 12px;
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}

.lcr-check {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #334155;
    font-size: 14px;
}

.lcr-check input {
    width: 18px;
    height: 18px;
}

@media (max-width: 1200px) {
    .lcr-row {
        grid-template-columns: 1fr 1fr;
    }

    .lcr-action {
        grid-column: 1/3;
    }
}

@media (max-width: 520px) {
    .lcr-row {
        grid-template-columns: 1fr;
    }

    .lcr-action {
        grid-column: auto;
    }
}

.lcr-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1024px) {
    .lcr-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .lcr-results {
        grid-template-columns: 1fr;
    }
}

.lcr-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
}

.lcr-card__img {
    height: 160px;
    background: #e2e8f0;
    background-size: cover;
    background-position: center;
}

.lcr-card__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lcr-card__title {
    font-weight: 800;
    color: #0f172a;
    font-size: 16px;
}

.lcr-card__price {
    color: #334155;
    font-size: 14px;
}

.lcr-card__meta {
    color: #16a34a;
    font-weight: 700;
    font-size: 13px;
}

.lcr-card__btn {
    margin-top: 6px;
    text-decoration: none;
    background: #0f172a;
    color: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
}

.lcr-results-msg {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
}

/* Flatpickr popup should always be above hero/headers */
.flatpickr-calendar {
  z-index: 999999 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  border-radius: 14px;
}

/* Prevent any parent container from clipping the calendar */
.lcr-wrap, .lcr-bar {
  overflow: visible !important;
}

/* If your header/hero has overflow hidden, this helps too */
.elementor-section, .elementor-container, .elementor-widget-wrap {
  overflow: visible;
}

.lcr-field.is-disabled select{
  cursor: not-allowed;
}
.lcr-field.is-disabled{
  background: #f8fafc;
}

/* Disabled custom dropdown (used when "Return in the same location" is checked) */
.lcr-dd.is-disabled .lcr-dd-trigger{
  cursor: not-allowed;
  pointer-events: none;
  opacity: .7;
}

.lcr-split {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 10px;
}

.lcr-sub {
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lcr-sub label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.lcr-sub select,
.lcr-sub input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 15px;
    color: #0f172a;
    background: transparent;
}

/* Make each "card" slimmer */
.lcr-field,
.lcr-sub {
    padding: 10px 12px;
    border-radius: 14px;
    min-height: 66px;
}

.lcr-field select,
.lcr-sub select,
.lcr-sub input {
    font-size: 15px;
    line-height: 1.2;
}

/* Fix date input width so it never collapses */
.lcr-sub input.lcr-date {
    width: 100%;
    min-width: 140px;
}

/* Search button compact but tall */
.lcr-btn {
    border-radius: 14px;
    font-size: 15px;
}

/* --- Time dropdown reset (prevents Elementor/theme button styling) --- */
.lcr-time-dd {
    position: relative;
    width: 100%;
}

/* This is the clickable "input-like" text, NOT a styled button */
.lcr-time-trigger {
    all: unset;
    /* resets Elementor/theme button styles */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;
    font-size: 15px;
    line-height: 1.2;
    color: #0f172a;
}

.lcr-time-trigger::after {
    content: "▾";
    opacity: .7;
    margin-left: 10px;
    font-size: 14px;
}

/* Dropdown panel */
.lcr-time-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    max-height: 220px;
    /* compact, no tower */
    overflow: auto;
    padding: 6px;
    z-index: 999999;
}

/* Options */
.lcr-time-opt {
    padding: 10px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #0f172a;
}

.lcr-time-opt:hover {
    background: rgba(43, 99, 197, .10);
}

.lcr-time-opt.is-active {
    background: rgba(43, 99, 197, .16);
    font-weight: 700;
}

/* Kill any theme/Elementor focus/active coloring on the trigger */
.lcr-time-trigger,
.lcr-time-trigger:focus,
.lcr-time-trigger:active,
.lcr-time-trigger:hover {
    background: transparent !important;
    color: #0f172a !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Some themes apply these weird styles to all buttons */
.lcr-time-trigger {
    -webkit-tap-highlight-color: transparent;
}

/* If theme uses ::selection or focus ring, neutralize */
.lcr-time-trigger::selection {
    background: transparent;
}

.lcr-sub .lcr-time-dd {
    width: 100%;
}

.lcr-sub .lcr-time-trigger {
    width: 100%;
}

/* default: open down */
.lcr-time-panel {
    top: calc(100% + 8px);
    bottom: auto;
}

/* when opening up */
.lcr-time-dd.open-up .lcr-time-panel {
    top: auto;
    bottom: calc(100% + 8px);
}

/* Shared dropdown styles (used for location + time) */
.lcr-dd {
    position: relative;
    width: 100%;
}

.lcr-dd-trigger {
    all: unset;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 15px;
    color: #0f172a;
    line-height: 1.2;
}

.lcr-dd-trigger::after {
    content: "▾";
    opacity: .65;
    margin-left: 10px;
    font-size: 12px;
}

.lcr-dd-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    max-height: 220px;
    overflow: auto;
    padding: 6px;
    z-index: 999999;
}

.lcr-dd.open-up .lcr-dd-panel {
    top: auto;
    bottom: calc(100% + 8px);
}

.lcr-dd-opt {
    padding: 10px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #0f172a;
}

.lcr-dd-opt:hover {
    background: rgba(43, 99, 197, .10);
}

.lcr-dd-opt.is-active {
    background: rgba(43, 99, 197, .16);
    font-weight: 700;
}

/* Kill theme/Elementor styles on location dropdown trigger */
.lcr-dd-trigger{
  all: unset;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

  cursor: pointer;
  font-size: 15px;
  line-height: 1.2;
  color: #0f172a;

  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Prevent hover/focus/active coloring */
.lcr-dd-trigger:hover,
.lcr-dd-trigger:focus,
.lcr-dd-trigger:active{
  background: transparent !important;
  color: #0f172a !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Arrow for location dropdown */
.lcr-dd-trigger::after{
  content: "▾";
  opacity: .65;
  margin-left: 10px;
  font-size: 12px;
}
