/* Package tour detail (PDP) — Thomas Cook–inspired */
.ptd-wrap {
    --ptd-brand: #0d9488;
    --ptd-brand-dark: #0f766e;
    --ptd-ink: #0f172a;
    --ptd-muted: #64748b;
    max-width: 100%;
    overflow-x: hidden;
}

.ptd-page .sh-main {
    overflow-x: hidden;
}

.ptd-hero {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 55%, #1e3a5f 100%);
    color: #fff;
    padding: 1.25rem 0 0;
}
.ptd-hero-inner { max-width: 72rem; margin: 0 auto; padding: 0 1rem 1.5rem; }
.ptd-breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,.75); margin-bottom: 0.75rem; }
.ptd-breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; }
.ptd-breadcrumb a:hover { text-decoration: underline; }
.ptd-hero-title { font-size: clamp(1.35rem, 3.5vw, 2rem); font-weight: 800; line-height: 1.2; margin: 0 0 0.35rem; }
.ptd-hero-meta { font-size: 0.9rem; color: rgba(255,255,255,.88); display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.ptd-hero-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.ptd-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem; }
.ptd-badge { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); }

.ptd-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}
@media (min-width: 768px) {
    .ptd-gallery { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 9rem); }
    .ptd-gallery-main { grid-row: span 2; min-height: 18.5rem; }
}
.ptd-gallery-main,
.ptd-gallery-thumb {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.2);
    background: #0f172a;
    position: relative;
    cursor: pointer;
}
.ptd-gallery-main img,
.ptd-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 9rem; }
.ptd-gallery-main { min-height: 12rem; }
.ptd-gallery-more {
    position: absolute; inset: 0; background: rgba(15,23,42,.55);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
}

.ptd-body { max-width: 72rem; margin: 0 auto; padding: 1.25rem 1rem 2.5rem; width: 100%; box-sizing: border-box; }
.ptd-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
}
@media (min-width: 1024px) {
    .ptd-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 320px); align-items: start; }
}
.ptd-main {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.ptd-tabs-wrap {
    width: 100%;
    min-width: 0;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #dbeafe;
    overflow: visible;
}
.ptd-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    min-width: 0;
    position: static;
    z-index: 20;
    background: #f8fafc;
    padding-top: 0.15rem;
}
.ptd-tab {
    appearance: none; border: none; background: transparent;
    padding: 0.75rem 0.95rem; font-size: 0.88rem; font-weight: 600; color: #64748b;
    border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer;
    white-space: nowrap; flex: 0 1 auto;
}
.ptd-tab:hover { color: var(--ptd-brand-dark); }
.ptd-tab.is-active { color: var(--ptd-brand-dark); border-bottom-color: var(--ptd-brand); }
.ptd-panel {
    display: none;
    animation: ptdFade .2s ease;
    width: 100%;
    min-width: 0;
    overflow: visible;
}
.ptd-panel.is-active { display: block; }
@keyframes ptdFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ptd-empty { font-size: 0.9rem; color: var(--ptd-muted); padding: 0.5rem 0; }

.ptd-day {
    border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #fff;
    margin-bottom: 0.65rem; overflow: hidden;
}
.ptd-day-head {
    width: 100%; text-align: left; border: none; background: #fff;
    padding: 0.85rem 1rem; display: flex; align-items: center; gap: 0.75rem;
    cursor: pointer; font-weight: 600; color: var(--ptd-ink);
}
.ptd-day-head:hover { background: #f8fafc; }
.ptd-day-num {
    flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 999px;
    background: #ecfdf5; color: var(--ptd-brand-dark); font-size: 0.85rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.ptd-day-title { flex: 1; font-size: 0.95rem; line-height: 1.35; }
.ptd-day-chevron { color: var(--ptd-muted); transition: transform .2s; }
.ptd-day.is-open .ptd-day-chevron { transform: rotate(180deg); }
.ptd-day-body { display: none; padding: 0 1rem 1rem; border-top: 1px solid #f1f5f9; }
.ptd-day.is-open .ptd-day-body { display: block; }
.ptd-day-summary { font-size: 0.9rem; color: #334155; line-height: 1.55; margin: 0.75rem 0; }

.ptd-block { margin-top: 0.85rem; }
.ptd-block-title {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--ptd-muted); margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.35rem;
}
.ptd-block-title i { color: var(--ptd-brand); }
.ptd-block ul { margin: 0; padding-left: 1.1rem; font-size: 0.88rem; color: #334155; }
.ptd-block ul li { margin-bottom: 0.2rem; }
.ptd-hotel-line { font-size: 0.88rem; color: #334155; }
.ptd-hotel-line strong { color: var(--ptd-ink); }

.ptd-inc-section { margin-bottom: 1.25rem; }
.ptd-inc-section h3 {
    font-size: 0.95rem; font-weight: 700; color: var(--ptd-ink); margin: 0 0 0.5rem;
    display: flex; align-items: center; gap: 0.4rem;
}
.ptd-inc-section h3 i { color: var(--ptd-brand); width: 1.1rem; text-align: center; }
.ptd-inc-list { margin: 0; padding: 0; list-style: none; }
.ptd-inc-list li {
    font-size: 0.88rem; color: #334155; padding: 0.45rem 0 0.45rem 1.35rem;
    position: relative; border-bottom: 1px solid #f1f5f9; line-height: 1.5;
}
.ptd-inc-list li::before {
    content: '\2713';
    position: absolute; left: 0.15rem; top: 0.5rem;
    color: var(--ptd-brand); font-size: 0.8rem; font-weight: 700;
    font-family: inherit;
}
.ptd-exc-list li::before { content: '\2717'; color: #dc2626; }

.ptd-hl-card {
    border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #fff;
    padding: 1rem; margin-bottom: 0.75rem;
}
.ptd-hl-card h4 { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--ptd-ink); }
.ptd-hl-card ul { margin: 0; padding-left: 1.1rem; font-size: 0.88rem; color: #334155; }

.ptd-short-list { display: flex; flex-direction: column; gap: 0.65rem; }
.ptd-short-row {
    display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.75rem;
    border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #fff; padding: 0.85rem 1rem;
}
.ptd-short-day {
    font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--ptd-brand-dark); background: #ecfdf5; border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center; min-height: 2.5rem;
}
.ptd-short-body strong { display: block; font-size: 0.92rem; color: var(--ptd-ink); margin-bottom: 0.15rem; }
.ptd-short-city { font-size: 0.78rem; color: var(--ptd-muted); margin-left: 0.35rem; }
.ptd-short-body p { margin: 0.25rem 0 0; font-size: 0.86rem; color: #475569; line-height: 1.45; }

.ptd-hotel-card {
    border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #fff;
    padding: 1rem 1.1rem; margin-bottom: 0.75rem;
}
.ptd-hotel-card h3 {
    font-size: 0.98rem; font-weight: 700; margin: 0 0 0.75rem; color: var(--ptd-ink);
    display: flex; align-items: center; gap: 0.45rem;
}
.ptd-hotel-card h3 i { color: var(--ptd-brand); }
.ptd-hotel-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.65rem;
}
.ptd-hotel-grid div {
    background: #f8fafc; border: 1px solid #eef2f7; border-radius: 0.5rem; padding: 0.55rem 0.65rem;
}
.ptd-hotel-grid span {
    display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--ptd-muted); font-weight: 600; margin-bottom: 0.15rem;
}
.ptd-hotel-grid strong { font-size: 0.86rem; color: var(--ptd-ink); }
.ptd-hotel-note { margin: 0.65rem 0 0; font-size: 0.82rem; color: #64748b; }

.ptd-flight-meta {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 0.85rem;
    font-size: 0.85rem; color: #334155;
}
.ptd-flight-note--panel { margin-bottom: 0.85rem; }
.ptd-flight-seg {
    border: 1px solid #dbeafe; border-radius: 0.75rem; background: #fff;
    padding: 0.85rem 1rem; margin-bottom: 0.65rem;
}
.ptd-flight-seg-label {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--ptd-brand-dark); margin-bottom: 0.45rem;
}
.ptd-flight-airline { font-size: 0.9rem; margin-bottom: 0.55rem; }
.ptd-flight-airline span { margin-left: 0.5rem; color: var(--ptd-muted); font-size: 0.82rem; }
.ptd-flight-route {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.75rem; align-items: center;
}
.ptd-flight-time { font-size: 1rem; font-weight: 700; color: var(--ptd-ink); }
.ptd-flight-city { font-size: 0.82rem; color: var(--ptd-muted); }
.ptd-flight-duration {
    text-align: center; font-size: 0.78rem; color: var(--ptd-brand-dark);
    padding: 0.25rem 0.5rem; border-top: 1px solid #cbd5e1; position: relative;
}
.ptd-flight-duration::before,
.ptd-flight-duration::after {
    content: ''; position: absolute; top: -3px; width: 6px; height: 6px;
    border-radius: 999px; background: var(--ptd-brand);
}
.ptd-flight-duration::before { left: 0; }
.ptd-flight-duration::after { right: 0; }

.ptd-policy-list { margin: 0; padding: 0; list-style: none; width: 100%; }
.ptd-policy-list li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.35rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem; color: #334155; line-height: 1.55;
    word-break: break-word;
}
.ptd-policy-list li::before {
    content: '\2022';
    position: absolute; left: 0.2rem; top: 0.55rem;
    font-size: 1rem; line-height: 1; color: var(--ptd-brand);
    font-family: inherit;
}
.ptd-policy-list--warn li::before { color: #dc2626; }
.ptd-notes--inline { margin-top: 1rem; }

.ptd-sidebar {
    position: sticky; top: 1rem;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem;
    box-shadow: 0 12px 32px -8px rgba(15,23,42,.12); padding: 1.25rem;
    min-width: 0;
    max-width: 100%;
}
.ptd-price-label { font-size: 0.75rem; color: var(--ptd-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.ptd-price { font-size: 1.75rem; font-weight: 800; color: var(--ptd-brand-dark); line-height: 1.1; margin: 0.15rem 0 0.5rem; }
.ptd-price-sub { font-size: 0.8rem; color: var(--ptd-muted); margin-bottom: 1rem; }

.ptd-book-fields {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.ptd-book-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ptd-muted);
    margin-bottom: 0.35rem;
}
.ptd-book-field input[type="date"],
.ptd-traveler-btn {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.55rem;
    font-size: 0.92rem;
    color: var(--ptd-ink);
    background: #fff;
    font-family: inherit;
}
.ptd-book-field input[type="date"]:focus,
.ptd-traveler-btn:focus {
    outline: none;
    border-color: var(--ptd-brand);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.ptd-book-field--travelers { position: relative; }
.ptd-traveler-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-align: left;
}
.ptd-traveler-btn i { color: var(--ptd-brand); }
.ptd-traveler-pop {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 40;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.2);
    padding: 0.85rem;
}
.ptd-traveler-pop.hidden { display: none; }
.ptd-traveler-pop-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
}
.ptd-traveler-pop-close {
    border: none;
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
}
.ptd-traveler-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.ptd-traveler-row:last-of-type { border-bottom: none; }
.ptd-traveler-row-title { font-weight: 600; font-size: 0.88rem; color: var(--ptd-ink); }
.ptd-traveler-row-sub { font-size: 0.75rem; color: var(--ptd-muted); margin-top: 0.1rem; }
.ptd-traveler-stepper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.ptd-traveler-stepper button {
    width: 2rem;
    height: 2rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ptd-brand-dark);
}
.ptd-traveler-stepper button:hover { background: #f0fdfa; border-color: var(--ptd-brand); }
.ptd-traveler-stepper input {
    width: 2.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 0.35rem;
    padding: 0.25rem;
    font-size: 0.9rem;
    -moz-appearance: textfield;
}
.ptd-traveler-stepper input::-webkit-outer-spin-button,
.ptd-traveler-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ptd-traveler-apply {
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.6rem;
    border: none;
    border-radius: 0.5rem;
    background: var(--ptd-brand);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
}
.ptd-traveler-apply:hover { background: var(--ptd-brand-dark); }

.ptd-est-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 0.55rem;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    font-size: 0.88rem;
    color: #134e4a;
}
.ptd-est-total strong { font-size: 1.05rem; color: var(--ptd-brand-dark); }

.ptd-sidebar-row { font-size: 0.85rem; color: #334155; display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid #f1f5f9; }
.ptd-flight-note {
    margin: 0.75rem 0 1rem; padding: 0.65rem 0.75rem; border-radius: 0.5rem;
    background: #eff6ff; border: 1px solid #bfdbfe; font-size: 0.82rem; color: #1e40af;
}
.ptd-btn-book {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; padding: 0.85rem 1rem; border-radius: 0.65rem;
    background: var(--ptd-brand); color: #fff; font-weight: 700; font-size: 1rem;
    border: none; text-decoration: none; cursor: pointer;
}
.ptd-btn-book:hover { background: var(--ptd-brand-dark); color: #fff; text-decoration: none; }
.ptd-btn-secondary {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; padding: 0.65rem 1rem; margin-top: 0.5rem; border-radius: 0.65rem;
    border: 1px solid #cbd5e1; background: #fff; color: var(--ptd-ink); font-weight: 600; font-size: 0.9rem;
    text-decoration: none;
}
.ptd-btn-secondary:hover { background: #f8fafc; text-decoration: none; }

.ptd-notes {
    margin-top: 1.25rem; padding: 1rem; border-radius: 0.75rem;
    background: #fffbeb; border: 1px solid #fde68a; font-size: 0.85rem; color: #78350f;
}
.ptd-notes h3 { font-size: 0.9rem; font-weight: 700; margin: 0 0 0.5rem; }
.ptd-notes p { margin: 0; white-space: pre-line; line-height: 1.55; }

.ptd-desc {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 0.75rem;
    padding: 1rem 1.15rem; margin-bottom: 1rem; font-size: 0.92rem; color: #334155; line-height: 1.6;
}
.ptd-desc p { margin: 0 0 0.65rem; }
.ptd-desc p:last-child { margin-bottom: 0; }

.ptd-lightbox {
    position: fixed; inset: 0; z-index: 9999; background: rgba(15,23,42,.92);
    display: none; align-items: center; justify-content: center; padding: 1rem;
}
.ptd-lightbox.is-open { display: flex; }
.ptd-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 0.5rem; object-fit: contain; }
.ptd-lightbox-close {
    position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem;
    border: none; border-radius: 999px; background: rgba(255,255,255,.15); color: #fff;
    font-size: 1.25rem; cursor: pointer;
}

@media (max-width: 1023px) {
    .ptd-sidebar { position: static; }
    .ptd-tab { padding: 0.65rem 0.75rem; font-size: 0.82rem; }
    .ptd-short-row { grid-template-columns: 1fr; }
    .ptd-short-day { min-height: auto; padding: 0.35rem 0.5rem; width: fit-content; }
}
