/* GR property mobile — clean standalone layout, v1.0.102. */
@media (max-width: 900px) {
  body.gr-is-property {
    --gr-mobile-accent: #04acbf;
    --gr-mobile-ink: #111827;
    --gr-mobile-text: #374151;
    --gr-mobile-muted: #6b7280;
    --gr-mobile-line: #e5e7eb;
    --gr-mobile-section-title-size: 20px;
    --gr-mobile-section-title-weight: 600;
    overflow-x: hidden;
  }

  body.gr-is-property .gr-property-template,
  body.gr-is-property .gr-property-template-article,
  body.gr-is-property .gr-property-template-container,
  body.gr-is-property .gr-property-template-layout,
  body.gr-is-property .gr-property-template-main,
  body.gr-is-property .gr-property-template-header {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.gr-is-property .gr-property-template-layout {
    display: block;
  }

  body.gr-is-property .gr-property-template-sidebar,
  .grcp-desktop {
    display: none !important;
  }

  .grcp-wrap,
  .grcp-wrap * {
    box-sizing: border-box;
  }

  .grcp-wrap {
    width: 100%;
    color: var(--gr-mobile-text);
    font-family: var(--gr-font, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    background: #fff;
  }

  .grcp-mobile {
    display: block;
    width: 100%;
  }

  .grcp-gallery-mobile {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef1f3;
  }

  .grcp-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .grcp-slider-track::-webkit-scrollbar { display: none; }

  .grcp-slide {
    appearance: none;
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: #eef1f3;
    scroll-snap-align: start;
  }

  .grcp-main-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .grcp-top-actions {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    pointer-events: none;
  }

  .grcp-spacer { flex: 1; }

  .grcp-action {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--gr-mobile-ink);
    background: rgba(255,255,255,.96);
    box-shadow: 0 2px 10px rgba(17,24,39,.1);
    pointer-events: auto;
  }

  .grcp-action svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .grcp-counter {
    appearance: none;
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 31px;
    margin: 0;
    padding: 6px 10px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: rgba(17,24,39,.5);
    font-size: 12px;
    font-weight: 500;
  }

  .grcp-counter svg { display: none; }

  .grcp-mobile-info {
    padding: 22px 20px 20px;
    background: #fff;
  }

  .grcp-title-row { display: block; }

  .grcp-title {
    margin: 0;
    color: var(--gr-mobile-ink);
    font-size: clamp(24px, 6.5vw, 27px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.025em;
    text-align: center;
  }

  .grcp-subtitle {
    margin: 13px 0 0;
    color: var(--gr-mobile-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.42;
    text-align: center;
  }

  .grcp-compact-details { margin-top: 10px; }

  .grcp-compact-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    color: var(--gr-mobile-muted);
    font-size: clamp(11.5px, 3.15vw, 14px);
    line-height: 1.45;
    text-align: center;
    white-space: nowrap;
  }

  .grcp-meta-separator {
    display: inline-block;
    flex: 0 0 auto;
    margin: 0 5px;
    color: var(--gr-mobile-muted);
  }

  .grcp-meta-item {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
  }


  .grcp-mobile-rating {
    display: grid;
    grid-template-columns: 1fr 1.45fr 1fr;
    align-items: center;
    margin-top: 24px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--gr-mobile-line);
    color: var(--gr-mobile-ink);
    text-decoration: none;
  }

  .grcp-mobile-rating > span {
    min-width: 0;
    text-align: center;
  }

  .grcp-mobile-rating > span + span {
    border-left: 1px solid var(--gr-mobile-line);
  }

  .grcp-mobile-rating__score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--gr-mobile-ink);
  }

  .grcp-mobile-rating__score strong,
  .grcp-mobile-rating__reviews strong {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
  }

  .grcp-mobile-rating__stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
  }

  .grcp-mobile-rating__stars svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
    stroke: currentColor;
  }

  .grcp-mobile-rating__beach {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 8px;
  }

  .grcp-mobile-rating__beach strong {
    color: var(--gr-mobile-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
  }

  .grcp-mobile-rating__reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--gr-mobile-ink);
  }

  .grcp-mobile-rating__reviews small {
    color: var(--gr-mobile-muted);
    font-size: 11px;
  }

  body.gr-is-property .gr-property-template-description,
  body.gr-is-property .gr-property-description {
    width: auto;
    margin: 0 20px;
    padding: 20px 0 22px;
    border: 0;
    border-bottom: 1px solid var(--gr-mobile-line);
  }

  body.gr-is-property .gr-property-description__title {
    margin: 0 0 8px;
    color: var(--gr-mobile-ink);
    font-size: var(--gr-mobile-section-title-size) !important;
    font-weight: var(--gr-mobile-section-title-weight) !important;
    line-height: 1.3;
  }

  body.gr-is-property .gr-property-description__content {
    color: var(--gr-mobile-ink);
    font-size: 15px;
    line-height: 1.5;
  }

  body.gr-is-property .gr-property-description__content > :first-child { margin-top: 0; }
  body.gr-is-property .gr-property-description__content > :last-child { margin-bottom: 0; }

  body.gr-is-property .gr-amenidades-wrap {
    width: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 22px 0 26px;
    border: 0;
    border-bottom: 1px solid var(--gr-mobile-line);
    color: var(--gr-mobile-text);
  }

  body.gr-is-property .gr-amenidades-title {
    margin: 0 0 18px;
    color: var(--gr-mobile-ink);
    font-size: var(--gr-mobile-section-title-size) !important;
    font-weight: var(--gr-mobile-section-title-weight) !important;
    line-height: 1.3;
    letter-spacing: -.015em;
  }

  body.gr-is-property .gr-amenidades-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 16px;
    width: 100%;
  }

  body.gr-is-property .gr-amenidad {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    color: var(--gr-mobile-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
  }

  body.gr-is-property .gr-amenidad[hidden] {
    display: none !important;
  }

  body.gr-is-property .gr-amenidad-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 0;
    color: var(--gr-mobile-ink);
  }

  body.gr-is-property .gr-amenidad-icon svg {
    display: block;
    width: 21px;
    height: 21px;
    max-width: 21px;
    max-height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.gr-is-property .gr-amenidad-label {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.gr-is-property .gr-mostrar-todas {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 50px;
    margin: 20px 0 0;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 20px;
    color: #374151;
    background: #f6f7f8;
    box-shadow: none;
    font: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
  }

  body.gr-is-property .gr-mostrar-todas svg {
    display: none;
  }

  body.gr-is-property .gr-amenidades-wrap,
  body.gr-is-property .gr-property-template-calendar,
  body.gr-is-property .gr-property-template-full {
    margin-right: 20px;
    margin-left: 20px;
  }

  body.gr-is-property .gr-property-template-calendar > h2,
  body.gr-is-property .gr-airbnb-calendar__title,
  body.gr-is-property .gr-property-map-head h2,
  body.gr-is-property .gr-property-template-reviews h2,
  body.gr-is-property .gr-property-template-rules h2,
  body.gr-is-property .gr-property-template-full-section > h2 {
    margin-top: 0;
    color: var(--gr-mobile-ink);
    font-family: inherit;
    font-size: var(--gr-mobile-section-title-size) !important;
    font-weight: var(--gr-mobile-section-title-weight) !important;
    line-height: 1.3;
    letter-spacing: -.015em;
  }

  /* The native MotoPress form stays active as the calculation engine but is
     deliberately removed from the visible mobile document flow. */
  body.gr-is-property .gr-property-native-engine {
    position: absolute !important;
    top: 0 !important;
    left: -10000px !important;
    z-index: -1 !important;
    width: 420px !important;
    min-height: 300px !important;
    overflow: hidden !important;
    opacity: .001 !important;
    pointer-events: none !important;
  }

  body.gr-is-property .gr-property-native-engine .mphb-booking-form,
  body.gr-is-property .gr-property-native-engine .mphb-reservation-form {
    display: block !important;
    visibility: visible !important;
  }

  .grcp-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    overflow: auto;
    padding: 72px 10px 24px;
    background: #fff;
  }

  .grcp-modal[hidden] { display: none !important; }

  .grcp-modal-bar {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 62px;
    padding: 0 14px;
    border-bottom: 1px solid var(--gr-mobile-line);
    background: #fff;
  }

  .grcp-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--gr-mobile-line);
    border-radius: 50%;
    background: #fff;
  }

  .grcp-modal-close svg { width: 19px; height: 19px; }
  .grcp-modal-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .grcp-modal-grid img { display: block; width: 100%; height: auto; border-radius: 12px; }
}

@media (max-width: 380px) {
  .grcp-mobile-info { padding-right: 16px; padding-left: 16px; }
  .grcp-title { font-size: 23px; }
  .grcp-subtitle { font-size: 15px; }
  .grcp-compact-meta { font-size: 10.5px; }
  .grcp-meta-separator { margin-right: 2px; margin-left: 2px; }
  .grcp-mobile-rating__score strong,
  .grcp-mobile-rating__reviews strong { font-size: 20px; }
  .grcp-mobile-rating__beach strong { font-size: 13px; }
  body.gr-is-property .gr-property-template-description,
  body.gr-is-property .gr-property-description,
  body.gr-is-property .gr-amenidades-wrap,
  body.gr-is-property .gr-property-template-calendar,
  body.gr-is-property .gr-property-template-full { margin-right: 16px; margin-left: 16px; }
  body.gr-is-property .gr-amenidades-grid { gap: 15px 12px; }
  body.gr-is-property .gr-amenidad { gap: 8px; font-size: 13px; }
}
