/* ---------------------------------------------------------------------------
   Package browse: the filter bar and the result cards on /{region}/holidays/*.

   Everything is scoped under .pkg-v2, a class this page alone puts on its
   <section class="packages-list">. The base .packages-list rules in shell.css
   are shared with MyAccount and the tour-ideas page, so they are left alone.

   The old bar was eight bare form-controls in two ragged rows with no sense of
   which were active; the old card was a fixed 975x230 box that could not adapt
   to a phone. This replaces both, without touching any control id.
--------------------------------------------------------------------------- */

.pkg-v2 { --pk-ink:#1c2530; --pk-mut:#6b7684; --pk-line:#e3e8ee; --pk-bg:#fff;
          --pk-accent:#f4523b; --pk-soft:#f7f9fb; --pk-good:#02a95c; }

/* ---- filter panel -------------------------------------------------------- */

.pkg-v2 .filter-panel { padding:0 15px; }

.pkg-v2 .pk-filters {
    background:var(--pk-bg); border:1px solid var(--pk-line); border-radius:14px;
    box-shadow:0 1px 3px rgba(20,30,45,.05); padding:18px 20px 16px; margin-bottom:22px;
}

.pkg-v2 .pk-filters-head {
    display:flex; align-items:baseline; justify-content:space-between;
    gap:12px; flex-wrap:wrap; margin-bottom:14px;
}
.pkg-v2 .pk-filters-title {
    font-size:15px; font-weight:700; color:var(--pk-ink); letter-spacing:.01em; margin:0;
}
.pkg-v2 .pk-count { font-size:13px; color:var(--pk-mut); }
.pkg-v2 .pk-count strong { color:var(--pk-ink); }

/* the controls: one flexible row that wraps instead of a rigid grid */
.pkg-v2 .pk-fields { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; }
.pkg-v2 .pk-field { flex:1 1 150px; min-width:132px; }
.pkg-v2 .pk-field--go { flex:0 0 auto; min-width:132px; }

.pkg-v2 .pk-field > label,
.pkg-v2 .pk-field .control-label {
    display:block; font-size:11px; font-weight:600; letter-spacing:.06em;
    text-transform:uppercase; color:var(--pk-mut); margin:0 0 5px;
}

.pkg-v2 .pk-field select.form-control {
    -webkit-appearance:none; -moz-appearance:none; appearance:none;
    width:100%; height:42px; padding:0 32px 0 12px;
    border:1px solid var(--pk-line); border-radius:9px; background-color:var(--pk-bg);
    color:var(--pk-ink); font-size:14px; line-height:40px; box-shadow:none;
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7684' stroke-width='1.7' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 12px center;
    transition:border-color .15s, box-shadow .15s;
}
.pkg-v2 .pk-field select.form-control:hover { border-color:#c9d2dc; }
.pkg-v2 .pk-field select.form-control:focus {
    outline:none; border-color:var(--pk-accent);
    box-shadow:0 0 0 3px rgba(244,82,59,.13);
}
/* a filter that is actually doing something reads as active at a glance */
.pkg-v2 .pk-field.is-active select.form-control {
    border-color:var(--pk-accent); background-color:#fff6f4; font-weight:600;
}

.pkg-v2 .pk-field--go .at_explore_btn {
    display:block; width:100%; height:42px; line-height:42px; padding:0;
    border-radius:9px; text-align:center; font-weight:600; font-size:14px;
}

/* active-filter chips + reset */
.pkg-v2 .pk-active { display:flex; flex-wrap:wrap; gap:8px; align-items:center;
    margin-top:14px; padding-top:13px; border-top:1px dashed var(--pk-line); }
.pkg-v2 .pk-chip {
    display:inline-flex; align-items:center; gap:6px; font-size:12.5px;
    background:var(--pk-soft); border:1px solid var(--pk-line); color:var(--pk-ink);
    border-radius:999px; padding:5px 11px; white-space:nowrap;
}
.pkg-v2 .pk-chip b { font-weight:600; }
.pkg-v2 .pk-chip-label { color:var(--pk-mut); }
.pkg-v2 a.pk-reset { font-size:12.5px; color:var(--pk-accent); font-weight:600;
    text-decoration:none; margin-left:2px; }
.pkg-v2 a.pk-reset:hover { text-decoration:underline; }

/* the widening notice */
.pkg-v2 .pk-note {
    display:flex; gap:10px; align-items:flex-start;
    background:#fff8ec; border:1px solid #f2ddb4; border-left:4px solid #e8a33d;
    border-radius:10px; padding:11px 14px; margin:0 0 18px; font-size:14px;
    line-height:1.5; color:#6a4c17;
}
.pkg-v2 .pk-note svg {
    position:static !important; top:auto !important; left:auto !important;
    -webkit-transform:none !important; -moz-transform:none !important; transform:none !important;
    flex:0 0 17px; width:17px !important; height:17px !important;
    min-width:17px; max-width:17px; margin-top:1px; display:block;
}

/* ---- cards --------------------------------------------------------------- */

.pkg-v2 .packages-container {
    width:auto; max-width:1140px; height:auto; min-height:0; margin:0 auto 18px;
    display:flex; align-items:stretch; overflow:hidden;
    border:1px solid var(--pk-line); border-radius:14px; background:var(--pk-bg);
    box-shadow:0 1px 3px rgba(20,30,45,.05);
    transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.pkg-v2 .packages-container:hover {
    box-shadow:0 10px 26px rgba(20,30,45,.11); border-color:#d3dbe4; transform:translateY(-2px);
}
.pkg-v2 .packages-container:before,
.pkg-v2 .packages-container:after { content:none; display:none; }

.pkg-v2 #carousel-container {
    flex:0 0 268px; max-width:268px; position:relative; align-self:stretch;
    background:#e8edf2; overflow:hidden;
}
.pkg-v2 #image-slider { position:absolute; top:0; right:0; bottom:0; left:0; }
.pkg-v2 .packages-container .carousel {
    float:none; position:absolute; top:0; right:0; bottom:0; left:0;
    width:auto; height:auto; min-height:0; margin:0; border-radius:0;
    overflow:hidden; background:#e8edf2;
}
.pkg-v2 .packages-container .carousel .package-image {
    width:100%; height:100%; object-fit:cover; display:block;
    transition:transform .35s ease;
}
.pkg-v2 .packages-container:hover .carousel .package-image { transform:scale(1.045); }
.pkg-v2 .packages-container .carousel .offer-box {
    top:12px; left:12px; width:auto; min-width:0; padding:4px 10px;
    font-size:11.5px; font-weight:700; letter-spacing:.02em;
    background:var(--pk-good); box-shadow:0 2px 6px rgba(0,0,0,.22);
}

/* .package-price-container is a CHILD of .package-details, so the descriptive half is
   wrapped in .pk-body (added in FillPackages) and the two become real sibling columns. */
.pkg-v2 .package-details {
    float:none; flex:1 1 auto; width:auto; min-width:0; padding:0;
    display:flex; align-items:stretch;
}
.pkg-v2 .pk-body {
    flex:1 1 auto; min-width:0; padding:18px 20px;
    display:flex; flex-direction:column; gap:9px;
}
.pkg-v2 .package-footer { display:none; }

.pkg-v2 .package-naming-container {
    min-height:0 !important; float:none !important;
    width:100% !important; max-width:100% !important; padding:0 !important;
}
.pkg-v2 .packages-container { min-height:200px; }
.pkg-v2 .package-name { margin:0; display:flex; flex-wrap:wrap; align-items:center; gap:9px; }
.pkg-v2 .package-name a.relev {
    order:-1; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
    color:#55627a; background:var(--pk-soft);
    border:1px solid var(--pk-line); border-radius:999px; padding:3px 10px; text-decoration:none;
}
.pkg-v2 .package-name a.pagelink {
    flex:1 1 100%; font-size:19px; font-weight:700; line-height:1.3;
    color:var(--pk-ink); text-decoration:none;
}
.pkg-v2 .package-name a.pagelink:hover { color:var(--pk-accent); }

.pkg-v2 .package-seller-duration { display:block; }
.pkg-v2 .package-duration {
    display:inline-flex !important; flex-flow:row nowrap; align-items:center; gap:4px;
    width:auto !important; height:auto !important; line-height:1.5 !important;
    background:var(--pk-soft); border:1px solid var(--pk-line) !important;
    border-radius:7px !important; padding:3px 10px; margin:0 !important;
}
.pkg-v2 .package-duration p {
    margin:0; padding:0; width:auto; flex:0 0 auto;
    display:inline-block !important; white-space:nowrap;
    font-size:12.5px; color:var(--pk-mut); background:none; border:none;
}

.pkg-v2 .package-destinations {
    font-size:14px; color:#3c4756; font-weight:600; line-height:1.5;
}
.pkg-v2 .package-inclusions ul {
    list-style:none; margin:2px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:16px;
}
.pkg-v2 .package-inclusions li { display:flex; flex-direction:column; align-items:center; gap:2px; }
.pkg-v2 .package-inclusions .icon-name { font-size:11px; color:var(--pk-mut); margin:0; }

/* ---- price panel --------------------------------------------------------- */

.pkg-v2 .package-price-container {
    float:none !important; width:216px !important; height:auto !important;
    min-height:0 !important; border-radius:0 !important;
    flex:0 0 216px; max-width:216px; margin:0; align-self:stretch;
    background:var(--pk-soft); border-left:1px solid var(--pk-line);
    padding:18px; display:flex; flex-direction:column;
    justify-content:center; align-items:stretch; text-align:right;
}
.pkg-v2 .package-price-container .final-price {
    margin:0; font-size:25px; font-weight:800; color:var(--pk-ink); line-height:1.15;
}
.pkg-v2 .package-price-container .actual-price {
    margin:2px 0 0; font-size:14px; color:#98a2b0; text-decoration:line-through;
}
.pkg-v2 .package-price-container .twin { margin:5px 0 0; font-size:11.5px; color:var(--pk-mut); line-height:1.4; }
.pkg-v2 .package-price-container .btn.btn-primary {
    margin:14px 0 0; width:100%; border-radius:9px; padding:10px 12px;
    font-weight:600; font-size:14px; border:none;
}

/* ---- responsive ---------------------------------------------------------- */

@media (max-width:991px) {
    .pkg-v2 .packages-container { flex-direction:column; }
    .pkg-v2 #carousel-container { flex:0 0 auto; max-width:none; width:100%; height:200px; }
    .pkg-v2 .packages-container { min-height:0; }
    .pkg-v2 .package-details { flex-direction:column; }
    .pkg-v2 .package-price-container {
        flex:0 0 auto; width:auto !important; max-width:none;
        border-left:none; border-top:1px solid var(--pk-line);
        flex-direction:row; align-items:center; justify-content:space-between;
        text-align:left; gap:14px; flex-wrap:wrap;
    }
    .pkg-v2 .package-price-container .btn.btn-primary { margin:0; width:auto; min-width:150px; }
}
@media (max-width:575px) {
    /* two per row: seven stacked selects made the panel taller than the first result */
    .pkg-v2 .pk-fields { gap:10px; }
    .pkg-v2 .pk-field { flex:1 1 calc(50% - 5px); min-width:0; }
    .pkg-v2 .pk-field--go, .pkg-v2 .pk-field--wide { flex:1 1 100%; }
    .pkg-v2 .pk-filters { padding:15px 14px; border-radius:12px; }
    .pkg-v2 .package-name a.pagelink { font-size:17px; }
    .pkg-v2 .package-price-container .btn.btn-primary { width:100%; }
}

/* ===========================================================================
   Faceted browse: type tabs, a filter sidebar and a card grid.

   The dropdown bar it replaces made you re-run a postback per choice and could
   only hold one value per facet. These are multi-select, counted, and applied
   in the browser, so the list narrows as you tick.
   =========================================================================== */

.pkg-v2 .pk-browse { max-width:1220px; margin:0 auto; padding:0 15px; }

/* ---- type tabs ---- */
.pkg-v2 .pk-tabs {
    display:flex; gap:4px; overflow-x:auto; border-bottom:1px solid var(--pk-line);
    margin-bottom:22px; -webkit-overflow-scrolling:touch; scrollbar-width:thin;
}
.pkg-v2 .pk-tab {
    flex:0 0 auto; appearance:none; background:none; border:none;
    border-bottom:2px solid transparent; margin-bottom:-1px;
    padding:11px 15px; font-size:14px; font-weight:600; color:var(--pk-mut);
    cursor:pointer; white-space:nowrap; transition:color .15s, border-color .15s;
}
.pkg-v2 .pk-tab:hover { color:var(--pk-ink); }
.pkg-v2 .pk-tab .pk-tab-n { font-weight:500; color:#9aa5b1; }
.pkg-v2 .pk-tab[aria-selected="true"] { color:var(--pk-ink); border-bottom-color:var(--pk-ink); }
.pkg-v2 .pk-tab[aria-selected="true"] .pk-tab-n { color:var(--pk-mut); }

/* ---- two-column shell ---- */
.pkg-v2 .pk-layout { display:flex; align-items:flex-start; gap:26px; }
.pkg-v2 .pk-side { flex:0 0 246px; width:246px; }
.pkg-v2 .pk-results { flex:1 1 auto; min-width:0; }

/* ---- sidebar ---- */
.pkg-v2 .pk-side-head {
    display:flex; align-items:baseline; justify-content:space-between;
    padding:0 0 12px; border-bottom:1px solid var(--pk-line); margin-bottom:4px;
}
.pkg-v2 .pk-side-title { margin:0; font-size:12px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--pk-ink); }
.pkg-v2 .pk-group { border-bottom:1px solid var(--pk-line); padding:14px 0; }
.pkg-v2 .pk-group:last-child { border-bottom:none; }
.pkg-v2 .pk-group-head {
    display:flex; width:100%; align-items:center; justify-content:space-between;
    background:none; border:none; padding:0; cursor:pointer;
    font-size:14px; font-weight:700; color:var(--pk-ink); text-align:left;
}
.pkg-v2 .pk-caret {
    flex:0 0 12px; width:12px; height:8px; display:block;
    background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7684' stroke-width='1.7' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat center;
    transition:transform .18s ease;
}
.pkg-v2 .pk-group.is-closed .pk-caret { transform:rotate(-90deg); }

/* Defensive: shell.css makes every bare <svg> a full-size absolutely-positioned box.
   Anything inline inside the browse chrome must opt out or it becomes a click-blocking
   overlay. Card inclusion icons are not svg, so this cannot touch them. */
.pkg-v2 .pk-browse > .pk-tabs svg,
.pkg-v2 .pk-side svg,
.pkg-v2 .pk-toolbar svg,
.pkg-v2 .pk-pager svg,
.pkg-v2 .pk-note svg {
    position:static !important; top:auto !important; left:auto !important;
    -webkit-transform:none !important; transform:none !important;
    width:auto !important; height:auto !important; max-width:100%;
}
.pkg-v2 .pk-group.is-closed .pk-group-body { display:none; }
.pkg-v2 .pk-group-body { padding-top:12px; }

.pkg-v2 .pk-opt {
    display:flex; align-items:center; gap:9px; padding:5px 0;
    font-size:13.5px; color:#3c4756; cursor:pointer; line-height:1.3;
}
.pkg-v2 .pk-opt input[type="checkbox"] {
    -webkit-appearance:checkbox !important; -moz-appearance:checkbox !important;
    appearance:checkbox !important;
    width:15px !important; height:15px !important; min-height:0 !important;
    margin:0 !important; padding:0 !important; flex:0 0 15px;
    border:none !important; background:none !important; box-shadow:none !important;
    accent-color:var(--pk-accent); cursor:pointer; opacity:1 !important;
}
.pkg-v2 .pk-opt .pk-opt-t { flex:1 1 auto; min-width:0; }
.pkg-v2 .pk-opt .pk-opt-n { color:#9aa5b1; font-size:12.5px; }
.pkg-v2 .pk-opt.is-empty { opacity:.42; cursor:default; }
.pkg-v2 .pk-opt.is-empty input { cursor:default; }

.pkg-v2 .pk-chipwrap { display:flex; flex-wrap:wrap; gap:7px; }
.pkg-v2 .pk-tchip {
    appearance:none; border:1px solid var(--pk-line); background:var(--pk-bg);
    border-radius:999px; padding:5px 11px; font-size:12.5px; color:#3c4756;
    cursor:pointer; transition:all .15s;
}
.pkg-v2 .pk-tchip:hover { border-color:#c2ccd6; }
.pkg-v2 .pk-tchip[aria-pressed="true"] { background:#fff1ee; border-color:var(--pk-accent); color:#b4341f; font-weight:600; }
.pkg-v2 .pk-tchip .pk-opt-n { color:#9aa5b1; }
.pkg-v2 .pk-tchip[aria-pressed="true"] .pk-opt-n { color:#c9705f; }

.pkg-v2 .pk-search { width:100%; height:36px; border:1px solid var(--pk-line); border-radius:8px;
    padding:0 11px; font-size:13.5px; color:var(--pk-ink); margin-bottom:9px; }
.pkg-v2 .pk-search:focus { outline:none; border-color:var(--pk-accent); box-shadow:0 0 0 3px rgba(244,82,59,.13); }
.pkg-v2 .pk-scroll { max-height:212px; overflow-y:auto; padding-right:4px; }
.pkg-v2 .pk-range { font-size:12.5px; color:var(--pk-mut); display:flex; justify-content:space-between; margin:2px 0 8px; }

/* ---- toolbar ---- */
.pkg-v2 .pk-toolbar { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:16px; }
.pkg-v2 .pk-showing { margin:0; font-size:14px; color:var(--pk-mut); }
.pkg-v2 .pk-basis {
    flex:1 1 auto; font-size:12px; color:#9aa5b1; letter-spacing:.01em;
    padding-left:12px; margin-left:2px; border-left:1px solid var(--pk-line);
}
.pkg-v2 .pk-basis:empty { display:none; }
.pkg-v2 .pk-showing strong { color:var(--pk-ink); font-weight:700; }
.pkg-v2 .pk-sort { display:flex; align-items:center; gap:9px; margin:0; font-size:12.5px; color:var(--pk-mut); }
.pkg-v2 .pk-sort select {
    -webkit-appearance:none; -moz-appearance:none; appearance:none;
    height:40px; padding:0 34px 0 13px; border:1px solid var(--pk-line); border-radius:9px;
    background-color:var(--pk-bg); color:var(--pk-ink); font-size:14px; font-weight:600;
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7684' stroke-width='1.7' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 12px center; cursor:pointer;
}
.pkg-v2 .pk-side-toggle { display:none; }

/* ---- the grid ---- */
/* the SEO intro that follows the results: same gutters as the browse shell */
.pkg-v2 > .searchresults { max-width:1220px; margin:26px auto 0; padding:0 15px; }
.pkg-v2 .primary-snip { font-size:15px; line-height:1.7; color:#3c4756; }
.pkg-v2 .primary-snip p { margin:0 0 14px; }

.pkg-v2 .pk-results > .searchresults { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.pkg-v2 .pk-results > .searchresults > .pk-note { grid-column:1 / -1; }

/* Must outrank the display rules below, or setting [hidden] paints anyway. */
.pkg-v2 .pk-results > .searchresults > [hidden],
.pkg-v2 .packages-container[hidden] { display:none !important; }

/* card becomes a vertical tile in the grid */
.pkg-v2 .packages-container {
    flex-direction:column; width:auto; max-width:none; margin:0; min-height:0;
}
.pkg-v2 #carousel-container { flex:0 0 148px; max-width:none; width:100%; height:148px; }
.pkg-v2 .package-details { flex:1 1 auto; flex-direction:column; }
.pkg-v2 .pk-body { padding:16px 16px 12px; gap:9px; }
.pkg-v2 .package-name { gap:9px; }
.pkg-v2 .package-name a.pagelink {
    font-size:16px; font-weight:600; line-height:1.4; letter-spacing:-.005em; color:#1f2733;
}
.pkg-v2 .package-name a.relev {
    font-size:9.5px; font-weight:600; letter-spacing:.1em; padding:3px 9px;
    color:#7a8797; background:#f4f7fa; border-color:#e7ecf1;
}
/* shell.css puts margin-bottom on these; the flex gap already spaces them */
.pkg-v2 .package-seller-duration,
.pkg-v2 .package-destination-itenary,
.pkg-v2 .package-naming-container > * { margin-bottom:0 !important; }
.pkg-v2 .package-duration { padding:0 !important; border:none !important; background:none !important; }
.pkg-v2 .package-duration p { font-size:12px; color:#7a8797; letter-spacing:.01em; }
.pkg-v2 .package-destinations {
    font-size:13px; font-weight:500; line-height:1.5; color:#4a5666;
}
.pkg-v2 .package-inclusions {
    min-width:0; width:auto !important; max-width:100%;
    margin-top:2px !important; padding-top:11px; border-top:1px solid #f0f3f6;
}
.pkg-v2 .magnifier, .pkg-v2 .fav-icon { display:none !important; }
.pkg-v2 .pk-body > * { max-width:100%; min-width:0; }
.pkg-v2 .package-inclusions ul {
    width:100% !important; max-width:100%;
    display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr));
    gap:4px; padding-left:0 !important; margin-left:0 !important;
}
.pkg-v2 .package-inclusions li {
    min-width:0; width:auto !important; float:none !important;
    display:flex; flex-direction:column; align-items:center; text-align:center; gap:3px;
}
.pkg-v2 .package-inclusions li .icon-top { margin:0; }
.pkg-v2 .package-inclusions .icon-name {
    font-size:10px !important; line-height:1.25 !important; letter-spacing:0 !important;
    white-space:normal; margin:0; max-width:100%;
}
.pkg-v2 .package-inclusions li { gap:2px; }
.pkg-v2 .package-price-container {
    flex:0 0 auto; width:auto !important; max-width:none;
    border-left:none !important; border-top:1px solid var(--pk-line);
    flex-direction:row; align-items:center; justify-content:space-between;
    text-align:left; gap:10px; flex-wrap:nowrap; padding:13px 16px !important;
}
.pkg-v2 .package-price-container .price-container {
    flex:1 1 auto; width:auto !important; float:none !important; text-align:left !important;
    display:grid; grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"price btn" "twin btn";
    align-items:center; column-gap:12px; row-gap:3px;
}
.pkg-v2 .package-price-container .pricing-box {
    grid-area:price; float:none !important; width:auto !important; margin:0 !important;
}
.pkg-v2 .package-price-container .twin { grid-area:twin; }
.pkg-v2 .package-price-container .btn.btn-primary {
    grid-area:btn; align-self:center; margin:0 !important;
}
.pkg-v2 .package-price-container .pricing-box {
    display:flex !important; align-items:baseline; justify-content:flex-start;
    flex-wrap:wrap; gap:3px 8px; min-width:0; text-align:left !important;
    float:none !important; width:auto !important;
}
.pkg-v2 .package-price-container .final-price,
.pkg-v2 .package-price-container .twin { text-align:left !important; }
.pkg-v2 .package-price-container .final-price {
    font-size:19px; font-weight:700; margin:0 !important; white-space:nowrap;
    line-height:1.15; letter-spacing:-.01em; color:#1f2733;
    float:none !important; width:auto !important; flex:0 0 auto;
}
.pkg-v2 .package-price-container .final-price .rs { font-weight:600; margin-right:1px; }
/* The saving now reads as a percentage on the price line; the was-price is gone, and
   with it the badge on the photo, so "10% off" appears once per card rather than twice. */
.pkg-v2 .package-price-container .actual-price { display:none !important; }
.pkg-v2 .packages-container .carousel .offer-box { display:none !important; }
.pkg-v2 .pk-off {
    display:inline-block; vertical-align:2px; margin-left:0; flex:0 0 auto;
    font-size:11px; font-weight:600; letter-spacing:.01em; line-height:1;
    color:#0a8f52; background:#e8f8ef; border:1px solid #c9ecd9;
    border-radius:999px; padding:4px 8px; white-space:nowrap;
}
.pkg-v2 .package-price-container .twin {
    font-size:9.5px; margin:0; line-height:1.3; white-space:nowrap;
    letter-spacing:.02em; color:#9aa5b1; text-transform:none;
}
.pkg-v2 .package-price-container .btn.btn-primary {
    width:auto; min-width:0; margin:0; padding:9px 16px; font-size:12.5px;
    font-weight:600; line-height:1.15; white-space:nowrap; border-radius:8px;
    letter-spacing:.01em;
}

/* ---- pagination ---- */
.pkg-v2 .pk-pager { display:flex; justify-content:center; gap:7px; flex-wrap:wrap; margin:26px 0 6px; }
.pkg-v2 .pk-pager button {
    min-width:38px; height:38px; padding:0 12px; border-radius:9px;
    border:1px solid var(--pk-line); background:var(--pk-bg); color:var(--pk-ink);
    font-size:13.5px; font-weight:600; cursor:pointer; transition:all .15s;
}
.pkg-v2 .pk-pager button:hover:not(:disabled) { border-color:#c2ccd6; }
.pkg-v2 .pk-pager button[aria-current="page"] { background:var(--pk-ink); border-color:var(--pk-ink); color:#fff; }
.pkg-v2 .pk-pager button:disabled { opacity:.4; cursor:default; }
.pkg-v2 .pk-empty { text-align:center; color:var(--pk-mut); font-size:15px; padding:38px 10px; margin:0; }
.pkg-v2 .pk-empty a { color:var(--pk-accent); font-weight:600; }

@media (max-width:1100px) { .pkg-v2 .pk-results > .searchresults { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:860px) {
    .pkg-v2 .pk-layout { flex-direction:column; }
    .pkg-v2 .pk-side {
        flex:1 1 auto; width:100%; display:none;
        background:var(--pk-bg); border:1px solid var(--pk-line); border-radius:12px; padding:4px 16px 12px;
    }
    .pkg-v2 .pk-side.is-open { display:block; }
    .pkg-v2 .pk-side-toggle {
        display:inline-block; height:40px; padding:0 16px; border-radius:9px;
        border:1px solid var(--pk-line); background:var(--pk-bg);
        font-size:14px; font-weight:600; color:var(--pk-ink); cursor:pointer;
    }

    /* count + Filters on one line, then the sort, then the pricing note - the flex-wrap
       default interleaved them into three ragged rows */
    .pkg-v2 .pk-toolbar { gap:10px 12px; align-items:center; }
    .pkg-v2 .pk-showing { order:1; flex:1 1 auto; }
    .pkg-v2 .pk-side-toggle { order:2; flex:0 0 auto; }
    .pkg-v2 .pk-sort { order:3; flex:1 1 100%; gap:10px; }
    .pkg-v2 .pk-sort select { flex:1 1 auto; width:100%; }
    .pkg-v2 .pk-basis {
        order:4; flex:1 1 100%; padding-left:0; margin-left:0;
        border-left:none; font-size:11.5px;
    }
    .pkg-v2 .pk-side-toggle[aria-expanded="true"] { border-color:var(--pk-accent); color:var(--pk-accent); }
}
@media (max-width:600px) {
    .pkg-v2 .pk-results > .searchresults { grid-template-columns:minmax(0,1fr); }
    /* shell.css narrows this block on phones, which squeezed the four columns to 36px
       each and let "Sightseeing" run over its neighbours */
    .pkg-v2 .package-inclusions {
        display:block !important; width:100% !important; float:none !important;
        max-width:100% !important; margin-left:0 !important; margin-right:0 !important;
    }
    .pkg-v2 .package-inclusions ul { width:100% !important; }
    .pkg-v2 .package-inclusions li { overflow:hidden; }
    .pkg-v2 .package-inclusions .icon-name { font-size:10px !important; }
}

/* ===========================================================================
   The SEO article under the results (NetshellSeo.PrimaryTextSnipt).

   It is real editorial markup - byline, h2/h3, a key-takeaways list, an FAQ
   section and two JSON-LD blocks - but site.master flattens it: h2 rendered
   smaller than h3, <li> lost its markers, and paragraphs ran the full 1190px
   of the container at roughly 150 characters a line. This restores the
   hierarchy and sets a readable measure.
   =========================================================================== */

.pkg-v2 > .searchresults { margin-top:34px; }

.pkg-v2 .primary-snip {
    display:block !important;
    max-width:760px;                      /* ~72 characters at 16px */
    font-size:16px; line-height:1.75; color:#39434f;
    -webkit-font-smoothing:antialiased;
}
.pkg-v2 .primary-snip h2,
.pkg-v2 .primary-snip h3,
.pkg-v2 .primary-snip h4,
.pkg-v2 .primary-snip p,
.pkg-v2 .primary-snip div,
.pkg-v2 .primary-snip section,
.pkg-v2 .primary-snip blockquote,
.pkg-v2 .primary-snip ol { display:block !important; }
.pkg-v2 .primary-snip ul { display:block !important; }
.pkg-v2 .primary-snip li { display:list-item !important; }
.pkg-v2 .primary-snip .summary ul { display:grid !important; }

.pkg-v2 .primary-snip > *:first-child { margin-top:0 !important; }
.pkg-v2 .primary-snip > *:last-child { margin-bottom:0 !important; }

.pkg-v2 .primary-snip p { margin:0 0 1.15em; font-size:16px; line-height:1.75; }
.pkg-v2 .primary-snip strong { font-weight:600; color:#242e3a; }
.pkg-v2 .primary-snip a { color:var(--pk-accent); text-decoration:none; border-bottom:1px solid rgba(244,82,59,.32); }
.pkg-v2 .primary-snip a:hover { border-bottom-color:var(--pk-accent); }

/* headings - h2 must outrank h3 again */
.pkg-v2 .primary-snip h2 {
    font-size:23px !important; font-weight:700 !important; line-height:1.3 !important;
    letter-spacing:-.012em; color:#1b2430 !important;
    margin:2em 0 .6em !important; padding:0 !important;
}
.pkg-v2 .primary-snip h3 {
    font-size:17px !important; font-weight:600 !important; line-height:1.4 !important;
    letter-spacing:0; color:#1f2733 !important; margin:1.7em 0 .4em !important;
}

/* byline */
.pkg-v2 .primary-snip .byline {
    margin:0 0 1.6em; padding:0 0 14px; border-bottom:1px solid var(--pk-line);
    font-size:13px; line-height:1.6; color:#8994a1;
}
.pkg-v2 .primary-snip .byline small { font-size:inherit; }
.pkg-v2 .primary-snip .byline a { color:#6b7684; border-bottom-color:#d9e0e7; }

/* key takeaways - a card, and two columns where there is room */
.pkg-v2 .primary-snip .summary {
    margin:1.9em 0; padding:20px 22px 6px;
    background:#f8fafc; border:1px solid #e6ecf2; border-radius:12px;
}
.pkg-v2 .primary-snip .summary h2 {
    font-size:11.5px !important; font-weight:700 !important;
    letter-spacing:.1em; text-transform:uppercase; color:#7a8797 !important;
    margin:0 0 12px !important;
}
.pkg-v2 .primary-snip .summary ul {
    list-style:none; margin:0; padding:0;
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 26px;
}
.pkg-v2 .primary-snip .summary li {
    position:relative; margin:0 0 12px; padding-left:15px;
    font-size:14.5px; line-height:1.6; color:#455163;
}
.pkg-v2 .primary-snip .summary li:before {
    content:""; position:absolute; left:0; top:.62em;
    width:5px; height:5px; border-radius:50%; background:#b9c4d0;
}

/* ordinary lists keep their markers */
.pkg-v2 .primary-snip ul:not(.summary ul) { margin:0 0 1.15em; padding-left:1.2em; list-style:disc; }
.pkg-v2 .primary-snip ol { margin:0 0 1.15em; padding-left:1.35em; list-style:decimal; }
.pkg-v2 .primary-snip li { margin:0 0 .4em; }

/* FAQ */
.pkg-v2 .primary-snip .pkg-faq { margin-top:2.4em; }
.pkg-v2 .primary-snip .pkg-faq .pkg-faq-q {
    margin:0 !important; padding:18px 0 0; border-top:1px solid #eef2f6;
}
.pkg-v2 .primary-snip .pkg-faq .pkg-faq-q:first-of-type { border-top:none; padding-top:0; }
.pkg-v2 .primary-snip .pkg-faq .pkg-faq-a { margin:.45em 0 18px; color:#4a5666; }

/* JSON-LD must never take up space */
.pkg-v2 .primary-snip script { display:none !important; }

/* tables, if an editor ever pastes one */
.pkg-v2 .primary-snip table { width:100%; border-collapse:collapse; margin:0 0 1.3em; font-size:14.5px; }
.pkg-v2 .primary-snip th, .pkg-v2 .primary-snip td {
    border:1px solid var(--pk-line); padding:9px 12px; text-align:left; vertical-align:top;
}
.pkg-v2 .primary-snip th { background:var(--pk-soft); font-weight:600; color:#2c3644; }

@media (max-width:700px) {
    .pkg-v2 .primary-snip { font-size:15.5px; }
    .pkg-v2 .primary-snip h2 { font-size:20px !important; margin-top:1.7em !important; }
    .pkg-v2 .primary-snip h3 { font-size:16px !important; }
    .pkg-v2 .primary-snip .summary { padding:16px 16px 4px; }
    .pkg-v2 .primary-snip .summary ul { grid-template-columns:minmax(0,1fr); gap:0; }
}
