.rihlatk-pxp,
.rihlatk-px {
    font-family: inherit;
}
.rihlatk-pxp,
.rihlatk-pxp *,
.rihlatk-px,
.rihlatk-px * {
    box-sizing: border-box;
}

/* ——— Homepage preview ——— */
.rihlatk-pxp {
    --pxp-bg: #142B54;
    --pxp-card: #1B3A68;
    --pxp-line: #2E4F82;
    --pxp-gold: #147DFB;
    --pxp-muted: #C5D4E8;
    background: var(--pxp-bg);
    color: #fff;
    padding: 80px 24px 88px;
    width: 100%;
}
.rihlatk-pxp__inner {
    max-width: 1180px;
    margin: 0 auto;
}
.rihlatk-pxp__kicker {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--pxp-gold);
}
.rihlatk-pxp__title {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.28;
    color: #fff;
    max-width: 16ch;
}
.rihlatk-pxp__lead {
    margin: 16px 0 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--pxp-muted);
    max-width: 560px;
}
.rihlatk-pxp__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 40px;
}
.rihlatk-pxp__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 88px;
    padding: 20px 22px;
    background: var(--pxp-card);
    border: 1px solid var(--pxp-line);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.rihlatk-pxp__card:hover {
    border-color: #147DFB;
    background: #1E4478;
    color: inherit;
}
.rihlatk-pxp__origin {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
}
.rihlatk-pxp__dest {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--pxp-muted);
}
.rihlatk-pxp__dest svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
.rihlatk-pxp__from {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--pxp-muted);
    text-align: end;
}
.rihlatk-pxp__price {
    display: block;
    margin-top: 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--pxp-gold);
    white-space: nowrap;
    text-align: end;
}
.rihlatk-pxp__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 36px auto 0;
    padding: 11px 20px;
    border: 1px solid var(--pxp-line);
    border-radius: 999px;
    background: var(--pxp-card);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.rihlatk-pxp__foot {
    display: flex;
    justify-content: center;
}
.rihlatk-pxp__all:hover {
    color: #fff;
    border-color: #147DFB;
    background: #147DFB;
}
.rihlatk-pxp__all svg {
    width: 14px;
    height: 14px;
}

/* ——— Full pricing page ——— */
.rihlatk-px {
    --px-ink: #142B54;
    --px-muted: #667085;
    --px-line: #E6E8EC;
    --px-gold: #147DFB;
    --px-fill: #F3F7FC;
    --px-card: #FFFFFF;
    color: var(--px-ink);
    max-width: 1240px;
    margin: 0 auto;
    padding: 8px 0 48px;
}
.rihlatk-px__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}
.rihlatk-px__title {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.25;
}
.rihlatk-px__lead {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--px-muted);
    max-width: 560px;
}
.rihlatk-px__date {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}
.rihlatk-px__date span {
    font-size: 11px;
    font-weight: 600;
    color: var(--px-muted);
}
.rihlatk-px__date input[type="date"] {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--px-line);
    border-radius: 12px;
    background: #fff;
    color: var(--px-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.rihlatk-px__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--px-line);
    border-radius: 18px;
    background: #fff;
}
.rihlatk-px__table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    text-align: center;
}
.rihlatk-px__table th,
.rihlatk-px__table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--px-line);
    vertical-align: middle;
}
.rihlatk-px__table thead th {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--px-muted);
    background: #FAFAF8;
    white-space: nowrap;
}
.rihlatk-px__table tbody tr:last-child td {
    border-bottom: 0;
}
.rihlatk-px__table th:first-child,
.rihlatk-px__table td:first-child {
    text-align: start;
    position: sticky;
    inset-inline-start: 0;
    background: #fff;
    z-index: 1;
    min-width: 170px;
    box-shadow: -8px 0 12px -12px rgba(17, 24, 39, 0.18);
}
.rihlatk-px__table thead th:first-child {
    background: #FAFAF8;
}
.rihlatk-px__rt-from {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--px-ink);
}
.rihlatk-px__rt-to {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--px-muted);
}
.rihlatk-px__rt-to svg {
    width: 11px;
    height: 11px;
}
.rihlatk-px__num {
    font-size: 14px;
    font-weight: 600;
    color: var(--px-ink);
    font-variant-numeric: tabular-nums;
}
.rihlatk-px__dash {
    color: #C5CAD3;
}
.rihlatk-px__book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border: 1px solid var(--px-line);
    border-radius: 999px;
    background: #fff;
    color: var(--px-ink);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.rihlatk-px__book:hover {
    background: #147DFB;
    border-color: #147DFB;
    color: #fff;
}
.rihlatk-px__note {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--px-muted);
}
.rihlatk-px__mlist {
    display: none;
}

.rihlatk-px__block {
    margin-top: 56px;
    scroll-margin-top: 28px;
}
.rihlatk-px__block-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.rihlatk-px__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    background: var(--px-fill);
    border-radius: 999px;
}
.rihlatk-px__city {
    border: 0;
    background: transparent;
    color: var(--px-muted);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
}
.rihlatk-px__city.is-on {
    background: #fff;
    color: var(--px-ink);
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}
.rihlatk-px__hgrid {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.rihlatk-px__hgrid.is-on {
    display: grid;
}
.rihlatk-px__hcard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--px-line);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
}
.rihlatk-px__hcard:hover {
    border-color: #D5D8DE;
    color: inherit;
}
.rihlatk-px__hname {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}
.rihlatk-px__hmeta {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--px-muted);
}
.rihlatk-px__hamt {
    display: block;
    font-size: 16px;
    font-weight: 700;
    text-align: end;
    white-space: nowrap;
    color: var(--px-gold);
}
.rihlatk-px__hunit {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--px-muted);
    text-align: end;
}
.rihlatk-px__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 7px 12px;
    border: 1px solid var(--px-line);
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: var(--px-muted);
}
.rihlatk-px__badge svg {
    width: 14px;
    height: 14px;
}

.rihlatk-px__egrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.rihlatk-px__ecard {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--px-line);
    border-radius: 14px;
}
.rihlatk-px__ename {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.rihlatk-px__edesc {
    margin: 6px 0 12px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--px-muted);
}
.rihlatk-px__eprice {
    font-size: 15px;
    font-weight: 700;
    color: var(--px-gold);
}
.rihlatk-px__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: #147DFB;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
.rihlatk-px__cta:hover {
    background: #3F6EAE;
    color: #fff;
}
.rihlatk-px__empty {
    padding: 28px;
    text-align: center;
    color: var(--px-muted);
    font-size: 14px;
}

@media (max-width: 1100px) {
    .rihlatk-pxp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rihlatk-px__hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rihlatk-px__egrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .rihlatk-pxp { padding: 48px 16px 56px; }
    .rihlatk-pxp__title { max-width: none; }
    .rihlatk-pxp__grid { grid-template-columns: 1fr; }
    .rihlatk-px__table-wrap { display: none; }
    .rihlatk-px__mlist { display: flex; flex-direction: column; gap: 10px; }
    .rihlatk-px__mcard {
        background: #fff;
        border: 1px solid var(--px-line);
        border-radius: 16px;
        padding: 16px;
    }
    .rihlatk-px__mhead {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--px-line);
    }
    .rihlatk-px__mrow {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 6px 0;
        font-size: 13px;
    }
    .rihlatk-px__mrow span:last-child { font-weight: 700; }
    .rihlatk-px__hgrid,
    .rihlatk-px__egrid { grid-template-columns: 1fr; }
    .rihlatk-px__cities { width: 100%; }
    .rihlatk-px__city { flex: 1 1 auto; text-align: center; }
}

/* Dashboard Excel grid (pricing page + company-customer prices) */
.rihlatk-excel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #E6E8EC;
    border-radius: 18px;
    background: #fff;
}
.rihlatk-excel__table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    text-align: center;
}
.rihlatk-excel__table th,
.rihlatk-excel__table td {
    padding: 14px 12px;
    border-bottom: 1px solid #E6E8EC;
    vertical-align: middle;
}
.rihlatk-excel__table thead th {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #9CA3AF;
    background: #FAFAF8;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}
.rihlatk-excel__table tbody tr:last-child td { border-bottom: 0; }
.rihlatk-excel__table tbody tr:hover td { background: #FCFDFE; }
.rihlatk-excel__table th:first-child,
.rihlatk-excel__table td:first-child {
    text-align: start;
    position: sticky;
    inset-inline-start: 0;
    background: #fff;
    z-index: 1;
    min-width: 200px;
    box-shadow: -8px 0 12px -12px rgba(17, 24, 39, 0.18);
}
.rihlatk-excel__table thead th:first-child { background: #FAFAF8; z-index: 3; }
.rihlatk-excel__table tbody tr:hover td:first-child { background: #FCFDFE; }
.rihlatk-excel input[type=number] {
    width: 5.5rem;
    text-align: center;
    border: 0;
    border-bottom: 1px dashed transparent;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #142B54;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
    appearance: textfield;
}
.rihlatk-excel input[type=number]::-webkit-outer-spin-button,
.rihlatk-excel input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.rihlatk-excel input[type=number]::placeholder {
    color: #C5CAD3;
    font-weight: 600;
}
.rihlatk-excel__cell.is-custom input[type=number] {
    color: #1A78E5;
}
.rihlatk-excel__hint {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #9CA3AF;
    font-variant-numeric: tabular-nums;
}
.rihlatk-excel.is-editing .rihlatk-excel__cell {
    position: relative;
    user-select: none;
}
.rihlatk-excel.is-editing .rihlatk-excel__cell.is-selected {
    outline: 2px solid #1A78E5;
    outline-offset: -2px;
    background: #EFF6FF;
}
.rihlatk-excel.is-editing .rihlatk-excel__cell.is-fill { background: #DBEAFE; }
.rihlatk-excel__fill {
    position: absolute;
    inset-inline-end: 4px;
    bottom: 4px;
    width: 8px;
    height: 8px;
    background: #1A78E5;
    cursor: crosshair;
    border-radius: 1px;
}
.rihlatk-excel__handle {
    display: none;
    cursor: grab;
    color: #9CA3AF;
    margin-left: 6px;
    font-size: 12px;
}
.rihlatk-excel.is-editing .rihlatk-excel__handle { display: inline-block; }
.rihlatk-excel tr.is-dragging { opacity: .5; }
.rihlatk-excel__rowhead { position: relative; padding-inline-end: 1.5rem; }
.rihlatk-excel__from {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    color: #142B54;
    text-align: start;
}
.rihlatk-excel__to {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 4px 0 0;
    font-size: 11px;
    font-weight: 600;
    color: #9CA3AF;
    text-align: start;
}
.rihlatk-excel__to svg { flex-shrink: 0; transform: rotate(180deg); }
.rihlatk-excel__empty {
    padding: 36px 16px;
    text-align: center;
    color: #9CA3AF;
    font-weight: 800;
}
