/* Trip Semporna public site - Shared pieces: buttons, cards, fields, rows, status pills, icons, the package card.
   Part of the public CSS: the files in assets/css/public/ load in name order (TRIPSEM_Public::assets()). */

body.tsp { margin: 0; background: var(--tsp-bg); color: var(--tsp-text); font: 400 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: clip; }
.tsp-wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) {
    .tsp-wrap { padding: 0 32px; }
}
.tsp-narrow { max-width: 720px; }
@media (min-width: 860px) {
    .tsp-tools { grid-area: bag; justify-self: end; }
}
/* Buttons, pills, cards */
.tsp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--tsp-yellow); color: var(--tsp-black) !important; font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; box-shadow: inset 0 -2px 0 rgba(12, 12, 12, .12); }
.tsp-btn:hover { transform: translateY(-1px); box-shadow: inset 0 -2px 0 rgba(12, 12, 12, .12), 0 6px 16px rgba(12, 12, 12, .12); }
.tsp-btn-block { width: 100%; }
.tsp-btn-ghost { background: var(--tsp-black); color: var(--tsp-yellow) !important; }
.tsp-card { background: var(--tsp-card); border: 1px solid var(--tsp-line); border-radius: var(--tsp-radius); box-shadow: var(--tsp-shadow); padding: 20px; }
section.tsp-card + section.tsp-card { margin-top: 16px; }
.tsp-hint { color: var(--tsp-muted); font-size: .88rem; }
.tsp-back { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; text-decoration: none; color: var(--tsp-muted) !important; margin: 12px 0 4px; }
.tsp-card .tsp-flash { width: 100%; margin: 0 0 16px; }
.tsp-status { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: #eee; color: var(--tsp-text); white-space: nowrap; }
.tsp-status.is-green { background: #e2f5ec; color: #0e6a4c; }
.tsp-status.is-orange { background: #fff1db; color: #8a4b00; }
.tsp-status.is-blue { background: #e4eeff; color: #2149a6; }
.tsp-status.is-purple { background: #efe6ff; color: #5a2db0; }
.tsp-status.is-gray { background: #ececec; color: #555; }
/* Home */
.tsp-packages { margin-top: -24px; }
.tsp-empty { text-align: center; }
/* Forms */
.tsp-field { display: block; margin: 0 0 14px; }
.tsp-field > span { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.tsp-book h2 { margin-bottom: 14px; }
.tsp-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tsp-rows { margin: 0 0 12px; }
.tsp-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--tsp-line); }
.tsp-rows div:last-child { border-bottom: 0; }
.tsp-rows dt { color: var(--tsp-muted); font-size: .9rem; }
.tsp-rows dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.tsp-pay-form { margin-bottom: 8px; }
.tsp-help { margin-top: 20px; color: var(--tsp-muted); font-size: .92rem; }
.tsp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.tsp-narrow .tsp-card:first-child { margin-top: 28px; }
.tsh-ico { width: 1.15em; height: 1.15em; flex: none; }
.tsh-pc { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e7ebef; border-radius: 18px; background: #fff; box-shadow: 0 8px 23px rgba(22, 36, 53, .045); }
.tsh-pc:hover, .tsp-js .tsh-pc.is-in:hover { border-color: #e3e4e6; box-shadow: 0 14px 31px rgba(22, 36, 53, .095); transform: translateY(-2px); }
.tsh-pc-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #e8eff2; }
.tsh-pc-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s ease; }
.tsh-pc:hover .tsh-pc-media img { transform: scale(1.035); }
.tsh-pc-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 12px; }
.tsp .tsh-pc h3 { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: -.018em; color: #1a293f; overflow-wrap: anywhere; }
.tsh-pc h3 a { color: inherit; text-decoration: none; }
.tsp .tsh-pc-meta { display: flex; flex-wrap: wrap; gap: 4px 11px; margin: 7px 0 9px; color: #7a8798; font-size: 11px; line-height: 1.4; }
.tsh-pc-meta > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.tsh-pc-meta svg { width: 14px; height: 14px; flex: none; color: #98a3b1; }
.tsh-pc-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid #eff1f4; display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.tsp .tsh-pc-price { display: grid; align-content: start; gap: 1px; min-width: 0; margin: 0; }
.tsh-pc-price small { display: block; font-size: 10px; font-weight: 500; line-height: 1.35; color: #8994a2; }
.tsh-pc-price strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: -.025em; color: #1c293f; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.tsh-pc-go { display: flex; align-items: center; justify-content: center; gap: 5px; flex: 0 0 auto; min-height: 39px; padding: 0 10px; border-radius: 9px; background: var(--tsp-yellow); color: #0c0c0c !important; text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .025em; transition: box-shadow .2s; }
.tsh-pc-go:hover { box-shadow: 0 7px 16px rgba(255, 222, 0, .3); }
.tsh-pc-go svg { width: 16px; height: 16px; }
@media (min-width: 651px) and (max-width: 1199px) {
    .tsh-pc-body { padding: 13px 15px 14px; }
    .tsp .tsh-pc h3 { font-size: 15px; }
    .tsh-pc-price strong { font-size: 18px; }
    .tsh-pc-go { padding: 0 13px; font-size: 12px; }
}
@media (max-width: 650px) {
    /* Phones: two a row as on the staff catalog; the price stays (customers need it), destination / date hidden */
    .tsh-pc { border-radius: 12px; }
    .tsh-pc-body { gap: 8px; padding: 10px; }
    .tsp .tsh-pc-meta { display: none; }
    .tsh-pc-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 8px; }
    .tsh-pc-price strong { font-size: 15px; }
    .tsh-pc-go { width: 100%; min-height: 35px; padding: 0 7px; gap: 3px; font-size: 10.5px; border-radius: 8px; }
    .tsh-pc-go svg { width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .tsh-pc, .tsh-pc-media img, .tsh-act-img, .tsh-act-img img, .tsh-feat { transition: none !important; }
}
.tsp .tsp-field .ots-date-picker { display: block; width: 100%; }
.tsp .tsp-field .ots-date-trigger { width: 100%; min-height: 48px; border-radius: 12px; font: 500 1rem/1.3 "Plus Jakarta Sans", system-ui, sans-serif; }
/* Header: Sign in / account menu next to the bag */
.tsp-tools { display: flex; align-items: center; gap: 6px; }
.tsp-btn.is-disabled { opacity: .45; pointer-events: none; }
.tsp-btn.tsk-soft { background: #edeef0; color: var(--tsp-text) !important; box-shadow: none; }
.tsp-btn.tsk-soft:hover { background: #e4e5e7; box-shadow: none; }
