/* Phone sizing refinements (≤768px, extra pass ≤430px) — Corfu Cottages */

/* ── Shared chrome ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --site-header-band-height: 52px;
  }

  .mobile-menu {
    padding: 68px 20px 32px 22px;
  }

  .mobile-menu a {
    font-size: 17px;
    min-height: 44px;
    padding: 10px 6px;
  }

  .menu-close-btn {
    width: 40px;
    height: 40px;
    font-size: 32px;
  }

  /* Content pages: less dead space under hidden header logo */
  main.content,
  .content {
    padding-top: 56px !important;
  }

  /* Contact map: square map dominated small screens */
  .contact-map {
    aspect-ratio: 16 / 11;
    max-height: 220px;
  }

  .contact-layout {
    gap: 22px;
  }

  .contact-details p,
  .contact-link {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .contact-list {
    gap: 14px;
    margin-top: 20px;
  }

  /* About / prose pages */
  main.content > div:not(.contact-layout) p {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  main.content > div:not(.contact-layout) p + p {
    margin-top: 18px;
  }

  /* Locations */
  .locations-inner p {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .locations-inner p + p {
    margin-top: 12px;
  }

  .location-block {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
  }

  h1.location-heading {
    font-size: 1.15rem;
  }

  .location-heading {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .location-photos {
    gap: 10px;
    margin-top: 14px;
  }

  .location-photos img {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  }

  /* Reviews */
  body.page-reviews .reviews-page-main {
    padding: 56px 14px 40px;
  }

  body.page-reviews .reviews-intro {
    margin-bottom: 20px;
  }

  body.page-reviews .reviews-intro h1 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  body.page-reviews .reviews-intro__lead {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  body.page-reviews .reviews-stack {
    gap: 10px;
  }

  body.page-reviews .reviews-quote {
    padding: 12px 14px;
  }

  body.page-reviews .reviews-quote__avatar {
    width: 40px;
    height: 40px;
  }

  body.page-reviews .reviews-quote__row {
    gap: 10px;
  }

  body.page-reviews .reviews-quote__text {
    font-size: 0.875rem;
    margin-bottom: 8px;
  }

  /* Property detail */
  body.page-xyz .site-footer {
    padding: 48px 14px 72px;
    margin-top: 12px;
  }

  body.page-xyz h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  body.page-xyz .faq-question {
    padding: 10px 2px;
    font-size: 0.9375rem;
  }

  body.page-xyz.reserve-spotlight-active .sidebar-calendar-widget .sidebar-book-btn,
  body.page-xyz .sidebar-book-btn {
    font-size: 16px;
    padding: 14px 18px;
  }

  /* Properties list */
  body.page-compact-nav > main.page {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  body.page-compact-nav .property-media {
    aspect-ratio: 3 / 2;
    max-height: 248px;
  }

  .house-name {
    font-size: 15px;
  }

  .house-details {
    padding: 10px 12px 11px;
  }

  #filters-panel.filters-container .primary-filters-row button.section-tag {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 12px;
  }

  /* Page titles */
  .legal-card h1,
  .shell h1 {
    font-size: 1.25rem;
  }

  /* Checkout / success */
  .checkout-title {
    font-size: 1.25rem;
  }

  .checkout-card {
    padding: 18px 16px 20px;
    border-radius: 16px;
  }

  body > main.card {
    padding: 22px 18px;
    border-radius: 12px;
  }

  body > main.card .title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  body > main.card .marker {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 430px) {
  main.content,
  .content {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 24px;
  }

  body.page-compact-nav .property-media {
    max-height: 228px;
  }
}
