/* KUBER product detail extends the Bali Wayfinding system without reusing the split-index composition. */
.product-page { background: var(--paper); caret-color: var(--slate-deep); scrollbar-color: var(--steel) var(--ground); }
.product-page ::selection { background: var(--orange); color: var(--slate-deep); }
.product-page .site-header { grid-template-columns: minmax(260px, 31%) 1fr 62px; padding-right: clamp(20px, 3vw, 48px); }
.product-page .desktop-nav { justify-content: flex-end; padding-right: clamp(20px, 3vw, 46px); }
.product-page .mobile-nav:not([hidden]) { right: clamp(20px, 3vw, 48px); }
.product-page a:not(.brand):not(.primary-action):not(.skip-link):focus-visible { outline-color: var(--slate-deep); }
.product-page select { font: inherit; color: inherit; }
.product-page select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 54px; padding: 12px clamp(24px, 4vw, 64px); background: var(--ground); color: var(--muted); font-size: 13px; font-weight: 650; }
.breadcrumbs a { text-decoration: underline; text-decoration-color: transparent; }
.breadcrumbs a:hover { text-decoration-color: currentColor; }
.breadcrumbs [aria-current] { color: var(--slate-deep); }

.product-hero { display: grid; grid-template-columns: 51% 49%; min-height: min(620px, calc(100svh - 136px)); background: var(--ground); }
.product-hero__copy { padding: clamp(48px, 5.4vw, 90px) clamp(28px, 4vw, 64px) clamp(48px, 5vw, 76px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 44px; min-width: 0; }
.product-hero h1 { max-width: 11ch; margin: 0; font: 400 clamp(56px, 6.7vw, 96px)/1.06 var(--font-display); letter-spacing: -.012em; }
.product-hero__copy p { max-width: 34ch; margin: 30px 0 0; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.32; font-weight: 550; letter-spacing: -.025em; color: var(--muted); }
.product-hero__action { width: min(350px, 100%); min-height: 76px; font-size: 21px; }
.product-hero__media { min-width: 0; margin: 0; position: relative; overflow: hidden; background: var(--slate); }
.product-hero__media img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: center; filter: saturate(.8) contrast(.96); }
.product-hero__media figcaption { position: absolute; right: 0; bottom: 0; max-width: 100%; padding: 13px 19px; color: white; background: var(--slate-deep); font-size: 13px; line-height: 1.35; font-weight: 600; }

.product-facts { display: grid; grid-template-columns: 1fr 1fr; min-height: 104px; background: var(--steel); padding: 0 clamp(28px, 4vw, 64px); }
.product-facts p { display: flex; align-items: baseline; gap: 13px; margin: 0; padding: 29px 0; font-size: 16px; line-height: 1.35; }
.product-facts p + p { padding-left: clamp(24px, 4vw, 64px); }
.product-facts strong { white-space: nowrap; font-size: 21px; line-height: 1.2; }
.product-facts span { max-width: 35ch; }

.gallery-strip { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.gallery-strip figure { min-width: 0; margin: 0; position: relative; background: var(--slate); }
.gallery-strip img { width: 100%; height: clamp(220px, 23vw, 380px); object-fit: cover; filter: saturate(.88); }
.gallery-strip figure:first-child img { object-position: center 58%; }
.gallery-strip figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; padding: 11px clamp(16px, 2vw, 30px); background: var(--slate-deep); color: white; font-size: 16px; font-weight: 750; }
.gallery-strip figcaption span { color: var(--steel); font-size: 12px; font-weight: 600; }

.track-section { padding: clamp(76px, 8vw, 126px) clamp(28px, 4vw, 64px); background: var(--slate); color: white; scroll-margin-top: 20px; }
.track-section__intro { display: grid; grid-template-columns: 51% 49%; align-items: end; gap: 0; padding-bottom: 54px; }
.track-section h2 { max-width: 11ch; margin: 0; font: 400 clamp(56px, 6.2vw, 92px)/1.05 var(--font-display); letter-spacing: -.012em; }
.track-section__intro p { max-width: 37ch; margin: 0 0 5px; color: var(--steel); font-size: clamp(19px, 1.8vw, 26px); line-height: 1.4; font-weight: 550; letter-spacing: -.02em; }
.track-comparison { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.36); border-bottom: 1px solid rgba(255,255,255,.36); }
.track-comparison > div { padding: 29px clamp(24px, 3.5vw, 55px) 35px 0; }
.track-comparison > div + div { padding-left: clamp(24px, 3.5vw, 55px); border-left: 1px solid rgba(255,255,255,.36); }
.track-comparison h3 { margin: 0 0 15px; font: 400 44px/1.05 var(--font-display); }
.track-comparison p { max-width: 42ch; margin: 0; color: var(--steel); font-size: 16px; line-height: 1.55; }
.track-ledger { display: grid; grid-template-columns: 35% minmax(0, 1fr); column-gap: 5%; padding-top: clamp(65px, 7vw, 105px); }
.track-ledger__title h3 { max-width: 13ch; margin: 0 0 13px; font: 400 clamp(36px, 3.6vw, 53px)/1.1 var(--font-display); }
.track-ledger__title p { margin: 0; color: var(--steel); font-size: 14px; }
.track-ledger ol { margin: 0; padding: 0; list-style: none; counter-reset: track; border-top: 1px solid rgba(255,255,255,.36); }
.track-ledger li { counter-increment: track; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: baseline; gap: 18px; min-height: 65px; padding: 19px 12px 15px 0; border-bottom: 1px solid rgba(255,255,255,.36); }
.track-ledger li::before { content: counter(track, decimal-leading-zero); color: var(--steel); font-size: 14px; font-variant-numeric: tabular-nums; }
.track-ledger li span { font-size: clamp(17px, 1.65vw, 23px); line-height: 1.22; font-weight: 700; }
.track-ledger li small { color: var(--steel); font-size: 13px; line-height: 1.3; text-align: right; white-space: nowrap; }
.track-ledger li.track-ledger__premium { padding-left: 12px; background: var(--steel); color: var(--slate-deep); border-color: var(--steel); }
.track-ledger li.track-ledger__premium::before, .track-ledger .track-ledger__premium small { color: var(--slate-deep); font-weight: 750; }
.track-ledger__note { grid-column: 2; max-width: 62ch; margin: 19px 0 0; color: var(--steel); font-size: 14px; line-height: 1.5; }
.track-ledger__action { grid-column: 2; display: flex; align-items: center; justify-content: space-between; width: min(370px, 100%); gap: 20px; margin-top: 38px; padding: 14px 0; border-bottom: 2px solid white; font-size: 18px; font-weight: 750; }
.track-ledger__action:hover .arrow { transform: translateX(7px); }
.track-ledger__action .arrow { width: 27px; transition: transform .2s cubic-bezier(.16,1,.3,1); }
.track-ledger__action .arrow::after { width: 13px; height: 13px; }

.ride-section { padding: clamp(74px, 8vw, 130px) clamp(28px, 4vw, 64px) clamp(90px, 9vw, 150px); background: var(--paper); }
.section-intro { display: grid; grid-template-columns: 58% 42%; align-items: end; gap: 0; border-bottom: 1px solid rgba(25,61,66,.3); padding-bottom: 33px; }
.section-intro h2, .place-section h2, .terms-section h2 { font: 400 clamp(60px, 6.2vw, 94px)/1.06 var(--font-display); letter-spacing: -.01em; margin: 0; }
.section-intro p { max-width: 37ch; margin: 0 0 5px; color: var(--muted); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.38; font-weight: 550; }
.ride-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, 38%); gap: clamp(44px, 6vw, 105px); align-items: start; padding-top: 44px; }
.ride-controls { min-width: 0; }
.ride-options { border: 0; padding: 0; margin: 0; min-width: 0; }
.ride-options legend { width: 100%; padding: 0 0 19px; font-size: 19px; font-weight: 800; }
.package-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 20px 0 11px; border-top: 1px solid rgba(25,61,66,.5); }
.package-heading--second { margin-top: 31px; }
.package-heading h3 { font: 400 37px/1.1 var(--font-display); margin: 0; }
.package-heading p { margin: 0; max-width: 29ch; color: var(--muted); text-align: right; font-size: 14px; line-height: 1.4; }
.ride-option { display: grid; grid-template-columns: minmax(0, 1fr) auto 154px; align-items: center; gap: 20px; min-height: 94px; border-bottom: 1px solid rgba(25,61,66,.24); padding: 13px 16px; transition: background-color .18s ease; }
.ride-option[data-selected="true"] { background: var(--orange); border-color: var(--orange); }
.ride-option__name { font-size: 20px; font-weight: 750; line-height: 1.2; }
.ride-option small { display: block; font-size: 13px; line-height: 1.4; font-weight: 550; }
.ride-option__name small { color: var(--muted); margin-top: 3px; }
.ride-option[data-selected="true"] small { color: var(--slate-deep); }
.ride-option__price { font-size: 20px; font-weight: 800; line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.ride-quantity { display: grid; grid-template-columns: 46px 52px 46px; align-items: center; height: 52px; border: 1px solid var(--slate); background: var(--paper); }
.ride-quantity button { width: 46px; height: 50px; border: 0; background: transparent; color: var(--slate-deep); font-size: 25px; line-height: 1; cursor: pointer; }
.ride-quantity button:hover:not(:disabled) { background: var(--steel); }
.ride-quantity button:active:not(:disabled) { transform: translateY(1px); }
.ride-quantity button:focus-visible { outline: 3px solid var(--slate-deep); outline-offset: -3px; }
.ride-quantity button:disabled { color: #8a999b; cursor: not-allowed; }
.ride-quantity output { min-width: 52px; text-align: center; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }

.ride-selection-note { display: flex; justify-content: space-between; align-items: baseline; gap: 28px; padding: 28px 0 31px; border-bottom: 1px solid rgba(25,61,66,.3); }
.ride-selection-note strong { flex: none; font-size: 18px; line-height: 1.3; }
.ride-selection-note p { max-width: 44ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; text-align: right; }

.pickup-control { padding-top: 42px; scroll-margin-top: 20px; }
.pickup-control label { display: block; margin-bottom: 7px; font-size: 20px; font-weight: 800; }
.pickup-control p { max-width: 54ch; margin: 0 0 19px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pickup-control select { display: block; width: 100%; min-height: 58px; padding: 12px 44px 12px 16px; border: 1px solid var(--slate); border-radius: 0; background-color: white; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='m1 1 7 7 7-7' fill='none' stroke='%2317363b' stroke-width='2'/%3E%3C/svg%3E"); background-position: right 17px center; background-repeat: no-repeat; appearance: none; cursor: pointer; font-size: 16px; font-weight: 650; }
.pickup-control .pickup-note { margin: 11px 0 0; font-size: 13px; }

.fare-panel { position: sticky; top: 28px; padding: clamp(28px, 3vw, 46px); background: var(--slate-deep); color: white; }
.fare-panel h3 { margin: 0 0 5px; font: 400 clamp(33px, 3.1vw, 48px)/1.08 var(--font-display); }
.fare-panel__selection { margin: 0 0 41px; color: var(--steel); font-size: 15px; }
.fare-lines { margin: 0; border-top: 1px solid rgba(255,255,255,.35); }
.fare-lines div { display: flex; justify-content: space-between; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 14px; line-height: 1.4; }
.fare-lines dt { color: var(--steel); }
.fare-lines dd { margin: 0; flex: none; text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.fare-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 25px 0 6px; font-size: 15px; }
.fare-total strong { font-size: clamp(22px, 2vw, 31px); line-height: 1.18; font-variant-numeric: tabular-nums; text-align: right; }
.fare-panel__caveat { margin: 15px 0 34px; max-width: 42ch; color: var(--steel); font-size: 13px; line-height: 1.5; }
.booking-disabled { width: 100%; min-height: 64px; border: 0; background: var(--steel); color: var(--slate-deep); font-size: 18px; font-weight: 800; cursor: not-allowed; opacity: 1; }
.booking-preview-link { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 21px; background: var(--orange); color: var(--slate-deep); font-size: 18px; font-weight: 800; }
.booking-preview-link:hover { background: #f9864d; }
.booking-preview-link:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.booking-preview-link .arrow { width: 26px; }
.booking-preview-link .arrow::after { width: 13px; height: 13px; }
.fare-panel__status { max-width: 38ch; margin: 13px 0 0; color: var(--steel); font-size: 13px; line-height: 1.45; }
.calculator-status { margin: 19px 0 0; padding: 13px 16px; background: var(--steel); color: var(--slate-deep); font-size: 14px; font-weight: 700; line-height: 1.4; }
.mobile-booking-bar { display: none; }

.place-section, .terms-section { display: grid; grid-template-columns: 43% 57%; gap: 0; padding: clamp(75px, 8vw, 130px) clamp(28px, 4vw, 64px); }
.place-section { background: var(--steel); }
.place-section__detail { padding: 9px 0 0 clamp(22px, 4vw, 70px); }
.place-section__detail > p:first-child { max-width: 35ch; margin: 0 0 32px; font-size: clamp(20px, 1.8vw, 27px); line-height: 1.4; }
.place-section__detail strong { font-size: 1.08em; }
.place-section__map { display: block; width: 100%; height: clamp(280px, 27vw, 390px); margin: 0 0 25px; border: 0; background: var(--ground); }
.place-section__detail a { display: flex; align-items: center; width: fit-content; gap: 22px; padding: 14px 0; border-top: 1px solid var(--slate); border-bottom: 1px solid var(--slate); font-size: 16px; font-weight: 800; }
.place-section__detail a:hover { gap: 30px; }
.place-section__detail .arrow { width: 24px; }
.place-section__detail .arrow::after { width: 12px; height: 12px; }
.place-section__note { max-width: 49ch; margin: 24px 0 0; color: var(--slate); font-size: 14px; line-height: 1.5; }
.terms-section { background: var(--paper); }
.terms-section h2 { font-size: clamp(54px, 5.6vw, 84px); }
.terms-list { padding-left: clamp(22px, 4vw, 70px); }
.terms-list > div { display: grid; grid-template-columns: 31% 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid rgba(25,61,66,.3); }
.terms-list > div:last-child { border-bottom: 1px solid rgba(25,61,66,.3); }
.terms-list h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.terms-list p { margin: 0; max-width: 47ch; color: var(--muted); font-size: 15px; line-height: 1.55; }
.product-page .site-footer { align-items: center; }
.product-page .site-footer a { flex: none; text-decoration: underline; text-underline-offset: .24em; font-size: 14px; font-weight: 750; }

@media (max-width: 1050px) {
  .product-page .site-header { grid-template-columns: minmax(230px, 29%) 1fr 56px; }
  .product-page .desktop-nav { gap: 24px; padding-right: 20px; }
  .product-page .desktop-nav a { font-size: 15px; }
  .product-hero { grid-template-columns: 51% 49%; }
  .ride-layout { grid-template-columns: minmax(0, 1fr) minmax(310px, 39%); gap: 32px; }
  .ride-option { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .ride-quantity { grid-column: 1 / -1; justify-self: end; }
  .ride-option__price { font-size: 17px; }
  .product-facts p { display: block; }
  .product-facts strong { display: block; margin-bottom: 4px; }
}

@media (max-width: 800px) {
  .product-page.has-mobile-booking-bar { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mobile-booking-bar:not([hidden]) { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: minmax(0, 1fr) minmax(154px, 43%); align-items: stretch; gap: 12px; padding: 11px 20px calc(11px + env(safe-area-inset-bottom)); background: #29464b; color: white; border-top: 1px solid rgba(255,255,255,.34); }
  .mobile-booking-bar__estimate { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
  .mobile-booking-bar__estimate span { overflow: hidden; color: #d3dfe0; font-size: 13px; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
  .mobile-booking-bar__estimate strong { margin-top: 3px; font: 400 27px/1.08 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .mobile-booking-bar a { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 0 14px; background: var(--orange); color: var(--slate-deep); font-size: 16px; font-weight: 800; white-space: nowrap; }
  .mobile-booking-bar a:hover { background: var(--orange-hover); }
  .mobile-booking-bar a:focus-visible { outline: 3px solid white; outline-offset: -4px; }
  .mobile-booking-bar svg { flex: none; }
  .product-page .site-header { grid-template-columns: minmax(0, 1fr) 44px; padding-right: 16px; }
  .product-page .mobile-nav:not([hidden]) { right: 0; }
  .breadcrumbs { padding: 10px 24px; min-height: 48px; font-size: 12px; }
  .product-hero { min-height: 0; grid-template-columns: 1fr; }
  .product-hero__copy { padding: 64px 24px 54px; gap: 38px; }
  .product-hero h1 { font-size: clamp(63px, 11vw, 88px); }
  .product-hero__copy p { margin-top: 24px; font-size: clamp(21px, 3vw, 24px); }
  .product-hero__action { min-height: 69px; }
  .product-hero__media { height: min(53vw, 460px); min-height: 300px; }
  .product-hero__media img { min-height: 0; }
  .product-facts { padding: 0 24px; }
  .product-facts p + p { padding-left: 25px; }
  .gallery-strip img { height: clamp(210px, 30vw, 300px); }
  .track-section { padding: 84px 24px 96px; }
  .track-section__intro { grid-template-columns: 1fr; gap: 27px; padding-bottom: 40px; }
  .track-section h2 { font-size: clamp(60px, 10vw, 80px); }
  .track-section__intro p { max-width: 46ch; }
  .track-ledger { grid-template-columns: 1fr; gap: 30px; }
  .track-ledger__title h3 { max-width: none; }
  .track-ledger__note, .track-ledger__action { grid-column: 1; }
  .track-ledger__note { margin-top: -9px; }
  .track-ledger__action { margin-top: 2px; }
  .ride-section { padding: 85px 24px 100px; }
  .section-intro { grid-template-columns: 1fr; gap: 27px; }
  .section-intro h2, .place-section h2 { font-size: clamp(67px, 10vw, 86px); }
  .section-intro p { max-width: 43ch; }
  .ride-layout { grid-template-columns: 1fr; gap: 52px; }
  .fare-panel { position: static; }
  .place-section, .terms-section { grid-template-columns: 1fr; gap: 35px; padding: 88px 24px; }
  .place-section__detail, .terms-list { padding-left: 0; }
  .product-page .site-footer { align-items: flex-start; }
}

@media (max-width: 500px) {
  .breadcrumbs { gap: 7px; padding: 12px 20px; }
  .product-hero__copy { padding: 48px 20px 44px; }
  .product-hero h1 { font-size: clamp(54px, 14vw, 70px); }
  .product-hero__copy p { max-width: 29ch; font-size: 19px; }
  .product-hero__action { width: 100%; }
  .product-hero__media { min-height: 245px; height: 62vw; }
  .product-hero__media figcaption { font-size: 11px; padding: 9px 12px; }
  .product-facts { display: block; padding: 0 20px; }
  .product-facts p { padding: 20px 0; }
  .product-facts p + p { border-left: 0; border-top: 1px solid rgba(25,61,66,.28); padding-left: 0; }
  .product-facts strong { font-size: 19px; }
  .gallery-strip img { height: 41vw; min-height: 140px; }
  .gallery-strip figcaption { display: block; min-height: 0; padding: 8px 10px; font-size: 12px; line-height: 1.2; }
  .gallery-strip figcaption span { display: block; margin-top: 2px; font-size: 10px; }
  .track-section { padding: 74px 20px 82px; }
  .track-section h2 { font-size: clamp(53px, 12vw, 68px); }
  .track-section__intro p { font-size: 18px; }
  .track-comparison { display: block; }
  .track-comparison > div, .track-comparison > div + div { padding: 23px 0 27px; border-left: 0; }
  .track-comparison > div + div { border-top: 1px solid rgba(255,255,255,.36); }
  .track-comparison h3 { font-size: 36px; margin-bottom: 8px; }
  .track-comparison p { font-size: 15px; }
  .track-ledger { padding-top: 70px; }
  .track-ledger__title h3 { font-size: 41px; }
  .track-ledger li { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; padding-right: 3px; }
  .track-ledger li span { font-size: 17px; }
  .track-ledger li small { font-size: 11px; }
  .track-ledger li.track-ledger__premium { padding-left: 8px; padding-right: 8px; }
  .ride-section { padding: 76px 20px 86px; }
  .section-intro h2, .place-section h2 { font-size: clamp(56px, 13vw, 72px); }
  .section-intro p { font-size: 18px; }
  .ride-layout { gap: 42px; padding-top: 36px; }
  .package-heading { display: block; }
  .package-heading h3 { font-size: 34px; }
  .package-heading p { max-width: none; margin-top: 5px; text-align: left; }
  .ride-option { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; min-height: 116px; padding: 13px 10px; }
  .ride-option__name { font-size: 17px; }
  .ride-option__price { font-size: 15px; }
  .ride-option small { font-size: 11px; }
  .ride-quantity { grid-column: 1 / -1; justify-self: stretch; grid-template-columns: 1fr 54px 1fr; width: 100%; }
  .ride-quantity button { width: 100%; min-height: 50px; }
  .ride-selection-note { display: block; }
  .ride-selection-note p { margin-top: 7px; text-align: left; }
  .pickup-control label { font-size: 18px; }
  .fare-panel { margin: 0 -20px; padding: 34px 20px; }
  .fare-total { display: block; }
  .fare-total strong { display: block; margin-top: 8px; text-align: left; font-size: 29px; }
  .place-section, .terms-section { padding: 78px 20px; }
  .terms-section h2 { font-size: clamp(49px, 11vw, 65px); }
  .terms-list > div { display: block; }
  .terms-list h3 { margin-bottom: 8px; }
}

@media (max-width: 375px) {
  .mobile-booking-bar:not([hidden]) { grid-template-columns: minmax(0, 1fr) 154px; gap: 8px; padding-left: 16px; padding-right: 16px; }
  .mobile-booking-bar__estimate strong { font-size: 25px; }
  .mobile-booking-bar a { padding: 0 11px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .ride-option { transition: none; }
}
