/* Casa Miller public pages — premium minimal system
   Loaded only on public customer-facing content pages. */

:root {
  --cm-public-line: rgba(14,58,91,.11);
  --cm-public-shadow: 0 6px 22px rgba(8,40,63,.05);
  --cm-public-shadow-hover: 0 16px 42px rgba(8,40,63,.09);
  --cm-public-soft: #f7fbfd;
}

/* shared shell rhythm */
.cm-main .cm-section,
.cm-booking-section,
.cm-detail-main-section,
.cm-customer-section {
  padding-top: 56px;
  padding-bottom: 64px;
}

.cm-section-head {
  margin-bottom: 22px;
}

.cm-section-head h2,
.cm-panel-head h2 {
  font-weight: 620;
  letter-spacing: -.035em;
}

.cm-section-kicker,
.cm-kicker,
.cm-pill-static,
.cm-pill {
  font-weight: 650;
  border-radius: 999px;
}

.cm-btn {
  font-weight: 620;
  border-radius: 11px;
}

/* homepage-aligned public header/footer */
.cm-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(14,58,91,.08);
}

.cm-header-inner { min-height: 72px; }
.cm-nav { gap: 18px; font-size: 14px; font-weight: 580; }
.cm-header-actions .cm-btn { min-height: 40px; }

.cm-footer {
  margin-top: 64px;
  padding: 44px 0 24px;
  background: linear-gradient(90deg,#0a2f4b 0%,#12628d 100%);
}
.cm-footer-brand { font-size:20px; font-weight:650; }
.cm-footer h4 { font-size:14px; font-weight:650; }
.cm-footer-text,.cm-footer a { font-size:13px; }
.cm-footer-bottom { margin-top:22px; font-size:12px; }

/* tour listing */
.cm-page-hero-v2 {
  padding: 48px 0 30px;
  background:
    radial-gradient(circle at 12% 12%,rgba(31,155,209,.08),transparent 28%),
    linear-gradient(180deg,#fbfdff 0%,#f4f9fc 100%);
  border-bottom-color: var(--cm-public-line);
}

.cm-page-hero-v2 h1 {
  max-width: 820px;
  font-size: clamp(34px,4.5vw,54px);
  line-height:1.02;
  font-weight:600;
  letter-spacing:-.045em;
}

.cm-page-hero-v2 p {
  max-width:760px;
  margin-top:14px;
  font-size:15px;
  line-height:1.65;
}

.cm-filter-card,
.cm-list-card {
  border-color:var(--cm-public-line);
  box-shadow:var(--cm-public-shadow);
  border-radius:16px;
}

.cm-filter-card { padding:18px; }
.cm-filter-card h3 { font-size:18px; font-weight:620; }

.cm-list-card {
  padding:12px;
  grid-template-columns:250px 1fr 185px;
  gap:16px;
}

.cm-list-card:hover {
  transform:translateY(-1px);
  box-shadow:var(--cm-public-shadow-hover);
}

.cm-list-media { min-height:190px; border-radius:12px; }
.cm-list-card h3 { font-size:20px; font-weight:620; }
.cm-feature-tags span { font-weight:550; border-radius:999px; }

/* tour detail */
.cm-tour-detail-hero {
  padding:34px 0 30px;
  background:
    radial-gradient(circle at 12% 12%,rgba(31,155,209,.08),transparent 28%),
    linear-gradient(180deg,#fbfdff,#f4f9fc);
  border-bottom-color:var(--cm-public-line);
}

.cm-detail-breadcrumb {
  margin-bottom:20px;
  font-size:12px;
}

.cm-tour-detail-head {
  grid-template-columns:1fr 235px;
  gap:28px;
}

.cm-tour-detail-head h1 {
  max-width:860px;
  font-size:clamp(34px,4.4vw,54px);
  line-height:1.01;
  font-weight:600;
  letter-spacing:-.045em;
}

.cm-tour-detail-head p {
  max-width:760px;
  margin-top:14px;
  font-size:15px;
  line-height:1.65;
}

.cm-detail-meta-row { gap:7px; margin-top:18px; }
.cm-detail-meta-row span {
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:560;
  border-color:var(--cm-public-line);
}

.cm-detail-price-card,
.cm-booking-box,
.cm-side-help-card,
.cm-detail-panel,
.cm-quick-info {
  border-color:var(--cm-public-line);
  box-shadow:var(--cm-public-shadow);
  border-radius:16px;
}

.cm-detail-price-card { padding:17px; }
.cm-detail-price-card strong { font-size:28px; font-weight:620; }

.cm-detail-gallery { gap:10px; }
.cm-gallery-main,.cm-gallery-side>div { border-radius:14px; }
.cm-gallery-main { min-height:420px; }
.cm-gallery-side>div { min-height:205px; }

.cm-detail-layout-v2 { grid-template-columns:1fr 340px; gap:24px; }
.cm-detail-panel { padding:22px; margin-bottom:18px; }
.cm-panel-head h2 { font-size:clamp(24px,2.7vw,32px); }
.cm-detail-panel>p { line-height:1.7; }

.cm-quick-info { padding:14px; }
.cm-quick-info span { font-size:10px; font-weight:650; }
.cm-quick-info strong { font-size:16px; font-weight:620; }

.cm-highlight-grid div,
.cm-itinerary-content,
.cm-inclusion-box,
.cm-adaptive-grid div,
.cm-info-list div {
  border-radius:12px;
  border-color:var(--cm-public-line);
}

/* booking */
.cm-booking-hero {
  padding:34px 0 30px;
  background:
    radial-gradient(circle at 12% 12%,rgba(31,155,209,.08),transparent 28%),
    linear-gradient(180deg,#fbfdff,#f4f9fc);
  border-bottom-color:var(--cm-public-line);
}

.cm-booking-hero-grid { grid-template-columns:1fr 310px; gap:24px; }
.cm-booking-hero h1 {
  font-size:clamp(34px,4.2vw,52px);
  line-height:1.02;
  font-weight:600;
  letter-spacing:-.045em;
}

.cm-booking-hero p { margin-top:14px; font-size:15px; line-height:1.65; }

.cm-booking-status-card,
.cm-booking-panel,
.cm-booking-summary-card {
  border-color:var(--cm-public-line);
  border-radius:16px;
  box-shadow:var(--cm-public-shadow);
}

.cm-booking-panel { padding:22px; }
.cm-booking-status-card { padding:18px; }
.cm-booking-status-card strong { font-size:19px; font-weight:620; }

.cm-booking-layout { grid-template-columns:1fr 350px; gap:24px; }
.cm-request-form { gap:18px; }

.cm-field label { font-size:11px; font-weight:650; }
.cm-field input,.cm-field select,.cm-field textarea {
  border-radius:11px;
  border-color:var(--cm-public-line);
}

.cm-booking-option { border-radius:12px; border-color:var(--cm-public-line); }

/* about + contact use Istanbul editorial hero language */
.cm-about-hero,
.cm-contact-hero {
  padding:56px 0 60px;
  background:
    linear-gradient(90deg,rgba(6,27,44,.90),rgba(8,44,70,.70) 48%,rgba(8,44,70,.34)),
    url("https://images.unsplash.com/photo-1641284355790-c76ee6fb4a12?auto=format&fit=crop&fm=jpg&q=82&w=2200")
    center 48% / cover no-repeat;
}

.cm-about-hero h1,
.cm-contact-hero h1 {
  max-width:780px;
  margin:14px 0;
  font-size:clamp(36px,4.8vw,58px);
  line-height:1;
  font-weight:600;
  letter-spacing:-.045em;
}

.cm-about-hero h1 span,
.cm-contact-hero h1 span { color:#8ed9ff; }

.cm-about-hero p,
.cm-contact-hero p { max-width:680px; font-size:15px; line-height:1.65; }

.cm-about-hero-card,
.cm-contact-info-card {
  border-radius:16px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.17);
  box-shadow:0 20px 50px rgba(0,0,0,.14);
  backdrop-filter:blur(14px);
}

.cm-about-service-card,
.cm-contact-panel,
.cm-contact-card {
  border-radius:16px;
  border-color:var(--cm-public-line);
  box-shadow:var(--cm-public-shadow);
}

.cm-about-service-card { padding:20px; }
.cm-about-service-card h3 { font-size:18px; font-weight:620; }
.cm-about-service-card p { line-height:1.6; }

/* public line icons */
.cm-public-line-icon {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.cm-about-service-card>.cm-public-icon,
.cm-contact-card>.cm-public-icon {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#eef8fc;
  color:#1686b5;
  margin-bottom:14px;
}

/* review page */
.cm-page-hero {
  padding:52px 0 38px;
  background:
    radial-gradient(circle at 12% 12%,rgba(31,155,209,.08),transparent 28%),
    linear-gradient(180deg,#fbfdff,#f4f9fc);
}

.cm-page-hero h1 {
  max-width:760px;
  margin:12px 0;
  font-size:clamp(34px,4.4vw,52px);
  line-height:1.02;
  font-weight:600;
  letter-spacing:-.045em;
}

.cm-page-hero p { max-width:720px; font-size:15px; line-height:1.65; }

.cm-review-page-stats { gap:12px; margin-top:24px; }
.cm-review-stat {
  border:1px solid var(--cm-public-line);
  border-radius:14px;
  background:rgba(255,255,255,.86);
  box-shadow:var(--cm-public-shadow);
}
.cm-review-stat strong { font-weight:620; }

.cm-review-page-card {
  border-radius:16px;
  border-color:var(--cm-public-line);
  box-shadow:var(--cm-public-shadow);
}
.cm-review-page-card:hover { box-shadow:var(--cm-public-shadow-hover); }

@media(max-width:1120px){
  .cm-list-card,
  .cm-tour-detail-head,
  .cm-detail-layout-v2,
  .cm-booking-hero-grid,
  .cm-booking-layout,
  .cm-about-hero-grid,
  .cm-contact-hero-grid { grid-template-columns:1fr; }

  .cm-detail-sidebar-v2,.cm-booking-sidebar { position:static; }
}

@media(max-width:768px){
  .cm-main .cm-section,.cm-booking-section,.cm-detail-main-section { padding:42px 0 50px; }
  .cm-tour-detail-hero,.cm-booking-hero { padding:26px 0 22px; }
  .cm-tour-detail-head h1,.cm-booking-hero h1,.cm-page-hero-v2 h1 { font-size:34px; }
  .cm-gallery-main { min-height:280px; }
  .cm-about-hero,.cm-contact-hero {
    padding:38px 0 44px;
    background:
      linear-gradient(180deg,rgba(6,27,44,.91),rgba(6,27,44,.66)),
      url("https://images.unsplash.com/photo-1641284355790-c76ee6fb4a12?auto=format&fit=crop&fm=jpg&q=80&w=1400")
      52% center / cover no-repeat;
  }
}



/* Product image integrity: never show unrelated stock imagery as a tour fallback. */
.cm-gallery-brand-fallback {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  background:
    radial-gradient(circle at 18% 18%, rgba(142,217,255,.20), transparent 26%),
    linear-gradient(135deg,#0a314f 0%,#145e87 58%,#4aa5cf 100%);
}

.cm-gallery-brand-fallback-content {
  max-width: 520px;
  color: #fff;
}

.cm-gallery-brand-fallback-content .cm-gallery-brand-kicker {
  position: static;
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: rgba(255,255,255,.88);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cm-gallery-brand-fallback-content strong {
  display: block;
  font-size: clamp(26px,3vw,38px);
  line-height: 1.08;
  font-weight: 620;
  letter-spacing: -.035em;
}

.cm-gallery-brand-fallback-content small {
  display: block;
  margin-top: 9px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.cm-gallery-side-placeholder {
  min-height: 205px;
  border-radius: 14px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,0)),
    linear-gradient(135deg,#dcecf4,#edf6fa);
  border: 1px solid rgba(14,58,91,.08);
}

.cm-gallery-side-placeholder-2,
.cm-gallery-side-placeholder-4 {
  background:
    radial-gradient(circle at 76% 24%,rgba(31,155,209,.15),transparent 28%),
    linear-gradient(135deg,#f2f7fa,#e2eef4);
}

.cm-summary-media-fallback {
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background:
    radial-gradient(circle at 18% 18%,rgba(142,217,255,.20),transparent 26%),
    linear-gradient(135deg,#0a314f 0%,#145e87 58%,#4aa5cf 100%);
}

.cm-summary-media-fallback span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Listing polish */
.cm-listing-layout {
  grid-template-columns: 285px 1fr;
  gap: 22px;
}

.cm-filters .cm-filter-card {
  overflow: hidden;
}

.cm-filter-card .cm-section-kicker {
  font-size: 9.5px;
}

.cm-listing-toolbar h2 {
  font-size: 24px;
  font-weight: 620;
}

.cm-listing-toolbar p {
  font-size: 13px;
}

.cm-toolbar-actions select {
  min-width: 180px;
  min-height: 40px;
  font-size: 13px;
}

.cm-list-side strong {
  font-weight: 620;
}

/* Detail and booking spacing refinement */
.cm-detail-gallery-section {
  padding-top: 18px;
}

.cm-detail-main-section {
  padding-top: 28px;
}

.cm-booking-section {
  padding-top: 38px;
}

.cm-booking-summary-card .cm-summary-content h3 {
  font-size: 20px;
  font-weight: 620;
}

.cm-summary-total strong {
  font-size: 26px;
  font-weight: 620;
}

@media(max-width:1120px){
  .cm-listing-layout { grid-template-columns:1fr; }
}

@media(max-width:768px){
  .cm-gallery-brand-fallback { min-height:280px; padding:20px; }
  .cm-gallery-side-placeholder { min-height:160px; }
}



/* =========================================================
   Tour listing filter — final proportion and typography pass
   ========================================================= */
@media (min-width: 1180px) {
  .cm-listing-layout {
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 20px;
  }

  .cm-filters {
    top: 88px;
    max-height: calc(100vh - 104px);
  }

  .cm-filter-card-pro {
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }

  .cm-filter-actions-pro {
    position: static !important;
    box-shadow: none !important;
  }
}

.cm-filter-card-pro {
  border-radius: 16px;
  border-color: var(--cm-public-line);
  box-shadow: 0 5px 18px rgba(8,40,63,.045);
}

.cm-filter-head {
  padding: 17px 18px 15px;
}

.cm-filter-head .cm-section-kicker {
  min-height: 23px;
  padding: 0 8px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .07em;
}

.cm-filter-head h3 {
  margin: 9px 0 5px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 620;
  letter-spacing: -.025em;
}

.cm-filter-head p {
  font-size: 11.5px;
  line-height: 1.45;
}

.cm-filter-search {
  padding: 14px 18px;
}

.cm-filter-search label,
.cm-filter-card-pro .cm-field label {
  margin-bottom: 5px;
  font-size: 9.5px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: .055em;
  color: #6f8291;
}

.cm-filter-searchbox {
  min-height: 42px;
  gap: 8px;
  padding: 0 11px;
  border-radius: 10px;
  background: #fbfdfe;
}

.cm-filter-search-icon {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 17px;
  color: #1685b2;
}

.cm-filter-search-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cm-filter-searchbox input {
  min-width: 0;
  height: 40px;
  font-size: 12.5px;
  font-weight: 500;
}

.cm-filter-searchbox input::placeholder {
  font-size: 12px;
  font-weight: 450;
}

.cm-filter-group {
  padding: 14px 18px;
}

.cm-filter-group-title {
  gap: 8px;
  margin-bottom: 11px;
}

.cm-filter-group-title::before {
  width: 20px;
  height: 1.5px;
}

.cm-filter-group-title span {
  font-size: 10px;
  font-weight: 680;
  letter-spacing: .065em;
}

.cm-filter-grid {
  gap: 10px;
}

.cm-filter-card-pro .cm-field {
  gap: 0;
}

.cm-filter-card-pro .cm-field select {
  width: 100%;
  min-height: 42px;
  height: 42px;
  padding: 0 34px 0 11px;
  border-radius: 10px;
  background-color: #fbfdfe;
  color: #20394c;
  font-size: 12.5px;
  font-weight: 520;
  line-height: 1;
}

.cm-filter-card-pro .cm-field select:focus {
  border-color: rgba(31,155,209,.42);
  box-shadow: 0 0 0 3px rgba(31,155,209,.08);
}

.cm-filter-actions-pro {
  grid-template-columns: 1fr 1fr !important;
  gap: 8px;
  padding: 13px 18px 16px;
  background: #fbfdfe;
}

.cm-filter-actions-pro .cm-btn {
  min-width: 0;
  min-height: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 620;
  white-space: nowrap;
}

/* Keep result cards in the same visual scale as the refined filter. */
.cm-listing-toolbar {
  margin-bottom: 14px;
}

.cm-listing-toolbar h2 {
  font-size: 23px;
  line-height: 1.15;
  font-weight: 620;
}

.cm-listing-toolbar p {
  margin-top: 4px;
  font-size: 12.5px;
}

.cm-list-card {
  grid-template-columns: 215px minmax(0,1fr) 170px;
  min-height: 178px;
  gap: 13px;
  padding: 10px;
}

.cm-list-media {
  min-height: 158px;
}

.cm-list-body h3,
.cm-list-card h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 620;
}

.cm-list-card p {
  font-size: 12.5px;
  line-height: 1.55;
}

.cm-list-card .cm-exp-meta {
  gap: 5px;
}

.cm-list-card .cm-exp-meta span,
.cm-feature-tags span {
  min-height: 23px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 540;
  border-radius: 999px;
}

.cm-list-side {
  gap: 9px;
}

.cm-list-side .cm-price-box small {
  font-size: 9.5px;
}

.cm-list-side .cm-price-box strong {
  font-size: 18px;
  font-weight: 620;
}

.cm-list-side .cm-price-box span {
  font-size: 10px;
}

.cm-list-side .cm-btn {
  min-height: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 620;
  border-radius: 9px;
}

@media (max-width: 1179px) {
  .cm-filter-card-pro {
    max-height: none;
    overflow: visible;
  }

  .cm-filter-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 680px) {
  .cm-filter-grid,
  .cm-filter-actions-pro {
    grid-template-columns: 1fr !important;
  }

  .cm-filter-actions-pro .cm-btn {
    width: 100%;
  }

  .cm-list-card {
    grid-template-columns: 1fr;
  }

  .cm-list-media {
    min-height: 190px;
  }
}



/* =========================================================
   About + Reviews — final premium polish
   ========================================================= */
.cm-about-service-grid {
  gap: 14px;
}

.cm-about-service-card {
  min-height: 190px;
  padding: 18px;
}

.cm-about-service-card h3 {
  margin: 12px 0 7px;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -.02em;
}

.cm-about-service-card p {
  font-size: 12.8px;
  line-height: 1.6;
}

.cm-about-story-grid {
  gap: 24px;
  align-items: stretch;
}

.cm-about-story-media {
  min-height: 380px;
  border-radius: 16px;
  box-shadow: var(--cm-public-shadow);
}

.cm-about-story-content h2 {
  font-size: clamp(28px,3vw,38px);
  line-height: 1.06;
  font-weight: 620;
  letter-spacing: -.035em;
}

.cm-about-values {
  gap: 10px;
}

.cm-about-values div {
  padding: 13px 14px;
  border-radius: 11px;
}

.cm-about-steps {
  gap: 12px;
}

.cm-about-step {
  padding: 18px;
  border-radius: 14px;
  border-color: var(--cm-public-line);
  box-shadow: var(--cm-public-shadow);
}

.cm-about-step strong {
  font-size: 16px;
  font-weight: 620;
}

.cm-about-step p {
  font-size: 12.8px;
  line-height: 1.55;
}

.cm-about-dark-grid {
  gap: 28px;
}

.cm-about-dark-grid h2 {
  font-size: clamp(30px,3.6vw,44px);
  line-height: 1.04;
  font-weight: 620;
  letter-spacing: -.04em;
}

.cm-review-list-grid {
  gap: 14px;
}

.cm-review-page-card {
  padding: 18px;
}

.cm-review-author strong {
  font-size: 14px;
  font-weight: 620;
}

.cm-review-author small,
.cm-review-source,
.cm-review-page-card p {
  font-size: 12.5px;
}

.cm-review-page-card p {
  line-height: 1.65;
}

.cm-review-rating {
  font-size: 14px;
  letter-spacing: .06em;
}

.cm-review-stat {
  padding: 15px 16px;
}

.cm-review-stat strong {
  font-size: 22px;
  font-weight: 620;
}

.cm-review-stat span {
  font-size: 10.5px;
}

.cm-final-cta-inner {
  padding: 24px 28px;
  border-radius: 16px;
}

.cm-final-cta h2 {
  font-size: clamp(27px,3vw,38px);
  font-weight: 620;
}

@media (max-width: 768px) {
  .cm-about-story-media {
    min-height: 280px;
  }

  .cm-about-service-card,
  .cm-about-step,
  .cm-review-page-card {
    padding: 16px;
  }

  .cm-final-cta-inner {
    padding: 21px 18px;
  }
}



/* =========================================================
   Contact page — final premium polish
   ========================================================= */
.cm-contact-hero {
  padding: 50px 0 54px;
}

.cm-contact-hero-grid {
  grid-template-columns: minmax(0,1fr) 325px;
  gap: 28px;
  align-items: center;
}

.cm-contact-hero .cm-detail-breadcrumb {
  margin-bottom: 15px;
  font-size: 11px;
}

.cm-contact-hero .cm-section-kicker {
  min-height: 26px;
  padding: 0 10px;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: .07em;
}

.cm-contact-hero h1 {
  max-width: 760px;
  margin: 14px 0 14px;
  font-size: clamp(36px,4.6vw,56px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.045em;
}

.cm-contact-hero p {
  max-width: 650px;
  font-size: 14.5px;
  line-height: 1.65;
}

.cm-contact-hero-actions {
  gap: 9px;
  margin-top: 20px;
}

.cm-contact-info-card {
  padding: 18px;
  border-radius: 15px;
}

.cm-contact-info-card > span {
  margin-bottom: 8px;
  font-size: 9.5px;
  font-weight: 680;
  letter-spacing: .07em;
}

.cm-contact-info-card h3 {
  font-size: 20px;
  line-height: 1.18;
  font-weight: 620;
  letter-spacing: -.025em;
}

.cm-contact-info-list {
  gap: 8px;
  margin-top: 15px;
}

.cm-contact-info-list a {
  padding: 11px 12px;
  border-radius: 11px;
}

.cm-contact-info-list strong {
  margin-bottom: 2px;
  font-size: 12.5px;
  font-weight: 620;
}

.cm-contact-info-list small {
  font-size: 11px;
}

.cm-contact-layout {
  grid-template-columns: minmax(0,1fr) 310px;
  gap: 20px;
}

.cm-contact-panel {
  padding: 22px;
  border-radius: 16px;
  box-shadow: var(--cm-public-shadow);
}

.cm-contact-panel .cm-panel-head {
  margin-bottom: 17px;
}

.cm-contact-panel .cm-panel-head h2 {
  margin-top: 8px;
  font-size: clamp(25px,2.7vw,32px);
}

.cm-contact-form {
  gap: 13px;
}

.cm-contact-form .cm-field label {
  margin-bottom: 5px;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: .055em;
}

.cm-contact-form .cm-field input,
.cm-contact-form .cm-field select {
  min-height: 42px;
  height: 42px;
  padding: 0 11px;
  font-size: 12.5px;
}

.cm-contact-form .cm-field textarea {
  min-height: 122px;
  padding: 11px 12px;
  font-size: 12.5px;
  line-height: 1.5;
}

.cm-contact-note {
  padding: 13px 14px;
  border-radius: 11px;
  background: #f4fafc;
  border-color: rgba(14,58,91,.09);
}

.cm-contact-note strong {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 620;
}

.cm-contact-note p {
  font-size: 11.5px;
  line-height: 1.5;
}

.cm-contact-panel > form > .cm-btn,
.cm-contact-form > .cm-btn {
  min-height: 42px;
  width: 100%;
  justify-content: center;
  font-size: 12.5px;
}

.cm-contact-side {
  top: 88px;
  gap: 12px;
}

.cm-contact-side-card {
  padding: 16px;
  border-radius: 15px;
  box-shadow: var(--cm-public-shadow);
}

.cm-contact-side-card h3 {
  margin: 0 0 11px;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -.02em;
}

.cm-contact-side-card p {
  font-size: 12.3px;
  line-height: 1.55;
}

.cm-contact-methods {
  gap: 7px;
}

.cm-contact-methods a,
.cm-contact-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #f5fafc;
  border: 1px solid rgba(14,58,91,.08);
}

.cm-contact-methods a > span,
.cm-contact-method > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  margin: 0;
  border-radius: 9px;
  background: #eaf7f7;
  color: #126b7a;
}

.cm-contact-methods a > span .cm-public-line-icon,
.cm-contact-method > span .cm-public-line-icon {
  width: 16px;
  height: 16px;
}

.cm-contact-methods strong,
.cm-contact-method strong {
  display: block;
  font-size: 12.5px;
  font-weight: 620;
}

.cm-contact-methods small,
.cm-contact-method small {
  display: block;
  margin-top: 2px;
  color: #6e8291;
  font-size: 10.8px;
  line-height: 1.35;
}

.cm-contact-address {
  align-items: flex-start;
}

.cm-contact-tags {
  gap: 5px;
}

.cm-contact-tags span {
  min-height: 25px;
  padding: 0 8px;
  border-radius: 8px;
  background: #f5fafc;
  border-color: rgba(14,58,91,.08);
  font-size: 10px;
  font-weight: 560;
}

.cm-contact-steps {
  gap: 12px;
}

.cm-contact-steps div {
  padding: 18px;
  border-radius: 14px;
  box-shadow: var(--cm-public-shadow);
}

.cm-contact-steps span {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}

.cm-contact-steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 620;
}

.cm-contact-steps p {
  font-size: 12.5px;
  line-height: 1.55;
}

.cm-contact-steps + * {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .cm-contact-layout {
    grid-template-columns: 1fr;
  }

  .cm-contact-side {
    position: static;
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 780px) {
  .cm-contact-hero {
    padding: 38px 0 42px;
  }

  .cm-contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cm-contact-hero h1 {
    font-size: 34px;
  }

  .cm-contact-panel,
  .cm-contact-side-card,
  .cm-contact-info-card {
    padding: 16px;
  }

  .cm-contact-side {
    grid-template-columns: 1fr;
  }

  .cm-form-grid-2,
  .cm-form-grid-3 {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   FINAL MOBILE OVERRIDES — PUBLIC PAGES
   ========================================================================== */
@media (max-width: 480px) {
  .cm-main .cm-section,
  .cm-booking-section,
  .cm-detail-main-section,
  .cm-customer-section {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .cm-page-hero-v2,
  .cm-tour-detail-hero,
  .cm-booking-hero,
  .cm-page-hero {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .cm-page-hero-v2 h1,
  .cm-tour-detail-head h1,
  .cm-booking-hero h1,
  .cm-page-hero h1 {
    font-size: 31px !important;
    line-height: 1.04;
  }

  .cm-page-hero-v2 p,
  .cm-tour-detail-head p,
  .cm-booking-hero p,
  .cm-page-hero p {
    font-size: 13px;
    line-height: 1.55;
  }

  .cm-detail-breadcrumb {
    margin-bottom: 14px;
    font-size: 10.5px;
  }

  .cm-filter-card-pro {
    border-radius: 14px;
  }

  .cm-filter-head,
  .cm-filter-search,
  .cm-filter-group,
  .cm-filter-actions-pro {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cm-filter-grid,
  .cm-filter-actions-pro {
    grid-template-columns: 1fr !important;
  }

  .cm-filter-actions-pro .cm-btn {
    width: 100%;
    min-height: 40px;
  }

  .cm-listing-toolbar {
    align-items: stretch;
    gap: 10px;
  }

  .cm-toolbar-actions,
  .cm-toolbar-actions select {
    width: 100%;
  }

  .cm-list-card {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 9px;
    border-radius: 14px;
  }

  .cm-list-media {
    min-height: 180px;
  }

  .cm-list-side {
    padding-top: 10px;
    border-top: 1px solid rgba(14,58,91,.08);
  }

  .cm-list-side .cm-btn {
    width: 100%;
  }

  .cm-tour-detail-head,
  .cm-detail-layout-v2,
  .cm-booking-hero-grid,
  .cm-booking-layout,
  .cm-about-hero-grid,
  .cm-contact-hero-grid {
    gap: 18px;
  }

  .cm-detail-meta-row {
    gap: 5px;
  }

  .cm-detail-meta-row span {
    min-height: 27px;
    padding: 0 8px;
    font-size: 10.5px;
  }

  .cm-detail-price-card {
    padding: 15px;
  }

  .cm-detail-gallery {
    grid-template-columns: 1fr !important;
  }

  .cm-gallery-main,
  .cm-gallery-brand-fallback {
    min-height: 250px;
  }

  .cm-gallery-side {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .cm-gallery-side > div,
  .cm-gallery-side-placeholder {
    min-height: 120px;
  }

  .cm-detail-panel,
  .cm-booking-panel,
  .cm-booking-summary-card {
    padding: 16px;
    border-radius: 14px;
  }

  .cm-quick-info {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .cm-booking-sidebar,
  .cm-detail-sidebar-v2 {
    position: static !important;
  }

  .cm-booking-summary-card .cm-summary-media {
    min-height: 170px;
  }

  .cm-form-grid-2,
  .cm-form-grid-3 {
    grid-template-columns: 1fr !important;
  }

  .cm-about-hero,
  .cm-contact-hero {
    padding: 32px 0 36px;
  }

  .cm-about-hero h1,
  .cm-contact-hero h1 {
    font-size: 31px !important;
  }

  .cm-about-hero-card,
  .cm-contact-info-card,
  .cm-contact-panel,
  .cm-contact-side-card {
    padding: 15px;
  }

  .cm-about-service-grid,
  .cm-about-steps,
  .cm-contact-steps,
  .cm-contact-side {
    grid-template-columns: 1fr !important;
  }

  .cm-about-story-media {
    min-height: 240px;
  }

  .cm-review-page-stats {
    grid-template-columns: 1fr;
  }

  .cm-review-list-grid {
    grid-template-columns: 1fr;
  }

  .cm-final-cta-inner {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 19px 16px;
  }

  .cm-final-cta-inner .cm-btn {
    width: 100%;
    justify-content: center;
  }
}
