/* Camper Spot detail — mobile reference layout. Loaded last on camper-spots.html. */
@media (max-width: 680px) {
  body.camperPage #spotDetailBackdrop {
    inset: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.camperPage #spotDetail {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  body.camperPage #spotDetail::-webkit-scrollbar { display: none; }
  body.camperPage #spotDetailBody { min-height: 100%; background: #fff; }

  body.camperPage .camperDetailMobileTopbar {
    position: relative;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: calc(56px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 9px 0;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid rgba(31, 41, 55, .055);
  }

  body.camperPage .camperDetailTopActions {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  body.camperPage .camperDetailTopIcon {
    appearance: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #171d22;
    font: 800 31px/1 Inter, system-ui, sans-serif;
    cursor: pointer;
  }

  body.camperPage .camperDetailTopShare {
    line-height: 1;
  }

  body.camperPage .camperDetailTopShare svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.camperPage .camperDetailBackBtn svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.camperPage .camperDetailMoreBtn {
    font-size: 19px;
    letter-spacing: 2px;
  }

  body.camperPage .camperDetailMoreWrap { position: relative; }
  body.camperPage .camperDetailMoreMenu {
    position: absolute;
    top: 45px;
    right: 0;
    z-index: 80;
    width: min(244px, calc(100vw - 28px));
    padding: 6px;
    border: 1px solid #e8ece9;
    border-radius: 15px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 42px rgba(20, 32, 24, .18);
  }

  body.camperPage .camperDetailMoreMenu[hidden] { display: none !important; }
  body.camperPage .camperDetailMoreMenu button,
  body.camperPage .camperDetailMoreMenu a {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #222a25;
    font: 700 13px/1.25 Inter, system-ui, sans-serif;
    text-align: left;
    text-decoration: none;
  }

  body.camperPage .camperDetailMoreMenu .is-danger { color: #b42318; }
  body.camperPage .camperDetailMenuNote,
  body.camperPage .camperDetailMenuEmpty {
    display: block;
    padding: 9px 12px;
    color: #7a827d;
    font-size: 10px;
    line-height: 1.4;
  }

  body.camperPage .camperSelectedPhotoWrap {
    position: relative !important;
    width: 100% !important;
    background: #edf0ed;
  }

  body.camperPage .camperDetailHeroMedia {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: clamp(225px, 54vw, 300px) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #e8ece9 !important;
  }

  body.camperPage .camperDetailHeroTrack {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
  }

  body.camperPage .camperDetailHeroTrack::-webkit-scrollbar { display: none; }
  body.camperPage .camperDetailHeroSlide {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #e8ece9 !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    cursor: pointer;
  }

  body.camperPage .camperDetailHeroSlide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body.camperPage .camperDetailHeroEmpty img {
    width: 90px !important;
    height: 90px !important;
    margin: auto !important;
    object-fit: contain !important;
    opacity: .65;
  }

  body.camperPage .camperDetailHeroEmpty { display: flex !important; align-items: center !important; justify-content: center !important; }

  body.camperPage .camperDetailGalleryLabel {
    position: absolute;
    right: 13px;
    bottom: 18px;
    z-index: 5;
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    background: rgba(10, 13, 11, .75);
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
    backdrop-filter: blur(7px);
    border: 0;
    cursor: pointer;
  }

  body.camperPage .camperDetailGalleryLabel svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
  }

  body.camperPage #spotDetail > .camperDetailClose {
    position: absolute !important;
    top: calc(72px + env(safe-area-inset-top)) !important;
    right: 13px !important;
    z-index: 70 !important;
    width: 43px !important;
    height: 43px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.96) !important;
    color: #1b2227 !important;
    box-shadow: 0 4px 16px rgba(16, 24, 18, .14) !important;
    font-size: 19px !important;
  }

  body.camperPage .camperSelectedDetailMedal {
    left: 10px !important;
    top: 10px !important;
    z-index: 35 !important;
  }

  body.camperPage .camperSelectedMedalButton {
    width: 66px !important;
    height: 66px !important;
  }

  body.camperPage .camperSelectedReasonCard {
    top: 72px !important;
    width: min(288px, calc(100vw - 30px)) !important;
  }

  body.camperPage .camperDetailContent {
    position: relative !important;
    z-index: 30 !important;
    width: 100% !important;
    margin: -18px 0 0 !important;
    padding: 16px 19px calc(28px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box !important;
    border-radius: 26px 26px 0 0 !important;
    background: #fff !important;
    color: #20262b !important;
  }

  body.camperPage .camperDetailContent > .camperTypePill {
    display: inline-flex !important;
    min-height: 25px !important;
    align-items: center !important;
    margin: 0 0 9px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #2f8249 !important;
    color: #fff !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
  }

  body.camperPage .camperDetailContent > h2 {
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #20252a !important;
    font-size: clamp(21px, 5.8vw, 26px) !important;
    line-height: 1.14 !important;
    font-weight: 600 !important;
    letter-spacing: -.022em !important;
  }

  body.camperPage .camperDetailContent > h2 a { color: inherit !important; text-decoration: none !important; }

  body.camperPage .camperDetailRating {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 29px !important;
    margin: 0 0 7px !important;
  }

  body.camperPage .camperDetailStars {
    color: #f5a000 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
  }

  body.camperPage .camperDetailRating strong { color: #22282d !important; font-size: 15px !important; }
  body.camperPage .camperDetailRatingCount { color: #68716b !important; font-size: 13px !important; }
  body.camperPage .camperDetailRating.is-empty .camperDetailStars { color: #cfd5d1 !important; }
  body.camperPage .camperDetailRating.is-empty strong { font-size: 12px !important; color: #727a75 !important; }

  body.camperPage .camperDetailLocationPrice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 14px;
    color: #5d6661;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 650;
  }

  body.camperPage .camperDetailLocationPrice span { display: inline-flex; align-items: center; gap: 6px; }
  body.camperPage .camperDetailLocationPrice span b { color: #222b25; font-size: 17px; }
  body.camperPage .camperDetailLocationPrice i { color: #8d948f; font-style: normal; }
  body.camperPage .camperDetailLocationPrice strong { color: #277342; font-weight: 900; }

  body.camperPage .camperDetailContent > .camperPrimaryActions {
    display: grid !important;
    grid-template-columns: minmax(0, 1.85fr) minmax(100px, .95fr) !important;
    gap: 13px !important;
    margin: 0 0 14px !important;
  }

  body.camperPage .camperDetailContent > .camperPrimaryActions .btn {
    display: inline-flex !important;
    min-width: 0 !important;
    min-height: 49px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border-radius: 13px !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
  }

  body.camperPage .camperNavigateBtn {
    border: 1px solid #2b7d47 !important;
    background: #2b7d47 !important;
    color: #fff !important;
    box-shadow: 0 7px 16px rgba(43,125,71,.18) !important;
  }

  body.camperPage .camperNavigateBtn span { font-size: 18px; transform: rotate(-16deg); }
  body.camperPage .camperShareBtn {
    border: 1px solid #d8ddda !important;
    background: #fff !important;
    color: #1e2529 !important;
  }

  body.camperPage .camperShareBtn span { font-size: 19px; }
  body.camperPage .camperSelectedRecommendHost:empty { display: none !important; }

  body.camperPage .camperDetailDescription {
    position: relative !important;
    margin: 0 0 7px !important;
    color: #424a45 !important;
    font-size: 13px !important;
    line-height: 1.52 !important;
    font-weight: 550 !important;
  }

  body.camperPage .camperDetailDescription:not(.is-expanded) .camperDetailDescriptionText {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
  }

  body.camperPage .camperDetailDescriptionToggle,
  body.camperPage .camperDetailDescription:not(.is-expanded) .camperDetailDescriptionToggle:not([hidden]),
  body.camperPage .camperDetailDescription.is-expanded .camperDetailDescriptionToggle {
    position: static !important;
    display: block !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #287444 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 850 !important;
    text-transform: capitalize;
  }

  body.camperPage .camperDetailDescriptionToggle[hidden] { display: none !important; }
  body.camperPage .camperDetailDescriptionToggle::after { content: "⌄"; margin-left: 7px; font-size: 14px; }
  body.camperPage .camperDetailDescription.is-expanded .camperDetailDescriptionToggle::after { content: "⌃"; }

  body.camperPage .camperDetailSection {
    margin: 14px 0 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid #e8ebe9 !important;
    background: transparent !important;
  }

  body.camperPage .camperDetailSection h3 {
    margin: 0 0 11px !important;
    color: #20262a !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
    letter-spacing: -.01em !important;
  }

  body.camperPage .camperFeatureGrid {
    display: flex !important;
    align-items: start !important;
    gap: 9px !important;
    width: 100% !important;
    padding: 1px 1px 5px !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
  }

  body.camperPage .camperFeatureGrid::-webkit-scrollbar { display: none; }

  body.camperPage .camperFeatureItem,
  body.camperPage .camperFeatureMore {
    display: flex !important;
    min-width: 58px !important;
    flex: 0 0 58px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #4f5752 !important;
    scroll-snap-align: start;
  }

  body.camperPage .camperFeatureItem[hidden] { display: none !important; }
  body.camperPage .camperFeatureIcon,
  body.camperPage .camperFeatureMore b {
    display: flex !important;
    width: 46px !important;
    height: 43px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    border: 1px solid #e0e4e1 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #222925 !important;
    box-shadow: 0 2px 7px rgba(29, 43, 34, .045) !important;
  }

  body.camperPage .camperFeatureIcon img {
    width: 31px !important;
    height: 31px !important;
    object-fit: contain !important;
  }

  body.camperPage .camperFeatureIcon b { font-size: 22px !important; }
  body.camperPage .camperFeatureMore b { font-size: 14px !important; font-weight: 850 !important; }
  body.camperPage .camperFeatureItem > span,
  body.camperPage .camperFeatureMore > span {
    max-width: 100%;
    overflow: hidden;
    color: #515954 !important;
    font-size: 9.5px !important;
    line-height: 1.15 !important;
    font-weight: 650 !important;
    text-align: center !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.camperPage .camperDetailCompactEmpty {
    padding: 9px 11px;
    border-radius: 10px;
    background: #f7f9f7;
    color: #7b837e;
    font-size: 11px;
  }

  body.camperPage .camperCapacityBox,
  body.camperPage .camperManagedPanel,
  body.camperPage .camperPricingPanel,
  body.camperPage .camperOwnerTerms {
    margin-top: 14px !important;
    padding: 13px !important;
    border: 1px solid #e7ebe8 !important;
    border-radius: 13px !important;
    background: #fafbfa !important;
    box-shadow: none !important;
  }

  body.camperPage .camperCommunityPhotosSection h3 span,
  body.camperPage .camperCommunityPhotosSection h3 b { color: #8a928d; font-weight: 650; }
  body.camperPage .camperCommunityPhotoPicker {
    display: flex !important;
    width: 100% !important;
    min-height: 70px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 9px 14px !important;
    box-sizing: border-box !important;
    border: 1.5px dashed #c7ceca !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: #287444 !important;
    cursor: pointer !important;
  }

  body.camperPage .camperCommunityPhotoPicker input { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
  body.camperPage .camperCommunityPhotoPicker span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px !important; font-weight: 850 !important; }
  body.camperPage .camperCommunityPhotoPicker span b { font-size: 16px; }
  body.camperPage .camperCommunityPhotoPicker small { color: #78807b !important; font-size: 10px !important; font-weight: 500 !important; }
  body.camperPage .camperCommunityPhotoPicker.has-photos { min-height: 52px !important; }
  body.camperPage .camperCommunityPhotoPicker.is-uploading { opacity: .6; pointer-events: none; }

  body.camperPage .camperCommunityPhotoGrid {
    display: flex !important;
    gap: 8px !important;
    margin-top: 9px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body.camperPage .camperCommunityPhotoGrid:empty { display: none !important; }
  body.camperPage .camperCommunityPhotoGrid::-webkit-scrollbar { display: none; }
  body.camperPage .camperCommunityPhotoItem {
    flex: 0 0 118px !important;
    scroll-snap-align: start;
    overflow: hidden !important;
    border: 1px solid #e5e9e6 !important;
    border-radius: 12px !important;
    background: #fff !important;
  }

  body.camperPage .camperCommunityPhotoImageBtn { display: block !important; width: 100% !important; height: 86px !important; padding: 0 !important; border: 0 !important; }
  body.camperPage .camperCommunityPhotoImageBtn img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  body.camperPage .camperCommunityPhotoMeta { padding: 5px !important; }
  body.camperPage .camperCommunityPhotoMeta a span { display: none !important; }

  body.camperPage .camperReviewSummaryLine {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 42px !important;
  }

  body.camperPage .camperRatingSummary {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #21272b !important;
  }

  body.camperPage .camperReviewSummaryStar { color: #f5a000 !important; font-size: 27px !important; line-height: 1 !important; }
  body.camperPage .camperRatingSummary strong { font-size: 23px !important; line-height: 1 !important; }
  body.camperPage .camperRatingSummary small { color: #69716c !important; font-size: 11px !important; }
  body.camperPage #camperReviewOpenBtn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 0 7px 9px !important;
    border: 0 !important;
    background: transparent !important;
    color: #287444 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
  }

  body.camperPage #camperReviewOpenBtn span { font-size: 23px; line-height: 1; }
  body.camperPage #camperReviewOpenBtn.is-open span { transform: rotate(90deg); }
  body.camperPage #camperReviewComposer[hidden] { display: none !important; }
  body.camperPage #camperReviewComposer:not([hidden]) { display: block !important; margin: 10px 0 !important; }
  body.camperPage .camperReviewForm {
    padding: 12px !important;
    border: 1px solid #e5e9e6 !important;
    border-radius: 13px !important;
    background: #fafbfa !important;
    box-shadow: none !important;
  }

  body.camperPage .camperStarPicker { display: flex !important; gap: 3px !important; margin-bottom: 8px !important; }
  body.camperPage .camperStarBtn { width: 34px !important; height: 34px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #d5dad6 !important; font-size: 25px !important; }
  body.camperPage .camperStarBtn.is-active { color: #f5a000 !important; }
  body.camperPage .camperReviewForm textarea { min-height: 76px !important; padding: 10px !important; border: 1px solid #dfe4e1 !important; border-radius: 10px !important; font: 500 12px/1.45 Inter, system-ui, sans-serif !important; }
  body.camperPage .camperReviewActions { display: flex !important; justify-content: flex-end !important; gap: 7px !important; margin-top: 8px !important; }
  body.camperPage .camperReviewActions .btn { min-height: 38px !important; padding: 0 11px !important; border-radius: 10px !important; font-size: 11px !important; }
  body.camperPage .camperReviewRule { margin: 7px 0 0 !important; color: #8a918d !important; font-size: 9px !important; }

  body.camperPage .camperReviewList { display: grid !important; gap: 8px !important; margin-top: 9px !important; }
  body.camperPage .camperReviewItem {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 9px !important;
    align-items: start !important;
    padding: 10px !important;
    border: 1px solid #e5e8e6 !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.camperPage .camperReviewAuthorAvatar,
  body.camperPage .camperReviewAuthorAvatar img { display: block !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; object-fit: cover !important; }
  body.camperPage .camperReviewBody {
    display: grid !important;
    grid-template-columns: minmax(0, auto) 1fr !important;
    column-gap: 7px !important;
    align-items: center !important;
    min-width: 0 !important;
  }
  body.camperPage .camperReviewMeta { display: block !important; }
  body.camperPage .camperReviewAuthorName { display: block !important; overflow: hidden; color: #252b2f !important; font-size: 11.5px !important; line-height: 1.25 !important; font-weight: 850 !important; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
  body.camperPage .camperReviewBody .camperStarsStatic { margin: 0 !important; color: #f5a000 !important; font-size: 12px !important; letter-spacing: .5px !important; white-space: nowrap; }
  body.camperPage .camperReviewBody p { grid-column: 1 / -1 !important; margin: 4px 0 0 !important; color: #505853 !important; font-size: 10.5px !important; line-height: 1.35 !important; }
  body.camperPage .camperReviewAside { display: flex !important; min-height: 44px !important; flex-direction: column !important; align-items: flex-end !important; justify-content: space-between !important; color: #939a95 !important; font-size: 9.5px !important; white-space: nowrap; }
  body.camperPage .camperReviewAside button { padding: 0 !important; border: 0 !important; background: transparent !important; color: #287444 !important; font-size: 10.5px !important; font-weight: 800 !important; }
  body.camperPage .camperReviewEmpty { padding: 10px 11px !important; border-radius: 10px !important; background: #f7f9f7 !important; color: #7c847f !important; font-size: 10.5px !important; }
  body.camperPage .camperReviewsHint { margin: 9px 0 0 !important; color: #9aa19d !important; font-size: 9.5px !important; line-height: 1.35 !important; }
}
