/* GENERAL LAYOUT */
/*.pq-meta-wrap .pq-field { margin-bottom: 24px; }
.pq-meta-wrap label { display:block; margin-bottom:6px; font-weight:600; }

.pq-repeater td { padding:4px 0; }
.pq-repeater input { width:100%; }
.pq-repeater .button { vertical-align:middle; }

/* builder table */
/*#pq-builder-table input[type=text] { width:100%; }
#pq-builder-table select { width:100%; }
#pq-builder-table tr.ui-sortable-helper { background:#f6f7f7; }*/


.pq-meta-html { max-width:700px; margin:2em auto; line-height:1.6; }
.pq-meta-html ul { margin-left:1.5em; }


/* ==========================================================================
   1) FRONT-END FILTER LAYOUT & CONTROLS
   ========================================================================== */

.pq-filter-container {
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-gap: 16px;
}

.pq-filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 16px;
  align-items: center;
}

.pq-filters-row:nth-of-type(2) {
  grid-column: 1 / -1;
}

/* text inputs, single-select and the search box */
.pq-select,
.pq-single-select,
.pq-search-input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid #ccc;
  border-radius: 6px;
  appearance: none;
  background-color: #fff;
}

/* buttons */
.pq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.pq-find {
  background-color: #00bfff;
  color: #fff;
}

.pq-show-map {
  background-color: #fff;
  color: #00bfff;
  border: 2px solid #00bfff;
}
.pq-show-map::before {
  content: "📍";
  margin-right: 8px;
}

.pq-loadmore {
  margin: 24px auto 0;
  display: none;
  background-color: #00bfff;
  color: #fff;
}

/* spinner */
.pq-spinner {
  text-align: center;
  padding: 1em;
}
.pq-spinner__inner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #ccc;
  border-top-color: #00bfff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ==========================================================================
   2) MULTIPLE-SELECT OVERRIDES
   ========================================================================== */

/* never show that hidden “placeholder” option inside the dropdown menu */
.pq-select option[hidden] {
  display: none;
}

/* style the “box” that gets inserted after your <select> */
.ms-parent .ms-choice {
  background: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  padding: 0.5em 0.75em !important;
  line-height: 1.6 !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
}

/* placeholder text when nothing’s selected */
.ms-parent .ms-choice .placeholder {
  color: #999 !important;
  font-style: italic !important;
  opacity: 1 !important;
  display: inline-block !important;
}

/* hide the little “×” clear icon when nothing’s selected */
.ms-parent .ms-choice .ms-close {
  display: none !important;
}

/* if an actual item is selected, show the “×” */
.ms-parent .ms-choice span:not(.placeholder) + .ms-close {
  display: inline-block !important;
}










/* ───────────────────────────────────────
   PQ Meta-Box Container
─────────────────────────────────────── */
.pq-meta-wrap {
  background: #fff;
  border: 1px solid #ccd0d4;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

/* ───────────────────────────────────────
   Field Layout (grid: label + input)
─────────────────────────────────────── */
.pq-meta-wrap .pq-field {
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-gap: 12px;
  align-items: start;
  margin-bottom: 20px;
}

/* ───────────────────────────────────────
   Label Styling
─────────────────────────────────────── */
.pq-meta-wrap label {
  margin: 0;
  padding-top: 6px;
  font-weight: 600;
  color: #32373c;
}

/* ───────────────────────────────────────
   Force inputs, media buttons & previews
   into the 2nd column of your grid
─────────────────────────────────────── */
.pq-meta-wrap .pq-field > input,
.pq-meta-wrap .pq-field > .pq-media,
.pq-meta-wrap .pq-field > .pq-gallery,
.pq-meta-wrap .pq-field > div[id$="_preview"],
.pq-meta-wrap .pq-field > div[id$="_gallery_preview"] {
  grid-column: 2;

}
.pq-meta-wrap .pq-field > .pq-media{
  max-width: 100px;
}
/* ───────────────────────────────────────
   Single‐image preview styling
─────────────────────────────────────── */
.pq-meta-wrap .pq-field > div[id$="_preview"] img {
  display: inline-block;
  max-width: 120px;
  height: auto;
  margin: 8px 12px 0 0;
  border: 1px solid #ccd0d4;
  border-radius: 3px;
}

/* ───────────────────────────────────────
   Gallery thumbnails styling
─────────────────────────────────────── */
.pq-meta-wrap .pq-field > div[id$="_gallery_preview"] img {
  display: inline-block;
  width: 80px;
  height: auto;
  margin: 4px 4px 0 0;
  border: 1px solid #ccd0d4;
  border-radius: 2px;
}


/* ───────────────────────────────────────
   Repeater Table
─────────────────────────────────────── */
.pq-meta-wrap .pq-repeater {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
}

.pq-meta-wrap .pq-repeater td {
  padding: 8px 4px;
  border-bottom: 1px solid #e5e5e5;
}

.pq-meta-wrap .pq-repeater input {
  width: 100%;
  padding: 4px 8px;
  border: 1px solid #ccd0d4;
  border-radius: 3px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.04);
}

/* ───────────────────────────────────────
   Builder Table (existing) – slight polish
─────────────────────────────────────── */
#pq-builder-table input[type=text],
#pq-builder-table select {
  padding: 4px 8px;
  border: 1px solid #ccd0d4;
  border-radius: 3px;
}

#pq-builder-table tr.ui-sortable-helper {
  background: #f6f7f7;
}

/* ───────────────────────────────────────
   Remove extra margins from WP defaults
─────────────────────────────────────── */
.pq-meta-wrap .regular-text,
.pq-meta-wrap .large-text,
.pq-meta-wrap .widefat {
  margin: 0;
}








/* ---------- Front-end FAQ accordion ---------- */
/* make sure hidden answers stay hidden */
.pq-faq-answer[hidden] {
  display: none !important;
}
.pq-faq-heading {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 24px;
}

.pq-faq-item {
  margin-bottom: 12px;
}

/* Question button */
.pq-faq-question {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #262c33;
  color: #fff;
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pq-faq-question:hover {
  background: #313841;
}

/* +/– toggle */
.pq-faq-toggle {
  font-size: 20px;
  line-height: 1;
}

/* Answer panel, collapsed by default */
.pq-faq-answer {
  background: #262c33;
  color: #fff;
  border-top: 1px solid #41464d;
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;             /* remove vertical padding when closed */
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;         /* animate padding */
}

/* When the question is expanded, slide open the answer */
.pq-faq-question[aria-expanded="true"] + .pq-faq-answer {
  padding: 18px 20px 20px;     /* restore vertical padding */
  max-height: 600px;           /* adjust this if your answers are taller */
}


/* ---------- Front-end Featured ICON-Title-Text ---------- */

/* Parent wrapper: vertical stack of rows */
.pq-icon-boxes {
  display: flex;
  flex-direction: column;
  gap: 20px;     /* space between rows */
  margin: 2em 0;
}

/* Each “row” holds exactly two boxes side by side */
.pq-icon-row {
  display: flex;
  gap: 20px;     /* space between boxes */
  width: 100%;
}

/* Each box flexes equally within its row */
.pq-icon-row .pq-icon-box {
  flex: 1;
}

/* Icon box styling */
.pq-icon-box {
  display: flex;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 20px 20px 20px 195px !important;
}

.pq-icon-box:hover {
  transform: translateY(-4px);
}

/* Icon wrapper */
.pq-icon {
  flex-shrink: 0;
  margin-right: 16px;
}

/* Icon image or font-icon sizing */
.pq-icon-img,
.pq-icon i {
  width: 100px;
  height: auto;
  display: block;
  line-height: 1;
  font-size: 60px;
  color: #00ADE4; /* adjust to your brand color */
}

/* Content wrapper */
.pq-content {
  flex: 1;
}

/* Title */
.pq-icon-box-title {
  font-family: "Open Sans", Sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 23.4px;
    margin: 0;

}

/* Description */
.pq-icon-box-text {
 margin: 6px 0 0;
    font-size: 18px;
    font-weight: 300;
    font-family: 'Open Sans';
    color: #555;
    line-height: 23.4px;
}


/* ───────────────────────────────────────
 *  Shortcode for Project Amenities
 * ─────────────────────────────────────── */


/* for meta box styling*/
div#_project_amenity_icon_1_preview, #_project_amenity_icon_2_preview, div#_project_amenity_icon_3_preview, #_project_amenity_icon_4_preview {
    background-color: gray !important;
}

/* 1) Container holding all boxes */
.pq-amenities-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* 2) Each card: four per row, rounded corners */
.pq-amenity-box {
  height: 223px;
  width: 265px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #fff; /* change if you need a different card background */
}
.pq-amenity-box:hover {
    transform: translateY(-10px) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 3) Icon area — fixed ratio, black background */
.pq-amenity-icon-container {
  background-color: #000;
  flex: 1;                /* grows to fill available height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;        /* vertical padding */
}
.pq-amenity-icon-container img {
  max-height: 83px;
  width: auto;
}

/* 4) Title area — dark grey bar */
.pq-amenity-title-container {
  background-color: #2a2e31;
  padding: 22px 5px 23px 5px;
  text-align: center;
}
.pq-amenity-title-container h3 {
  font-weight: 500;
  line-height: 1;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", Sans-serif;
 font-size: 22px;
 color: #FFFFFF;
}


