.public-mobile-action-rail,
.public-mobile-comment-modal,
.public-mobile-toast {
  display: none;
}

.public-mobile-action-rail[hidden],
.public-mobile-comment-modal[hidden],
.public-mobile-toast[hidden] {
  display: none !important;
}

@media screen and (max-width: 767px) {
  html {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  body.public-quote-page {
    width: 100%;
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    overscroll-behavior-y: auto;
    touch-action: pan-y pinch-zoom;
    background:
      radial-gradient(circle at 100% 0, rgba(36, 169, 169, .12), transparent 34%),
      linear-gradient(180deg, #f7fafc 0, #eef3f8 100%);
  }

  body.public-quote-page.public-mobile-modal-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .public-quote-page *,
  .public-quote-page *::before,
  .public-quote-page *::after {
    box-sizing: border-box;
  }

  .public-quote-page .public-quote-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 calc(34px + env(safe-area-inset-bottom));
  }

  .public-quote-page .public-quote-card {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .public-quote-page .public-quote-main-head,
  .public-quote-page .public-quote-actions-card {
    display: none !important;
  }

  .public-quote-page .public-quote-layout,
  .public-quote-page .public-quote-paper,
  .public-quote-page .quote-rendered,
  .public-quote-page .standalone-quote-rendered {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    touch-action: pan-y pinch-zoom !important;
  }

  .public-quote-page .public-quote-paper {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .public-quote-page #publicQuoteMessage {
    width: calc(100% - 32px);
    margin: 18px auto;
  }

  .public-quote-page .standalone-quote-rendered {
    color: #172436;
    font-size: 15px;
    line-height: 1.62;
    background: transparent;
  }

  .public-quote-page .standalone-quote-rendered * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .public-quote-page .standalone-quote-rendered .letterhead {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 15px 64px 15px 16px;
    border: 0;
    border-bottom: 1px solid rgba(15, 36, 56, .08);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
  }

  .public-quote-page .standalone-quote-rendered .letterhead::after {
    content: "SECURE QUOTE";
    position: absolute;
    top: 18px;
    right: 14px;
    border: 1px solid rgba(8, 117, 119, .22);
    border-radius: 999px;
    padding: 4px 7px;
    color: #087577;
    background: #ecfbf8;
    font-family: Inter, sans-serif;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
  }

  .public-quote-page .standalone-quote-rendered .letterhead-logo {
    width: 58px;
    height: 52px;
  }

  .public-quote-page .standalone-quote-rendered .letterhead-logo img {
    max-width: 58px;
    max-height: 52px;
  }

  .public-quote-page .standalone-quote-rendered .letterhead-logo span {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 13px;
  }

  .public-quote-page .standalone-quote-rendered .letterhead h2 {
    margin: 0 0 3px;
    padding-right: 4px;
    color: #10243a;
    font-size: 17px;
    line-height: 1.2;
  }

  .public-quote-page .standalone-quote-rendered .letterhead p {
    margin: 1px 0;
    color: #68778a;
    font-size: 10px;
    line-height: 1.42;
  }

  .public-quote-page .tour-cover {
    position: relative;
    min-height: min(68vh, 530px);
    margin: 0;
    align-items: flex-end;
    background-position: center;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(12, 34, 55, .18);
  }

  .public-quote-page .tour-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 20, 34, .04) 22%, rgba(4, 24, 41, .88) 100%);
    pointer-events: none;
  }

  .public-quote-page .tour-cover-inner {
    position: relative;
    z-index: 1;
    padding: 88px 20px 28px;
  }

  .public-quote-page .tour-cover h1 {
    width: 100%;
    margin: 0 0 14px;
    font-size: clamp(32px, 10.5vw, 46px);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .public-quote-page .prepared-line,
  .public-quote-page .reference-line {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
  }

  .public-quote-page .tour-cover-rule {
    width: 58px;
    height: 3px;
    margin: 17px 0;
    border-radius: 99px;
    background: var(--quote-accent, #d4ad55);
  }

  .public-quote-page .cover-meta {
    gap: 10px;
    font-size: 13px;
  }

  .public-quote-page .cover-meta-row {
    align-items: flex-start;
    gap: 9px;
  }

  .public-quote-page .cover-meta-row svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: #e3bd61;
  }

  .public-quote-page .hero-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 10px;
    width: 100%;
    padding: 20px 16px 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .public-quote-page .hero-gallery::-webkit-scrollbar {
    display: none;
  }

  .public-quote-page .hero-gallery img {
    height: 170px;
    border-radius: 18px;
    scroll-snap-align: start;
    box-shadow: 0 9px 24px rgba(15, 42, 66, .14);
  }

  .public-quote-page .quote-section {
    margin: 14px 12px;
    border: 1px solid rgba(25, 52, 75, .08);
    border-radius: 20px;
    padding: 18px 15px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 10px 30px rgba(23, 49, 74, .075);
  }

  .public-quote-page .section-heading {
    margin: 0 0 16px;
    padding: 0 0 11px;
    border-bottom: 1px solid #d9e3ec;
    color: #123b5a;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .035em;
    white-space: normal;
  }

  .public-quote-page .section-heading::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 10px;
    border-radius: 99px;
    background: var(--quote-accent, #cda84f);
  }

  .public-quote-page .brief-list,
  .public-quote-page .terms-grid,
  .public-quote-page .inclusion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .public-quote-page .brief-row {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    border: 0;
    border-radius: 14px;
    padding: 12px;
    background: #f4f8fb;
  }

  .public-quote-page .day-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 10px;
    margin: 0 0 13px;
    border: 1px solid #e1e9f0;
    border-radius: 17px;
    padding: 13px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(20, 48, 72, .06);
  }

  .public-quote-page .day-card:last-child {
    margin-bottom: 0;
  }

  .public-quote-page .day-pill {
    min-width: 54px;
    padding: 5px 9px;
    color: #087577;
    background: #e9f8f6;
  }

  .public-quote-page .day-title {
    padding-top: 3px;
    font-size: 16px;
    line-height: 1.3;
  }

  .public-quote-page .day-date {
    grid-column: 1 / -1;
    padding-left: 2px;
    text-align: left;
  }

  .public-quote-page .day-content,
  .public-quote-page .day-card.no-day-images .day-content {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .public-quote-page .day-image-stack {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 9px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .public-quote-page .day-image-stack::-webkit-scrollbar {
    display: none;
  }

  .public-quote-page .day-image-stack figure {
    scroll-snap-align: start;
  }

  .public-quote-page .day-image-stack img {
    width: 100%;
    height: 190px;
    max-height: none;
    border-radius: 14px;
  }

  .public-quote-page .day-plan p,
  .public-quote-page .info-block li,
  .public-quote-page .info-block p {
    font-size: 14px;
    line-height: 1.65;
  }

  .public-quote-page .meal-box {
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .public-quote-page .hotel-option-heading,
  .public-quote-page .stay-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-quote-page .stay-card {
    border-color: #dbe6ed;
    border-radius: 16px;
    overflow: hidden;
  }

  .public-quote-page .stay-banner {
    gap: 3px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #0a7476, #0a8b82);
  }

  .public-quote-page .hotel-row-display,
  .public-quote-page .hotel-row-display.no-hotel-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 13px;
  }

  .public-quote-page .hotel-row-display-image img {
    width: 100%;
    height: 190px;
    max-height: none;
    border-radius: 12px;
  }

  .public-quote-page .stay-copy h4 {
    font-size: 21px;
    line-height: 1.2;
  }

  .public-quote-page .stay-detail-row {
    font-size: 13px;
    line-height: 1.55;
  }

  .public-quote-page .transport-card-body {
    gap: 10px;
    padding: 11px;
  }

  .public-quote-page .transport-row-display {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 0;
    border-radius: 13px;
    padding: 12px;
    background: #f4f7fa;
  }

  .public-quote-page .transport-row-display > strong,
  .public-quote-page .transport-row-display > span {
    padding-bottom: 7px;
    border-bottom: 1px solid #dce5ed;
  }

  .public-quote-page .transport-row-display > span {
    color: #637286;
    text-align: right;
  }

  .public-quote-page .transport-row-display > div {
    display: grid;
    gap: 2px;
    font-size: 12px;
  }

  .public-quote-page .info-block {
    border: 0;
    border-radius: 15px;
    padding: 14px;
    background: #f5f8fb;
  }

  .public-quote-page .info-block ul,
  .public-quote-page .info-block ol {
    margin: 0;
    padding-left: 20px;
  }

  .public-quote-page .quote-pricing-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .public-quote-page .quote-table,
  .public-quote-page .quote-table tbody {
    display: block;
    width: 100%;
  }

  .public-quote-page .quote-table thead {
    display: none;
  }

  .public-quote-page .quote-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 10px;
    border: 1px solid #e1e8ef;
    border-radius: 14px;
    padding: 11px;
    background: #fff;
  }

  .public-quote-page .quote-table td {
    display: block;
    border: 0;
    padding: 0;
    background: transparent !important;
    font-size: 12px;
  }

  .public-quote-page .quote-table td::before {
    display: block;
    margin-bottom: 2px;
    color: #77869a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .public-quote-page .quote-table td:nth-child(1)::before { content: "Option"; }
  .public-quote-page .quote-table td:nth-child(2)::before { content: "Details"; }
  .public-quote-page .quote-table td:nth-child(3)::before { content: "Amount"; }
  .public-quote-page .quote-table td:nth-child(4)::before { content: "Final amount"; }

  .public-quote-page .quote-lite-footer {
    margin: 16px 12px 96px;
    border: 0;
    border-radius: 20px;
    padding: 22px 18px;
    color: #dfeeee;
    background: linear-gradient(135deg, #102f45, #0b7474);
    box-shadow: 0 12px 28px rgba(15, 48, 69, .2);
  }

  .public-quote-page .quote-lite-footer strong {
    color: #fff;
  }

  .public-mobile-action-rail {
    position: fixed;
    z-index: 1000;
    left: max(9px, env(safe-area-inset-left));
    bottom: calc(18px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    width: 58px;
    padding: 8px 5px;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 24px;
    background: rgba(7, 28, 43, .82);
    box-shadow: 0 18px 42px rgba(4, 24, 38, .32);
    backdrop-filter: blur(18px) saturate(145%);
  }

  .public-mobile-action-group {
    position: relative;
  }

  .public-mobile-action-button {
    position: relative;
    display: grid;
    width: 48px;
    min-height: 54px;
    place-items: center;
    gap: 1px;
    border: 0;
    border-radius: 17px;
    padding: 4px 2px 3px;
    color: #fff;
    background: transparent;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s ease, background .18s ease;
  }

  .public-mobile-action-button:active {
    transform: scale(.92);
  }

  .public-mobile-action-button[aria-expanded="true"],
  .public-mobile-action-button[aria-pressed="true"] {
    background: linear-gradient(145deg, #d6b45f, #b98b2d);
  }

  .public-mobile-action-icon {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
  }

  .public-mobile-action-icon svg,
  .public-mobile-satellite svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
  }

  .public-mobile-action-label {
    max-width: 48px;
    overflow: hidden;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-mobile-action-count {
    position: absolute;
    top: 1px;
    right: 1px;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    border: 2px solid #173647;
    border-radius: 999px;
    padding: 0 3px;
    color: #173647;
    background: #fff;
    font-size: 8px;
    font-weight: 900;
  }

  .public-mobile-satellites {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: -1;
    width: 48px;
    height: 48px;
    pointer-events: none;
  }

  .public-mobile-satellite {
    position: absolute;
    top: 4px;
    left: 4px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    padding: 0;
    color: #fff;
    background: #173c54;
    box-shadow: 0 10px 24px rgba(6, 28, 43, .28);
    font: inherit;
    text-decoration: none;
    opacity: 0;
    transform: translate(0, 0) scale(.25) rotate(-30deg);
    pointer-events: none;
    transition: transform .28s cubic-bezier(.2, 1.5, .35, 1), opacity .16s ease;
  }

  .public-mobile-satellite span {
    font-size: 8px;
    font-weight: 900;
  }

  .public-mobile-action-group.is-open .public-mobile-satellites {
    z-index: 4;
    pointer-events: auto;
  }

  .public-mobile-action-group.is-open .public-mobile-satellite:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }

  .public-mobile-action-group.is-open .is-whatsapp { transform: translate(62px, -35px) scale(1) rotate(0); background: #1daf62; }
  .public-mobile-action-group.is-open .is-call { transform: translate(68px, 18px) scale(1) rotate(0); background: #1d78c1; }

  .public-mobile-action-group.is-open .share-wa { transform: translate(65px, -82px) scale(1); background: #1daf62; }
  .public-mobile-action-group.is-open .share-mail { transform: translate(101px, -45px) scale(1); background: #db5b50; }
  .public-mobile-action-group.is-open .share-sms { transform: translate(105px, 8px) scale(1); background: #6d5ed2; }
  .public-mobile-action-group.is-open .share-copy { transform: translate(64px, 45px) scale(1); background: #0d7081; }
  .public-mobile-action-group.is-open .share-device { transform: translate(58px, -18px) scale(1); background: #c09336; }

  .public-mobile-comment-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    align-items: end;
  }

  .public-mobile-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(3, 19, 31, .62);
    backdrop-filter: blur(5px);
  }

  .public-mobile-comment-sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: min(88vh, 680px);
    overflow-y: auto;
    border-radius: 26px 26px 0 0;
    padding: 10px 18px calc(20px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -18px 50px rgba(3, 20, 34, .28);
    animation: public-mobile-sheet-in .28s ease-out;
  }

  @keyframes public-mobile-sheet-in {
    from { transform: translateY(25%); opacity: .6; }
    to { transform: translateY(0); opacity: 1; }
  }

  .public-mobile-sheet-handle {
    width: 42px;
    height: 4px;
    margin: 0 auto 16px;
    border-radius: 99px;
    background: #d4dee6;
  }

  .public-mobile-comment-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
  }

  .public-mobile-comment-head span {
    color: #0d7a78;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .public-mobile-comment-head h2 {
    margin: 4px 0 18px;
    color: #102a40;
    font-size: 22px;
    line-height: 1.2;
  }

  .public-mobile-comment-head button {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #415268;
    background: #edf2f6;
    font-size: 25px;
  }

  .public-mobile-comment-sheet form {
    display: grid;
    gap: 9px;
  }

  .public-mobile-comment-sheet label {
    color: #20364b;
    font-size: 12px;
    font-weight: 800;
  }

  .public-mobile-comment-sheet label span {
    color: #8290a0;
    font-weight: 500;
  }

  .public-mobile-comment-sheet input,
  .public-mobile-comment-sheet textarea {
    width: 100%;
    border: 1px solid #d8e2ea;
    border-radius: 13px;
    padding: 12px 13px;
    color: #17283a;
    background: #f8fafc;
    font: 14px/1.5 Inter, sans-serif;
    outline: none;
  }

  .public-mobile-comment-sheet textarea {
    min-height: 128px;
    resize: vertical;
  }

  .public-mobile-comment-sheet input:focus,
  .public-mobile-comment-sheet textarea:focus {
    border-color: #118986;
    box-shadow: 0 0 0 3px rgba(17, 137, 134, .12);
  }

  .public-mobile-comment-status {
    min-height: 18px;
    color: #b1482a;
    font-size: 11px;
  }

  .public-mobile-comment-submit {
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0c7d7b, #075d6d);
    box-shadow: 0 10px 22px rgba(8, 108, 112, .24);
    font: 800 14px/1 Inter, sans-serif;
  }

  .public-mobile-comment-submit:disabled {
    opacity: .62;
  }

  .public-mobile-comment-sheet form > p {
    margin: 2px 0 0;
    color: #718095;
    font-size: 10px;
    text-align: center;
  }

  .public-mobile-toast {
    position: fixed;
    z-index: 1300;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom));
    display: block;
    width: max-content;
    max-width: calc(100% - 34px);
    transform: translateX(-50%);
    border-radius: 999px;
    padding: 11px 16px;
    color: #fff;
    background: rgba(9, 35, 52, .94);
    box-shadow: 0 12px 28px rgba(5, 23, 37, .3);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
  }
}

/* v103 corrective layer: match qs-redesign.css specificity so the mobile
   presentation wins without changing desktop/tablet or print output. */
@media screen and (max-width: 767px) {
  body.qs-v3.public-quote-page .public-quote-shell,
  body.qs-v3.public-quote-page .public-quote-card,
  body.qs-v3.public-quote-page .public-quote-layout,
  body.qs-v3.public-quote-page .public-quote-paper,
  body.qs-v3.public-quote-page #publicQuote,
  body.qs-v3.public-quote-page #publicQuote .quote-rendered {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.qs-v3.public-quote-page .public-quote-layout,
  body.qs-v3.public-quote-page .public-quote-paper {
    display: block !important;
    overflow: visible !important;
    background: transparent !important;
  }

  body.qs-v3.public-quote-page #publicQuote .quote-rendered {
    color: #1a2a3a;
    background: #f2f5f8;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.58;
  }

  body.qs-v3.public-quote-page #publicQuote .letterhead {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #e2e8ee;
    background: #fff;
  }

  body.qs-v3.public-quote-page #publicQuote .letterhead::after {
    display: none;
  }

  body.qs-v3.public-quote-page #publicQuote .letterhead-logo,
  body.qs-v3.public-quote-page #publicQuote .letterhead-logo img {
    width: 56px;
    max-width: 56px;
    height: 50px;
    max-height: 50px;
    object-fit: contain;
  }

  body.qs-v3.public-quote-page #publicQuote .letterhead-copy h2 {
    margin: 0 0 3px;
    color: #132a40;
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.25;
  }

  body.qs-v3.public-quote-page #publicQuote .letterhead-copy p {
    margin: 1px 0;
    color: #687789;
    font-size: 10.5px;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .tour-cover {
    width: 100%;
    min-height: min(70vh, 540px);
    margin: 0;
    border-radius: 0;
    background-position: center;
    box-shadow: none;
  }

  body.qs-v3.public-quote-page #publicQuote .tour-cover-inner {
    width: 100%;
    padding: 96px 18px 26px;
  }

  body.qs-v3.public-quote-page #publicQuote .tour-cover h1 {
    width: 100%;
    max-width: none;
    margin-bottom: 13px;
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1.04;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .tour-cover .prepared-line,
  body.qs-v3.public-quote-page #publicQuote .tour-cover .reference-line,
  body.qs-v3.public-quote-page #publicQuote .cover-meta-row {
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .cover-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  body.qs-v3.public-quote-page #publicQuote .quote-section {
    width: 100%;
    margin: 8px 0 0;
    border: 0;
    border-top: 1px solid #e4e9ee;
    border-bottom: 1px solid #e4e9ee;
    border-radius: 0;
    padding: 20px 16px;
    background: #fff;
    box-shadow: none;
  }

  body.qs-v3.public-quote-page #publicQuote .quote-section:last-child {
    padding-bottom: 20px;
  }

  body.qs-v3.public-quote-page #publicQuote .section-heading {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    border: 0;
    border-bottom: 1px solid #dfe6ec;
    padding: 0 0 10px;
    color: #17334c;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
    text-transform: none;
  }

  body.qs-v3.public-quote-page #publicQuote .section-heading::after {
    display: none;
  }

  body.qs-v3.public-quote-page #publicQuote .brief-list {
    display: grid;
    gap: 10px;
  }

  body.qs-v3.public-quote-page #publicQuote .brief-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    width: 100%;
    padding: 14px;
    border: 1px solid #e1e7ed;
    border-radius: 12px;
    background: #f8fafb;
  }

  body.qs-v3.public-quote-page #publicQuote .brief-row > strong {
    grid-column: 1;
    align-self: start;
    border-radius: 999px;
    padding: 5px 9px;
    color: #825d14;
    background: #fff4d8;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
  }

  body.qs-v3.public-quote-page #publicQuote .brief-row > div {
    display: contents;
  }

  body.qs-v3.public-quote-page #publicQuote .brief-row .brief-row-title {
    grid-column: 2;
    align-self: center;
    color: #172f46;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .brief-row > div > :not(.brief-row-title) {
    grid-column: 1 / -1;
    width: 100%;
    margin: 2px 0 0;
    color: #4d5d6e;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.58;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .day-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 11px;
    width: 100%;
    margin: 0 0 12px;
    border: 1px solid #e0e7ed;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    box-shadow: none;
  }

  body.qs-v3.public-quote-page #publicQuote .day-pill {
    min-width: 50px;
    height: 34px;
    border: 1px solid #e7d09a;
    border-radius: 999px;
    padding: 0 9px;
    color: #785816;
    background: #fff7e3;
    font-family: Inter, Arial, sans-serif;
    font-size: 10.5px;
  }

  body.qs-v3.public-quote-page #publicQuote .day-title {
    align-self: center;
    margin: 0;
    color: #18324a;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .day-date {
    grid-column: 1 / -1;
    padding-top: 2px;
    color: #738194;
    font-size: 11px;
    text-align: left;
    white-space: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .day-content,
  body.qs-v3.public-quote-page #publicQuote .day-card.no-day-images .day-content {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin: 2px 0 0;
  }

  body.qs-v3.public-quote-page #publicQuote .day-image-stack {
    width: 100%;
  }

  body.qs-v3.public-quote-page #publicQuote .day-image-stack img {
    width: 100%;
    height: 210px;
    max-height: none;
    border-radius: 11px;
    object-fit: cover;
  }

  body.qs-v3.public-quote-page #publicQuote .day-plan,
  body.qs-v3.public-quote-page #publicQuote .day-plan p {
    width: 100%;
    margin-top: 0;
    color: #35485a;
    font-size: 13.5px;
    line-height: 1.62;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .stay-card,
  body.qs-v3.public-quote-page #publicQuote .hotel-row-display,
  body.qs-v3.public-quote-page #publicQuote .transport-card-body {
    width: 100%;
    min-width: 0;
  }

  body.qs-v3.public-quote-page #publicQuote .stay-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    font-size: 15px;
  }

  body.qs-v3.public-quote-page #publicQuote .stay-banner span {
    max-width: 56%;
    font-size: 10.5px;
    line-height: 1.4;
    text-align: right;
  }

  body.qs-v3.public-quote-page #publicQuote .hotel-row-display,
  body.qs-v3.public-quote-page #publicQuote .hotel-row-display.no-hotel-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 13px;
  }

  body.qs-v3.public-quote-page #publicQuote .hotel-row-display-image img {
    width: 100%;
    height: 210px;
    max-height: none;
    object-fit: cover;
  }

  body.qs-v3.public-quote-page #publicQuote .stay-copy h4 {
    font-size: 19px;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .stay-detail-row {
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .transport-card-body {
    padding: 10px;
  }

  body.qs-v3.public-quote-page #publicQuote .transport-row-display {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    width: 100%;
    margin: 0 0 8px;
    border: 1px solid #e1e7ed;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafb;
    font-size: 12px;
  }

  body.qs-v3.public-quote-page #publicQuote .transport-row-display:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid #e1e7ed;
  }

  body.qs-v3.public-quote-page #publicQuote .transport-row-display > strong {
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
    color: #172f46;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .transport-row-display > span {
    grid-column: 1 / -1;
    padding: 0 0 8px;
    border-bottom: 1px solid #dfe6ec;
    color: #68788b;
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .transport-row-display > div {
    display: grid;
    gap: 3px;
    min-width: 0;
    color: #293e52;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.qs-v3.public-quote-page #publicQuote .transport-row-display b {
    color: #8390a0;
    font-size: 9px;
    letter-spacing: .06em;
  }

  body.qs-v3.public-quote-page #publicQuote .inclusion-grid,
  body.qs-v3.public-quote-page #publicQuote .terms-grid,
  body.qs-v3.public-quote-page #publicQuote .quote-pricing-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.qs-v3.public-quote-page #publicQuote .quote-lite-footer {
    width: 100%;
    margin: 8px 0 80px;
    border: 0;
    border-radius: 0;
    padding: 22px 16px;
  }

  body.qs-v3.public-quote-page .public-mobile-action-rail {
    left: max(10px, env(safe-area-inset-left));
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 44px;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.qs-v3.public-quote-page .public-mobile-action-button {
    display: grid;
    width: 44px;
    min-height: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(29, 51, 70, .16);
    border-radius: 50%;
    padding: 0;
    color: #17344b;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 7px 20px rgba(9, 31, 47, .16);
    backdrop-filter: blur(12px);
  }

  body.qs-v3.public-quote-page .public-mobile-action-button[aria-expanded="true"] {
    border-color: #173d58;
    color: #fff;
    background: #173d58;
  }

  body.qs-v3.public-quote-page .public-mobile-action-button[aria-pressed="true"] {
    border-color: #d9a9b0;
    color: #b43f52;
    background: #fff;
  }

  body.qs-v3.public-quote-page .public-mobile-action-button[aria-pressed="true"] .public-mobile-action-icon svg {
    fill: rgba(180, 63, 82, .14);
  }

  body.qs-v3.public-quote-page .public-mobile-action-icon {
    width: 22px;
    height: 22px;
  }

  body.qs-v3.public-quote-page .public-mobile-action-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
  }

  body.qs-v3.public-quote-page .public-mobile-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body.qs-v3.public-quote-page .public-mobile-action-count {
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    border: 1px solid #d7e0e7;
    color: #17344b;
    background: #fff;
  }

  body.qs-v3.public-quote-page .public-mobile-satellite {
    width: 38px;
    height: 38px;
    border: 1px solid #d8e1e8;
    color: #244158;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(8, 30, 45, .16);
  }

  body.qs-v3.public-quote-page .public-mobile-satellite svg {
    width: 18px;
    height: 18px;
  }

  body.qs-v3.public-quote-page .public-mobile-satellite.is-whatsapp,
  body.qs-v3.public-quote-page .public-mobile-satellite.share-wa { color: #159a55; }
  body.qs-v3.public-quote-page .public-mobile-satellite.is-call { color: #1972b8; }
  body.qs-v3.public-quote-page .public-mobile-satellite.share-mail { color: #b9534c; }
  body.qs-v3.public-quote-page .public-mobile-satellite.share-sms { color: #6556b7; }
  body.qs-v3.public-quote-page .public-mobile-satellite.share-copy { color: #176878; }
  body.qs-v3.public-quote-page .public-mobile-satellite.share-device { color: #8d671d; }

  body.qs-v3.public-quote-page .public-mobile-action-group.is-open .is-whatsapp { transform: translate(52px, -22px) scale(1); }
  body.qs-v3.public-quote-page .public-mobile-action-group.is-open .is-call { transform: translate(57px, 24px) scale(1); }
  body.qs-v3.public-quote-page .public-mobile-action-group.is-open .share-wa { transform: translate(54px, -67px) scale(1); }
  body.qs-v3.public-quote-page .public-mobile-action-group.is-open .share-mail { transform: translate(84px, -34px) scale(1); }
  body.qs-v3.public-quote-page .public-mobile-action-group.is-open .share-sms { transform: translate(88px, 10px) scale(1); }
  body.qs-v3.public-quote-page .public-mobile-action-group.is-open .share-copy { transform: translate(66px, 45px) scale(1); }
  body.qs-v3.public-quote-page .public-mobile-action-group.is-open .share-device { transform: translate(50px, -13px) scale(1); }
}

@media print {
  .public-mobile-action-rail,
  .public-mobile-comment-modal,
  .public-mobile-toast,
  .public-quote-page .tour-cover::after,
  .public-quote-page .standalone-quote-rendered .letterhead::after {
    display: none !important;
  }
}
