/?:root {
    --hpd-pkg-ink: #101828;
    --hpd-pkg-text: #344054;
    --hpd-pkg-muted: #667085;
    --hpd-pkg-soft: #f7f9fc;
    --hpd-pkg-line: #e5eaf1;
    --hpd-pkg-blue: #3156e8;
    --hpd-pkg-blue-soft: #eef3ff;
    --hpd-pkg-green: #17a673;
    --hpd-pkg-radius: 22px;
    --hpd-pkg-shadow: 0 16px 44px rgba(16, 24, 40, .07);
}

.hpd-pkg-page {
    min-height: 100vh;
    background: #f7f9fc;
    color: var(--hpd-pkg-text);
}

.hpd-pkg-page * {
    box-sizing: border-box;
}

.hpd-pkg-page button,
.hpd-pkg-page input,
.hpd-pkg-page select {
    font: inherit;
}

.hpd-pkg-top {
    position: relative;
    padding: 42px 0 28px;
    border-bottom: 1px solid #e8edf4;
    background:
        radial-gradient(circle at 5% 0%, rgba(73, 214, 191, .11), transparent 28%),
        radial-gradient(circle at 95% 0%, rgba(72, 106, 255, .10), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    overflow: hidden;
}

.hpd-pkg-top:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(49, 86, 232, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 86, 232, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.hpd-pkg-top .container {
    position: relative;
    z-index: 1;
}

.hpd-pkg-top-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.hpd-pkg-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #3156b7;
    font-size: 11px;
    font-weight: 600;
}

.hpd-pkg-top h1 {
    margin: 0;
    color: var(--hpd-pkg-ink);
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 600;
}

.hpd-pkg-top p {
    margin: 8px 0 0;
    color: #7a8699;
    font-size: 13px;
}

.hpd-pkg-total {
    min-width: 132px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 18px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 12px 32px rgba(16, 24, 40, .06);
    backdrop-filter: blur(12px);
}

.hpd-pkg-total strong {
    display: block;
    color: #101828;
    font-size: 25px;
    line-height: 1;
    font-weight: 600;
}

.hpd-pkg-total span {
    display: block;
    margin-top: 5px;
    color: #98a2b3;
    font-size: 10px;
}

.hpd-pkg-category-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin-top: 26px;
}

.hpd-pkg-tab {
    position: relative;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e1e7f0;
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    color: #475467;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.hpd-pkg-tab:hover {
    transform: translateY(-2px);
    border-color: #cbd7f6;
    box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.hpd-pkg-tab.active {
    border-color: #8ea7f5;
    background: linear-gradient(135deg, #3156e8, #6684f6);
    color: #fff;
    box-shadow: 0 14px 28px rgba(49, 86, 232, .18);
}

.hpd-pkg-tab-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #eef3ff;
    color: #3156e8;
    font-size: 18px;
}

.hpd-pkg-tab.active .hpd-pkg-tab-icon {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.hpd-pkg-tab>span:nth-child(2) {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hpd-pkg-tab strong {
    font-size: 13px;
    font-weight: 600;
}

.hpd-pkg-tab small {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 9px;
}

.hpd-pkg-tab.active small {
    color: rgba(255, 255, 255, .72);
}

.hpd-pkg-tab b {
    margin-left: auto;
    min-width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #667085;
    font-size: 10px;
    font-weight: 600;
}

.hpd-pkg-tab.active b {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.hpd-pkg-search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.hpd-pkg-search-field {
    position: relative;
    max-width: 760px;
}

.hpd-pkg-search-field>i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
    font-size: 14px;
}

.hpd-pkg-search-field input {
    width: 100%;
    min-height: 50px;
    padding: 0 46px 0 43px;
    border: 1px solid #dce4ef;
    border-radius: 15px;
    outline: 0;
    background: #fff;
    color: #344054;
    font-size: 12px;
    box-shadow: 0 9px 24px rgba(16, 24, 40, .035);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hpd-pkg-search-field input:focus {
    border-color: #9eb1ee;
    box-shadow: 0 0 0 4px rgba(49, 86, 232, .07), 0 10px 24px rgba(16, 24, 40, .04);
}

.hpd-pkg-search-field button {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 34px;
    height: 34px;
    display: none;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    background: #f2f4f7;
    color: #667085;
    cursor: pointer;
}

.hpd-pkg-search-field.has-value button {
    display: flex;
}

.hpd-pkg-search-context {
    min-height: 50px;
    min-width: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid #dce4ef;
    border-radius: 15px;
    background: #fff;
}

.hpd-pkg-search-context span {
    color: #98a2b3;
    font-size: 9px;
}

.hpd-pkg-search-context strong {
    margin-top: 2px;
    color: #344054;
    font-size: 11px;
    font-weight: 600;
}

.hpd-pkg-mobile-filter {
    min-height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #dce4ef;
    border-radius: 15px;
    background: #fff;
    color: #344054;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

#hpdFilterDot {
    width: 7px;
    height: 7px;
    display: none;
    border-radius: 50%;
    background: #3156e8;
}

#hpdFilterDot.active {
    display: inline-block;
}

.hpd-pkg-content {
    padding: 26px 0 82px;
}

.hpd-pkg-result-head {
    display: grid;
    grid-template-columns: minmax(310px, .85fr) minmax(330px, 1.25fr) auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding: 15px;
    border: 1px solid #e3e9f2;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 13px 36px rgba(16, 24, 40, .055);
    backdrop-filter: blur(12px);
}

.hpd-pkg-head-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hpd-pkg-head-title {
    min-width: 120px;
    display: none;
}

.hpd-pkg-result-kicker {
    display: block;
    color: #667085;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}

.hpd-pkg-result-head h2 {
    margin: 3px 0 0;
    color: #101828;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.hpd-pkg-head-tabs {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 13px;
    background: #f2f4f7;
}

.hpd-pkg-head-tab {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #667085;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hpd-pkg-head-tab:hover {
    color: #3156e8;
}

.hpd-pkg-head-tab.active {
    background: #fff;
    color: #3156e8;
    box-shadow: 0 6px 16px rgba(16, 24, 40, .08);
}

.hpd-pkg-head-tab b {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #eef3ff;
    color: #3156e8;
    font-size: 8px;
    font-weight: 600;
}

.hpd-pkg-head-tab.active b {
    background: #3156e8;
    color: #fff;
}

.hpd-pkg-head-search {
    min-width: 0;
}

.hpd-pkg-head-search .hpd-pkg-search-field {
    width: 100%;
    max-width: none;
}

.hpd-pkg-head-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.hpd-pkg-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hpd-pkg-sort-wrap label {
    color: #98a2b3;
    font-size: 10px;
}

.hpd-pkg-sort-wrap select {
    min-height: 40px;
    padding: 0 36px 0 12px;
    border: 1px solid #dce4ef;
    border-radius: 12px;
    outline: 0;
    background: #fff;
    color: #344054;
    font-size: 11px;
}

.hpd-pkg-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.hpd-pkg-filter-panel {
    position: sticky;
    top: 10px;
    padding: 18px;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--hpd-pkg-shadow);
}

.hpd-pkg-filter-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 13px;
}

.hpd-pkg-filter-mobile-head strong {
    display: block;
    color: #101828;
    font-size: 14px;
    font-weight: 600;
}

.hpd-pkg-filter-mobile-head span {
    display: block;
    margin-top: 2px;
    color: #98a2b3;
    font-size: 9px;
}

.hpd-pkg-filter-mobile-head button {
    display: none;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #f2f4f7;
    color: #475467;
}

.hpd-pkg-filter-section {
    padding: 15px 0;
    border-top: 1px solid #edf1f5;
}

.hpd-pkg-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    color: #344054;
    font-size: 11px;
    font-weight: 600;
}

.hpd-pkg-filter-title i {
    color: #98a2b3;
    font-size: 11px;
}

.hpd-pkg-filter-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 4px;
    border-radius: 13px;
    background: #f2f4f7;
}

.hpd-pkg-filter-category button {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #667085;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

.hpd-pkg-filter-category button.active {
    background: #fff;
    color: #3156e8;
    box-shadow: 0 6px 16px rgba(16, 24, 40, .08);
}

.hpd-pkg-filter-select {
    width: 100%;
    min-height: 41px;
    padding: 0 34px 0 11px;
    border: 1px solid #dfe5ed;
    border-radius: 11px;
    outline: 0;
    background: #fff;
    color: #475467;
    font-size: 11px;
}

.hpd-pkg-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hpd-pkg-choice-row label {
    cursor: pointer;
}

.hpd-pkg-choice-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hpd-pkg-choice-row span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #dfe5ed;
    border-radius: 999px;
    background: #fff;
    color: #667085;
    font-size: 10px;
}

.hpd-pkg-choice-row input:checked+span {
    border-color: #3156e8;
    background: #eef3ff;
    color: #3156e8;
}

.hpd-pkg-duration-list {
    display: grid;
    gap: 9px;
}

.hpd-pkg-duration-list label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #667085;
    font-size: 10px;
    cursor: pointer;
}

.hpd-pkg-duration-list input {
    position: absolute;
    opacity: 0;
}

.hpd-pkg-duration-list label>span {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 1px solid #cfd8e6;
    border-radius: 50%;
    background: #fff;
}

.hpd-pkg-duration-list input:checked+span {
    border-color: #3156e8;
}

.hpd-pkg-duration-list input:checked+span:after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #3156e8;
}

.hpd-pkg-budget-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.hpd-pkg-budget-grid label {
    display: block;
}

.hpd-pkg-budget-grid label>span {
    display: block;
    margin-bottom: 5px;
    color: #98a2b3;
    font-size: 8px;
}

.hpd-pkg-budget-grid label>div {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 9px;
    border: 1px solid #dfe5ed;
    border-radius: 11px;
    background: #fff;
}

.hpd-pkg-budget-grid b {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 500;
}

.hpd-pkg-budget-grid input {
    min-width: 0;
    width: 100%;
    padding: 0 0 0 5px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #475467;
    font-size: 10px;
}

.hpd-pkg-flight-filter {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.hpd-pkg-flight-filter>input {
    position: absolute;
    opacity: 0;
}

.hpd-pkg-flight-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe5ed;
    border-radius: 11px;
    background: #f8faff;
    color: #3156e8;
}

.hpd-pkg-flight-filter>span:last-child {
    display: flex;
    flex-direction: column;
}

.hpd-pkg-flight-filter strong {
    color: #344054;
    font-size: 10px;
    font-weight: 600;
}

.hpd-pkg-flight-filter small {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 8px;
}

.hpd-pkg-flight-filter input:checked+.hpd-pkg-flight-icon {
    border-color: #3156e8;
    background: #3156e8;
    color: #fff;
}

.hpd-pkg-reset-btn {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #dfe5ed;
    border-radius: 11px;
    background: #fff;
    color: #667085;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.hpd-pkg-reset-btn:hover {
    border-color: #bac9ee;
    background: #f8faff;
    color: #3156e8;
}

.hpd-pkg-results {
    position: relative;
    min-width: 0;
}

.hpd-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hpd-pkg-card {
    --hpd-card-rx: 0deg;
    --hpd-card-ry: 0deg;
    min-width: 0;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .055);
    overflow: hidden;
    transform: perspective(900px) rotateX(var(--hpd-card-rx)) rotateY(var(--hpd-card-ry));
    transform-style: preserve-3d;
    transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}

.hpd-pkg-card[hidden] {
    display: none !important;
}

.hpd-pkg-card:hover {
    transform: perspective(900px) translateY(-4px) rotateX(var(--hpd-card-rx)) rotateY(var(--hpd-card-ry));
    border-color: #cfd8eb;
    box-shadow: 0 18px 40px rgba(16, 24, 40, .095);
}

.hpd-pkg-card>a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.hpd-pkg-card-image {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: linear-gradient(135deg, #edf2ff, #f8fafc);
}

.hpd-pkg-card-image:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(8, 15, 28, .36), transparent);
    pointer-events: none;
}

.hpd-pkg-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.hpd-pkg-card:hover .hpd-pkg-card-image img {
    transform: scale(1.045);
}

.hpd-pkg-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #98a2b3;
    font-size: 30px;
}

.hpd-pkg-card-badge {
    position: absolute;
    z-index: 2;
    left: 12px;
    top: 12px;
    max-width: calc(100% - 68px);
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .93);
    color: #344054;
    font-size: 8px;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(16, 24, 40, .08);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hpd-pkg-card-favorite {
    position: absolute;
    z-index: 2;
    right: 12px;
    top: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #475467;
    font-size: 12px;
    box-shadow: 0 6px 14px rgba(16, 24, 40, .08);
    backdrop-filter: blur(8px);
}

.hpd-pkg-card-category {
    position: absolute;
    z-index: 2;
    left: 12px;
    bottom: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(16, 24, 40, .48);
    color: #fff;
    font-size: 8px;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.hpd-pkg-card-body {
    padding: 14px;
}

.hpd-pkg-card-destination {
    margin-bottom: 5px;
    color: #3156e8;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hpd-pkg-card h3 {
    min-height: 40px;
    margin: 0;
    color: #101828;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hpd-pkg-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.hpd-pkg-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    border-radius: 8px;
    background: #f7f9fc;
    color: #667085;
    font-size: 8px;
}

.hpd-pkg-card-meta i {
    color: #3156e8;
    font-size: 9px;
}

.hpd-pkg-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #eef1f5;
}

.hpd-pkg-card-price small {
    display: block;
    margin-bottom: 3px;
    color: #98a2b3;
    font-size: 8px;
}

.hpd-pkg-card-price>div {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.hpd-pkg-card-price strong {
    color: #101828;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.hpd-pkg-card-price del {
    color: #98a2b3;
    font-size: 9px;
}

.hpd-pkg-card-arrow {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef3ff;
    color: #3156e8;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hpd-pkg-card:hover .hpd-pkg-card-arrow {
    transform: translate(1px, -1px);
    background: #3156e8;
    color: #fff;
}

.hpd-pkg-empty {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border: 1px dashed #d4ddea;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.hpd-pkg-empty>span {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #eef3ff;
    color: #3156e8;
    font-size: 23px;
}

.hpd-pkg-empty h3 {
    margin: 16px 0 6px;
    color: #101828;
    font-size: 16px;
    font-weight: 600;
}

.hpd-pkg-empty p {
    margin: 0;
    color: #98a2b3;
    font-size: 10px;
}

.hpd-pkg-empty button {
    margin-top: 14px;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: #3156e8;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

.hpd-pkg-skeleton {
    position: absolute;
    z-index: 4;
    inset: 0 auto auto 0;
    width: 100%;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    background: #f7f9fc;
}

.hpd-pkg-skeleton.active {
    display: grid;
}

.hpd-pkg-skeleton-card {
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    background: #fff;
}

.hpd-pkg-skeleton-image,
.hpd-pkg-skeleton-line {
    position: relative;
    overflow: hidden;
    background: #e9edf4;
}

.hpd-pkg-skeleton-image:after,
.hpd-pkg-skeleton-line:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .74), transparent);
    transform: translateX(-100%);
    animation: hpdPkgShimmer 1.2s infinite;
}

.hpd-pkg-skeleton-image {
    height: 205px;
}

.hpd-pkg-skeleton-body {
    padding: 14px;
}

.hpd-pkg-skeleton-line {
    height: 10px;
    margin-bottom: 10px;
    border-radius: 999px;
}

.hpd-pkg-skeleton-line.w-35 {
    width: 35%
}

.hpd-pkg-skeleton-line.w-85 {
    width: 85%
}

.hpd-pkg-skeleton-line.w-65 {
    width: 65%
}

.hpd-pkg-skeleton-line.w-50 {
    width: 50%
}

@keyframes hpdPkgShimmer {
    to {
        transform: translateX(100%)
    }
}

.hpd-pkg-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: none;
    background: rgba(16, 24, 40, .45);
    backdrop-filter: blur(4px);
}

@media(min-width:992px) and (max-width:1399.98px) {
    .hpd-pkg-result-head {
        grid-template-columns: minmax(300px, .95fr) minmax(280px, 1fr) auto;
    }

    .hpd-pkg-head-tab {
        padding: 0 8px;
    }

    .hpd-pkg-head-tab b {
        display: none;
    }
}

@media(max-width:1199.98px) {

    .hpd-pkg-grid,
    .hpd-pkg-skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:991.98px) {
    .hpd-pkg-result-head {
        grid-template-columns: 1fr auto;
    }

    .hpd-pkg-head-main {
        grid-column: 1/-1;
        justify-content: space-between;
    }

    .hpd-pkg-head-search {
        min-width: 0;
    }

    .hpd-pkg-head-actions {
        justify-content: flex-end;
    }

    .hpd-pkg-mobile-filter {
        display: flex;
    }

    .hpd-pkg-layout {
        grid-template-columns: 1fr;
    }

    .hpd-pkg-filter-panel {
        position: fixed;
        z-index: 1100;
        left: 12px;
        right: 12px;
        bottom: 12px;
        top: auto;
        max-height: 83vh;
        overflow: auto;
        border-radius: 24px;
        transform: translateY(calc(100% + 30px));
        transition: transform .25s ease;
    }

    .hpd-pkg-filter-panel.open {
        transform: translateY(0);
    }

    .hpd-pkg-filter-mobile-head button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hpd-pkg-filter-backdrop.open {
        display: block;
    }

    body.hpd-pkg-filter-open {
        overflow: hidden;
    }
}

@media(max-width:767.98px) {
    .hpd-pkg-content {
        padding-top: 16px;
    }

    .hpd-pkg-result-head {
        grid-template-columns: 1fr;
        gap: 11px;
        padding: 12px;
        border-radius: 17px;
    }

    .hpd-pkg-head-main {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hpd-pkg-head-title {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
    }

    .hpd-pkg-result-head h2 {
        font-size: 15px;
    }

    .hpd-pkg-result-kicker {
        font-size: 8px;
    }

    .hpd-pkg-head-tabs {
        width: 100%;
    }

    .hpd-pkg-head-tab {
        flex: 1;
        min-width: 0;
        padding: 0 7px;
    }

    .hpd-pkg-head-tab b {
        display: none;
    }

    .hpd-pkg-head-search {
        width: 100%;
    }

    .hpd-pkg-search-field input {
        min-height: 46px;
        font-size: 11px;
    }

    .hpd-pkg-head-actions {
        width: 100%;
        justify-content: space-between;
    }

    .hpd-pkg-mobile-filter {
        display: flex;
        min-height: 42px;
        padding: 0 12px;
    }

    .hpd-pkg-sort-wrap {
        flex: 1;
        justify-content: flex-start;
    }

    .hpd-pkg-sort-wrap label {
        display: none;
    }

    .hpd-pkg-sort-wrap select {
        max-width: 145px;
    }

    .hpd-pkg-grid,
    .hpd-pkg-skeleton {
        grid-template-columns: 1fr;
    }

    .hpd-pkg-card-image,
    .hpd-pkg-skeleton-image {
        height: 225px;
    }
}

@media(prefers-reduced-motion:reduce) {

    .hpd-pkg-card,
    .hpd-pkg-card-image img,
    .hpd-pkg-tab,
    .hpd-pkg-card-arrow {
        transition: none !important;
    }

    .hpd-pkg-skeleton-image:after,
    .hpd-pkg-skeleton-line:after {
        animation: none !important;
    }
}
