/*
 * PickPack site redesign (28/09/2026) - the classic look (cyan on charcoal), improved.
 * Loaded after every legacy stylesheet; everything is scoped to body.pp-rd so the old rules
 * stay untouched for any page that does not opt in. The order form keeps its ids, names and
 * rows (home.js / Orders.js / freight.js depend on them); this file only changes how they look.
 */

body.pp-rd {
    --pp-cyan: #00FFFC;
    --pp-cyan-deep: #00B3B0;
    --pp-ink: #1E1E1E;
    --pp-char: #2B2B2B;
    --pp-muted: #5E5E5E;
    --pp-line: #E6E6E6;
    --pp-soft: #D1FCFC;
    --pp-tint: #E6FFFE;
    --pp-grey: #EFEFEF;
    --pp-lime: #D8FF02;
    --pp-font-h: 'Varela Round', 'Open Sans', Arial, sans-serif;
    --pp-font: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    background: #EEEEEE;
    color: var(--pp-ink);
    font-family: var(--pp-font);
}

body.pp-rd a:focus-visible,
body.pp-rd button:focus-visible,
body.pp-rd input:focus-visible,
body.pp-rd select:focus-visible,
body.pp-rd textarea:focus-visible,
body.pp-rd [tabindex]:focus-visible {
    outline: 3px solid var(--pp-ink);
    outline-offset: 2px;
}

.pp-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ───────────── header ───────────── */
.pp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 76px;
    background: #2B2B2B url('../frontend/onepage/img/PP-Header-BG.jpg') center / cover no-repeat;
    direction: rtl;
}

.pp-header__in {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pp-header__start { display: flex; align-items: center; gap: 48px; height: 100%; }
.pp-logo { display: flex; }
.pp-logo img { display: block; width: 141px; height: 40px; }

.pp-nav { display: flex; align-items: stretch; gap: 28px; height: 76px; font-family: var(--pp-font-h); font-size: 18px; }
.pp-nav a {
    display: flex;
    align-items: center;
    padding-top: 4px;
    border-bottom: 4px solid transparent;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
}
.pp-nav a:hover, .pp-nav a:focus { color: var(--pp-cyan); text-decoration: none; }
.pp-nav a[aria-current="page"] { color: var(--pp-cyan); border-bottom-color: var(--pp-cyan); }

.pp-header__tools { display: flex; align-items: center; gap: 12px; }
.pp-phone { display: flex; align-items: center; gap: 10px; color: #FFFFFF; font-family: var(--pp-font-h); font-size: 19px; text-decoration: none; }
.pp-phone:hover, .pp-phone:focus { color: var(--pp-cyan); text-decoration: none; }
.pp-icon-btn {
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    border-radius: 50% !important;
    border: 2px solid var(--pp-cyan);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.pp-burger { display: none; border: 0; }

.pp-drawer { display: none; }

@media (max-width: 1100px) {
    .pp-nav { gap: 18px; font-size: 16px; }
    .pp-header__start { gap: 28px; }
}

@media (max-width: 991px) {
    .pp-header { height: 62px; }
    .pp-header__in { padding: 0 10px 0 14px; }
    .pp-logo img { width: 113px; height: 32px; }
    .pp-nav, .pp-phone span { display: none; }
    .pp-phone { width: 44px; height: 44px; justify-content: center; }
    .pp-burger { display: flex; }
    .pp-icon-btn { border: 0; }
    .pp-drawer {
        position: fixed;
        top: 62px;
        right: 0;
        left: 0;
        z-index: 999;
        background: var(--pp-char);
        padding: 8px 20px 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }
    .pp-drawer.is-open { display: block; }
    .pp-drawer a { display: block; padding: 14px 4px; border-bottom: 1px solid #3F3F3F; color: #FFFFFF; font-family: var(--pp-font-h); font-size: 19px; text-decoration: none; }
    .pp-drawer a:last-child { border-bottom: 0; }
}

/* ───────────── hero ───────────── */
#promo-block.pp-hero {
    position: relative;
    overflow: hidden;
    min-height: 784px;
    padding: 0;
    margin: 0;
    background: #3A3A3A;
    direction: rtl;
}

.pp-hero__bg {
    position: absolute;
    inset: 0;
    background: url('../frontend/onepage/img/PP-Image-Fold1.jpg') 55% 35% / cover no-repeat;
    transition: opacity 500ms ease;
}

.pp-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 16, 16, 0.88) 0%, rgba(16, 16, 16, 0.72) 38%, rgba(16, 16, 16, 0.30) 62%, rgba(16, 16, 16, 0.18) 100%);
    transition: background 500ms ease;
}

.pp-map {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 500ms ease, visibility 0s linear 500ms;
    background: #34373B;
}

.pp-hero.has-route .pp-map { opacity: 1; visibility: visible; transition: opacity 500ms ease; }
.pp-hero.has-route .pp-hero__bg { opacity: 0; }
.pp-hero.has-route .pp-hero__shade { background: linear-gradient(90deg, rgba(16, 16, 16, 0) 0%, rgba(16, 16, 16, 0) 52%, rgba(16, 16, 16, 0.3) 100%); pointer-events: none; }

.pp-hero__in {
    position: relative;
    max-width: 1200px;
    min-height: 784px;
    margin: 0 auto;
    padding: 56px 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    pointer-events: none;
}

.pp-hero__in > * { pointer-events: auto; }

.pp-slogan { width: 600px; max-width: 100%; transition: opacity 400ms ease, transform 400ms ease; }
.pp-hero.has-route .pp-slogan { opacity: 0; transform: translateY(12px); pointer-events: none; }

.pp-slogan h1 {
    margin: 0;
    font-family: var(--pp-font-h);
    font-size: 92px;
    line-height: 1.04;
    font-weight: 700;
    color: var(--pp-cyan);
}
.pp-slogan h1 span { color: #FFFFFF; }
.pp-slogan__sub { margin: 18px 0 0; font-family: var(--pp-font-h); font-size: 32px; color: var(--pp-cyan); }
.pp-slogan__text { margin: 18px 0 0; font-size: 20px; line-height: 1.6; color: #FFFFFF; }
.pp-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; font-size: 17px; color: #FFFFFF; }
.pp-checks li { display: flex; align-items: center; gap: 10px; }
.pp-check { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50% !important; background: var(--pp-cyan); display: flex; align-items: center; justify-content: center; }

/* map chips (on the route) */
.pp-chip {
    position: absolute;
    transform: translate(0, -50%);
    background: #FFFFFF;
    border-radius: 14px !important;
    padding: 7px 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    white-space: nowrap;
    text-align: right;
    pointer-events: none;
    font-family: var(--pp-font);
}
.pp-chip small { font-size: 12px; color: var(--pp-muted); }
.pp-chip strong { font-size: 15px; font-weight: 600; color: var(--pp-ink); }
.pp-chip--mid {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px !important;
    background: var(--pp-cyan);
    color: var(--pp-ink);
    font-family: var(--pp-font-h);
    font-size: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.pp-chip--mid i { width: 1px; height: 18px; background: rgba(30, 30, 30, 0.35); }

/* ───────────── order card ───────────── */
body.pp-rd .pp-order { position: relative; width: 480px; max-width: 100%; flex-shrink: 0; }

body.pp-rd .pp-order .order-form-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto !important;
    min-height: 0;
    background: #FFFFFF;
    border-radius: 30px !important;
    -webkit-border-radius: 30px !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

body.pp-rd .pp-order .order-form-container-height { height: auto !important; margin: 0; }
body.pp-rd .pp-order .order-form-container-height > div { height: auto !important; padding: 0; text-align: right; }
body.pp-rd .pp-order #assignment_waiting,
body.pp-rd .pp-order #frmOrder { height: auto !important; }
body.pp-rd .pp-order #frmOrder { padding: 0; margin: 0; }

/* title row: plain title, or freight.js's three tabs */
body.pp-rd .pp-order .order_form_title {
    margin: 0;
    padding: 18px 28px;
    background: var(--pp-grey);
    font-family: var(--pp-font-h);
    font-size: 26px;
    color: var(--pp-char);
    text-align: right;
    height: auto;
    line-height: 1.2;
}
body.pp-rd .pp-order .order_form_title.pp-ff-title { padding: 0 !important; }
body.pp-rd .pp-ff-tabs { height: 70px; background: var(--pp-grey); }
body.pp-rd .pp-ff-tabs .pp-ff-tab {
    height: 70px !important;
    border-bottom: 4px solid transparent;
    border-radius: 0 !important;
    color: var(--pp-muted);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
body.pp-rd .pp-ff-tabs .pp-ff-tab::before {
    content: '';
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
    opacity: 0.75;
}
body.pp-rd .pp-ff-tabs .pp-ff-tab[data-kind="0"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E"); }
body.pp-rd .pp-ff-tabs .pp-ff-tab[data-kind="1"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5h11v9.5h-11z'/%3E%3Cpath d='M13.5 10h4l3.5 3.5v2.5h-7.5'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
body.pp-rd .pp-ff-tabs .pp-ff-tab[data-kind="2"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11V8a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v3'/%3E%3Cpath d='M3 12.5a2 2 0 0 1 4 0V15h10v-2.5a2 2 0 0 1 4 0V19H3z'/%3E%3Cpath d='M5.5 19v2M18.5 19v2'/%3E%3C/svg%3E"); }
body.pp-rd .pp-ff-tabs .pp-ff-tab.active { background: #FFFFFF; color: var(--pp-ink); border-bottom-color: var(--pp-cyan); }
body.pp-rd .pp-ff-tabs .pp-ff-tab.active::before { opacity: 1; }

/* stepper (inserted by pp-redesign.js) */
.pp-stepper { display: flex; align-items: center; gap: 8px; padding: 14px 28px 6px; font-size: 13px; color: var(--pp-muted); }
.pp-stepper__item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pp-stepper__dot { width: 22px; height: 22px; box-sizing: border-box; flex-shrink: 0; border-radius: 50% !important; border: 1.5px solid #C9C9C9; background: #FFFFFF; color: var(--pp-ink); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pp-stepper__item.is-on { color: var(--pp-ink); font-weight: 700; }
.pp-stepper__item.is-on .pp-stepper__dot { background: var(--pp-cyan); border-color: var(--pp-ink); }
.pp-stepper__item.is-done .pp-stepper__dot { background: var(--pp-char); border-color: var(--pp-char); color: var(--pp-cyan); }
.pp-stepper__line { flex: 1; min-width: 12px; height: 2px; border-radius: 1px !important; background: #DADADA; }
.pp-stepper__line.is-done { background: var(--pp-char); }

/* form rows */
body.pp-rd .pp-order .order_form_row { margin: 0; padding: 0 !important; }
body.pp-rd .pp-order .order_form_col { padding: 0; margin: 0; }
body.pp-rd .pp-order .form-group { margin-bottom: 0; }
body.pp-rd .pp-order .order_form_inpput,
body.pp-rd .pp-order .new_input {
    height: 62px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    font-family: var(--pp-font);
    font-size: 17px;
    color: var(--pp-ink);
}

/* address rows (A / B) */
.pp-addr-row { position: relative; display: flex !important; align-items: center; border-bottom: 1px solid var(--pp-line); }
.pp-addr-row > .order_form_col:first-child { flex: 1 1 auto; width: auto !important; float: none; }
.pp-addr-row > .order_form_col + .order_form_col { width: 76px !important; flex: 0 0 76px; float: none; border-right: 1px solid var(--pp-line); }
body.pp-rd .pp-addr-row .order_form_inpput { padding-right: 66px !important; padding-left: 14px; }
body.pp-rd .pp-addr-row .order_form_col + .order_form_col .order_form_inpput { padding: 18px 8px 0 !important; text-align: center; }
body.pp-rd .pp-addr-row img.icon { display: none; }
.pp-addr-row .pp-pin { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); width: 26px; height: 30px; pointer-events: none; z-index: 2; }
.pp-addr-row .pp-ok { position: absolute; left: 90px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50% !important; background: #E3F7EC; display: none; align-items: center; justify-content: center; }
.pp-addr-row.is-valid .pp-ok { display: flex; }
.pp-addr-dots { position: absolute; right: 38px; top: 45px; height: 34px; border-right: 2px dotted #AFAFAF; pointer-events: none; z-index: 2; }
/* floor + apartment: two narrow boxes; the "from the list" tick moves along */
.pp-addr-row.has-apt .pp-ok { left: 168px; }
@media (max-width: 480px) {
    .pp-addr-row.has-apt > .order_form_col + .order_form_col { width: 60px !important; flex-basis: 60px; }
    .pp-addr-row.has-apt .pp-ok { left: 128px; }
}

/* floating labels inside the card */
body.pp-rd .pp-order .floating-placeholder label { right: 66px; top: 20px; color: var(--pp-muted); font-weight: 400; }
body.pp-rd .pp-order .pp-addr-row .order_form_col + .order_form_col label { right: 0; left: 0; text-align: center; }

/* segmented controls (drive the hidden selects) */
.pp-seg { display: flex; gap: 8px; padding: 12px 28px; border-bottom: 1px solid var(--pp-line); }
.pp-seg:last-of-type { border-bottom: 0; }
.pp-seg__btn {
    flex: 1 1 0;
    min-width: 0;
    height: 48px;
    border-radius: 24px !important;
    border: 1.5px solid #CFCFCF;
    background: #FFFFFF;
    color: var(--pp-ink);
    font-family: var(--pp-font);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 150ms, border-color 150ms, color 150ms;
}
.pp-seg__btn small { display: block; font-size: 12.5px; font-weight: 400; color: var(--pp-muted); }
.pp-seg__btn span { display: flex; flex-direction: column; align-items: center; }
.pp-seg__btn--tall { height: 56px; border-radius: 28px !important; }
.pp-seg__btn[aria-pressed="true"], .pp-seg__btn.is-on { background: var(--pp-char); border-color: var(--pp-char); color: #FFFFFF; }
.pp-seg__btn[aria-pressed="true"] small, .pp-seg__btn.is-on small { color: #D6D6D6; }
.pp-seg__btn[aria-pressed="true"] svg { stroke: var(--pp-cyan); }
body.pp-rd .pp-order .pp-select-hidden .bootstrap-select,
body.pp-rd .pp-order .pp-select-hidden img.icon { display: none !important; }

/* price panel (inserted by pp-redesign.js; fed by #lblAmount) */
.pp-price {
    display: none;
    margin: 6px 28px 0;
    padding: 16px 22px;
    border-radius: 22px !important;
    background: var(--pp-char);
    color: #FFFFFF;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.pp-price.is-on { display: flex; }
.pp-price__info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pp-price__label { font-size: 13px; color: #BDBDBD; }
.pp-price__when { font-size: 16px; }
.pp-price__couriers { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.pp-price__couriers::before { content: ''; width: 8px; height: 8px; border-radius: 50% !important; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.28); }
.pp-price__amount { font-family: var(--pp-font-h); font-size: 50px; line-height: 1; color: var(--pp-cyan); white-space: nowrap; }
.pp-price.is-loading .pp-price__amount { opacity: 0.35; }

.pp-hint { margin: 6px 28px 0; padding: 14px 18px; border-radius: 20px !important; background: #F4F4F4; display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.5; color: #333333; }
.pp-hint__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50% !important; background: var(--pp-char); display: flex; align-items: center; justify-content: center; }
.pp-hint.is-off { display: none; }

/* buttons */
.pp-cta,
body.pp-rd .pp-order #btnSubmit.rounded-btn-order {
    width: calc(100% - 56px);
    height: 62px;
    margin: 14px 28px 0;
    border: 0;
    border-radius: 31px !important;
    background: var(--pp-cyan);
    color: var(--pp-ink);
    font-family: var(--pp-font-h);
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 24px rgba(0, 201, 198, 0.35);
    cursor: pointer;
    transition: transform 120ms ease, background-color 150ms;
}
.pp-cta:hover, body.pp-rd .pp-order #btnSubmit.rounded-btn-order:hover { background: #04E9EC; }
.pp-cta:active, body.pp-rd .pp-order #btnSubmit.rounded-btn-order:active { transform: scale(0.98); }
.pp-cta[disabled] { opacity: 0.45; cursor: default; box-shadow: none; }
.pp-back { display: none; margin: 12px auto 0; background: none; border: 0; color: #006F6D; font-size: 15px; font-weight: 600; cursor: pointer; }

.pp-trust { margin: 12px 28px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13.5px; color: var(--pp-muted); }
.pp-trust span { display: flex; align-items: center; gap: 6px; }

/* the legacy submit block: keep it in the flow */
body.pp-rd .pp-order .pp-submit-row { position: static !important; width: auto !important; bottom: auto !important; margin: 0 !important; }
body.pp-rd .pp-order .pp-submit-row > div { padding: 0; }
body.pp-rd .pp-order #divOrderRcaptcha { margin: 12px auto 0; display: flex; justify-content: center; }
body.pp-rd .pp-order .pp-alerts-row { height: auto !important; margin: 0 28px !important; }

/* ── steps: 1 = route + price, 2 = details (+ the real submit) ── */
.pp-order[data-step="1"] .pp-step2 { display: none !important; }
.pp-order[data-step="2"] .pp-step1-only { display: none !important; }
.pp-order[data-step="2"] .pp-back { display: block; }

/* step 2: sender / receiver details open, headed like sections */
.pp-order[data-step="2"] #rowFrom,
.pp-order[data-step="2"] #rowTo { pointer-events: none; }
.pp-order[data-step="2"] #lblFrom,
.pp-order[data-step="2"] #lblTo { color: var(--pp-char) !important; font-family: var(--pp-font-h); font-size: 19px; }
.pp-summary { margin: 16px 28px 0; border-radius: 18px !important; background: #F4F4F4; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14.5px; }
.pp-summary b { font-family: var(--pp-font-h); font-size: 24px; font-weight: 400; }

/* the permanent-routes list (couriers' names + photos) stays out of sight: only the count is shown */
body.pp-rd #lstcouriers { display: none !important; }

/* ───────────── freight fields (freight.js) in the new look ───────────── */
body.pp-rd .pp-ff-fields .order_form_row { padding-top: 0 !important; border-bottom: 1px solid var(--pp-line); }
body.pp-rd .pp-ff-help { padding: 8px 28px 10px; font-size: 13px; color: var(--pp-muted); }
body.pp-rd .pp-ff-help b { color: var(--pp-ink); font-weight: 600; }

/* ───────────── mobile ───────────── */
@media (max-width: 991px) {
    #promo-block.pp-hero { min-height: 0; }
    .pp-hero__bg { background-image: url('../frontend/onepage/img/PP-Image-Fold_Mobile.jpg'); background-position: 62% 30%; }
    .pp-hero__shade { background: linear-gradient(180deg, rgba(16, 16, 16, 0.86) 0%, rgba(16, 16, 16, 0.70) 45%, rgba(16, 16, 16, 0.55) 100%); }
    .pp-hero__in { min-height: 0; padding: 22px 16px 30px; flex-direction: column-reverse; align-items: stretch; gap: 18px; }
    .pp-slogan { width: auto; }
    .pp-slogan h1 { font-size: 46px; }
    .pp-slogan__sub { font-size: 21px; margin-top: 10px; }
    .pp-slogan__text { font-size: 16px; margin-top: 8px; }
    .pp-checks { display: none; }
    body.pp-rd .pp-order { width: 100%; }
    body.pp-rd .pp-order .order-form-container { border-radius: 24px !important; }
    .pp-hero.has-route .pp-slogan { display: none; }
    .pp-map { display: none; }
    .pp-map-inline { position: relative; height: 210px; background: #34373B; }
    .pp-stepper { padding: 12px 18px 4px; }
    .pp-seg { padding: 12px 18px; }
    .pp-price, .pp-hint { margin-left: 18px; margin-right: 18px; }
    .pp-cta, body.pp-rd .pp-order #btnSubmit.rounded-btn-order { width: calc(100% - 36px); margin-left: 18px; margin-right: 18px; height: 58px; font-size: 21px; }
    .pp-price__amount { font-size: 44px; }
}

@media (min-width: 992px) {
    .pp-map-inline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pp-map, .pp-hero__bg, .pp-slogan, .pp-cta { transition: none !important; }
}

/* ───────────── round 2 (28/09): step 2 fields, floating labels, switch ───────────── */

/* floating labels: the label sits small above the value once there is a value */
body.pp-rd .pp-order .floating-placeholder { position: relative; }
body.pp-rd .pp-order .floating-placeholder label {
    position: absolute;
    top: 20px;
    right: 66px;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--pp-muted);
    pointer-events: none;
    transform: none !important;
    transition: top 150ms ease, font-size 150ms ease;
}
body.pp-rd .pp-order .floating-placeholder.floating-placeholder-float label,
body.pp-rd .pp-order .floating-placeholder input:focus + label,
body.pp-rd .pp-order .floating-placeholder input:focus ~ label,
body.pp-rd .pp-order .floating-placeholder textarea:focus ~ label {
    top: 7px;
    font-size: 12.5px;
    transform: none !important;
}
body.pp-rd .pp-addr-row .order_form_inpput { padding-top: 20px !important; }
body.pp-rd .pp-order .order_form_inpput:focus { outline: none; background: #F7FFFF !important; }
body.pp-rd .pp-addr-row .order_form_col:focus-within { box-shadow: inset 0 0 0 2px var(--pp-ink); }

/* no stray borders from the old theme / the validator on the card's inputs */
body.pp-rd .pp-order .form-control,
body.pp-rd .pp-order .has-success .form-control,
body.pp-rd .pp-order .has-error .form-control { border: 0 !important; box-shadow: none !important; }
body.pp-rd .pp-order .has-error { border: 0 !important; }

/* step 2: sender + receiver open, as two groups of rounded fields */
.pp-order[data-step="2"] #rowFrom,
.pp-order[data-step="2"] #rowTo { display: none !important; }
.pp-order[data-step="2"] #rowFrom1,
.pp-order[data-step="2"] #rowFrom2,
.pp-order[data-step="2"] #rowFrom3,
.pp-order[data-step="2"] #rowTo1,
.pp-order[data-step="2"] #rowTo2 { display: flex !important; flex-wrap: wrap; gap: 10px; margin: 0 28px 10px !important; padding: 0 !important; }
.pp-order[data-step="2"] #rowFrom1 > div,
.pp-order[data-step="2"] #rowFrom2 > div,
.pp-order[data-step="2"] #rowFrom3 > div,
.pp-order[data-step="2"] #rowTo1 > div,
.pp-order[data-step="2"] #rowTo2 > div { float: none; width: auto !important; flex: 1 1 0; min-width: 0; padding: 0; background: transparent !important; }
.pp-order[data-step="2"] #rowFrom1 > div:first-child,
.pp-order[data-step="2"] #rowTo1 > div:first-child { flex: 1.3 1 0; }

body.pp-rd .pp-order[data-step="2"] #rowFrom1 .order_form_inpput,
body.pp-rd .pp-order[data-step="2"] #rowFrom2 .order_form_inpput,
body.pp-rd .pp-order[data-step="2"] #rowFrom3 .order_form_inpput,
body.pp-rd .pp-order[data-step="2"] #rowTo1 .order_form_inpput,
body.pp-rd .pp-order[data-step="2"] #rowTo2 .order_form_inpput,
body.pp-rd .pp-order[data-step="2"] #txtMessageForCurrier {
    height: 54px;
    padding: 20px 16px 0 !important;
    border: 1.5px solid #CFCFCF !important;
    border-radius: 18px !important;
    background: #FFFFFF !important;
    font-size: 16px;
}
body.pp-rd .pp-order[data-step="2"] #txtMessageForCurrier { height: 84px; padding-top: 26px !important; resize: none; }
body.pp-rd .pp-order[data-step="2"] .order_form_inpput:focus,
body.pp-rd .pp-order[data-step="2"] #txtMessageForCurrier:focus { border-color: var(--pp-ink) !important; background: #FFFFFF !important; }
body.pp-rd .pp-order[data-step="2"] #rowFrom1 label,
body.pp-rd .pp-order[data-step="2"] #rowFrom2 label,
body.pp-rd .pp-order[data-step="2"] #rowFrom3 label,
body.pp-rd .pp-order[data-step="2"] #rowTo1 label,
body.pp-rd .pp-order[data-step="2"] #rowTo2 label,
body.pp-rd .pp-order[data-step="2"] .pp-notes label { right: 17px; top: 16px; font-size: 15px; }
body.pp-rd .pp-order[data-step="2"] .floating-placeholder.floating-placeholder-float label,
body.pp-rd .pp-order[data-step="2"] .floating-placeholder input:focus + label,
body.pp-rd .pp-order[data-step="2"] .floating-placeholder input:focus ~ label,
body.pp-rd .pp-order[data-step="2"] .pp-notes textarea:focus ~ label { top: 6px; font-size: 12px; }
body.pp-rd .pp-order[data-step="2"] #rowFrom1 img.icon,
body.pp-rd .pp-order[data-step="2"] #rowTo1 img.icon,
body.pp-rd .pp-order[data-step="2"] .pp-notes img.icon { display: none; }
body.pp-rd .pp-order .pp-notes { margin: 6px 28px 0; }

.pp-person-head { margin: 16px 28px 10px; padding-top: 14px; border-top: 1px solid var(--pp-line); font-family: var(--pp-font-h); font-size: 19px; color: var(--pp-char); }
.pp-person-head:first-of-type { border-top: 0; padding-top: 0; }
.pp-person-head small { font-family: var(--pp-font); font-size: 13px; color: var(--pp-muted); }

/* round trip switch */
.pp-switch { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 28px; border-bottom: 1px solid var(--pp-line); font-size: 15px; font-weight: 600; cursor: pointer; }
.pp-switch small { font-weight: 400; color: var(--pp-muted); }
.pp-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pp-switch__track { position: relative; width: 44px; height: 26px; flex-shrink: 0; border-radius: 13px !important; background: #CFCFCF; transition: background-color 150ms; }
.pp-switch__track::after { content: ''; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50% !important; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: right 150ms; }
.pp-switch input:checked + .pp-switch__track { background: var(--pp-char); }
.pp-switch input:checked + .pp-switch__track::after { right: 21px; background: var(--pp-cyan); }
.pp-switch input:focus-visible + .pp-switch__track { outline: 3px solid var(--pp-ink); outline-offset: 2px; }

/* the summary strip at the top of step 2 */
.pp-summary > span { line-height: 1.45; }
.pp-summary > span small { color: var(--pp-muted); font-size: 13px; }
.pp-summary .pp-back { display: inline-block; margin: 0; }

/* the tick for an address picked from the list sits next to the floor box */
.pp-addr-row .pp-ok { left: 92px; }

@media (max-width: 991px) {
    .pp-order[data-step="2"] #rowFrom1,
    .pp-order[data-step="2"] #rowFrom2,
    .pp-order[data-step="2"] #rowFrom3,
    .pp-order[data-step="2"] #rowTo1,
    .pp-order[data-step="2"] #rowTo2 { margin: 0 18px 10px !important; }
    .pp-person-head, body.pp-rd .pp-order .pp-notes { margin-left: 18px; margin-right: 18px; }
    .pp-switch { padding: 12px 18px; }
}

/* ───────────── round 3 (28/09): moving / heavy tabs, app bar ───────────── */

/* the card is shown at once (home.js slides it down after a second) */
body.pp-rd #OrdersCtrl { display: block !important; }

/* delivery-only controls are out of the freight tabs (freight.js hides the selects they drive). The select rows
   themselves are left to freight.js: it notes whether a row was shown before hiding it and brings it back so -
   hidden here first, it noted "hidden" and a row came back hidden on the return to "שליחויות" */
body.pp-ff-on .pp-delivery-only:not(.pp-select-hidden) { display: none !important; }

/* vehicle tiles (moving) */
.pp-tiles { padding: 12px 28px 14px; border-bottom: 1px solid var(--pp-line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pp-tiles__head { grid-column: 1 / -1; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.pp-tile {
    position: relative;
    height: 66px;
    padding: 0 4px;
    border: 1.5px solid #D5D5D5;
    border-radius: 16px !important;
    background: #FFFFFF;
    color: var(--pp-ink);
    font-family: var(--pp-font);
    font-size: 12.5px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
}
.pp-tile span { white-space: nowrap; }
.pp-tile[aria-pressed="true"] { background: var(--pp-char); border-color: var(--pp-char); color: #FFFFFF; }
.pp-tile[aria-pressed="true"] svg { stroke: var(--pp-cyan); }
.pp-tile[aria-pressed="true"]::after {
    content: '';
    position: absolute;
    top: -7px;
    left: -7px;
    width: 22px;
    height: 22px;
    border-radius: 50% !important;
    border: 2px solid #FFFFFF;
    background: var(--pp-cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pp-ff-vehicle-row.pp-select-hidden { display: none !important; }

/* heavy logistics: the vehicle list stays a select, in a rounded box */
body.pp-rd .pp-ff-fields .order_form_row { border-bottom: 1px solid var(--pp-line); }
body.pp-rd .pp-ff-fields .order_form_col { padding: 10px 28px !important; }
body.pp-rd .pp-ff-fields .bootstrap-select > .dropdown-toggle,
body.pp-rd .pp-ff-fields #ffDate {
    height: 50px !important;
    padding: 0 16px !important;
    border: 1.5px solid #CFCFCF !important;
    border-radius: 25px !important;
    background: #FFFFFF !important;
    font-family: var(--pp-font);
    font-size: 15.5px;
    color: var(--pp-ink);
    box-shadow: none !important;
}
body.pp-rd .pp-ff-fields img.icon { display: none; }
body.pp-rd .pp-ff-fields .pp-ff-hours .order_form_col:first-child { border-left: 0; }
body.pp-rd .pp-ff-fields .pp-ff-hours { display: flex !important; }
body.pp-rd .pp-ff-fields .pp-ff-hours .order_form_col { flex: 1 1 0; width: auto !important; float: none; }
body.pp-rd .pp-ff-fields .pp-ff-hours .order_form_col:first-child { padding-left: 4px !important; }
body.pp-rd .pp-ff-fields .pp-ff-hours .order_form_col:last-child { padding-right: 4px !important; }

/* the price the customer offers: the dark panel of the design */
body.pp-rd .pp-ff-fields .pp-ff-offer { margin: 12px 28px 0; border: 0; border-radius: 22px !important; background: var(--pp-char); padding: 14px 18px 8px; }
body.pp-rd .pp-ff-offer .order_form_col { padding: 0 !important; }
body.pp-rd .pp-ff-offer #ffPrice {
    height: 64px;
    padding: 22px 16px 0 !important;
    border: 1.5px solid var(--pp-cyan) !important;
    border-radius: 18px !important;
    background: #3A3A3A !important;
    color: var(--pp-cyan);
    font-family: var(--pp-font-h);
    font-size: 30px;
    text-align: left;
}
body.pp-rd .pp-ff-offer label { right: 16px !important; top: 9px !important; font-size: 13px !important; color: #D6D6D6 !important; }
body.pp-rd .pp-ff-offer .pp-ff-help { padding: 8px 2px 4px !important; color: #D6D6D6; font-size: 13px; }
body.pp-rd .pp-ff-offer .pp-ff-help b { color: var(--pp-cyan); }

/* the small app bar that replaces the full-screen "download the app" box on Android */
.pp-appbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 10px 16px;
    border-radius: 18px !important;
    background: var(--pp-char);
    color: #FFFFFF;
    font-size: 14.5px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    direction: rtl;
}
.pp-appbar span { flex: 1; }
.pp-appbar a { padding: 8px 14px; border-radius: 16px !important; background: var(--pp-cyan); color: var(--pp-ink); font-weight: 700; text-decoration: none; }
.pp-appbar button { width: 36px; height: 36px; border: 0; background: transparent; color: #FFFFFF; font-size: 22px; cursor: pointer; }

@media (max-width: 991px) {
    .pp-tiles { padding: 12px 18px 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.pp-rd .pp-ff-fields .order_form_col { padding: 10px 18px !important; }
    body.pp-rd .pp-ff-fields .pp-ff-offer { margin: 12px 18px 0; }
}

/* the "from the list" tick sits over the end of the address: keep the text clear of it */
body.pp-rd .pp-addr-row .order_form_col:first-child .order_form_inpput { padding-left: 46px !important; text-overflow: ellipsis; }
.pp-summary b { white-space: nowrap; }
@media (max-width: 991px) {
    .pp-order[data-step="2"] #rowFrom2 > div,
    .pp-order[data-step="2"] #rowFrom1 > div { flex: 1 1 100%; }
}

/* ═════════════ content sections (redesign 28/09) ═════════════ */
body.pp-rd :where(section[class^="pp-"]) h2 { font-family: var(--pp-font-h); font-weight: 400; color: var(--pp-char); margin: 0; }
body.pp-rd :where(section[class^="pp-"]) p { margin: 0; }
.pp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 27px !important; font-family: var(--pp-font-h); font-size: 18px; text-decoration: none !important; cursor: pointer; border: 2px solid transparent; transition: background-color 150ms, color 150ms; }
.pp-btn--dark { background: var(--pp-char); color: #FFFFFF !important; }
.pp-btn--dark:hover { background: #000000; }
.pp-btn--cyan { background: var(--pp-cyan); color: var(--pp-ink) !important; }
.pp-btn--cyan:hover { background: #04E9EC; }
.pp-btn--line { border-color: var(--pp-char); color: var(--pp-char) !important; background: transparent; }
.pp-btn--line:hover { background: var(--pp-char); color: #FFFFFF !important; }
.pp-btn--ghost { border-color: #FFFFFF; color: #FFFFFF !important; background: transparent; }
.pp-btn--ink { background: var(--pp-ink); color: #FFFFFF !important; }
.pp-pill { align-self: flex-start; display: inline-block; padding: 5px 14px; border-radius: 999px !important; background: var(--pp-soft); font-size: 15px; font-weight: 600; color: var(--pp-ink); }
.pp-pill--cyan { background: var(--pp-cyan); }
.pp-round { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50% !important; background: var(--pp-cyan); display: flex; align-items: center; justify-content: center; }
.pp-num { width: 68px; height: 68px; border-radius: 50% !important; background: var(--pp-char); color: var(--pp-cyan); font-family: var(--pp-font-h); font-size: 30px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px #EFEEEE; }

/* clients */
/* client logos: all white and of one visual size (img/clients, 360x144 each), the whole list at once on the
   charcoal band */
.pp-clients { background: var(--pp-char); border-top: 1px solid rgba(255, 255, 255, .08); padding: 44px max(24px, calc((100% - 1200px) / 2)); display: flex; align-items: center; gap: 48px; direction: rtl; }
.pp-clients__title { flex-shrink: 0; margin: 0; white-space: nowrap; font-family: var(--pp-font-h); font-size: 22px; line-height: 1.35; color: #FFFFFF; }
.pp-clients__logos { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 36px; }
.pp-clients__logos img { display: block; flex: none; width: 175px; height: 70px; object-fit: contain; }
@media (max-width: 1199px) {
    .pp-clients__logos { gap: 16px 28px; }
    .pp-clients__logos img { width: 150px; height: 60px; }
}
/* phones: three to a row (two classes, so the mobile block further down does not undo it) */
@media (max-width: 600px) {
    .pp-clients .pp-clients__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
    .pp-clients .pp-clients__logos img { width: 100%; height: 44px; }
}

/* why */
.pp-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); direction: rtl; }
.pp-why__intro { background: var(--pp-soft); padding: 88px max(24px, calc((100vw - 1200px) / 2)) 96px 60px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
body.pp-rd .pp-why h2 { font-size: 54px; line-height: 1.15; }
.pp-why__intro p { max-width: 520px; font-size: 19px; line-height: 1.75; color: #2E3A3A; }
.pp-why__grid { background: #FFFFFF; padding: 84px 80px 84px max(24px, calc((100vw - 1200px) / 2)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-content: center; }
.pp-why__item { display: flex; gap: 16px; align-items: flex-start; }
.pp-why__item h3 { margin: 4px 0 0; font-family: var(--pp-font-h); font-size: 21px; font-weight: 400; color: var(--pp-char); }
.pp-why__item p { margin-top: 6px !important; font-size: 15.5px; line-height: 1.6; color: #555555; }

/* how */
.pp-how { background: #EFEEEE; padding: 92px max(24px, calc((100% - 1200px) / 2)) 100px; direction: rtl; }
body.pp-rd .pp-how h2 { font-size: 54px; }
.pp-how__steps { position: relative; list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: center; }
.pp-how__steps::before { content: ""; position: absolute; top: 34px; right: 16%; left: 16%; border-top: 3px dotted #00C9C6; }
.pp-how__steps li { position: relative; display: flex; flex-direction: column; align-items: center; }
.pp-how__steps h3 { margin: 24px 0 0; font-family: var(--pp-font-h); font-size: 26px; font-weight: 400; color: var(--pp-char); }
.pp-how__steps p { margin-top: 10px !important; max-width: 320px; font-size: 17px; line-height: 1.65; color: #444444; }

/* speed */
.pp-speed { background: #FFFFFF; padding: 96px max(24px, calc((100% - 1200px) / 2)); direction: rtl; }
.pp-speed__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
body.pp-rd .pp-speed h2 { font-size: 54px; }
.pp-speed__head p { max-width: 420px; font-size: 18px; line-height: 1.6; color: #444444; }
.pp-speed__cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pp-speed__card { border: 1.5px solid #E2E2E2; border-top: 6px solid var(--pp-cyan); border-radius: 26px !important; padding: 34px; display: flex; flex-direction: column; gap: 20px; background: #FFFFFF; }
.pp-speed__card.is-dark { border: 0; background: var(--pp-char); color: #FFFFFF; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18); }
.pp-speed__card.is-dark .pp-pill { background: var(--pp-cyan); }
.pp-speed__time { font-family: var(--pp-font-h); font-size: 46px; line-height: 1.1; color: var(--pp-char); }
.pp-speed__card.is-dark .pp-speed__time { color: var(--pp-cyan); }
.pp-speed__card ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid #EDEDED; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.pp-speed__card.is-dark ul { border-top-color: #444444; }
.pp-speed__card li { display: flex; align-items: center; gap: 10px; }
.pp-speed__card li svg { width: 20px; height: 20px; }
.pp-speed__card .pp-btn { margin-top: auto; }
.pp-speed__more { margin-top: 28px; border-radius: 22px !important; background: #EFEEEE; padding: 24px 32px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; align-items: center; }
.pp-speed__more strong { font-family: var(--pp-font-h); font-size: 22px; font-weight: 400; color: var(--pp-char); }
.pp-speed__more div { display: flex; align-items: center; gap: 12px; font-size: 15.5px; line-height: 1.4; }
.pp-speed__more svg { width: 30px; height: 30px; flex-shrink: 0; }
.pp-speed__more span { display: flex; flex-direction: column; color: #444444; }
.pp-speed__more b { color: var(--pp-ink); }

/* freight band */
.pp-freight { background: var(--pp-char); padding: 92px max(24px, calc((100% - 1200px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 64px; direction: rtl; }
.pp-freight__text { width: 560px; display: flex; flex-direction: column; align-items: flex-start; }
body.pp-rd .pp-freight h2 { margin-top: 18px; font-size: 54px; line-height: 1.15; color: #FFFFFF; }
.pp-freight h2 span { color: var(--pp-cyan); }
.pp-freight__text > p { margin-top: 18px !important; font-size: 19px; line-height: 1.7; color: #E6E6E6; }
.pp-freight__ctas { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.pp-freight__note { margin-top: 20px !important; display: flex; align-items: center; gap: 8px; font-size: 15px; color: #BDBDBD; }
.pp-freight__note svg { width: 16px; height: 16px; }
.pp-freight__grid { width: 580px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pp-freight__veh { height: 118px; border-radius: 20px !important; background: #3A3A3A; border: 1px solid #4A4A4A; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #FFFFFF; font-size: 14.5px; text-align: center; padding: 0 4px; }
.pp-freight__veh.is-more { background: transparent; border: 1.5px dashed var(--pp-cyan); font-size: 14px; line-height: 1.35; padding: 0 8px; }
.pp-freight__veh.is-more strong { font-family: var(--pp-font-h); font-size: 26px; font-weight: 400; color: var(--pp-cyan); }

/* audience tiles */
.pp-audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); direction: rtl; }
.pp-aud { position: relative; overflow: hidden; min-height: 440px; box-sizing: border-box; padding: 76px 120px 76px 240px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pp-aud--white { background: #FFFFFF; }
.pp-aud--mint { background: #CAEEEE; }
.pp-aud--grey { background: #EFEEEE; }
.pp-aud:nth-child(2), .pp-aud:nth-child(4) { padding: 76px 72px 76px 280px; }
.pp-aud__icon { position: absolute; left: -40px; top: 90px; width: 280px; height: auto; opacity: 0.95; }
body.pp-rd .pp-aud h2 { position: relative; font-size: 44px; }
.pp-aud p { position: relative; max-width: 420px; font-size: 18px; line-height: 1.7; color: #333333; }
.pp-aud .pp-btn { position: relative; margin-top: 10px; }

/* apps */
.pp-apps { position: relative; overflow: hidden; background: #1C1C1C url("../frontend/onepage/img/PP-Image-Fold_Mobile.jpg") center / cover no-repeat; direction: rtl; }
.pp-apps::before { content: ""; position: absolute; inset: 0; background: rgba(18, 18, 18, 0.8); }
.pp-apps__in { position: relative; padding: 80px max(24px, calc((100% - 1200px) / 2)) 88px; }
body.pp-rd .pp-apps h2 { font-size: 54px; color: #FFFFFF; }
.pp-apps__cols { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.pp-apps h3 { margin: 0; font-family: var(--pp-font-h); font-size: 30px; font-weight: 400; color: var(--pp-cyan); }
.pp-apps p { margin-top: 10px !important; font-size: 18px; line-height: 1.6; color: #E6E6E6; }
.pp-stores { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.pp-stores img { display: block; height: 56px; width: auto; }

/* join */
.pp-join { background: var(--pp-lime); padding: 84px max(24px, calc((100% - 1200px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 60px; direction: rtl; }
.pp-join__text { width: 640px; }
body.pp-rd .pp-join h2 { font-size: 58px; color: var(--pp-ink); }
.pp-join__text p { margin-top: 20px !important; font-size: 21px; line-height: 1.65; color: var(--pp-ink); }
.pp-join__ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.pp-join__img { display: block; width: 470px; max-width: 40%; height: auto; }

/* faq */
.pp-faq { background: #FFFFFF; padding: 96px max(24px, calc((100% - 1200px) / 2)); display: flex; justify-content: space-between; align-items: flex-start; gap: 80px; direction: rtl; }
.pp-faq__head { width: 380px; flex-shrink: 0; }
body.pp-rd .pp-faq h2 { font-size: 54px; }
.pp-faq__head p { margin-top: 16px !important; font-size: 18px; color: #444444; }
.pp-faq__head a { color: #006F6D; font-weight: 700; }
.pp-faq__list { flex: 1; display: flex; flex-direction: column; }
.pp-faq details { border-bottom: 1px solid var(--pp-line); padding: 22px 4px; }
.pp-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--pp-font-h); font-size: 21px; color: var(--pp-char); }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50% !important; background: #EFEEEE; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.pp-faq details[open] summary::after { content: "\2212"; background: var(--pp-cyan); }
.pp-faq details p { margin-top: 12px !important; font-size: 17px; line-height: 1.7; color: #444444; }

/* the kept blocks: tracking, contact, footer (css only, markup untouched) */
body.pp-rd #TrackingNumber { background: #00FCFF !important; min-height: 0 !important; padding: 64px 24px 72px; margin: 0; }
body.pp-rd #TrackingNumber .titel1 { font-family: var(--pp-font-h); font-size: 52px; color: var(--pp-ink); margin-bottom: 12px !important; }
body.pp-rd #TrackingNumber p { font-size: 19px; color: var(--pp-ink); }
body.pp-rd #TrackingNumber .padding-left-right-75 { padding-top: 0 !important; }
body.pp-rd #txtTrackNumber { width: 420px; max-width: 100%; height: 60px; box-sizing: border-box; padding: 0 24px; border: 2px solid var(--pp-ink); border-radius: 30px !important; background: #FFFFFF; font-size: 18px; color: var(--pp-ink); }
body.pp-rd #btnSubmitTrackNumber { height: 60px; padding: 0 38px; border: 0; border-radius: 30px !important; background: var(--pp-ink); color: #FFFFFF; font-family: var(--pp-font-h); font-size: 20px; }
body.pp-rd #ContactForm { background: #EFEEEE; }
body.pp-rd #ContactForm .item { background: transparent !important; }
body.pp-rd #ContactForm .titel1 { font-family: var(--pp-font-h); font-size: 50px; color: var(--pp-char); }
body.pp-rd #frmContact .form-control { height: 54px; border: 1.5px solid #CFCFCF !important; border-radius: 27px !important; background: #FFFFFF; padding: 0 20px; font-size: 16px; }
body.pp-rd #frmContact textarea.form-control { height: 96px; border-radius: 20px !important; padding-top: 12px; }
body.pp-rd #btnSubmitContact { height: 54px; width: auto !important; padding: 0 34px; border: 0 !important; border-radius: 27px !important; background: var(--pp-char) !important; color: #FFFFFF !important; font-family: var(--pp-font-h); font-size: 18px; }

/* mobile */
@media (max-width: 991px) {
    .pp-clients { flex-direction: column; align-items: stretch; gap: 20px; padding: 28px 16px 30px; }
    .pp-clients__title { font-size: 20px; text-align: center; }
    .pp-clients__logos img { width: 130px; height: 52px; }
    .pp-why { grid-template-columns: 1fr; }
    .pp-why__intro { padding: 40px 20px 36px; gap: 16px; }
    body.pp-rd .pp-why h2, body.pp-rd .pp-how h2, body.pp-rd .pp-speed h2, body.pp-rd .pp-freight h2, body.pp-rd .pp-apps h2, body.pp-rd .pp-faq h2 { font-size: 32px; }
    .pp-why__intro p { font-size: 16px; }
    .pp-why__grid { grid-template-columns: 1fr; padding: 32px 20px; gap: 22px; }
    .pp-how { padding: 40px 20px; }
    .pp-how__steps { grid-template-columns: 1fr; gap: 26px; text-align: right; margin-top: 26px; }
    .pp-how__steps::before { display: none; }
    .pp-how__steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; }
    .pp-how__steps .pp-num { width: 44px; height: 44px; font-size: 20px; grid-row: span 2; box-shadow: none; }
    .pp-how__steps h3 { margin: 4px 0 0; font-size: 21px; }
    .pp-how__steps p { margin-top: 4px !important; font-size: 15.5px; }
    .pp-speed { padding: 40px 20px; }
    .pp-speed__head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .pp-speed__head p { font-size: 16px; }
    .pp-speed__cards { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
    .pp-speed__card { padding: 22px; gap: 14px; }
    .pp-speed__time { font-size: 34px; }
    .pp-speed__more { grid-template-columns: 1fr 1fr; padding: 18px; }
    .pp-speed__more strong { grid-column: 1 / -1; font-size: 19px; }
    .pp-freight { flex-direction: column; align-items: stretch; gap: 22px; padding: 40px 20px; }
    .pp-freight__text, .pp-freight__grid { width: auto; }
    .pp-freight__text > p { font-size: 16px; }
    .pp-freight__grid { gap: 8px; }
    .pp-freight__veh { height: 84px; font-size: 12px; border-radius: 16px !important; }
    .pp-freight__veh svg { width: 32px; height: 32px; }
    .pp-freight__ctas .pp-btn { flex: 1 1 100%; }
    .pp-audience { grid-template-columns: 1fr; }
    /* one column: the two mint tiles would meet - the third one is white here */
    .pp-aud:nth-child(3) { background: #FFFFFF; }
    .pp-aud, .pp-aud:nth-child(2), .pp-aud:nth-child(4) { min-height: 0; padding: 28px 20px 28px 110px; gap: 10px; }
    .pp-aud__icon { width: 110px; left: -12px; top: auto; bottom: -10px; }
    body.pp-rd .pp-aud h2 { font-size: 26px; }
    .pp-aud p { font-size: 15px; }
    .pp-aud .pp-btn { height: 46px; font-size: 16px; padding: 0 18px; }
    .pp-apps__in { padding: 40px 20px; }
    .pp-apps__cols { grid-template-columns: 1fr; gap: 26px; margin-top: 20px; }
    .pp-apps h3 { font-size: 24px; }
    .pp-stores img { height: 48px; }
    .pp-join { flex-direction: column; align-items: stretch; gap: 12px; padding: 36px 20px 30px; }
    .pp-join__text { width: auto; }
    body.pp-rd .pp-join h2 { font-size: 34px; }
    .pp-join__text p { font-size: 16px; }
    .pp-join__ctas .pp-btn { flex: 1 1 0; height: 52px; font-size: 16px; padding: 0 12px; }
    .pp-join__img { width: 250px; max-width: 70%; margin: 0 auto; }
    .pp-faq { flex-direction: column; gap: 16px; padding: 40px 20px; }
    .pp-faq__head { width: auto; }
    .pp-faq summary { font-size: 18px; }
    .pp-faq details p { font-size: 15.5px; }
    body.pp-rd #TrackingNumber .titel1 { font-size: 34px; }
    body.pp-rd #btnSubmitTrackNumber { margin: 12px 0 0 !important; width: 100% !important; }
}

/* ═════════════ dialogs (round 4, 29/09): alerts, "please wait", the freight job page, tracking ═════════════ */
/* the code that opens them is unchanged; pp-redesign.js only adds classes (and the tracking summary card) */

/* ── SweetAlert: the site's alerts ── */
body.pp-rd .sweet-overlay { background-color: rgba(30, 30, 30, 0.55) !important; }
body.pp-rd .sweet-alert {
    padding-top: 30px !important;
    padding-bottom: 26px !important;
    border-radius: 26px !important;
    background-color: #FFFFFF !important;
    font-family: var(--pp-font);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
/* the boxes themselves take focus when they open (tabindex -1): no ring around the whole box */
body.pp-rd .sweet-alert:focus,
body.pp-rd .modal:focus,
body.pp-rd .modal-scrollable:focus { outline: none; }
body.pp-rd .sweet-alert h2 { margin: 4px 16px 8px; font-family: var(--pp-font-h); font-size: 26px; font-weight: 400; line-height: 1.3; color: var(--pp-ink); }
body.pp-rd .sweet-alert p { margin: 0 16px; font-size: 16px; font-weight: 400; line-height: 1.6; color: var(--pp-muted); }
body.pp-rd .sweet-alert .sa-button-container { display: flex; flex-direction: row-reverse; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
body.pp-rd .sweet-alert button {
    height: 50px;
    margin: 0 !important;
    padding: 0 30px !important;
    border: 0;
    border-radius: 25px !important;
    font-family: var(--pp-font-h);
    font-size: 18px !important;
    font-weight: 400;
    box-shadow: none !important;
    transition: background-color .15s ease, color .15s ease;
}
body.pp-rd .sweet-alert button.confirm { background-color: var(--pp-cyan) !important; color: var(--pp-ink) !important; }
body.pp-rd .sweet-alert button.confirm:hover { background-color: #00E6E3 !important; }
body.pp-rd .sweet-alert button.cancel { background-color: transparent !important; border: 1.5px solid var(--pp-char); color: var(--pp-char) !important; }
body.pp-rd .sweet-alert button.cancel:hover { background-color: var(--pp-char) !important; color: #FFFFFF !important; }
body.pp-rd .sweet-alert button:focus-visible { outline: 3px solid var(--pp-ink); outline-offset: 2px; }
/* a success / a failure gets its sign above the title (the calls pass no type, so SweetAlert shows none) */
body.pp-rd .sweet-alert.pp-sa-ok h2::before,
body.pp-rd .sweet-alert.pp-sa-err h2::before {
    content: '';
    display: block;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 50% !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 38px 38px;
}
body.pp-rd .sweet-alert.pp-sa-ok h2::before {
    background-color: var(--pp-cyan);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    animation: pp-pop .35s cubic-bezier(.2, .9, .3, 1.3) both;
}
body.pp-rd .sweet-alert.pp-sa-err h2::before {
    background-color: #FDECEA;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3261E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 16.5h.01'/%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3C/svg%3E");
}
@keyframes pp-pop { from { transform: scale(.55); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pp-spin { to { transform: rotate(360deg); } }
@keyframes pp-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 179, 176, .45); } 70% { box-shadow: 0 0 0 10px rgba(0, 179, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 179, 176, 0); } }
@keyframes pp-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ── "please wait" (the site shows it around every server call) ── */
body.pp-rd #pleaseWaitDialog,
body.pp-rd #pleaseWaitDialog2 { border: 0; border-radius: 24px !important; overflow: hidden; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
body.pp-rd #pleaseWaitDialog .modal-header,
body.pp-rd #pleaseWaitDialog2 .modal-header { padding: 28px 20px 0; border: 0; background: #FFFFFF; }
body.pp-rd #pleaseWaitDialog h1 { margin: 0; font-family: var(--pp-font-h); font-size: 21px; color: var(--pp-ink); }
body.pp-rd #pleaseWaitDialog2 font { font-family: var(--pp-font-h); font-size: 21px; color: var(--pp-ink); }
body.pp-rd #pleaseWaitDialog .modal-body,
body.pp-rd #pleaseWaitDialog2 .modal-body { padding: 18px 20px 30px; }
body.pp-rd #pleaseWaitDialog .modal-body img,
body.pp-rd #pleaseWaitDialog2 .modal-body img { display: none; }
body.pp-rd #pleaseWaitDialog .modal-body::before,
body.pp-rd #pleaseWaitDialog2 .modal-body::before {
    content: '';
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 50% !important;
    border: 4px solid var(--pp-grey);
    border-top-color: var(--pp-cyan);
    border-left-color: var(--pp-char);
    animation: pp-spin .8s linear infinite;
}
@media (min-width: 768px) {
    body.pp-rd #pleaseWaitDialog,
    body.pp-rd #pleaseWaitDialog2 { width: 320px !important; margin-left: -160px !important; }
}

/* ── the freight job page (#freight=<token>, freight.js) ── */
body.pp-rd #ppFreightModal { border-radius: 26px !important; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); font-family: var(--pp-font); }
body.pp-rd #ppFreightModal .modal-header { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border: 0; background: var(--pp-char); }
body.pp-rd #ppFreightModal .modal-title { flex: 1 1 auto; min-width: 0; margin: 0; font-family: var(--pp-font-h); font-size: 22px; line-height: 1.35; color: #FFFFFF; }
body.pp-rd #ppFreightModal .modal-header .pp-ff-chip { padding: 3px 12px; border-radius: 12px !important; background: var(--pp-cyan); color: var(--pp-ink); font-family: var(--pp-font); font-size: 13px; font-weight: 600; vertical-align: 3px; }
body.pp-rd #ppFreightModal .modal-header .close,
body.pp-rd #NewOrdersCtrl .modal-header .close {
    order: 2;
    float: none;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
    color: transparent;
    font-size: 0;
    text-shadow: none;
    opacity: 1;
}
body.pp-rd #ppFreightModal .modal-header .close:hover,
body.pp-rd #NewOrdersCtrl .modal-header .close:hover { background-color: rgba(255, 255, 255, 0.24) !important; }
body.pp-rd #ppFreightModal .modal-body { padding: 20px 22px 24px; font-family: var(--pp-font); color: var(--pp-ink); }

/* status: a line of four steps (pp-redesign.js) over the status box */
.pp-track { display: flex; margin: 2px 0 18px; padding: 0; list-style: none; }
.pp-track__step { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.3; color: var(--pp-muted); text-align: center; }
.pp-track__step + .pp-track__step::before { content: ''; position: absolute; top: 11px; inset-inline-start: -50%; inset-inline-end: 50%; height: 2px; background: #DADADA; }
.pp-track__step.is-done::before,
.pp-track__step.is-on::before { background: var(--pp-char) !important; }
.pp-track__dot { position: relative; z-index: 1; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50% !important; border: 2px solid #CFCFCF; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.pp-track__step.is-done .pp-track__dot { border-color: var(--pp-char); background: var(--pp-char); }
.pp-track__step.is-on .pp-track__dot { border-color: var(--pp-ink); background: var(--pp-cyan); box-shadow: 0 0 0 5px rgba(0, 255, 252, 0.25); }
.pp-track__step.is-on .pp-track__label { color: var(--pp-ink); font-weight: 700; }

body.pp-rd .pp-ff-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 18px !important;
    background: var(--pp-tint);
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--pp-ink);
}
body.pp-rd .pp-ff-status::before { content: ''; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 50% !important; background: var(--pp-char) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300FFFC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px 13px no-repeat; }
body.pp-rd .pp-ff-status.searching::before { width: 14px; height: 14px; margin: 5px 5px 0; background: var(--pp-cyan-deep); animation: pp-pulse 1.6s ease-out infinite; }
body.pp-rd .pp-ff-status.expired,
body.pp-rd .pp-ff-status.canceled,
body.pp-rd .pp-ff-status.problem { background: #FDF1EC; }
body.pp-rd .pp-ff-status.expired::before,
body.pp-rd .pp-ff-status.canceled::before,
body.pp-rd .pp-ff-status.problem::before { background: #B3261E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6.5v7'/%3E%3Cpath d='M12 17.5h.01'/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
body.pp-rd .pp-ff-status.is-loading { min-height: 52px; color: transparent; background: linear-gradient(90deg, #F1F1F1 25%, #E4E4E4 37%, #F1F1F1 63%) 0 0 / 400% 100%; animation: pp-shimmer 1.3s ease infinite; }
body.pp-rd .pp-ff-status.is-loading::before { visibility: hidden; }

body.pp-rd .pp-ff-details { margin: 0 0 16px; font-size: 15px; }
body.pp-rd .pp-ff-details td { padding: 10px 0; border-bottom: 1px solid var(--pp-line); line-height: 1.45; }
body.pp-rd .pp-ff-details tr:last-child td { border-bottom: 0; }
body.pp-rd .pp-ff-details td:first-child { width: 32%; padding-left: 12px; color: var(--pp-muted); font-size: 13.5px; }
body.pp-rd #ppFreightModal.pp-ff-ltr .pp-ff-details td:first-child { padding-left: 0; padding-right: 12px; }

body.pp-rd .pp-ff-price-now {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
    padding: 14px 20px;
    border-radius: 20px !important;
    background: var(--pp-char);
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}
body.pp-rd .pp-ff-price-now b { font-family: var(--pp-font-h); font-size: 34px; font-weight: 400; line-height: 1; color: var(--pp-cyan); white-space: nowrap; }

body.pp-rd .pp-ff-section-title { margin: 20px 0 10px; font-family: var(--pp-font-h); font-size: 19px; color: var(--pp-char); }
body.pp-rd #ppFreightModal .pp-ff-help { font-size: 14.5px; line-height: 1.55; color: var(--pp-muted); }

body.pp-rd .pp-ff-bid { gap: 14px; padding: 14px 16px; margin-bottom: 10px; border: 1.5px solid #E2E2E2; border-radius: 20px !important; transition: border-color .15s ease; }
body.pp-rd .pp-ff-bid:hover { border-color: var(--pp-char); }
body.pp-rd .pp-ff-bid .pp-ff-bid-who { font-weight: 600; }
body.pp-rd .pp-ff-bid .pp-ff-bid-who small { margin-top: 2px; font-weight: 400; color: var(--pp-muted); }
body.pp-rd .pp-ff-bid .pp-ff-bid-price { font-family: var(--pp-font-h); font-size: 24px; }

body.pp-rd .pp-ff-btn { height: 46px !important; padding: 0 22px; border-radius: 23px !important; background: var(--pp-cyan); color: var(--pp-ink); font-family: var(--pp-font-h); font-size: 16px; transition: background-color .15s ease, transform .1s ease; }
body.pp-rd .pp-ff-btn:hover { background: #00E6E3; }
body.pp-rd .pp-ff-btn:active { transform: scale(.97); }
body.pp-rd .pp-ff-raise { gap: 10px; }
body.pp-rd .pp-ff-raise input { height: 50px; padding: 0 20px; border: 1.5px solid #CFCFCF; border-radius: 25px !important; font-family: var(--pp-font); font-size: 16px; color: var(--pp-ink); }
body.pp-rd .pp-ff-raise input:focus { border-color: var(--pp-ink); outline: none; }
body.pp-rd .pp-ff-raise .pp-ff-btn { height: 50px !important; border-radius: 25px !important; background: var(--pp-char); color: #FFFFFF; }
body.pp-rd .pp-ff-raise .pp-ff-btn:hover { background: var(--pp-ink); }
body.pp-rd .pp-ff-error { margin-top: 12px; padding: 10px 14px; border-radius: 14px !important; background: #FDF1EC; color: #B3261E; font-size: 14px; }

/* ── the tracking window (#NewOrdersCtrl): a summary card over the old read-only form ── */
body.pp-rd #NewOrdersCtrl { border: 0; border-radius: 26px !important; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); font-family: var(--pp-font); }
body.pp-rd #NewOrdersCtrl .modal-header { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border: 0; background: var(--pp-char) !important; }
body.pp-rd #NewOrdersCtrl .modal-header .order_form_title { flex: 1 1 auto; height: auto; margin: 0; padding: 0; background: none; font-family: var(--pp-font-h); font-size: 22px; line-height: 1.35; color: #FFFFFF; text-align: right; }
body.pp-rd #NewOrdersCtrl .modal-body { padding: 18px 22px 8px; }
body.pp-rd #NewOrdersCtrl .tabbable-custom { margin: 0; }
body.pp-rd #NewOrdersCtrl .tabbable-custom > .nav-tabs { display: flex; gap: 6px; margin: 0 0 18px; padding: 5px; border: 0; border-radius: 16px !important; background: var(--pp-grey); }
body.pp-rd #NewOrdersCtrl .tabbable-custom > .nav-tabs::before,
body.pp-rd #NewOrdersCtrl .tabbable-custom > .nav-tabs::after { display: none; }
body.pp-rd #NewOrdersCtrl .tabbable-custom > .nav-tabs > li { float: none; flex: 1 1 0; margin: 0; border: 0 !important; }
body.pp-rd #NewOrdersCtrl .tabbable-custom > .nav-tabs > li > a { margin: 0; padding: 10px 12px; border: 0 !important; border-radius: 12px !important; background: transparent; color: var(--pp-muted); font-weight: 600; text-align: center; }
body.pp-rd #NewOrdersCtrl .tabbable-custom > .nav-tabs > li.active > a { background: #FFFFFF !important; color: var(--pp-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
body.pp-rd #NewOrdersCtrl .tabbable-custom > .tab-content { height: auto !important; padding: 0; border: 0; }
body.pp-rd #NewOrdersCtrl .scroller,
body.pp-rd #NewOrdersCtrl .slimScrollDiv { height: auto !important; overflow: visible !important; }
body.pp-rd #NewOrdersCtrl .slimScrollBar,
body.pp-rd #NewOrdersCtrl .slimScrollRail { display: none !important; }
body.pp-rd #NewOrdersCtrl #gmap_marker { height: 460px !important; border-radius: 18px !important; overflow: hidden; }
body.pp-rd #NewOrdersCtrl.pp-has-trk #tab_2_1 .portlet { display: none; }
body.pp-rd #NewOrdersCtrl .modal-footer { padding: 14px 22px 20px; border: 0; background: #FFFFFF; text-align: left; }
body.pp-rd #NewOrdersCtrl .modal-footer .btn { height: 46px; padding: 0 30px; border: 1.5px solid var(--pp-char); border-radius: 23px !important; background: #FFFFFF; color: var(--pp-char); font-family: var(--pp-font-h); font-size: 16px; }
body.pp-rd #NewOrdersCtrl .modal-footer .btn:hover { background: var(--pp-char); color: #FFFFFF; }
@media (min-width: 768px) {
    body.pp-rd #NewOrdersCtrl.modal.container { width: 700px !important; margin-left: -350px !important; }
}

.pp-trk { color: var(--pp-ink); }
.pp-trk__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 18px; }
.pp-trk__status { padding: 6px 14px; border-radius: 999px !important; background: var(--pp-char); color: var(--pp-cyan); font-weight: 700; font-size: 14px; }
.pp-trk__status.is-stopped { background: #FDECEA; color: #B3261E; }
.pp-trk__status.is-done { background: var(--pp-cyan); color: var(--pp-ink); }
.pp-trk__id { font-size: 14px; color: var(--pp-muted); }
.pp-trk__price { margin-inline-start: auto; font-family: var(--pp-font-h); font-size: 26px; line-height: 1; white-space: nowrap; }
.pp-trk__courier { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 16px; border-radius: 20px !important; background: var(--pp-char); color: #FFFFFF; }
.pp-trk__avatar { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50% !important; overflow: hidden; background: var(--pp-cyan); color: var(--pp-ink); display: flex; align-items: center; justify-content: center; font-family: var(--pp-font-h); font-size: 22px; }
.pp-trk__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp-trk__who { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.pp-trk__who small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
.pp-trk__who b { font-size: 17px; font-weight: 600; }
.pp-trk__call { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 21px !important; background: var(--pp-cyan); color: var(--pp-ink) !important; font-weight: 700; font-size: 14.5px; text-decoration: none !important; white-space: nowrap; direction: ltr; }
.pp-trk__route { position: relative; margin: 0 0 14px; padding: 4px 0; }
.pp-trk__route::before { content: ''; position: absolute; top: 34px; bottom: 34px; inset-inline-start: 12px; border-inline-start: 2px dotted #BDBDBD; }
.pp-trk__stop { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; }
.pp-trk__stop .pp-pin { width: 26px; height: 26px; flex-shrink: 0; background: #FFFFFF; }
.pp-trk__stop.is-b .pp-pin { width: 26px; height: 34px; margin-top: -4px; }
.pp-trk__stop small { display: block; font-size: 12.5px; color: var(--pp-muted); }
.pp-trk__stop b { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.pp-trk__stop span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--pp-muted); }
.pp-trk__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pp-trk__facts span { padding: 6px 12px; border-radius: 12px !important; background: var(--pp-grey); font-size: 13.5px; }
.pp-trk__facts b { font-weight: 600; }
.pp-trk__notes { margin: 0 0 8px; padding: 12px 14px; border-radius: 14px !important; background: #FFFBE6; font-size: 14.5px; line-height: 1.5; }
.pp-trk__notes small { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--pp-muted); }

@media (max-width: 767px) {
    /* bootstrap-modal leaves these two off-centre on a phone (the job page by its 520px width, "please wait" by left: 50%) */
    body.pp-rd #ppFreightModal { width: auto !important; max-width: 520px !important; left: 10px !important; right: 10px !important; margin-left: auto !important; margin-right: auto !important; }
    body.pp-rd #pleaseWaitDialog,
    body.pp-rd #pleaseWaitDialog2 { width: 260px !important; left: 50% !important; right: auto !important; margin-left: -130px !important; top: 40% !important; margin-top: -60px !important; }
    body.pp-rd #NewOrdersCtrl #gmap_marker { height: 55vh !important; }
    body.pp-rd #NewOrdersCtrl .modal-body { padding: 14px 16px 4px; }
    .pp-trk__courier { flex-wrap: wrap; }
    .pp-trk__call { width: 100%; justify-content: center; }
    body.pp-rd #ppFreightModal .modal-body { padding: 18px 16px 20px; }
    body.pp-rd .pp-ff-price-now b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    body.pp-rd .sweet-alert.pp-sa-ok h2::before,
    body.pp-rd .pp-ff-status.searching::before,
    body.pp-rd .pp-ff-status.is-loading { animation: none; }
    body.pp-rd #pleaseWaitDialog .modal-body::before,
    body.pp-rd #pleaseWaitDialog2 .modal-body::before { animation-duration: 2s; }
}

/* ═════════════ QA fixes (round 5, 29/09) ═════════════ */
/* a field the order form rejects: a red frame on the field itself, not only a red label */
body.pp-rd .pp-order[data-step="2"] #rowFrom1 .has-error .order_form_inpput,
body.pp-rd .pp-order[data-step="2"] #rowFrom2 .has-error .order_form_inpput,
body.pp-rd .pp-order[data-step="2"] #rowFrom3 .has-error .order_form_inpput,
body.pp-rd .pp-order[data-step="2"] #rowTo1 .has-error .order_form_inpput,
body.pp-rd .pp-order[data-step="2"] #rowTo2 .has-error .order_form_inpput { border-color: #D93025 !important; background: #FFF7F6 !important; }
body.pp-rd .pp-order .has-error > label { color: #B3261E !important; }

/* an address typed by hand and not picked from the list: its row and the hint say so */
body.pp-rd .pp-addr-row.is-typed > .order_form_col:first-child { box-shadow: inset 0 0 0 2px #D93025; }
body.pp-rd .pp-hint.is-warn { background: #FDF1EC; color: #8C1D18; }
body.pp-rd .pp-hint.is-warn .pp-hint__icon { background: #B3261E; }
body.pp-rd .pp-hint.is-warn .pp-hint__icon svg { stroke: #FFFFFF; }

/* no courier covers the route: the button says so and waits */
body.pp-rd .pp-cta:disabled { cursor: default; }

/* the contact block's logo was wider than its column at 1200-1400px and pushed the page sideways (the old page too) */
body.pp-rd .logo-face { max-width: 100% !important; }

/* while the PayPlus window of this order is open, the way back to step 1 waits */
body.pp-rd .pp-order.is-paying .pp-back { opacity: .45; cursor: not-allowed; }

/* seven menu items: from 992 to 1199px the phone shows as its icon only (its label keeps the number) */
@media (min-width: 992px) and (max-width: 1199px) {
    body.pp-rd .pp-phone span { display: none; }
    body.pp-rd .pp-nav { gap: 16px; font-size: 15.5px; }
}
