/* =========================================================
   MAIN FEATURE TABS — VILLA EXPERIENCE BASELINE
   (ported from child theme so plugin can own the UI)
   ========================================================= */

.ve2-tabs-container {
  margin-top: 28px;
  background: transparent;
  border: none;
  box-shadow: none;
  --ve2-gold: #d1c48b;
  --ve2-text: #444;
  --ve2-heading: #111;
  --ve2-gap: 32px;
  --ve2-border: rgba(0, 0, 0, 0.08);
  --ve2-muted: #7a7a7a;
}

.ve2-tabs-panels {
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 760px;
  padding-inline: clamp(16px, 4vw, 36px);
  margin: 0 auto 0 0;
  text-align: left;
  border-left: 1px solid var(--ve2-border);
  padding-left: clamp(24px, 5vw, 48px);
}

.ve2-tab-panel {
  display: none;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 28px 0;
  color: var(--ve2-text);
  font-size: 16px;
  line-height: 1.6;
  scroll-margin-top: 120px;
  text-align: left;
}

.ve2-tab-panel.active {
  display: block;
}

.ve2-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ve2-gap);
  margin-bottom: 22px;
  border-bottom: 1px solid #e8e8e8;
  padding: 8px clamp(16px, 4vw, 36px) 12px;
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.95);
  /* Do not float/stick over content; keep in normal document flow. */
  position: static;
  top: auto;
  z-index: auto;
  backdrop-filter: none;
}

.ve2-tab-button {
  position: relative;
  background: transparent;
  border: none;
  font-size: 17px;
  font-weight: 600;
  color: #555;
  padding: 0 0 8px 0;
  cursor: pointer;
}

.ve2-tab-button:hover {
  color: #222;
}

.ve2-tab-button.active {
  color: var(--ve2-heading);
}

.ve2-tab-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: transparent;
  transition: background 0.25s ease;
}

.ve2-tab-button.active::after {
  background: var(--ve2-gold);
}

.ve2-tab-button:focus-visible {
  outline: 2px solid var(--ve2-gold);
  outline-offset: 2px;
}

.ve2-tab-panel p,
.ve2-tab-panel li,
.ve2-tab-panel span {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ve2-text);
}

.ve2-tab-panel p {
  margin: 0 0 10px;
}

.ve2-tab-panel ul {
  margin: 0 0 12px 18px;
  padding: 0;
}

.ve2-tab-panel li {
  margin-bottom: 6px;
}

.ve2-muted {
  color: var(--ve2-muted);
}

.ve2-bedrooms-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 4px;
}

.ve2-bedroom-block {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.ve2-bedroom-title {
  font-size: 16.5px;
  font-weight: 600;
  color: #b79d52;
  margin: 0 0 4px;
}

.ve2-bedroom-desc {
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
  margin: 0;
  max-width: 900px;
}

.ve2-staff-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ve2-staff-line {
  font-size: 16px;
  font-weight: 400;
  color: var(--ve2-text);
  margin: 0;
  line-height: 1.6;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ve2-staff-line.is-intro {
  font-weight: 600;
  color: var(--ve2-heading);
}

.ve2-staff-label {
  font-weight: 600;
  color: var(--ve2-heading);
  min-width: 140px;
  position: relative;
}

.ve2-staff-label::after {
  content: ":";
  margin-left: 4px;
}

.ve2-staff-value {
  color: var(--ve2-text);
  flex: 1;
}

.ve2-staff-line.is-heading {
  border-top: 1px solid var(--ve2-border);
  padding-top: 12px;
  margin-top: 8px;
}

.ve2-staff-line[data-staff-heading="true"] {
  font-weight: 600;
  color: #222;
  margin-top: 8px;
  margin-bottom: 4px;
  border-top: 1px solid var(--ve2-border);
  padding-top: 12px;
}

.ve2-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  column-gap: 40px;
  row-gap: 14px;
  margin-top: 4px;
}

.ve2-amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ve2-amenity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #d1c48b;
  margin-top: 0.55em;
  flex-shrink: 0;
  align-self: flex-start;
}

.ve2-amenity-label {
  font-size: 16px;
  font-weight: 400;
  color: #444;
}

@media (max-width: 768px) {
  .ve2-amenities-grid {
    grid-template-columns: 1fr;
  }
}

.ve2-need-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ve2-need-sub {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin-top: 16px;
  margin-bottom: 4px;
}

.ve2-need-sub:first-of-type {
  margin-top: 0;
}

.ve2-need-sub:not(:first-of-type) {
  border-top: 1px solid var(--ve2-border);
  padding-top: 14px;
  margin-top: 18px;
}

.ve2-need-charges {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  margin-bottom: 8px;
}

.ve2-need-bullet {
  position: relative;
  padding-left: 20px;
  margin: 0 0 8px;
}

.ve2-need-bullet::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 20px;
  color: #d1c48b;
}

/* MAP OVERLAY (Location/Distances tabs) */
.google_map_on_list_wrapper {
  position: relative;
}

.ve2-map-overlay-container {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ffffff;
  padding: 20px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  z-index: 999999;
  width: 460px;
}

.ve2-location-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ve2-location-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ve2-location-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d1c48b;
  margin-top: 6px;
  flex-shrink: 0;
}

.ve2-location-text {
  color: #555;
  font-size: 14px;
}

@media (max-width: 768px) {
  .ve2-map-overlay-container {
    position: static;
    width: 100%;
    margin-bottom: 16px;
  }
}

.ve2-location-tabs {
  max-width: 360px;
}

.ve2-loc-tabs-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}

.ve2-loc-tab-btn {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

.ve2-loc-tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.ve2-loc-tab-btn.active::after {
  background: #d1c48b;
}

.ve2-loc-tab-panel {
  display: none;
}

.ve2-loc-tab-panel.active {
  display: block;
}

/* Staff & Services dot list (plugin-only) */
.ve2-dot-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.ve2-dot-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.ve2-dot-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #C9A24D; /* Chelsea gold */
  font-weight: 700;
}

.ve2-tab-panel[data-tab="indoor"] .ve2-dot-list,
.ve2-tab-panel[data-tab="outdoor"] .ve2-dot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

@media (max-width: 768px) {
  .ve2-tab-panel[data-tab="indoor"] .ve2-dot-list,
  .ve2-tab-panel[data-tab="outdoor"] .ve2-dot-list {
    grid-template-columns: 1fr;
  }
}

.ve2-section-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 14px 0;
}

.ve2-bedroom-block strong {
  display: block;
  margin: 0 0 6px;
}

.ve2-bedroom-block p:last-child {
  margin-bottom: 0;
}

