/* Product detail page styles */
.item-hero {
    padding: 60px 0 50px;
    background: radial-gradient(circle at top right, rgba(82,124,255,.16), transparent 45%), linear-gradient(180deg,#f8f9ff 0%,#fef7ff 65%);
    position: relative;
    overflow: hidden;
}

.item-hero::after{
    content:"";
    position:absolute;
    width:420px;height:420px;
    right:-120px;top:-140px;
    background:radial-gradient(circle,rgba(255,255,255,.7),transparent 68%);
    filter:blur(8px);
}

.item-hero .inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr);
    gap: 36px;
    position: relative;
    z-index: 1;
}

.item-hero .gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 30px;
    background: rgba(255,255,255,.85);
    box-shadow: 0 30px 60px rgba(15,23,42,.12);
}

.item-hero .gallery .main {
    width: 100%;
    aspect-ratio: 16/10;
    background: #111;
    border-radius: 22px;
    overflow: hidden;
    /* box-shadow: 0 25px 45px rgba(15,23,42,.25); */
}

.item-hero .gallery .main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-hero .thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    /* overflow-x: auto; */
    /* overflow-y: hidden; */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.item-hero .thumbs::-webkit-scrollbar { display: none; }

.item-hero .thumbs.dragging {
    cursor: grabbing;
    user-select: none;
}

.item-hero .thumbs .th {
    border: 0;
    background: #fff;
    padding: 0;
    width: calc(96%/3);
    aspect-ratio: 4/2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(15,23,42,.15);
    cursor: pointer;
    opacity: .85;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.item-hero .thumbs .th[aria-selected="true"] {
    outline: 2px solid #7c5dff;
    opacity: 1;
}

.item-hero .thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-hero .summary {
    background: linear-gradient(135deg,#ffffff 0%,#f4f7ff 55%,#fff2ff 100%);
    border-radius: 30px;
    padding: 32px;
    border: 1px solid rgba(226,234,255,.9);
    box-shadow: 0 34px 65px rgba(15,23,42,.16);
    align-self: stretch;
    position: relative;
    overflow: hidden;
}
.item-hero .summary::after{
    content:"";
    position:absolute;
    inset:auto -80px -120px auto;
    width:280px;height:280px;
    background:radial-gradient(circle,rgba(124,93,255,.25),transparent 65%);
    pointer-events:none;
}
.item-hero .summary .sheet-head { display: none; }
.item-hero .summary .sheet-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 1;
}
.item-hero .summary .summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.item-hero .summary .summary-facts { margin: 0; }
.item-hero .summary .summary-facts .facts { margin: 0; }
.item-hero .summary .price-card { gap: 10px; }
.item-hero .summary .summary-actions { display: flex; gap: 12px; }

.item-hero .summary .badge {
    width: max-content;
    display: inline-flex;
    font-size: 12px;
    color: #2c3271;
    background: rgba(124,93,255,.12);
    border: 1px solid rgba(124,93,255,.4);
    border-radius: 999px;
    padding: 4px 14px;
    font-weight: 600;
}
.item-hero .summary .badge.soon{ color:#a20000; background:#fff1f1; border-color:#ffc9c9; font-weight:700 }

.item-hero .summary .title {
    width: 100%;
    font-size: 32px;
    line-height: 1.35;
    margin: 0;
    color: #0f172a;
    word-break: keep-all;
}

.item-hero .summary .subtitle {
    width: 100%;
    color: #4b5563;
    margin: 0;
    font-size: 16px;
}

.item-hero .summary .country {
    width: max-content;
    margin-top: 4px;
    padding: 6px 18px;
    border-radius: 999px;
    background: #111b52;
    color:#fff;
    font-size: 13px;
    letter-spacing:.05em;
}

.item-hero .summary-picker{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.item-hero .summary-picker label{
    font-weight:700;
    color:#1f2a68;
    font-size:14px;
}
.item-hero .summary-picker select{
    width:100%;
    height:46px;
    border-radius:14px;
    border:1px solid rgba(162,176,255,.6);
    padding:0 14px;
    background:#fff;
    font-size:15px;
    font-weight:600;
    color:#1f2b63;
    box-shadow: inset 0 1px 2px rgba(15,23,42,.08);
}
.item-hero .summary-picker .picker-note{
    margin:0;
    font-size:14px;
    color:#6b7280;
    padding:10px 14px;
    border-radius:12px;
    background:#f3f4f6;
}
.item-hero .summary-picker.disabled select{
    opacity:.6;
    pointer-events:none;
}

.item-hero .summary-rating{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:16px 18px;
    border-radius:18px;
    background:rgba(255,255,255,.65);
    border:1px solid rgba(172,181,255,.2);
    box-shadow:0 14px 35px rgba(15,23,42,.08);
}
.item-hero .summary-rating .sr-stars{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:20px;
    font-weight:700;
    color:#0f172a;
}
.item-hero .summary-rating p{
    margin:0;
    color:#475569;
    font-weight:600;
}

.item-hero .summary .facts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 12px;
}

.item-hero .summary .facts li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255,255,255,.8);
    border-radius: 16px;
    border: 1px solid rgba(210,223,255,.8);
    padding: 16px;
    min-height: 108px;
    box-shadow: 0 18px 30px -25px rgba(15,23,42,.6);
}

.item-hero .summary .facts strong {
    color: #667085;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.item-hero .summary .facts span {
    color: #111b4a;
    word-break: keep-all;
    text-align: left;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
}

.item-hero .summary .price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin: 10px 0 0;
}

.item-hero .summary .p-label {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.item-hero .summary .p-value {
    color: #1f2b63;
    font-size: 34px;
    font-weight: 800;
}

.item-hero .summary .cta {
    width: 100%;
}

.item-hero .summary .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    background: #eef0ff;
    color: #1d2b6d;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(132,146,245,.4);
    transition: transform .15s ease, box-shadow .15s ease;
}

.item-hero .summary .btn.primary {
    background: linear-gradient(120deg,#6b5bff,#934bff);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 18px 35px -18px rgba(107,91,255,.9);
}

.item-hero .summary .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15,23,42,.12);
}

.item-hero .summary .btn.disabled,
.item-hero .summary .btn[aria-disabled="true"]{
    opacity:.5;
    cursor:not-allowed;
    pointer-events:none;
    box-shadow:none;
}

.item-hero .summary .btn.small {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
}

.item-hero .summary .sold {
    color: #999;
    font-size: 13px;
}


.item-body {
    padding: 50px 0 80px;
    background: linear-gradient(180deg,#f9fafc 0%,#f3f4ff 60%,#fdfcff 100%);
}

.item-body .inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.item-body .tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: #fff;
    padding: 14px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15,23,42,.08);
    border: 1px solid rgba(229,231,235,.7);
}

.item-body .tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: #475569;
    padding: 12px 22px;
    font-size: 17px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s ease,color .2s ease,box-shadow .2s ease;
}

.item-body .tab.on {
    background: linear-gradient(120deg,#1a1d6b,#2f3fe3);
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(39,60,227,.35);
}

.item-body .tab-panels {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.item-body .panel {
    display: none;
    padding: 32px;
    background: #fff;
    border-radius: 28px;
    margin-bottom: 28px;
    box-shadow: 0 30px 60px rgba(15,23,42,.08);
    border: 1px solid rgba(226,232,240,.65);
}

.item-body .panel.on {
    display: block;
}

.item-body .empty {
    color: #6b7280;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    padding: 16px;
    border-radius: 8px;
}

.item-body .highlights {
    background: #f8fafc;
    border-left: 4px solid #2a62f4;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.item-body .desc {
    line-height: 1.7;
    color: #222;
    margin-bottom: 40px;
    padding-left: 16px;
}

/* Detail top notice */
.item-body .detail-notice {
    background: linear-gradient(120deg,#fff5f0,#ffe3e1);
    border: 1px solid rgba(255,138,138,.5);
    color: #b91c1c;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 40px;
    line-height: 1.6;
    box-shadow: 0 12px 24px rgba(248,113,113,.2);
}
.item-body .detail-notice ul {
    margin: 0;
    padding-left: 18px;
}
.item-body .detail-notice li {
    margin: 4px 0;
}

/* Price box in detail */
.item-body .price-box {
    display: none; /* replaced by .price-table layout */
}
.item-body .price-box .price-list {
    margin: 8px 0 0;
}
.item-body .price-box .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px dashed #e5e7eb;
}
.item-body .price-box .row:first-child {
    border-top: 0;
}
.item-body .price-box dt {
    font-weight: 700;
    color: #111827;
}
.item-body .price-box dd {
    margin: 0;
    color: #111827;
    font-weight: 700;
}

/* Price grid (table) */
.item-body .price-table-wrap {
    margin: 0 0 40px;
}
.item-body .price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.item-body .price-table th,
.item-body .price-table td {
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    vertical-align: middle;
    padding: 18px 16px;
}
.item-body .price-table thead th {
    background: #f9fafb;
    color: #111;
    font-weight: 700;
}
.item-body .price-table th.stub {
    width: 120px;
}
.item-body .price-table tbody th.row-title {
    background: #fafbff;
    color: #111827;
    font-weight: 700;
}
.item-body .price-table .th .label {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}
.item-body .price-table .th .sub {
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}
.item-body .price-table .price-cell .amount {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}
.item-body .price-table .price-cell .note {
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}
.item-body .price-table th:last-child,
.item-body .price-table td:last-child {
    border-right: 0;
}
.item-body .price-table tr:last-child th,
.item-body .price-table tr:last-child td {
    border-bottom: 0;
}

.item-body .sec-title {
    margin: 0 0 10px;
    padding-left: 5px;
    font-size: 20px;
    font-weight: 700;
    color: #c30000;
}

.item-body .cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 800px) {
    .item-body .cols {
        grid-template-columns:1fr;
    }
}

.item-body .content {
    line-height: 1.7;
    color: #222;
}

.item-body .itinerary {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.item-body .day {
    border-radius: 10px;
    padding: 30px 16px;
    background: #f4faff;
}

.item-body .day header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 10px;
}

.item-body .day .dno {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 999px;
    background: #ffeeee;
    color: #a33030;
    font-weight: 700;
    font-size: 20px;
}

.item-body .day h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.item-body .day .stay {
    color: #6b7280;
    font-size: 13px;
}

.item-body .block {
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    margin: 10px 0;
}

.item-body .block h5 {
    margin: 6px 0;
    font-weight: 600;
    font-size: 18px;
    color: #111827;
}

.item-body .block .content {
    color: #1f2937;
    line-height: 1.7;
}

/* Itinerary meals chips */
.item-body .meals {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 30px;
}

.item-body .meals .chip {
    display: inline-block;
    font-size: 14px;
    color: #000000;
    background: #efefef;
    border-radius: 999px;
    padding: 5px 10px;
}

/* Itinerary media strip */
.item-body .media-strip {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding: 6px 2px 2px;
    scrollbar-width: thin;
}

.item-body .media-strip .media {
    flex: 0 0 auto;
    width: 140px;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.item-body .media-strip .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Split includes/excludes/optional: hide combined excludes column when split */
.item-body.split-io #tab-includes .cols {
    display: block;
}
.item-body.split-io #tab-includes .cols > div:nth-child(2) {
    display: none;
}

/* Combined IO sections */
.item-body .io-sec {
    margin: 0 0 40px;
    padding: 20px;
    background: #f6f6f6;
    border-radius: 10px;
}
.item-body .io-sec h4 {
    margin: 0 0 10px;
    padding-left: 5px;
    font-size: 20px;
    font-weight: 700;
    color: #c30000;
}


.item-body .item-reviews{
    display:flex;
    flex-direction:column;
    gap:28px;
}
.item-body .review-summary{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    padding:28px;
    border-radius:26px;
    background:linear-gradient(135deg,#eef2ff 0%,#f5f3ff 45%,#fff7ee 100%);
    border:1px solid rgba(99,102,241,.25);
    box-shadow:0 22px 45px rgba(15,23,42,.08);
}
.item-body .score-card{
    min-width:220px;
    display:flex;
    flex-direction:column;
    gap:8px;
}
.item-body .score-card .label{
    margin:0;
    font-size:13px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#6b7280;
}
.item-body .score-card .value{
    font-size:56px;
    font-weight:800;
    line-height:1;
    color:#0f172a;
}
.item-body .score-card .stars{
    display:flex;
    align-items:center;
    gap:12px;
}
.star-meter{
    position:relative;
    font-size:24px;
    letter-spacing:6px;
    color:#dbe4f0;
    line-height:1;
}
.star-meter .base{
    color:inherit;
}
.star-meter .fill{
    position:absolute;
    inset:0 auto auto 0;
    width:var(--score,0%);
    color:#fbbf24;
    overflow:hidden;
    white-space:nowrap;
}
.star-meter.small{
    font-size:16px;
    letter-spacing:4px;
}
.item-body .score-card .numeric{
    font-weight:600;
    color:#111827;
}
.item-body .score-card .count{
    margin:0;
    color:#4b5563;
}
.item-body .summary-copy{
    flex:1;
    min-width:240px;
    display:flex;
    flex-direction:column;
    gap:12px;
    color:#1f2937;
}
.item-body .summary-copy h4{
    margin:0;
    font-size:22px;
    font-weight:800;
}
.item-body .summary-copy p{
    margin:0;
    line-height:1.6;
    color:#475569;
}
.item-body .summary-copy .actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}
.item-body .summary-copy .btn{
    min-width:150px;
    justify-content:center;
    background: #fff;
    border-radius: 99px;
    font-size: 16px;
}
.item-body .review-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}
.item-body .review-card{
    padding:22px;
    border-radius:22px;
    background:linear-gradient(150deg,#ffffff 0%,#f3f6ff 70%);
    border:1px solid rgba(203,213,225,.7);
    box-shadow:0 16px 32px rgba(15,23,42,.08);
    display:flex;
    flex-direction:column;
    gap:12px;
}
.item-body .review-card .top{
    display:flex;
    justify-content:space-between;
    gap:14px;
}
.item-body .review-card .title{
    margin:0 0 4px;
    font-size:17px;
    font-weight:700;
    color:#0f172a;
}
.item-body .review-card .meta{
    font-size:13px;
    color:#6b7280;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    align-items:center;
}
.item-body .source-badge{
    display:inline-flex;
    align-items:center;
    padding:2px 8px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.item-body .source-badge.trip{
    background:rgba(59,130,246,.16);
    color:#1d4ed8;
}
.item-body .source-badge.expo{
    background:rgba(14,165,233,.2);
    color:#0f172a;
}
.item-body .review-card .rating{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:4px;
    font-size:18px;
    color:#0f172a;
}
.item-body .review-card .rating strong{
    font-size:18px;
}
.item-body .review-card .content{
    margin:0;
    font-size:14px;
    line-height:1.7;
    color:#1f2937;
    background:rgba(255,255,255,.85);
    border-radius:16px;
    border:1px solid rgba(203,213,225,.6);
    padding:14px 16px;
}
.item-body .review-note{
    font-size:13px;
    color:#6b7280;
}
.item-body .empty-state{
    text-align:center;
    padding:40px 20px;
    border-radius:18px;
    border:1px dashed #cbd5f5;
    background:#f8fafc;
    color:#475569;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}
.item-body .empty-state strong{
    font-size:18px;
    color:#0f172a;
}
.item-body .empty-state .btn{
    margin-top:6px;
}

.item-body table.depart {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.item-body table.depart thead th {
    text-align: left;
    font-weight: 700;
    color: #111;
    background: #f3f4f6;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.item-body table.depart tbody td {
    padding: 12px;
    border-bottom: 1px solid #eef2f7;
    color: #222;
    text-align: center;
}

.item-body table.depart tbody tr:hover {
    background: #fafbff;
}

/* Expo sections */
.item-body .expo-info {
    margin-top: 14px;
    background: #f9fafb;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 30px 20px;
}

.item-body .expo-info .kv {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    margin-bottom: 30px;
}

.item-body .expo-info .kv dt {
    font-weight: 700;
    color: #374151;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2f2ff;
    border-radius: 5px;
}

.item-body .expo-info .kv dd {
    margin: 0;
    color: #111827;
    display: flex;
    align-items: center;
}

.item-body .guide-info {
    background: #f9fafb;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 16px;
}

/* Flight schedule section */
.item-body .flight-info {
    margin-bottom: 40px;
    background: #f9fafb;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 30px 20px;
}
.item-body .flight-info .kv {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px 10px;
}
.item-body .flight-info .kv dt {
    font-weight: 700;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbe8e8;
    border-radius: 5px;
}
.item-body .flight-info .kv dd {
    margin: 0;
    color: #111827;
}
.item-body .flight-info .route {
    font-weight: 700;
    color: #0f172a;
}
.item-body .flight-info .meta {
    color: #4b5563;
    font-size: 14px;
    margin-top: 4px;
}

.item-body .guide-info .kv {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
}

.item-body .guide-info .kv dt {
    font-weight: 700;
    color: #374151;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 5px;
}

.item-body .guide-info .kv dd {
    margin: 0;
    color: #111827;
    display: flex;
    align-items: center;
}

.item-body .guide-section {
    margin-bottom: 40px;
    background: #f9fafb;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 16px;
}

.item-body .expo-info .expo-items {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.item-body .expo-info .expo-guides {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

@media (max-width: 900px) {
    .item-body .expo-info .expo-guides {
        grid-template-columns:1fr;
    }

    .item-body .expo-info .kv {
        grid-template-columns: 1fr;
    }
    .item-body .guide-info .kv {
        grid-template-columns: 1fr;
    }
    .item-body .flight-info .kv {
        grid-template-columns: 1fr;
    }
}

.item-body .expo-info h5 {margin: 0 0 10px;padding-left: 5px;font-size: 20px;font-weight: 700;color: #c30000;}

/* Proposal tab */
.item-body .proposal-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.item-body .proposal-tools label {
    color: #374151;
    font-weight: 600;
}

.item-body .proposal-tools select {
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.item-body .proposal-view {
    display: none;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    background: #fcfcfd;
}

.item-body .proposal-view.on {
    display: block;
}

.item-body .prop-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.item-body .prop-title {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
}

.item-body .prop-airline, .item-body .prop-hotel {
    color: #4b5563;
    font-size: 14px;
}

.item-body .prop-days {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.item-body .prop-day {
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #fff;
}

.item-body .prop-day .day-title {
    padding: 8px 12px;
    font-weight: 700;
    color: #1f2937;
    background: #f3f4f6;
    border-bottom: 1px solid #eef2f7;
    border-radius: 8px 8px 0 0;
}

.item-body .prop-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.item-body .prop-table thead th {
    text-align: left;
    font-weight: 700;
    color: #374151;
    background: #f9fafb;
    padding: 8px 10px;
    border-bottom: 1px solid #eef2f7;
}

.item-body .prop-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.item-body .prop-table tbody td.detail {
    white-space: pre-wrap;
    line-height: 1.6;
}
.date_con{
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.expo-entry{
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}
.expo-hotel{
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}
#tab-policy section{
    padding: 20px;
    background: #f6f6f6;
    border-radius: 10px;
}
#tab-policy h4{margin: 0 0 10px;padding-left: 5px;font-size: 20px;font-weight: 700;color: #c30000;}

#tab-depart .btn{padding: 5px 20px;border-radius: 5px;background: #9ed4ff;font-size: 16px;color: #fff;}
.item-hero .summary .country{
    margin: 5px 0 15px;
    padding: 5px 20px;
    background: #000000;
    color: #fff;
    border-radius: 999px;
    width: max-content;
}
.expo-propose{
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin-top: 30px;
}
.item-hero .summary .facts li.fact_loca{
    width: 100%;
}
.item-hero .summary .facts li.fact_date{
    width: 100%;
}
.item-hero .summary .facts li.fact_date span{
    padding: 0;
}
.item-hero .summary .facts li.fact_date .date_con{
    padding: 10px 0;
}
@media (max-width: 980px) {
    .item-hero .inner {
        grid-template-columns:1fr;
    }
    /* Use mobile slider, hide thumbs/main */
    .item-hero .gallery .thumbs { display: none; }
    .item-hero .gallery .main { display: none; }
    .item-hero .gallery .m-slider { display: block; }

    /* Bottom sheet summary */
    .item-hero .summary {
        background: #fff;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -12px 28px rgba(0,0,0,.18);
        max-height: 85vh;
        overflow: hidden; /* hide inner content when collapsed */
        transform: translateY(calc(100% - var(--sheet-collapsed-h, 64px)));
        transition: transform .28s ease;
        padding-top: 0; /* header handles padding */
        height: auto;
        --sheet-collapsed-h: 80px;
    }
    .item-hero .summary.open { transform: translateY(0); overflow: auto; }
    .item-hero .summary .sheet-head {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #fff;
        padding: 10px 18px;
        border-bottom: 1px solid #e6e8f2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-direction: column;
        cursor: grab;
    }
    .item-hero .summary .sheet-handle {width: 40px;height: 5px;border-radius: 999px;background: #d6dcff;display: inline-block;}
    .item-hero .summary .sh-meta {display: flex;flex-direction: column;align-items: center;gap: 8px;font-weight: 700;color: #1f2937;}
    .item-hero .summary .sh-title { font-size: 16px; font-weight: 700; color: #111; }
    .item-hero .summary .sh-price { font-weight: 800; color: #2a3cff; }
    .item-hero .summary .sheet-toggle { height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid #d6defc; background: #f4f6ff; color: #273575; font-weight: 600; display: none !important; }

    .item-hero .summary .sheet-body {gap: 18px;padding: 20px 0 0;}
    .item-hero .summary .summary-meta { gap: 6px; }
    .item-hero .summary .summary-meta .badge {margin-bottom: 0;font-size: 11px;padding: 4px 12px;width: max-content;}
    .item-hero .summary .summary-meta .title { font-size: 22px; margin: 0; }
    .item-hero .summary .summary-meta .subtitle { margin: 6px 0 0; color: #475569; font-size: 14px; }
    .item-hero .summary .summary-meta .country { margin: 10px 0 0; background: #eef2ff; color: #2d3a7a; padding: 6px 16px; border-radius: 999px; font-size: 13px; }

    .item-hero .summary .summary-facts {
        background: #f4f7ff;
        border: 1px solid #e2e9ff;
        border-radius: 14px;
        padding: 12px 14px;
    }
    .item-hero .summary-rating{
        flex-direction: column;
        align-items: flex-start;
    }
    .item-hero .summary .summary-facts .facts {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .item-hero .summary .facts li {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        border-radius: 12px;
        border: 1px solid #e1eaff;
        box-shadow: 0 8px 18px -14px rgba(23,37,84,.6);
        padding: 12px 16px;
    }
    .item-hero .summary .facts strong {
        background: none;
        color: #1f2937;
        height: auto;
        padding: 0;
        width: auto;
        font-size: 14px;
    }
    .item-hero .summary .facts span {
        padding: 0;
        color: #334155;
        font-weight: 600;
        text-align: right;
    }
    .item-hero .summary .facts li.fact_date .date_con {
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: flex-end;
    }
    .item-hero .summary .facts li.fact_date span {
        font-weight: 500;
        font-size: 13px;
    }

    .item-hero .summary .price { margin: 0; }
    .item-hero .summary .price-card {
        justify-content: space-between;
        align-items: center;
        padding: 14px 18px;
        background: linear-gradient(135deg, #eef2ff, #f9faff);
        border: 1px solid #dee6ff;
        border-radius: 14px;
    }
    .item-hero .summary .price-card .p-label { font-size: 13px; color: #475569; }
    .item-hero .summary .price-card .p-value { font-size: 24px; color: #111b4a; }

    .item-hero .summary .summary-actions {
        gap: 12px;
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 10px 0 4px;
    }
    .item-hero .summary .summary-actions .btn {
        flex: 1;
        height: 50px;
        font-size: 16px;
        border-radius: 12px;
    }
    .item-hero .summary .summary-actions .btn.primary {
        background: #5236ff;
        box-shadow: 0 14px 30px -18px rgba(82,54,255,.8);
    }
    .item-hero .summary .summary-actions .btn:not(.primary) {
        background: #f4f6ff;
        color: #1f3c88;
        border: 1px solid #dde3ff;
    }

    /* Sticky CTA inside sheet */
    .item-hero .summary .cta {width: 100%;bottom: -25px;padding-bottom: 20px;}

    /* Prevent page content from being hidden under sheet */
    .item-body { padding-bottom: 140px; }
}

/* Mobile slider (hidden by default; shown under 980px) */
.item-hero .gallery .m-slider { display: none; }
.item-hero .m-slider .track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-y; /* allow vertical scroll; we handle horizontal */
}
.item-hero .m-slider .track::-webkit-scrollbar { display: none; }
.item-hero .m-slider .track.dragging { cursor: grabbing; user-select: none; }
.item-hero .m-slider .slide { flex: 0 0 100%; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: #eee; scroll-snap-align: center; }
.item-hero .m-slider .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-hero .m-slider .dots { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.item-hero .m-slider .dot { width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; border: 0; padding: 0; }
.item-hero .m-slider .dot.on { background: #2a62f4; }

/* Dim background when sheet is open */
.sheet-dim { display: none; }
@media (max-width: 980px) {
  .sheet-dim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; }
  .sheet-dim.on { display: block; }
}

/* Strong override: make sure mobile slider shows under 980px */
@media (max-width: 980px) {
  .item-hero .gallery .m-slider { display: block !important; }
}

/* Tablet tweaks */
@media (max-width: 768px) {
    .item-hero .inner { gap: 16px; }
    .item-hero { padding: 24px 0; }
    .item-hero .thumbs .th { width: 90px; }

    .item-body .tab { font-size: 16px; padding: 10px 16px; }
    .item-body .panel { padding: 16px; }
    .item-body .desc { padding-left: 0; }
    .item-body .review-summary { flex-direction: column; align-items: flex-start; }
    .item-body .review-card .top { flex-direction: column; align-items: flex-start; }
    .item-body .review-card .rating { flex-direction: row; align-items: center; gap: 8px; }

    /* Make wide tables scrollable on small screens */
    .item-body .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .item-body .price-table { min-width: 720px; }
    .item-body .proposal-view { overflow-x: auto; }
    .item-body .prop-table { min-width: 640px; }
    #tab-depart { overflow-x: auto; }
    .item-body table.depart { min-width: 640px; }
}

@media (max-width: 620px) {
    .item-body .review-grid { grid-template-columns: 1fr; }
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .item-hero .summary .summary-meta .title { font-size: 20px; }
    .item-hero .summary .summary-meta .subtitle { font-size: 13px; }
    .item-hero .summary .summary-meta .country { font-size: 12px; padding: 6px 12px; }
    .item-hero .summary .summary-actions { flex-direction: column; gap: 10px; }
    .item-hero .summary .summary-actions .btn { width: 100%; height: 52px; }
    .item-hero .summary .price-card { padding: 12px 16px; }
    .item-hero .summary .price-card .p-value { font-size: 22px; }
    .item-body .tabs { gap: 6px; }
    .item-body .tab { font-size: 14px; padding: 10px 12px; }
    .item-body .summary-copy .actions { flex-direction: column; }
    .item-body .summary-copy .btn { width: 100%; }
}
