/*
 * PTH Partners front-end. Follows the .pth design system in PTH's Additional CSS (tokens
 * --pth-*); every token has the same value as fallback, so the pages also hold without it.
 */

.pthp { font-family: var(--pth-font, 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif); color: var(--pth-body, #4a4a4a); font-size: 16px; line-height: 1.6; }
.pthp *, .pthp *::before, .pthp *::after { box-sizing: border-box; }
.pthp h2, .pthp h3 { font-family: inherit; color: var(--pth-ink, #1f1713); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; text-transform: none; margin: 0; }
.pthp p { margin: 0; }
.pthp .pthp-i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.pthp .pthp-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pth-deep, #b84a0c); }
.pthp-eyebrow .pthp-i { font-size: 16px; }
.pthp-muted { color: var(--pth-muted, #6b6561); font-size: 14px; }

/* Buttons (Flatsome styles every button, so these reset its uppercase and margins) */
.pthp .pthp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 0; margin: 0; padding: 11px 18px; border: 1px solid transparent; border-radius: var(--pth-r-sm, 10px); font-family: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.pthp .pthp-btn .pthp-i { font-size: 17px; transition: transform .2s ease; }
.pthp .pthp-btn:hover { transform: translateY(-2px); }
.pthp .pthp-btn:hover .pthp-i--arrow { transform: translateX(3px); }
.pthp .pthp-btn:focus-visible { outline: 3px solid rgba(237, 118, 33, .6); outline-offset: 2px; }
.pthp .pthp-btn--primary { background: linear-gradient(135deg, #c25010 0%, var(--pth-rust, #a83f09) 100%); color: #fff; box-shadow: 0 6px 18px rgba(122, 41, 5, .25); }
.pthp .pthp-btn--primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(122, 41, 5, .34); }
.pthp .pthp-btn--light { background: #fff; color: var(--pth-rust, #a83f09); border-color: var(--pth-line, #f2e2d4); }
.pthp .pthp-btn--light:hover { color: var(--pth-night, #7a2905); }
.pthp .pthp-btn--block { width: 100%; }

/* Messages */
.pthp-msg { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.pthp-msg .pthp-i { font-size: 20px; margin-top: 1px; }
.pthp-msg--ok { background: #ecf8f0; border: 1px solid #c8ebd5; color: #12623a; }
.pthp-msg--err { background: #fdeeec; border: 1px solid #f5cbc6; color: #9b2a22; }

/* Cards */
.pthp-card { background: var(--pth-surface, #fff); border: 1px solid var(--pth-line, #f2e2d4); border-radius: var(--pth-r, 14px); box-shadow: var(--pth-shadow-sm, 0 2px 8px rgba(70, 30, 5, .07)); padding: clamp(18px, 3vw, 28px); }
.pthp-stack { display: grid; gap: 18px; }
.pthp .pthp-section-title { font-size: 18px; margin: 0 0 14px; }

/* ---------------------------------------------------------------- guest page */
.pthp-hero { margin: 0 0 26px; }
.pthp .pthp-hero h2 { font-size: clamp(25px, 3.2vw, 36px); letter-spacing: -.02em; text-wrap: balance; }
.pthp .pthp-lead { margin-top: 10px; max-width: 58ch; font-size: clamp(15px, 1.3vw, 17px); }
.pthp-hotel { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.pthp-hotel__logo { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 64px; height: 64px; padding: 8px 12px; border: 1px solid var(--pth-line, #f2e2d4); border-radius: 14px; background: #fff; box-shadow: var(--pth-shadow-sm, 0 2px 8px rgba(70, 30, 5, .07)); }
.pthp .pthp-hotel__logo img { display: block; width: auto; max-width: 150px; height: auto; max-height: 46px; margin: 0; object-fit: contain; }
.pthp .pthp-hotel__text { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
.pthp-hotel__text span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pth-deep, #b84a0c); }
.pthp-hotel__text strong { font-size: 18px; font-weight: 700; color: var(--pth-ink, #1f1713); }

.pthp .pthp-modes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pthp .pthp-modes li { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 3px 10px 3px 8px; border: 1px solid var(--pth-line, #f2e2d4); border-radius: 999px; background: #fff; color: var(--pth-rust, #a83f09); font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.pthp-modes .pthp-i { font-size: 15px; }
.pthp .pthp-modes--hero { margin-top: 16px; gap: 8px; }
.pthp .pthp-modes--hero li { padding: 7px 14px 7px 11px; border-color: transparent; background: var(--pth-chip, #ffe9d6); font-size: 14px; }
.pthp-modes--hero .pthp-i { font-size: 19px; }

.pthp .pthp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 680px; margin: 18px 0 0; padding: 0; list-style: none; }
.pthp .pthp-steps li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--pth-line, #f2e2d4); border-radius: 12px; background: var(--pth-tint, #fff6ee); color: var(--pth-ink, #1f1713); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.pthp-steps__n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--pth-orange, #ed7621) 0%, #c25010 100%); color: #fff; font-size: 13px; font-weight: 700; }

.pthp .pthp-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 470px), 1fr)); gap: var(--pth-gap, 18px); margin: 0; padding: 0; list-style: none; }
.pthp .pthp-ticket { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "media top" "media main"; gap: 10px 20px; margin: 0; padding: 14px 18px 16px 14px; background: #fff; border: 1px solid var(--pth-line, #f2e2d4); border-radius: 22px; box-shadow: 0 6px 20px rgba(70, 30, 5, .08); transition: box-shadow .2s ease; }
.pthp .pthp-ticket:hover { box-shadow: 0 18px 44px rgba(70, 30, 5, .14); }
.pthp-ticket__media { grid-area: media; align-self: start; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--pth-tint, #fff6ee); }
.pthp .pthp-ticket__media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; mix-blend-mode: multiply; }
.pthp-ticket__top { grid-area: top; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.pthp-ticket__main { grid-area: main; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pthp .pthp-ticket__name { font-size: 19px; }
.pthp .pthp-ticket__name a { color: inherit; text-decoration: none; }
.pthp .pthp-ticket__desc { font-size: 14px; line-height: 1.55; color: var(--pth-muted, #6b6561); }
.pthp .pthp-facts { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pthp .pthp-facts li { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--pth-body, #4a4a4a); }
.pthp-facts .pthp-i { margin-top: 2px; font-size: 16px; color: var(--pth-green, #1a9e4b); stroke-width: 2.4; }
.pthp .pthp-facts strong { color: var(--pth-ink, #1f1713); font-weight: 600; }

.pthp .pthp-options { display: flex; flex-wrap: wrap; gap: 6px; }
.pthp .pthp-opt { display: inline-flex; flex-direction: column; align-items: center; min-width: 76px; padding: 7px 10px; border: 1.5px solid #e8d8ca; border-radius: 12px; background: #fff; color: var(--pth-ink, #1f1713); line-height: 1.2; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.pthp .pthp-opt:hover { border-color: var(--pth-orange, #ed7621); color: var(--pth-ink, #1f1713); }
.pthp .pthp-opt.is-on { border-color: var(--pth-orange, #ed7621); background: var(--pth-tint, #fff6ee); box-shadow: inset 0 0 0 1px var(--pth-orange, #ed7621); }
.pthp-opt__label { font-size: 13.5px; font-weight: 700; }
.pthp-opt.is-on .pthp-opt__label { color: var(--pth-rust, #a83f09); }
.pthp-opt__price { margin-top: 2px; font-size: 12px; color: var(--pth-muted, #6b6561); white-space: nowrap; }
.pthp .pthp-opt:focus-visible { outline: 3px solid rgba(237, 118, 33, .5); outline-offset: 2px; }

.pthp-ticket__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--pth-line, #f2e2d4); }
.pthp-ticket__foot form { display: flex; gap: 6px; margin: 0; }
.pthp .pthp-ticket__foot select { flex: none; width: 58px; height: auto; min-width: 58px; margin: 0; padding: 8px 6px; border: 1px solid var(--pth-line, #f2e2d4); border-radius: 10px; background-color: #fff; font-size: 14px; }
.pthp .pthp-ticket__foot .pthp-btn { padding: 12px 22px; font-size: 15px; }
.pthp-price { font-size: 21px; font-weight: 700; color: var(--pth-ink, #1f1713); white-space: nowrap; }
.pthp-price del { font-weight: 400; opacity: .55; }
.pthp .pthp-help { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; padding: 16px 18px; border-radius: 12px; background: var(--pth-tint, #fff6ee); border: 1px solid var(--pth-line, #f2e2d4); font-size: 14.5px; }
.pthp-help > .pthp-i { font-size: 22px; margin-top: 1px; color: var(--pth-deep, #b84a0c); }
.pthp-help__body { flex: 1; min-width: 0; }
.pthp .pthp-help strong { color: var(--pth-ink, #1f1713); }
.pthp .pthp-help__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pthp .pthp-help__links li { margin: 0; }
.pthp .pthp-help__links .pthp-btn { padding: 9px 14px; font-size: 14px; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.pthp .pthp-help__links .pthp-i { font-size: 17px; }

@media (max-width: 599px) {
	.pthp .pthp-steps { gap: 6px; }
	.pthp .pthp-steps li { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 10px 6px; font-size: 12px; text-align: center; }
	.pthp .pthp-ticket { grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "media top" "main main"; gap: 12px 14px; padding: 12px; border-radius: 18px; }
	.pthp-ticket__top { align-self: center; padding-top: 0; }
	.pthp .pthp-ticket__name { font-size: 17px; }
	.pthp .pthp-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); }
	.pthp .pthp-opt { min-width: 0; padding: 7px 4px; }
	.pthp-hotel__logo { min-width: 56px; height: 56px; }
	.pthp .pthp-hotel__logo img { max-width: 120px; max-height: 40px; }
	.pthp .pthp-help { padding: 14px; }
	.pthp .pthp-help__links { margin-left: -34px; }
	.pthp .pthp-help__links li { flex: 1 1 100%; }
	.pthp .pthp-help__links .pthp-btn { width: 100%; justify-content: flex-start; font-size: 13.5px; }
}

/* ---------------------------------------------------------------- forms */
.pthp-form { max-width: 760px; }
.pthp-group + .pthp-group { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--pth-line, #f2e2d4); }
.pthp .pthp-group__title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 16px; }
.pthp-group__num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--pth-chip, #ffe9d6); color: var(--pth-deep, #b84a0c); font-size: 13px; font-weight: 700; }
.pthp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.pthp-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.pthp-field--wide { grid-column: 1 / -1; }
.pthp .pthp-field label { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--pth-ink, #1f1713); }
.pthp-req { color: var(--pth-deep, #b84a0c); }
.pthp .pthp-input { width: 100%; height: 46px; margin: 0; padding: 0 14px; border: 1px solid #e8d8ca; border-radius: 10px; background: #fff; box-shadow: none; font-family: inherit; font-size: 15px; color: var(--pth-ink, #1f1713); transition: border-color .15s ease, box-shadow .15s ease; }
.pthp textarea.pthp-input { height: auto; min-height: 92px; padding: 11px 14px; line-height: 1.5; }
.pthp .pthp-input:focus { border-color: var(--pth-orange, #ed7621); box-shadow: 0 0 0 3px rgba(237, 118, 33, .18); outline: 0; }
.pthp .is-invalid .pthp-input { border-color: #c0392b; }
.pthp-err { font-size: 13px; color: #b3261e; }
.pthp .pthp-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 14.5px; font-weight: 400; line-height: 1.5; color: var(--pth-body, #4a4a4a); }
.pthp .pthp-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--pth-orange, #ed7621); }
.pthp .pthp-check a { color: var(--pth-deep, #b84a0c); font-weight: 600; }
.pthp-check-wrap .pthp-err { margin: -6px 0 12px 28px; display: block; }
.pthp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.pthp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pthp-summary { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 9px 18px; margin: 18px 0 22px; padding: 16px 18px; border-radius: 12px; background: var(--pth-tint, #fff6ee); font-size: 14.5px; }
.pthp .pthp-summary dt { margin: 0; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--pth-muted, #6b6561); }
.pthp .pthp-summary dd { margin: 0; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--pth-ink, #1f1713); overflow-wrap: anywhere; }

@media (max-width: 600px) {
	.pthp-fields { grid-template-columns: 1fr; }
	.pthp-summary { grid-template-columns: 1fr; gap: 2px; }
	.pthp .pthp-summary dd { margin-bottom: 8px; }
}

/* ---------------------------------------------------------------- partner area */
.pthp-narrow { max-width: 460px; }
.pthp-area-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.pthp .pthp-area-head h2 { font-size: clamp(22px, 2.6vw, 28px); }
.pthp-code { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--pth-chip, #ffe9d6); color: var(--pth-rust, #a83f09); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; vertical-align: middle; }
.pthp .pthp-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--pth-deep, #b84a0c); text-decoration: none; }
.pthp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pthp-stat { display: flex; align-items: center; gap: 14px; }
.pthp-stat__chip { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--pth-chip, #ffe9d6); color: var(--pth-deep, #b84a0c); font-size: 22px; }
.pthp-stat__chip--green { background: #e3f4ea; color: var(--pth-green, #1a9e4b); }
.pthp-stat__label { display: block; font-size: 13px; color: var(--pth-muted, #6b6561); }
.pthp-stat__value { display: block; font-size: 22px; font-weight: 700; color: var(--pth-ink, #1f1713); line-height: 1.25; }
.pthp .pthp-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14.5px; }
.pthp .pthp-table th { padding: 0 12px 9px 0; border: 0; border-bottom: 1px solid var(--pth-line, #f2e2d4); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: left; color: var(--pth-muted, #6b6561); }
.pthp .pthp-table td { padding: 11px 12px 11px 0; border: 0; border-bottom: 1px solid var(--pth-line, #f2e2d4); vertical-align: top; color: var(--pth-body, #4a4a4a); }
.pthp .pthp-table tr:last-child td { border-bottom: 0; }
.pthp .pthp-table .pthp-num { text-align: right; white-space: nowrap; padding-right: 0; }
.pthp .pthp-table a { color: var(--pth-deep, #b84a0c); font-weight: 600; text-decoration: none; }
.pthp-status { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f3ede8; color: #5a4a40; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pthp-status--paid, .pthp-status--accepted { background: #e3f4ea; color: #12623a; }
.pthp-status--issued { background: #fff2d6; color: #8a5300; }
.pthp-status--disputed { background: #fdeeec; color: #9b2a22; }
.pthp-details { margin-top: 8px; }
.pthp-details summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--pth-deep, #b84a0c); }
.pthp-details form { display: grid; gap: 12px; max-width: 440px; margin-top: 12px; }
.pthp-dl { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 14.5px; }
.pthp .pthp-dl dt { margin: 0; text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--pth-muted, #6b6561); font-weight: 400; }
.pthp .pthp-dl dd { margin: 0; text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--pth-ink, #1f1713); font-weight: 600; overflow-wrap: anywhere; }

@media (max-width: 700px) {
	.pthp-stats { grid-template-columns: 1fr; }
	.pthp-dl { grid-template-columns: 1fr; gap: 0; }
	.pthp .pthp-dl dd { margin-bottom: 8px; }
}
