/* Tinissa Travel v9.11 — mobile stability and conversion polish.
 * Applied after legacy responsive rules. No booking, pricing or currency logic changed.
 * Avoid document-width overflows at their source; clip is a last-resort safeguard.
 */
@media (max-width: 860px) {
  html,body{width:100%;max-width:100%;overflow-x:clip;overscroll-behavior-x:none;}
  .site-header,.site-footer,.home-hero,.page-hero,.individual-service-v58,
  .booking-step2-hero-v55,.tinissa-wedding-hero-v99,.tinissa-wedding-home-v99,
  main,.section{max-width:100%;}
  .container,.header-inner,.header-actions,.page-hero .container,
  .conversion-booking-grid-v54,.conversion-booking-grid-v54>*,
  .focused-service-hero-grid-v57,.focused-service-hero-grid-v57>*,
  .focused-service-about-grid-v57,.focused-service-about-grid-v57>*,
  .booking-step2-hero-grid-v55,.booking-step2-hero-grid-v55>*,
  .tour-showcase-grid,.tour-showcase-grid>*,
  .tinissa-faq-grid-v71,.tinissa-faq-grid-v71>*,
  .tinissa-wedding-hero-grid-v99,.tinissa-wedding-hero-grid-v99>* {
    min-width:0;max-width:100%;
  }
  .focused-service-hero-grid-v57,
  .booking-step2-hero-grid-v55,.conversion-booking-grid-v54,
  .focused-service-about-grid-v57,.tinissa-faq-grid-v71{
    grid-template-columns:minmax(0,1fr);
  }
  .form-shell,.conversion-form-shell-v54,.booking-form-v54,
  .booking-step-v54,.booking-options-v54,.service-booking-summary-v54,
  .focused-service-price-v57,.booking-step2-price-summary-v55,
  .focused-route-v57,.booking-request-route-v55,
  .focused-itinerary-v57,.tinissa-v95-trust,
  .tinissa-v98-quote-panel {box-sizing:border-box;min-width:0;max-width:100%;}
  .form-grid,.booking-form-sections-v54,.booking-form-v54 fieldset,
  .booking-form-v54 label,.booking-step-v54 label,
  .booking-form-v54 .span-2,.booking-step-head-v54,
  .booking-options-v54>summary,.instant-booking-summary,
  .tinissa-v95-progress,.tinissa-v95-step-actions {min-width:0;max-width:100%;}
  .booking-form-v54 input:not([type="checkbox"]):not([type="radio"]),
  .booking-form-v54 select,.booking-form-v54 textarea,
  .instant-transfer-form input,.instant-transfer-form select,.instant-transfer-form textarea,
  .journey-form-v75 input:not([type="checkbox"]):not([type="radio"]),
  .journey-form-v75 select,.journey-form-v75 textarea {
    box-sizing:border-box;min-width:0;max-width:100%;
  }
  .focused-route-v57 strong,.booking-request-route-v55 strong,
  .service-booking-summary-v54 strong,.focused-service-price-v57 strong,
  .booking-step2-price-summary-v55 strong,
  .focused-service-hero-copy-v57 h1,.focused-service-hero-copy-v57>p,
  .conversion-booking-copy-v54 h2,.tour-showcase-copy h2,
  .focused-itinerary-v57 p,.tinissa-faq-answers-v71 p,
  .service-editorial-copy p,.service-booking-note-v54,
  .catalog-card h3,.catalog-card p,.curated-service-card h3,
  .tour-home-card h3,.tinissa-onboard-text-v910 {
    overflow-wrap:anywhere;word-break:normal;
  }
  .service-meta,.focused-highlights-v57,.focused-highlights-v70,
  .tour-stop-chips,.tinissa-onboard-tags-v910{max-width:100%;}
  .service-meta span{max-width:100%;white-space:normal;overflow-wrap:anywhere;}
  .tinissa-premium-currency,.tinissa-v81-currency-control{max-width:100%;}
  .premium-vehicle-picker,.premium-vehicle-grid,.premium-vehicle-card,
  .premium-vehicle-copy,.booking-vehicle-cards-v55,.booking-vehicle-card-v55 {
    min-width:0;max-width:100%;
  }
  .premium-vehicle-card{width:100%;}
  .premium-vehicle-copy>strong,.premium-vehicle-copy small,
  .premium-vehicle-price {overflow-wrap:anywhere;}
  .site-header .header-inner{width:min(100% - 32px,1180px);gap:10px;}
  .site-header .brand,.site-header .wordmark{min-width:0;}
  .site-header .nav-toggle{flex:none;min-width:44px;min-height:44px;display:grid;align-content:center;justify-items:center;}
}
@media (max-width:767px){
  /* Common CTAs align into an intentional two-column row rather than tall stacks. */
  .focused-service-hero-v57 .hero-actions,
  .booking-step2-hero-v55 .hero-actions,
  .home-hero .hero-actions,
  .tinissa-wedding-hero-v99 .hero-actions,
  .tour-showcase-actions,
  .final-cta-actions,.confirmation-actions,
  .direct-help-actions {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;align-items:stretch;width:100%;max-width:100%;
  }
  .hero-actions > .btn,.tour-showcase-actions > .btn,
  .final-cta-actions > .btn,.confirmation-actions > .btn,
  .direct-help-actions > .btn{
    box-sizing:border-box;width:100%;min-width:0;min-height:49px;
    padding:10px 9px;font-size:clamp(11px,3.25vw,13px);
    line-height:1.25;text-align:center;white-space:normal;
    overflow-wrap:anywhere;border-radius:14px;
  }
  .hero-actions > :nth-child(3):last-child,
  .tour-showcase-actions > :nth-child(3):last-child,
  .final-cta-actions > :nth-child(3):last-child,
  .confirmation-actions > :nth-child(3):last-child {grid-column:1/-1;}
  .focused-service-price-v57,.booking-step2-price-summary-v55 {width:100%;padding:20px 18px;border-radius:18px;}
  .focused-service-price-v57 strong,.booking-step2-price-summary-v55 strong{font-size:clamp(25px,7vw,35px);line-height:1.12;}
  .focused-service-price-v57 p,.booking-step2-price-summary-v55 p{font-size:13px;line-height:1.56;}
  .focused-service-hero-v57 {padding-top:100px;padding-bottom:36px;}
  .focused-service-hero-grid-v57 {gap:20px;}
  .focused-service-hero-copy-v57 h1{font-size:clamp(33px,8.75vw,46px);line-height:1.04;letter-spacing:-.035em;}
  .focused-service-hero-copy-v57>p:not(.eyebrow){font-size:14px;line-height:1.55;}
  .focused-route-v57{padding:13px 14px;}
  .focused-route-v57 strong{font-size:12px;line-height:1.45;}
  .conversion-booking-grid-v54,.focused-service-about-grid-v57 {gap:20px;}
  .conversion-booking-copy-v54 h2,.focused-service-about-grid-v57 h2{font-size:clamp(29px,8vw,40px);line-height:1.1;}
  .focused-booking-summary-v70 .service-intro-copy{font-size:14px;line-height:1.62;}
  .focused-highlights-v70{gap:7px;}
  .focused-highlights-v70 span{font-size:11px;padding:8px 10px;}
  .form-shell,.conversion-form-shell-v54{padding:12px;border-radius:18px;}
  .booking-form-v54{padding:12px;border-radius:16px;}
  .booking-step-v54,.booking-options-v54{padding:12px;border-radius:13px;}
  .booking-step-head-v54{gap:8px;}
  .booking-form-v54 input:not([type="checkbox"]):not([type="radio"]),
  .booking-form-v54 select,.booking-form-v54 textarea {font-size:16px;}
  .tinissa-v95-step-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .tinissa-v95-step-actions button{min-width:0;width:100%;padding:11px 8px;font-size:12px;line-height:1.25;}
  .booking-step-v54 .service-meta,.focused-service-booking-v57 .service-meta{flex-wrap:wrap;}
  .tinissa-faq-grid-v71{gap:20px;}
  .tinissa-service-faq-v71{padding:42px 0;}
  .tinissa-onboard-main-v910{min-width:0;}
  .tinissa-onboard-tags-v910 span{white-space:normal;}
  .catalog-grid,.tour-home-grid,.curated-service-grid,
  .related-card-grid-v46,.service-hub-grid-v46 {min-width:0;max-width:100%;}
  .catalog-card,.catalog-card-body,.tour-home-card,.curated-service-card,
  .service-home-card,.related-card-grid-v46 article{min-width:0;max-width:100%;}
  .catalog-card-bottom,.route-card-bottom,.popular-route-card>div{
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;
    align-items:center;
  }
  .catalog-card-bottom strong,.route-card-bottom span,.popular-route-card strong {
    min-width:0;overflow-wrap:anywhere;
  }
  .catalog-card-bottom a,.route-card-bottom a{max-width:100%;text-align:right;white-space:normal;}
  /* The sticky conversion dock is always one stable two-button row. */
  .mobile-sticky-cta{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;max-width:100vw!important;
    gap:9px!important;left:0!important;right:0!important;
    padding:9px max(12px,env(safe-area-inset-right,0px)) calc(9px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))!important;
  }
  .mobile-sticky-cta a.mobile-sticky-cta__primary,
  .mobile-sticky-cta a.mobile-sticky-cta__whatsapp{
    width:100%;min-width:0;min-height:50px;padding:9px 7px!important;
    font-size:clamp(12px,3.6vw,15px)!important;line-height:1.2;
    white-space:normal;border-radius:14px;
  }
  body.tinissa-mobile-nav-is-open .mobile-sticky-cta,
  body:has(input:focus, textarea:focus, select:focus) .mobile-sticky-cta {display:none!important;}
}
@media(max-width:380px){
  .container{width:calc(100% - 24px);}
  .hero-actions > .btn,.tour-showcase-actions > .btn,
  .final-cta-actions > .btn,.confirmation-actions > .btn{font-size:11px;padding-inline:6px;}
  .tinissa-v90-google-actions{grid-template-columns:repeat(2,minmax(0,1fr));}
  .tinissa-v90-google-actions a{min-width:0;font-size:11px;padding:10px 7px;}
  .catalog-card-bottom{grid-template-columns:minmax(0,1fr);}
  .catalog-card-bottom a{text-align:left;}
}


/* v9.12 — price legibility on phones and narrow tablets.
 * v9.11's general overflow-wrap:anywhere kept content within the page, but it
 * allowed currencies (e.g. €786.48) to be broken into separate digit lines
 * when the summary attempted to fit its label, price and currency switch in a
 * single flex row. Keep numeric amounts intact and give them their own line.
 * This is presentation-only; no price storage, exchange rates or JS change.
 */
@media (max-width: 860px) {
  .service-booking-price-v54 {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:10px!important;
    min-width:0;
    width:100%;
    padding:14px 0 16px;
  }
  .service-booking-price-v54 > small {
    max-width:100%;
    font-size:10px;
    line-height:1.5;
    letter-spacing:.10em;
  }
  .service-booking-price-v54 > strong.js-convert-price {
    box-sizing:border-box;
    display:block;
    flex:none;
    width:100%;
    max-width:100%;
    min-width:0;
    margin:0;
    text-align:left!important;
    font-size:clamp(27px,8.5vw,43px)!important;
    font-weight:850;
    font-variant-numeric:tabular-nums;
    letter-spacing:-.035em;
    line-height:1.17;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none;
  }
  .service-booking-price-v54 > .tinissa-v81-currency-control {
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    width:100%;
    max-width:100%;
    margin:4px 0 0;
    gap:9px;
  }
  .service-booking-price-v54 .tinissa-v81-currency-control .tinissa-premium-currency {
    flex:0 0 auto;
    max-width:100%;
  }
  .service-booking-price-v54 .tinissa-v81-currency-control .tinissa-currency-asof {
    display:block;
    width:100%;
    max-width:100%;
    margin:0;
    font-size:11px;
    font-weight:500;
    line-height:1.55;
    letter-spacing:.005em;
    text-transform:none;
    color:#73745f;
    text-align:left;
    white-space:normal;
    word-break:normal;
    overflow-wrap:break-word;
  }
  /* The same prices also appear on service hero panels and booking steps. */
  .focused-service-price-v57 > strong.js-convert-price,
  .booking-step2-price-summary-v55 > strong.js-convert-price {
    display:block;
    max-width:100%;
    font-size:clamp(27px,8.5vw,43px)!important;
    font-variant-numeric:tabular-nums;
    line-height:1.16;
    letter-spacing:-.025em;
  }
}
/* Avoid splitting the numeric portion of a price inside ANY service card. Text
   statuses like “Price on request” may still wrap at normal spaces. */
.service-booking-price-v54 .js-convert-price,
.focused-service-price-v57 .js-convert-price,
.booking-step2-price-summary-v55 .js-convert-price,
.vehicle-price-card-v51 .js-convert-price,
.catalog-card-bottom .js-convert-price,
.booking-price-preview strong,
.premium-vehicle-price {
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none;
}

/* The summary card can also sit in a narrow desktop sidebar. Give its price a
   dedicated row there as well rather than squeezing 3 columns into ~350px. */
@media (min-width:861px) {
  .service-booking-price-v54 {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:11px;
  }
  .service-booking-price-v54 > strong.js-convert-price {
    width:100%;max-width:100%;
    min-width:0;
    font-size:clamp(27px,3.5vw,42px);
    font-variant-numeric:tabular-nums;
    letter-spacing:-.035em;
    text-align:left;
    white-space:normal;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .service-booking-price-v54 > .tinissa-v81-currency-control {
    width:100%;max-width:100%;margin:0;
    align-items:flex-start;
  }
}
/* Keep the supporting rate explanation sentence-cased, unlike label text. */
.service-booking-price-v54 .tinissa-currency-asof,
.focused-service-price-v57 .tinissa-v81-currency-control .tinissa-currency-asof,
.booking-step2-price-summary-v55 .tinissa-v81-currency-control .tinissa-currency-asof {
  text-transform:none;
  letter-spacing:.005em;
  font-weight:500;
  font-size:11px;
  line-height:1.55;
  overflow-wrap:break-word;
  word-break:normal;
}
