:root {
  --ps-ink: #000;
  --ps-copy: #394240;
  --ps-muted: #7b817f;
  --ps-line: #d9dddb;
  --ps-soft: #f6f7f6;
  --ps-green: #78e470;
  --ps-green-strong: #6adf61;
  --ps-green-dark: #24772d;
  --ps-brown: #180b0b;
  --ps-white: #fff;
  --ps-danger: #b73838;
  --ps-shadow: 0 24px 70px rgba(24, 11, 11, .18);
  --ps-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ps-ink);
  background: #fff;
  font-family: Manrope, "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body.ps-filters-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.ps-shell { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.ps-muted { color: var(--ps-muted); }
.ps-skip { position: fixed; top: -100px; left: 20px; z-index: 999; padding: 10px 16px; background: #fff; border-radius: 10px; }
.ps-skip:focus { top: 20px; }

/* Header */
.ps-header { position: absolute; inset: 0 0 auto; z-index: 100; padding: 24px 0; }
.ps-info-page .ps-header { position: relative; background: #fff; border-bottom: 1px solid #eceeec; }
.ps-header__inner {
  min-height: 72px;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  box-shadow: 0 13px 35px rgba(24,11,11,.15);
  backdrop-filter: blur(14px);
}
.ps-info-page .ps-header__inner { box-shadow: none; border-color: #e5e7e5; }
.ps-brand { width: 118px; flex: 0 0 auto; display: grid; justify-items: center; gap: 2px; text-decoration: none; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.ps-brand img { width: 58px; height: 46px; object-fit: contain; }
.ps-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.ps-nav > a, .ps-region-menu summary { color: #252827; text-decoration: none; font-size: 16px; font-weight: 500; white-space: nowrap; }
.ps-nav > a { position: relative; }
.ps-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: #111; transition: .18s ease; }
.ps-nav > a:hover::after { right: 0; }
.ps-region-menu, .ps-language { position: relative; }
.ps-region-menu summary, .ps-language summary { list-style: none; cursor: pointer; user-select: none; }
.ps-region-menu summary::-webkit-details-marker, .ps-language summary::-webkit-details-marker { display: none; }
.ps-region-menu > div, .ps-language > div {
  position: absolute; top: calc(100% + 13px); right: 0; min-width: 156px; padding: 7px; display: grid; gap: 3px;
  background: #fff; border: 1px solid var(--ps-line); border-radius: 14px; box-shadow: 0 18px 42px rgba(0,0,0,.16);
}
.ps-region-menu a, .ps-language a { padding: 9px 10px; border-radius: 9px; text-decoration: none; font-size: 12px; }
.ps-region-menu a:hover, .ps-language a:hover, .ps-language a.is-active { background: #f0f3f0; }
.ps-language { flex: 0 0 auto; }
.ps-language summary { width: 52px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #f2f4f2; font-size: 25px; }
.ps-language > div { min-width: 112px; }
.ps-menu-button { display: none; width: 40px; height: 36px; margin-left: auto; padding: 8px; border: 0; border-radius: 9px; background: #f1f3f1; }
.ps-menu-button span { display: block; height: 1px; margin: 4px 0; background: #111; }

/* Hero and home */
.ps-hero {
  position: relative; min-height: 760px; display: grid; place-items: center; overflow: hidden; color: #fff;
  background-image: var(--ps-hero-image); background-size: cover; background-position: center 48%;
}
.ps-hero__shade, .ps-stage__shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(5,6,6,.17),rgba(6,6,6,.22) 52%,rgba(9,5,5,.54)), linear-gradient(90deg,rgba(0,0,0,.14),transparent 50%,rgba(0,0,0,.08)); }
.ps-hero__content { position: relative; z-index: 1; padding-top: 96px; text-align: center; }
.ps-hero h1 { margin: 0; font-size: clamp(56px,5.8vw,78px); line-height: 1.02; font-weight: 400; letter-spacing: -.04em; text-shadow: 0 4px 20px rgba(0,0,0,.42); }
.ps-hero__benefits { margin-top: 18px; display: grid; justify-content: center; gap: 2px; font-size: 24px; font-style: italic; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.ps-home-content { position: relative; padding-bottom: 96px; }

/* Search and filters */
.ps-search { position: relative; z-index: 61; margin-top: -86px; }
.ps-search__frame { padding: 22px 24px 24px; background: rgba(20,17,17,.88); border-radius: 30px; box-shadow: var(--ps-shadow); }
.ps-search__bar { min-height: 96px; padding: 18px 22px; display: grid; grid-template-columns: minmax(180px,1fr) minmax(180px,1fr) minmax(420px,2.15fr) 164px; align-items: end; gap: 14px; background: #fff; border-radius: 24px; }
.ps-search__field { min-width: 0; display: grid; gap: 10px; }
.ps-search__field > span, .ps-filter-panel label > span { color: #404441; font-size: 16px; font-weight: 500; }
.ps-search select, .ps-search input, .ps-filter-panel select, .ps-filter-panel input, .ps-control {
  width: 100%; min-height: 48px; padding: 0 14px; color: #303330; background: #fff; border: 1px solid #aeb3af; border-radius: 14px; outline: none; font-size: 15px; transition: .15s ease;
}
.ps-search input[type="datetime-local"] { padding-right: 5px; }
.ps-search select:focus, .ps-search input:focus, .ps-filter-panel select:focus, .ps-filter-panel input:focus, .ps-control:focus { border-color: #3caf47; box-shadow: 0 0 0 3px rgba(120,228,112,.2); }
.ps-search__dates > div { display: grid; grid-template-columns: 1fr 18px 1fr; align-items: center; gap: 8px; }
.ps-search__dates i { color: #777; text-align: center; font-style: normal; }
.ps-filter-toggle, .ps-search__mobile-submit { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #777; border-radius: 24px; background: #fff; cursor: pointer; font-size: 15px; font-weight: 500; white-space: nowrap; }
.ps-filter-toggle svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.ps-filter-toggle:hover, .ps-filter-toggle.is-active, .ps-search__mobile-submit { border-color: #31b23d; background: var(--ps-green); }
.ps-search__mobile-submit { display: none; }
.ps-form-error { margin: 10px 0; padding: 10px 13px; color: #9f2222; background: #fff0f0; border: 1px solid #f0cccc; border-radius: 10px; font-size: 11px; }
.ps-filter-panel { position: absolute; top: 118px; left: 48px; right: 48px; z-index: 64; padding: 32px; visibility: hidden; opacity: 0; transform: translateY(-8px); background: #fff; border: 1px solid #d5d9d6; border-radius: 28px; box-shadow: 0 30px 76px rgba(0,0,0,.28); transition: .18s ease; }
.ps-filter-panel.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
.ps-filter-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ps-filter-panel__head h2 { margin: 0; font-size: 28px; font-weight: 500; }
.ps-filter-panel__head button { width: 34px; height: 34px; border: 1px solid #bbb; border-radius: 50%; background: #fff; cursor: pointer; font-size: 20px; }
.ps-filter-panel__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.ps-filter-panel label { display: grid; gap: 8px; }
.ps-filter-panel__mock-groups { margin-top: 22px; padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid #eceeec; }
.ps-filter-panel__mock-groups > div { display: grid; gap: 7px; color: #555b58; font-size: 10px; }
.ps-filter-panel__mock-groups strong { color: #202321; font-size: 11px; }
.ps-filter-panel__actions { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ps-filter-panel__actions > a { padding: 10px 16px; border: 1px solid #aaa; border-radius: 17px; text-decoration: none; font-size: 14px; }
.ps-filter-panel__actions > button { min-height: 50px; padding: 0 28px; border: 0; border-radius: 21px; background: var(--ps-green); cursor: pointer; font-size: 15px; font-weight: 600; }
.ps-page-dimmer { position: fixed; inset: 0; z-index: 50; display: none; border: 0; background: rgba(45,36,36,.58); backdrop-filter: blur(2px); }
.ps-filters-open .ps-page-dimmer { display: block; }

/* Classes */
.ps-class-block { margin-top: 56px; }
.ps-class-block h2 { margin: 0 0 18px; font-size: 28px; font-weight: 500; }
.ps-class-tabs { display: flex; flex-wrap: wrap; gap: 20px; }
.ps-class-tabs button { width: 176px; min-height: 92px; padding: 12px 14px; display: grid; grid-template-columns: 52px 1fr auto; grid-template-rows: 1fr 1fr; align-items: center; column-gap: 8px; border: 1px solid #aaaead; border-radius: 16px; background: #fff; cursor: pointer; text-align: left; transition: .15s ease; }
.ps-class-tabs button:hover, .ps-class-tabs button.is-selected { border-color: #111; box-shadow: 0 5px 14px rgba(0,0,0,.08); }
.ps-class-tabs__icon { grid-row: 1/3; font-size: 36px; filter: grayscale(1); }
.ps-class-tabs strong { align-self: end; font-size: 16px; font-weight: 500; }
.ps-class-tabs small { grid-column: 3; grid-row: 2; align-self: start; font-size: 15px; }

/* Cards */
.ps-results-head { margin: 42px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #8b918e; font-size: 18px; }
.ps-results-head p { margin: 0; }
.ps-results-head strong { color: #4c514e; font-weight: 500; }
.ps-results-head button { padding: 0; border: 0; background: transparent; color: #7c827f; font-size: 18px; cursor: pointer; }
.ps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px 34px; }
.ps-grid__item.is-extra { display: none; }
.ps-grid__item.is-extra.is-revealed { display: block; }
.ps-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #d9ddda; border-radius: 22px; transition: transform .18s ease,box-shadow .18s ease; }
.ps-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.ps-card__media { position: relative; height: 280px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg,#fff,#f8f9f8); text-decoration: none; }
.ps-card__media img { width: 94%; height: 94%; object-fit: contain; }
.ps-card__placeholder { font-size: 74px; filter: grayscale(1); opacity: .44; }
.ps-card__featured { position: absolute; top: 10px; left: 10px; padding: 5px 8px; color: #fff; background: #242020; border-radius: 10px; font-size: 8px; }
.ps-card__body { padding: 16px 18px 18px; border-top: 1px solid #eceeec; }
.ps-card__hint { margin: 0 0 6px; color: #a1a5a2; font-size: 12px; }
.ps-card__title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ps-card h3 { margin: 0; font-size: 28px; font-weight: 500; }
.ps-card__title-row strong { font-size: 26px; font-weight: 500; }
.ps-card__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; color: #666c68; font-size: 12px; }
.ps-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.ps-card__meta i { font-style: normal; }
.ps-card__bottom { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-card__bottom > span { font-size: 14px; }
.ps-card__details { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #777; border-radius: 12px; text-decoration: none; font-size: 14px; }
.ps-card__details:hover { border-color: #27a835; background: var(--ps-green); }
.ps-show-more-wrap { margin-top: 56px; display: grid; justify-items: center; gap: 16px; }
.ps-show-more { min-width: 320px; min-height: 58px; border: 1px solid #151313; border-radius: 18px; background: #fff; cursor: pointer; font-size: 16px; }
.ps-show-more:hover { background: #f7f8f7; }
.ps-show-more-wrap small { color: #aaaead; font-size: 14px; }
.ps-empty { margin-top: 26px; padding: 54px 20px; text-align: center; border: 1px dashed #bbb; border-radius: 18px; background: #fafafa; }
.ps-empty div { color: #cacdca; font-size: 52px; }
.ps-empty h2 { margin: 8px 0 0; font-size: 16px; font-weight: 500; }

/* Footer */
/* Footer */
.ps-footer { padding: 42px 0 18px; color: #fff; background: var(--ps-brown); }
.ps-footer__top { min-height: 150px; display: flex; justify-content: space-between; gap: 40px; }
.ps-footer nav { display: grid; align-content: start; gap: 8px; }
.ps-footer nav a, .ps-footer__contact a, .ps-footer__contact span { color: #fff; text-decoration: none; font-size: 10px; }
.ps-footer__contact { display: grid; justify-items: end; align-content: start; gap: 8px; text-align: right; }
.ps-footer__button { min-height: 30px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; color: #1d1717!important; background: #fff; border-radius: 15px; }
.ps-socials { display: flex; gap: 6px; }
.ps-socials a { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-size: 7px; }
.ps-footer__bottom { padding-top: 19px; display: flex; justify-content: center; align-items: center; gap: 22px; }
.ps-footer__bottom > a { color: #c8c2c2; text-decoration: none; font-size: 9px; }
.ps-payment-badges { display: flex; align-items: center; gap: 8px; }
.ps-payment-badges span { min-height: 22px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 4px; color: #17361d; background: #fff; font-size: 8px; font-weight: 700; }

/* Shared visual stages */
.ps-stage { position: relative; min-height: 1000px; padding: 118px 0 76px; background-image: var(--ps-hero-image); background-size: 100% 480px; background-position: center top; background-repeat: no-repeat; background-color: #f3eeee; }
.ps-stage::after { content: ""; position: absolute; inset: 450px 0 0; background: #f3eeee; }
.ps-stage__shade { bottom: auto; height: 480px; }
.ps-stage__inner { position: relative; z-index: 2; }
.ps-steps { width: min(570px,100%); margin: 0 auto 18px; padding: 11px 17px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 17px; background: rgba(255,255,255,.96); box-shadow: 0 12px 35px rgba(24,11,11,.12); }
.ps-steps span { display: inline-flex; align-items: center; gap: 7px; color: #939995; font-size: 10px; }
.ps-steps span i { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #b7bcb8; border-radius: 50%; font-style: normal; font-size: 9px; }
.ps-steps span.is-active { color: #111; font-weight: 600; }
.ps-steps span.is-active i { border-color: #34ae40; background: var(--ps-green); }
.ps-steps b { width: 48px; height: 1px; background: #cbd0cc; }
.ps-product-panel, .ps-booking-shell { position: relative; width: min(930px,100%); margin: auto; padding: 28px; border: 1px solid rgba(255,255,255,.75); border-radius: 25px; background: rgba(255,255,255,.97); box-shadow: var(--ps-shadow); }
.ps-panel-actions { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.ps-panel-actions a { color: #4e5551; text-decoration: none; font-size: 10px; }
.ps-eyebrow { color: var(--ps-green-dark); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }

/* Product detail */
.ps-product-head { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: start; }
.ps-product-gallery__main { height: 300px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e1e4e2; border-radius: 18px; background: #fafbfa; }
.ps-product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.ps-product-gallery__thumbs { margin-top: 10px; display: grid; grid-template-columns: repeat(6,1fr); gap: 7px; }
.ps-product-gallery__thumbs button { height: 51px; padding: 2px; overflow: hidden; border: 1px solid #d8dcda; border-radius: 9px; background: #fff; cursor: pointer; }
.ps-product-gallery__thumbs button.is-active { border-color: #2eae3b; box-shadow: 0 0 0 2px rgba(120,228,112,.25); }
.ps-product-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.ps-product-title { padding-top: 8px; }
.ps-product-title h1 { margin: 8px 0 12px; font-size: 36px; font-weight: 500; letter-spacing: -.035em; }
.ps-product-title > p { margin: 0; color: #747b77; font-size: 11px; line-height: 1.65; }
.ps-product-title__quick { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ps-product-title__quick span { min-height: 65px; padding: 12px; display: grid; align-content: center; border: 1px solid #dfe2e0; border-radius: 12px; color: #8a908c; font-size: 8px; }
.ps-product-title__quick b { margin-bottom: 4px; color: #222522; font-size: 11px; font-weight: 600; }
.ps-product-layout { margin-top: 30px; display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 24px; align-items: start; }
.ps-product-main { display: grid; gap: 16px; }
.ps-product-section { padding: 20px; border: 1px solid #dfe2e0; border-radius: 17px; background: #fff; }
.ps-product-section h2 { margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.ps-product-section--split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ps-spec-table { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.ps-spec-table div { padding: 9px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eceeec; }
.ps-spec-table dt { color: #7d837f; font-size: 9px; }
.ps-spec-table dd { margin: 0; font-size: 9px; font-weight: 600; text-align: right; }
.ps-condition-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ps-condition-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; }
.ps-condition-list span { color: #777d79; }
.ps-payment-list { display: flex; flex-wrap: wrap; gap: 7px; }
.ps-payment-list span { padding: 6px 8px; border: 1px solid #cfd3d0; border-radius: 8px; font-size: 8px; }
.ps-product-section .ps-muted { margin: 10px 0 0; font-size: 8px; line-height: 1.5; }
.ps-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.ps-section-heading a { color: #257c2d; font-size: 9px; }
.ps-option-list { display: grid; gap: 9px; }
.ps-option-list article { min-height: 62px; padding: 10px 12px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 10px; border: 1px solid #dfe2e0; border-radius: 12px; }
.ps-option-mark { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #4eb458; border-radius: 50%; color: #23722b; font-size: 10px; }
.ps-option-list strong, .ps-option-list small { display: block; }
.ps-option-list strong { font-size: 9px; }
.ps-option-list small { margin-top: 3px; color: #858b87; font-size: 7px; }
.ps-option-list b { font-size: 8px; font-weight: 600; white-space: nowrap; }
.ps-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-service-grid span { min-height: 42px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid #dfe2e0; border-radius: 11px; font-size: 8px; }
.ps-service-grid b { font-size: 8px; }
.ps-order-card { position: sticky; top: 18px; padding: 20px; border: 1px solid #d9ddda; border-radius: 17px; background: #fbfcfb; }
.ps-order-card > span { color: #7d837f; font-size: 9px; }
.ps-order-card > strong { display: block; margin: 4px 0 16px; font-size: 25px; font-weight: 500; }
.ps-order-card dl { margin: 0; display: grid; gap: 9px; }
.ps-order-card dl div { padding: 10px; border: 1px solid #e0e3e1; border-radius: 10px; background: #fff; }
.ps-order-card dt { color: #7f8581; font-size: 8px; }
.ps-order-card dd { margin: 4px 0 0; font-size: 9px; font-weight: 600; }
.ps-order-card dd small { display: block; margin-top: 3px; color: #969b98; font-size: 7px; font-weight: 400; }
.ps-order-card__line { padding: 10px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e5e8e5; font-size: 8px; }
.ps-order-card > p { margin: 12px 0; color: #6d746f; font-size: 8px; line-height: 1.5; }
.ps-btn { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #2c9a37; border-radius: 12px; color: #153f1a; background: var(--ps-green); text-decoration: none; font-size: 10px; font-weight: 700; cursor: pointer; }
.ps-btn:hover { background: var(--ps-green-strong); }
.ps-btn--large { min-height: 49px; padding-inline: 24px; }
.ps-order-card .ps-btn { width: 100%; }

/* Booking */
.ps-booking-head { max-width: 610px; margin: 0 auto 24px; text-align: center; }
.ps-booking-head h1 { margin: 5px 0 8px; font-size: 31px; font-weight: 500; }
.ps-booking-head p { margin: 0; color: #737a76; font-size: 10px; }
.ps-booking-layout { display: grid; grid-template-columns: minmax(0,1fr) 285px; gap: 22px; align-items: start; }
.ps-booking-form { display: grid; gap: 15px; }
.ps-form-section { padding: 19px; border: 1px solid #dfe2e0; border-radius: 16px; background: #fff; }
.ps-form-section h2 { margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.ps-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ps-form-grid label { display: grid; gap: 6px; }
.ps-form-grid label > span { color: #626965; font-size: 8px; font-weight: 600; }
.ps-form-grid label > small { color: #9ba09d; font-size: 7px; }
.ps-form-wide { grid-column: 1/-1; }
.ps-control { min-height: 39px; font-size: 10px; }
textarea.ps-control { min-height: 94px; padding-top: 10px; resize: vertical; }
.errorlist { margin: 0; padding: 0; list-style: none; color: #a72020; font-size: 8px; }
.ps-booking-dates { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-booking-dates span { padding: 10px; border: 1px solid #e2e5e3; border-radius: 10px; }
.ps-booking-dates small, .ps-booking-dates b { display: block; }
.ps-booking-dates small { color: #848a86; font-size: 7px; }
.ps-booking-dates b { margin-top: 3px; font-size: 8px; }
.ps-payment-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ps-payment-options span { min-height: 64px; padding: 10px; display: grid; align-content: center; border: 1px solid #d5d9d6; border-radius: 11px; color: #7b817d; font-size: 7px; }
.ps-payment-options b { color: #222; font-size: 10px; }
.ps-form-section > .ps-muted { margin: 10px 0 0; font-size: 8px; }
.ps-consent { padding: 2px 3px; display: grid; gap: 7px; }
.ps-consent label { display: flex; align-items: flex-start; gap: 8px; font-size: 8px; }
.ps-consent input { accent-color: #4cbe56; }
.ps-consent small { color: #969c98; font-size: 7px; }
.ps-booking-submit { width: 100%; }
.ps-booking-summary { position: sticky; top: 18px; overflow: hidden; border: 1px solid #d9ddda; border-radius: 17px; background: #fbfcfb; }
.ps-booking-summary__vehicle { padding: 14px; display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; background: #fff; border-bottom: 1px solid #e4e7e5; }
.ps-booking-summary__vehicle img { width: 90px; height: 74px; object-fit: contain; }
.ps-booking-summary__vehicle small { color: #8b918d; font-size: 7px; }
.ps-booking-summary__vehicle h2 { margin: 3px 0; font-size: 13px; font-weight: 500; }
.ps-booking-summary__vehicle span { font-size: 8px; }
.ps-booking-summary dl { margin: 0; padding: 14px; display: grid; gap: 10px; }
.ps-booking-summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 8px; }
.ps-booking-summary dt { color: #7d837f; }
.ps-booking-summary dd { margin: 0; text-align: right; font-weight: 600; }
.ps-booking-summary__total { padding: 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e1e4e2; background: #eff9ef; }
.ps-booking-summary__total span { font-size: 9px; }
.ps-booking-summary__total strong { font-size: 19px; }
.ps-booking-summary > p { margin: 0; padding: 13px 14px; color: #717873; font-size: 8px; line-height: 1.55; }

/* Success */
.ps-stage--success { min-height: 760px; }
.ps-success__card { width: min(560px,100%); margin: 34px auto 0; padding: 40px; text-align: center; border: 1px solid rgba(255,255,255,.75); border-radius: 24px; background: rgba(255,255,255,.98); box-shadow: var(--ps-shadow); }
.ps-success__icon { width: 64px; height: 64px; margin: 0 auto 19px; display: grid; place-items: center; border-radius: 50%; color: #166b23; background: #dff6e2; font-size: 27px; }
.ps-success h1 { margin: 5px 0; font-size: 34px; }
.ps-success h2 { margin: 5px 0 10px; font-size: 21px; }
.ps-success p { color: #757c77; font-size: 10px; line-height: 1.65; }
.ps-success__meta { margin: 20px 0; padding: 15px; border-radius: 13px; background: #f4f6f4; }
.ps-success__meta span, .ps-success__meta strong, .ps-success__meta small { display: block; }
.ps-success__meta strong { margin-top: 5px; }
.ps-success__meta small { margin-top: 7px; color: #6b726d; }

/* Information pages */
.ps-info-hero { padding: 68px 0 115px; color: #fff; background: linear-gradient(135deg,#291616,#180b0b); }
.ps-info-hero h1 { margin: 0; font-size: clamp(38px,5vw,62px); font-weight: 400; letter-spacing: -.04em; }
.ps-info-hero p { max-width: 620px; margin: 12px 0 0; color: rgba(255,255,255,.72); }
.ps-info { padding: 0 0 80px; background: #f5f1f1; }
.ps-info__card { position: relative; top: -65px; min-height: 340px; padding: 34px; border-radius: 24px; background: #fff; box-shadow: var(--ps-shadow); }
.ps-contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ps-contact-grid article { padding: 24px; display: grid; justify-items: center; text-align: center; border: 1px solid #dfe2e0; border-radius: 17px; }
.ps-contact-avatar { width: 78px; height: 78px; display: grid; place-items: center; border: 4px solid var(--ps-green); border-radius: 50%; background: #edf1ed; font-size: 24px; font-weight: 700; }
.ps-contact-grid h2 { margin: 13px 0 3px; font-size: 18px; }
.ps-contact-grid p { margin: 0 0 11px; color: #7b817d; font-size: 10px; }
.ps-contact-grid a { margin: 2px 0; color: #2c7133; font-size: 10px; text-decoration: none; }
.ps-prose { max-width: 850px; margin: auto; }
.ps-prose h2 { margin-top: 0; font-size: 28px; font-weight: 500; }
.ps-prose p, .ps-prose li { color: #4f5652; line-height: 1.8; }
.ps-prose li { margin-bottom: 10px; }
.ps-about-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.ps-about-stats span { padding: 20px; display: grid; border: 1px solid #dfe2e0; border-radius: 14px; color: #737a76; font-size: 9px; }
.ps-about-stats b { margin-bottom: 5px; color: #111; font-size: 16px; }
.ps-document-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ps-document-grid article { min-height: 180px; padding: 22px; border: 1px solid #dfe2e0; border-radius: 16px; }
.ps-document-grid span { color: #45a94f; font-size: 11px; font-weight: 700; }
.ps-document-grid h2 { margin: 10px 0; font-size: 18px; }
.ps-document-grid p { color: #6e7571; font-size: 10px; line-height: 1.65; }

@media (max-width: 1180px) {
  .ps-shell { width: min(960px,calc(100% - 34px)); }
  .ps-managers { right: 6px; }
  .ps-managers a { min-width: 112px; }
}

@media (max-width: 960px) {
  .ps-nav { gap: 16px; }
  .ps-search__bar { grid-template-columns: 1fr 1fr; }
  .ps-search__dates { grid-column: 1/-1; }
  .ps-filter-toggle { grid-column: 1; }
  .ps-search__mobile-submit { display: inline-flex; grid-column: 2; }
  .ps-filter-panel { top: 165px; }
  .ps-filter-panel__grid { grid-template-columns: 1fr 1fr; }
  .ps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ps-managers { display: none; }
  .ps-product-panel, .ps-booking-shell { width: 100%; }
  .ps-product-layout, .ps-booking-layout { grid-template-columns: 1fr; }
  .ps-order-card, .ps-booking-summary { position: static; }
  .ps-order-card { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .ps-order-card > strong, .ps-order-card > span, .ps-order-card > p, .ps-order-card .ps-btn { grid-column: 1/-1; }
  .ps-contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .ps-shell { width: min(100% - 24px,620px); }
  .ps-header { padding: 10px 0; }
  .ps-header__inner { min-height: 49px; padding: 5px 9px; border-radius: 14px; gap: 10px; }
  .ps-brand { width: 66px; }
  .ps-brand img { width: 33px; height: 27px; }
  .ps-menu-button { display: block; }
  .ps-nav { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; margin: 0; padding: 12px; display: none; align-items: stretch; flex-direction: column; gap: 2px; border: 1px solid #ddd; border-radius: 14px; background: #fff; box-shadow: 0 16px 35px rgba(0,0,0,.16); }
  .ps-nav.is-open { display: flex; }
  .ps-nav > a, .ps-region-menu summary { padding: 9px; font-size: 11px; }
  .ps-region-menu > div { position: static; margin-top: 4px; box-shadow: none; }
  .ps-language summary { width: 35px; height: 30px; font-size: 18px; }
  .ps-hero { min-height: 350px; }
  .ps-hero__content { padding-top: 45px; }
  .ps-hero h1 { font-size: 34px; }
  .ps-search { margin-top: -43px; }
  .ps-search__frame { padding: 12px; border-radius: 18px; }
  .ps-search__bar { padding: 12px; grid-template-columns: 1fr; }
  .ps-search__dates, .ps-filter-toggle, .ps-search__mobile-submit { grid-column: 1; }
  .ps-search__dates > div { grid-template-columns: 1fr; gap: 7px; }
  .ps-search__dates i { display: none; }
  .ps-filter-panel { position: fixed; top: 70px; left: 12px; right: 12px; max-height: calc(100dvh - 84px); overflow: auto; padding: 18px; }
  .ps-filter-panel__grid, .ps-filter-panel__mock-groups { grid-template-columns: 1fr; }
  .ps-filter-panel__actions { align-items: stretch; flex-direction: column-reverse; }
  .ps-filter-panel__actions > button { width: 100%; }
  .ps-class-tabs { gap: 9px; }
  .ps-class-tabs button { width: calc(50% - 5px); }
  .ps-results-head { align-items: flex-start; flex-direction: column; }
  .ps-grid { grid-template-columns: 1fr; gap: 18px; }
  .ps-card__media { height: 225px; }
  .ps-show-more { width: 100%; min-width: 0; }
  .ps-safety__card { padding: 16px; }
  .ps-footer__top { min-height: 0; flex-direction: column; }
  .ps-footer__contact { justify-items: start; text-align: left; }
  .ps-footer__bottom { align-items: flex-start; flex-direction: column; }
  .ps-stage { padding: 82px 0 45px; background-size: auto 350px; }
  .ps-stage::after { inset: 330px 0 0; }
  .ps-stage__shade { height: 350px; }
  .ps-steps { margin-bottom: 12px; padding: 9px; gap: 6px; }
  .ps-steps span { font-size: 8px; }
  .ps-steps span i { width: 19px; height: 19px; }
  .ps-steps b { width: 18px; }
  .ps-product-panel, .ps-booking-shell { padding: 16px; border-radius: 19px; }
  .ps-product-head { grid-template-columns: 1fr; gap: 18px; }
  .ps-product-gallery__main { height: 260px; }
  .ps-product-title h1 { font-size: 29px; }
  .ps-product-title__quick { grid-template-columns: 1fr 1fr; }
  .ps-product-layout { margin-top: 18px; }
  .ps-product-section--split, .ps-spec-table, .ps-service-grid { grid-template-columns: 1fr; }
  .ps-option-list article { grid-template-columns: 25px 1fr; }
  .ps-option-list article > b { grid-column: 2; }
  .ps-order-card { grid-template-columns: 1fr; }
  .ps-order-card > strong, .ps-order-card > span, .ps-order-card > p, .ps-order-card .ps-btn { grid-column: 1; }
  .ps-booking-head h1 { font-size: 26px; }
  .ps-form-grid, .ps-booking-dates, .ps-payment-options { grid-template-columns: 1fr; }
  .ps-form-wide { grid-column: auto; }
  .ps-booking-summary__vehicle { grid-template-columns: 80px 1fr; }
  .ps-success__card { padding: 28px 18px; }
  .ps-info-hero { padding: 46px 0 95px; }
  .ps-info__card { padding: 20px; }
  .ps-contact-grid, .ps-document-grid, .ps-about-stats { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .ps-shell { width: calc(100% - 18px); }
  .ps-class-tabs button { width: 100%; }
  .ps-product-gallery__thumbs { grid-template-columns: repeat(4,1fr); }
  .ps-product-title__quick { grid-template-columns: 1fr; }
  .ps-steps span { gap: 3px; }
  .ps-steps b { width: 8px; }
}


@media (max-width: 1279px) {
  .ps-shell { width: min(1180px, calc(100% - 40px)); }
  .ps-hero { min-height: 680px; }
  .ps-hero h1 { font-size: clamp(48px,6vw,68px); }
  .ps-hero__benefits { font-size: 20px; }
  .ps-search__bar { grid-template-columns: 1fr 1fr 1.7fr 150px; }
  .ps-grid { gap: 26px; }
  .ps-card__media { height: 240px; }
  .ps-card h3, .ps-card__title-row strong { font-size: 22px; }
}

@media (max-width: 991px) {
  .ps-shell { width: calc(100% - 28px); }
  .ps-header { padding: 18px 0; }
  .ps-header__inner { min-height: 64px; padding: 10px 16px; gap: 18px; }
  .ps-brand { width: 92px; font-size: 8px; }
  .ps-brand img { width: 50px; height: 40px; }
  .ps-nav > a, .ps-region-menu summary { font-size: 14px; }
  .ps-hero { min-height: 580px; }
  .ps-hero__content { padding-top: 76px; }
  .ps-hero h1 { font-size: clamp(42px,7vw,58px); }
  .ps-hero__benefits { font-size: 18px; }
  .ps-search { margin-top: -74px; }
  .ps-search__frame { padding: 18px; border-radius: 24px; }
  .ps-search__bar { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ps-search__dates { grid-column: 1 / -1; }
  .ps-filter-toggle { width: 100%; }
  .ps-filter-panel { left: 0; right: 0; top: 100%; margin-top: 12px; padding: 24px; }
  .ps-filter-panel__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ps-class-block h2 { font-size: 24px; }
  .ps-class-tabs button { width: calc(33.333% - 14px); min-width: 160px; }
  .ps-results-head { font-size: 16px; }
  .ps-results-head button { font-size: 16px; }
  .ps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .ps-card__media { height: 220px; }
}

@media (max-width: 767px) {
  .ps-shell { width: calc(100% - 20px); }
  .ps-header { padding: 12px 0; }
  .ps-header__inner { min-height: 58px; padding: 10px 14px; }
  .ps-nav { display: none; }
  .ps-menu-button { display: block; }
  .ps-hero { min-height: 420px; }
  .ps-hero__content { padding-top: 42px; }
  .ps-hero h1 { font-size: 32px; }
  .ps-hero__benefits { font-size: 14px; }
  .ps-home-content { padding-bottom: 48px; }
  .ps-search { margin-top: -42px; }
  .ps-search__frame { padding: 12px; border-radius: 18px; }
  .ps-search__bar { min-height: 0; padding: 12px; grid-template-columns: 1fr; border-radius: 16px; }
  .ps-search__field > span, .ps-filter-panel label > span { font-size: 14px; }
  .ps-search select, .ps-search input, .ps-filter-panel select, .ps-filter-panel input, .ps-control { min-height: 44px; font-size: 14px; }
  .ps-search__dates > div { grid-template-columns: 1fr; }
  .ps-search__dates i { display: none; }
  .ps-filter-panel { position: fixed; inset: auto 10px 10px; max-height: calc(100vh - 120px); overflow: auto; }
  .ps-filter-panel__grid, .ps-filter-panel__mock-groups { grid-template-columns: 1fr; }
  .ps-class-block { margin-top: 28px; }
  .ps-class-block h2 { margin-bottom: 12px; font-size: 20px; }
  .ps-class-tabs { gap: 12px; }
  .ps-class-tabs button { width: calc(50% - 6px); min-width: 0; min-height: 74px; padding: 10px 12px; grid-template-columns: 44px 1fr auto; }
  .ps-class-tabs__icon { font-size: 28px; }
  .ps-class-tabs strong, .ps-class-tabs small { font-size: 13px; }
  .ps-results-head { margin: 24px 0 16px; font-size: 13px; align-items: flex-start; flex-direction: column; }
  .ps-results-head button { font-size: 13px; }
  .ps-grid { grid-template-columns: 1fr; gap: 18px; }
  .ps-card__media { height: 205px; }
  .ps-card__body { padding: 14px; }
  .ps-card h3 { font-size: 22px; }
  .ps-card__title-row strong { font-size: 20px; }
  .ps-card__bottom { align-items: flex-end; }
  .ps-card__bottom > span { font-size: 13px; }
  .ps-card__details { min-height: 38px; font-size: 13px; }
  .ps-show-more { min-width: min(100%, 320px); min-height: 52px; font-size: 15px; }
}


/*
 * Compact marketplace composition for the public home page.
 * Keeps the Elephant visual language, but follows a denser desktop rhythm:
 * centered catalogue, shallow hero, compact search, and information-rich cards.
 */
@media (min-width: 992px) {
  .ps-home-page .ps-shell {
    width: min(980px, calc(100% - 32px));
  }

  .ps-home-page .ps-header {
    padding: 12px 0;
  }

  .ps-home-page .ps-header__inner {
    min-height: 54px;
    padding: 6px 14px;
    gap: 20px;
    border-radius: 13px;
  }

  .ps-home-page .ps-brand {
    width: 82px;
    gap: 0;
    font-size: 7px;
  }

  .ps-home-page .ps-brand img {
    width: 40px;
    height: 32px;
  }

  .ps-home-page .ps-nav {
    gap: 24px;
  }

  .ps-home-page .ps-nav > a,
  .ps-home-page .ps-region-menu summary {
    font-size: 11px;
  }

  .ps-home-page .ps-language summary {
    width: 38px;
    height: 32px;
    border-radius: 8px;
    font-size: 20px;
  }

  .ps-home-page .ps-hero {
    min-height: 318px;
    background-position: center 44%;
  }

  .ps-home-page .ps-hero__content {
    padding-top: 58px;
  }

  .ps-home-page .ps-hero h1 {
    font-size: clamp(31px, 3vw, 42px);
    line-height: 1.06;
    letter-spacing: -.035em;
  }

  .ps-home-page .ps-hero__benefits {
    margin-top: 9px;
    gap: 0;
    font-size: 12px;
  }

  .ps-home-page .ps-home-content {
    padding-bottom: 64px;
  }

  .ps-home-page .ps-search {
    margin-top: -36px;
  }

  .ps-home-page .ps-search__frame {
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(24, 11, 11, .18);
  }

  .ps-home-page .ps-search__bar {
    min-height: 62px;
    padding: 9px 10px;
    grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(300px, 2fr) 116px;
    gap: 8px;
    border-radius: 11px;
  }

  .ps-home-page .ps-search__field {
    gap: 4px;
  }

  .ps-home-page .ps-search__field > span,
  .ps-home-page .ps-filter-panel label > span {
    font-size: 10px;
    font-weight: 500;
  }

  .ps-home-page .ps-search select,
  .ps-home-page .ps-search input,
  .ps-home-page .ps-filter-panel select,
  .ps-home-page .ps-filter-panel input,
  .ps-home-page .ps-control {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 10px;
  }

  .ps-home-page .ps-search__dates > div {
    grid-template-columns: 1fr 10px 1fr;
    gap: 3px;
  }

  .ps-home-page .ps-filter-toggle,
  .ps-home-page .ps-search__mobile-submit {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 17px;
    font-size: 10px;
  }

  .ps-home-page .ps-filter-panel {
    top: 78px;
    left: 8px;
    right: 8px;
    padding: 20px;
    border-radius: 16px;
  }

  .ps-home-page .ps-filter-panel__head {
    margin-bottom: 14px;
  }

  .ps-home-page .ps-filter-panel__head h2 {
    font-size: 18px;
  }

  .ps-home-page .ps-filter-panel__grid {
    gap: 12px;
  }

  .ps-home-page .ps-filter-panel__actions {
    margin-top: 18px;
  }

  .ps-home-page .ps-filter-panel__actions > a {
    padding: 7px 11px;
    font-size: 10px;
  }

  .ps-home-page .ps-filter-panel__actions > button {
    min-height: 36px;
    padding: 0 18px;
    font-size: 11px;
  }

  .ps-home-page .ps-class-block {
    margin-top: 22px;
  }

  .ps-home-page .ps-class-block h2 {
    margin-bottom: 10px;
    font-size: 17px;
  }

  .ps-home-page .ps-class-tabs {
    gap: 8px;
  }

  .ps-home-page .ps-class-tabs button {
    width: 126px;
    min-height: 66px;
    padding: 8px 9px;
    grid-template-columns: 34px 1fr auto;
    column-gap: 4px;
    border-radius: 11px;
  }

  .ps-home-page .ps-class-tabs__icon {
    font-size: 24px;
  }

  .ps-home-page .ps-class-tabs strong,
  .ps-home-page .ps-class-tabs small {
    font-size: 10px;
  }

  .ps-home-page .ps-results-head {
    margin: 24px 0 12px;
    gap: 12px;
    font-size: 11px;
  }

  .ps-home-page .ps-results-head button {
    font-size: 11px;
  }

  .ps-home-page .ps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .ps-home-page .ps-card {
    border-radius: 14px;
  }

  .ps-home-page .ps-card__media {
    height: 178px;
  }

  .ps-home-page .ps-card__media img {
    width: 92%;
    height: 92%;
  }

  .ps-home-page .ps-card__placeholder {
    font-size: 58px;
  }

  .ps-home-page .ps-card__body {
    padding: 10px 11px 11px;
  }

  .ps-home-page .ps-card__hint {
    margin-bottom: 3px;
    font-size: 8px;
  }

  .ps-home-page .ps-card h3 {
    font-size: 15px;
  }

  .ps-home-page .ps-card__title-row strong {
    font-size: 14px;
  }

  .ps-home-page .ps-card__meta {
    margin-top: 7px;
    gap: 8px;
    font-size: 8px;
  }

  .ps-home-page .ps-card__bottom {
    margin-top: 9px;
    gap: 8px;
  }

  .ps-home-page .ps-card__bottom > span {
    font-size: 8px;
  }

  .ps-home-page .ps-card__details {
    min-height: 28px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 9px;
  }

  .ps-home-page .ps-show-more-wrap {
    margin-top: 28px;
    gap: 10px;
  }

  .ps-home-page .ps-show-more {
    min-width: 240px;
    min-height: 40px;
    border-radius: 12px;
    font-size: 11px;
  }

  .ps-home-page .ps-show-more-wrap small {
    font-size: 9px;
  }
}

/* 2026-08-12 ui132: booking date editor and one-column additional services. */
.ps-booking-services {
  width: 100%;
  max-width: 680px;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.ps-booking-services__group {
  display: contents;
}

.ps-booking-services__group h3 {
  display: none !important;
}

.ps-booking-service {
  width: 100%;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 13px 16px !important;
  border-radius: 13px !important;
  box-sizing: border-box;
}

.ps-booking-service b {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

.ps-booking-service small {
  margin-top: 5px !important;
  font-size: 11px !important;
}

.ps-service-counter {
  grid-template-columns: 38px 34px 38px !important;
}

.ps-service-counter button,
.ps-service-counter output {
  height: 40px !important;
  font-size: 14px !important;
}

.ps-rental-editor__dialog {
  width: min(680px, 100%);
}

.ps-rental-date-time-field {
  margin-top: 10px;
}

.ps-rental-date-time-field > span {
  margin: 0 0 -8px 12px;
  padding: 0 5px;
  position: relative;
  z-index: 2;
  display: table;
  background: var(--booking-surface);
  color: var(--booking-muted) !important;
  font-size: 9px;
}

.ps-rental-date-time-field > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
}

.ps-rental-date-trigger,
.ps-rental-time-select,
.ps-rental-date-editor select {
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--booking-border-strong);
  border-radius: 11px;
  background: var(--booking-surface);
  color: var(--booking-text) !important;
  font: inherit;
  font-size: 13px;
}

.ps-rental-date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.ps-rental-date-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.ps-rental-time-select {
  width: 100%;
}

.ps-rental-editor__error {
  margin: 12px 0 0;
  color: #d92d20 !important;
  font-size: 12px;
}

.ps-rental-date-editor[hidden] {
  display: none !important;
}

.ps-rental-date-editor {
  position: fixed;
  z-index: 92;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
}

.ps-rental-date-editor__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 12, 18, .72);
  backdrop-filter: blur(3px);
}

.ps-rental-date-editor__dialog {
  position: relative;
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid var(--booking-border);
  border-radius: 15px;
  background: var(--booking-surface);
  color: var(--booking-text) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
}

.ps-rental-date-mobile {
  display: none;
}

.ps-rental-range-calendars {
  min-height: 330px;
  padding: 28px 42px 20px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.ps-rental-range-calendars > div {
  min-width: 0;
}

.ps-rental-calendar__title {
  min-height: 36px;
  display: block;
  color: var(--booking-text) !important;
  font-size: 14px;
  text-align: center;
  text-transform: capitalize;
}

.ps-rental-calendar__weekdays,
.ps-rental-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.ps-rental-calendar__weekdays span {
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--booking-muted) !important;
  font-size: 10px;
}

.ps-rental-calendar__days > span,
.ps-rental-calendar__days > button {
  min-width: 0;
  height: 36px;
}

.ps-rental-calendar__days > button {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--booking-text) !important;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.ps-rental-calendar__days > button:hover,
.ps-rental-calendar__days > button.is-in-range {
  background: var(--booking-surface-alt);
}

.ps-rental-calendar__days > button:disabled {
  color: var(--booking-muted) !important;
  opacity: .45;
  cursor: default;
}

.ps-rental-calendar__days > button.is-start,
.ps-rental-calendar__days > button.is-end {
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
  font-weight: 800;
}

.ps-rental-calendar-nav {
  position: absolute;
  top: 25px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--booking-text) !important;
  font-size: 28px;
  cursor: pointer;
}

.ps-rental-calendar-nav.is-prev { left: 12px; }
.ps-rental-calendar-nav.is-next { right: 12px; }

.ps-rental-date-desktop > footer {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 150px 150px minmax(90px, 1fr) 132px;
  align-items: end;
  gap: 12px;
  border-top: 1px solid var(--booking-border);
}

.ps-rental-date-desktop > footer label span,
.ps-rental-date-desktop > footer small {
  margin-bottom: 6px;
  display: block;
  color: var(--booking-muted) !important;
  font-size: 10px;
}

.ps-rental-date-desktop > footer select {
  width: 100%;
  min-height: 44px;
}

.ps-rental-date-desktop > footer strong {
  color: var(--booking-text) !important;
  font-size: 18px;
}

.ps-rental-date-desktop > footer > button,
.ps-rental-date-mobile footer button:last-child {
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

html[data-theme="dark"] .ps-rental-time-select,
html[data-theme="dark"] .ps-rental-date-editor select {
  color-scheme: dark;
}

@media (max-width: 700px) {
  .ps-booking-service {
    min-height: 68px !important;
    padding: 12px 13px !important;
  }

  .ps-booking-service b {
    font-size: 13px !important;
  }

  .ps-rental-date-time-field > div {
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .ps-rental-date-editor {
    padding: 12px;
  }

  .ps-rental-date-editor__dialog {
    width: min(520px, 100%);
    border-radius: 18px;
  }

  .ps-rental-date-desktop {
    display: none;
  }

  .ps-rental-date-mobile {
    display: block;
  }

  .ps-rental-date-mobile > header {
    min-height: 58px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--booking-border);
  }

  .ps-rental-date-mobile > header strong {
    color: var(--booking-text) !important;
    font-size: 16px;
  }

  .ps-rental-date-mobile > header button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--booking-surface-alt);
    color: var(--booking-text) !important;
    font-size: 25px;
  }

  .ps-rental-mobile-selects {
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 10px;
  }

  .ps-rental-mobile-selects select {
    width: 100%;
    min-height: 46px;
  }

  .ps-rental-date-mobile footer {
    padding: 10px 14px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ps-rental-date-mobile footer button {
    min-height: 46px;
    border: 0;
    border-radius: 11px;
    background: var(--booking-surface-alt);
    color: var(--booking-text) !important;
    font: inherit;
    font-weight: 800;
  }
}

/* 2026-08-14 ui138: viewport-contained filters and complete client step. */
@media (min-width: 768px) {
  html body .ps-market-layout > .ps-sidebar-filters {
    height: var(--ps-sidebar-available-height, calc(100dvh - var(--ps-sticky-search-height, 78px) - 16px)) !important;
    max-height: var(--ps-sidebar-available-height, calc(100dvh - var(--ps-sticky-search-height, 78px) - 16px)) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: contain !important;
  }

  html body .ps-market-layout > .ps-sidebar-filters > .ps-sidebar-box {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y;
  }
}

/* 2026-08-14 ui140: responsive specifications, client controls and final driver step. */
.ps-booking-specs__toggle:disabled {
  opacity: 1 !important;
}

@media (min-width: 701px) {
  .ps-booking-specs__toggle {
    cursor: default !important;
    pointer-events: none !important;
  }

  .ps-booking-specs__toggle svg {
    display: none !important;
  }

  .ps-booking-specs__panel {
    display: block !important;
  }
}

.ps-booking-specs--expanded dl > div {
  min-height: 51px !important;
}

.ps-booking-specs--expanded dt,
.ps-booking-specs--expanded dd {
  font-size: 14px !important;
}

.ps-vehicle-modal__content[aria-busy="true"] {
  cursor: progress;
}

.ps-booking-layout--details {
  grid-template-columns: minmax(0, 604px) 326px !important;
  gap: 42px !important;
  justify-content: center;
}

.ps-booking-client-form {
  min-width: 0;
}

.ps-booking-client-card {
  background: #f3f5f8 !important;
}

.ps-booking-client-card--route {
  padding: 26px !important;
}

.ps-booking-route-columns {
  gap: 14px !important;
}

.ps-booking-route-column {
  padding: 18px !important;
  background: #fff !important;
}

.ps-form-control-only {
  display: block;
  min-width: 0;
}

.ps-form-control-only > .ps-control {
  width: 100%;
  min-width: 0;
}

.ps-form-control-only > .ps-phone-field {
  margin: 0 !important;
}

.ps-phone-field {
  grid-template-columns: 118px minmax(0, 1fr) !important;
}

.ps-phone-field > button {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  padding: 6px 9px !important;
}

.ps-phone-field > button small {
  font-size: 9px !important;
}

.ps-phone-field > .ps-control {
  min-width: 0 !important;
  padding: 0 12px !important;
  font-size: 14px !important;
}

.ps-additional-phones {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.ps-additional-phones__add {
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #226bd5;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.ps-additional-phones__add[hidden],
.ps-additional-phone[hidden] {
  display: none !important;
}

.ps-additional-phone {
  padding: 15px;
  display: grid;
  gap: 11px;
  border: 1px solid var(--booking-client-border);
  border-radius: 14px;
  background: var(--booking-client-surface);
}

.ps-additional-phone header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ps-additional-phone header b {
  color: var(--booking-client-text);
  font-size: 14px;
  font-weight: 900;
}

.ps-additional-phone header button {
  padding: 0 3px;
  border: 0;
  background: transparent;
  color: var(--booking-client-text);
  font: inherit;
  font-size: 23px;
  font-weight: 900;
  cursor: pointer;
}

.ps-additional-phone > p {
  margin: 0;
  color: var(--booking-client-muted) !important;
  font-size: 12px;
  font-weight: 750;
}

.ps-additional-phone__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-additional-phone__messengers label {
  min-height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--booking-client-border);
  border-radius: 9px;
  background: var(--booking-client-soft);
  cursor: pointer;
}

.ps-additional-phone__messengers label > span {
  margin: 0 !important;
  font-size: 12px !important;
}

.ps-client-select {
  position: relative;
  z-index: 1;
  display: block !important;
  margin: 0 !important;
}

.ps-client-select.is-open {
  z-index: 45;
}

.ps-client-select > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ps-client-select__toggle {
  width: 100%;
  min-height: 52px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--booking-client-border);
  border-radius: 12px;
  background: var(--booking-client-surface);
  color: var(--booking-client-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ps-client-select__toggle strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-client-select__toggle small {
  color: var(--booking-client-muted) !important;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.ps-client-select__toggle i {
  font-style: normal;
  font-size: 16px;
  font-weight: 900;
  transition: transform .18s ease;
}

.ps-client-select.is-open .ps-client-select__toggle i {
  transform: rotate(180deg);
}

.ps-client-select__menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: min(var(--client-select-space, 330px), 44dvh);
  padding: 6px;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--booking-client-border);
  border-radius: 12px;
  background: var(--booking-client-surface);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}

.ps-client-select.is-dropup .ps-client-select__menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.ps-client-select.is-open .ps-client-select__menu {
  display: block;
}

.ps-client-select__menu button {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--booking-client-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ps-client-select__menu button span {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

.ps-client-select__menu button small {
  color: var(--booking-client-muted) !important;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.ps-client-select__menu button:hover,
.ps-client-select__menu button.is-selected {
  background: #e4efff;
  color: #1765d1;
}

.ps-client-select--time .ps-client-select__menu button span {
  font-weight: 900 !important;
}

.ps-booking-client-card .ps-consent a {
  color: #1765d1 !important;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ps-booking-summary--client {
  width: 326px;
  padding: 26px !important;
  border-radius: 22px !important;
  background: #f3f5f8 !important;
}

.ps-booking-summary--client .ps-booking-summary__total {
  margin: 0 !important;
  padding: 0 0 20px !important;
  border-bottom: 1px solid var(--booking-client-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.ps-booking-summary--client .ps-booking-summary__total strong {
  font-size: 39px !important;
  line-height: 1.05;
}

.ps-booking-summary--client .ps-booking-summary__total small {
  color: var(--booking-client-text) !important;
  font-size: 14px;
  font-weight: 900;
}

.ps-booking-summary--client dl {
  padding: 17px 0 !important;
}

.ps-booking-summary--client dl div {
  padding: 11px 0 !important;
  font-size: 14px !important;
}

.ps-booking-summary--client dt {
  font-weight: 750;
}

.ps-booking-summary--client .ps-booking-submit {
  min-height: 58px !important;
  font-size: 16px !important;
}

html[data-theme="dark"] .ps-booking-client-card,
html[data-theme="dark"] .ps-booking-summary--client {
  background: #303030 !important;
}

html[data-theme="dark"] .ps-booking-route-column {
  background: #272727 !important;
}

html[data-theme="dark"] .ps-additional-phones__add,
html[data-theme="dark"] .ps-booking-client-card .ps-consent a {
  color: #55e45d !important;
}

html[data-theme="dark"] .ps-client-select__menu button:hover,
html[data-theme="dark"] .ps-client-select__menu button.is-selected {
  background: #314735;
  color: #65ec6b;
}

@media (max-width: 960px) {
  .ps-booking-layout--details {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  .ps-booking-summary--client {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .ps-booking-specs__toggle {
    pointer-events: auto !important;
  }

  .ps-booking-specs__toggle svg {
    display: block !important;
  }

  .ps-booking-specs__panel[hidden] {
    display: none !important;
  }

  .ps-booking-specs--expanded dl {
    grid-template-columns: 1fr !important;
  }

  .ps-booking-specs--expanded dt,
  .ps-booking-specs--expanded dd {
    font-size: 13px !important;
  }

  .ps-booking-client-card--route {
    padding: 17px !important;
  }

  .ps-booking-route-columns {
    grid-template-columns: 1fr !important;
  }

  .ps-booking-route-column {
    padding: 15px !important;
  }

  .ps-form-grid--driver {
    grid-template-columns: 1fr !important;
  }

  .ps-phone-field {
    grid-template-columns: 108px minmax(0, 1fr) !important;
  }

  .ps-phone-field > button small {
    display: none !important;
  }

  .ps-booking-messengers > div,
  .ps-additional-phone__messengers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-client-select__menu {
    max-height: min(300px, 40dvh);
  }

  .ps-booking-summary--client {
    padding: 22px !important;
  }

  .ps-booking-summary--client .ps-booking-summary__total strong {
    font-size: 35px !important;
  }
}

.ps-booking-flow__back svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-rental-location-picker__menu.is-mobile-overlay {
  z-index: 2405 !important;
  padding: 8px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 1px solid var(--booking-border, #d8e0eb) !important;
  border-radius: 16px !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .28) !important;
  overscroll-behavior: contain !important;
}

.ps-booking-shell {
  --booking-client-text: #172033;
  --booking-client-muted: #667085;
  --booking-client-border: #d8e0eb;
  --booking-client-surface: #fff;
  --booking-client-soft: #f4f6f9;
  width: min(1180px, 100%) !important;
  color: var(--booking-client-text);
  background: var(--booking-client-surface) !important;
}

.ps-vehicle-modal__content > .ps-booking-shell {
  width: 100% !important;
  max-width: none !important;
  min-height: calc(100dvh - 84px);
  padding: 24px 28px 34px !important;
}

.ps-vehicle-modal__dialog:has(.ps-booking-shell) > .ps-vehicle-modal__close {
  display: none !important;
}

.ps-booking-layout--details {
  grid-template-columns: minmax(0, 1fr) 330px !important;
  gap: 34px !important;
  align-items: start;
}

.ps-booking-client-form {
  gap: 18px !important;
}

.ps-booking-client-card {
  padding: 24px;
  border: 1px solid var(--booking-client-border);
  border-radius: 20px;
  background: var(--booking-client-soft);
}

.ps-booking-client-card__heading {
  margin: 0 0 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.ps-booking-client-card__heading small {
  display: block;
  margin-bottom: 4px;
  color: var(--booking-client-muted) !important;
  font-size: 12px;
  font-weight: 700;
}

.ps-booking-client-card__heading h1,
.ps-booking-client-card__heading h2 {
  margin: 0;
  color: var(--booking-client-text) !important;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 900;
}

.ps-booking-client-card__heading > b {
  color: var(--booking-client-muted) !important;
  font-size: 14px;
  white-space: nowrap;
}

.ps-booking-client-card .ps-form-grid {
  gap: 15px;
}

.ps-booking-client-card label > span,
.ps-booking-client-card--comment > label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--booking-client-text) !important;
  font-size: 13px;
  font-weight: 800;
}

.ps-booking-client-card .ps-control {
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--booking-client-border);
  border-radius: 12px;
  color: var(--booking-client-text);
  background: var(--booking-client-surface);
  font-size: 15px;
  font-weight: 650;
}

.ps-booking-client-card textarea.ps-control {
  min-height: 112px;
  padding-top: 14px;
}

.ps-form-grid--driver {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ps-form-grid--route {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ps-booking-dates {
  margin-top: 15px;
  padding: 14px 16px;
  border: 1px solid var(--booking-client-border);
  border-radius: 14px;
  background: var(--booking-client-surface);
}

.ps-booking-dates span + span {
  border-left: 1px solid var(--booking-client-border);
  padding-left: 18px;
}

.ps-booking-dates small {
  color: var(--booking-client-muted) !important;
  font-size: 11px;
  font-weight: 700;
}

.ps-booking-dates b {
  margin-top: 5px;
  color: var(--booking-client-text) !important;
  font-size: 14px;
}

.ps-booking-messengers {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.ps-booking-messengers legend {
  color: var(--booking-client-text);
  font-size: 15px;
  font-weight: 900;
}

.ps-booking-messengers > p,
.ps-booking-documents__intro {
  margin: 6px 0 13px;
  color: var(--booking-client-muted) !important;
  font-size: 13px;
  line-height: 1.45;
}

.ps-booking-messengers > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ps-booking-messengers label {
  min-height: 39px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--booking-client-border);
  border-radius: 10px;
  background: var(--booking-client-surface);
  cursor: pointer;
}

.ps-booking-messengers label > span {
  margin: 0;
  font-size: 13px;
}

.ps-booking-check {
  width: 18px;
  height: 18px;
  accent-color: #2b73df;
}

.ps-booking-document-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ps-booking-document-actions button {
  min-height: 52px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #2b73df;
  border-radius: 12px;
  color: #165fcf;
  background: var(--booking-client-surface);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.ps-booking-document-actions button span {
  font-size: 22px;
  line-height: 1;
}

.ps-booking-document-panel {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--booking-client-border);
}

.ps-booking-document-panel[hidden] {
  display: none !important;
}

.ps-booking-client-card--comment > label {
  display: block;
}

.ps-booking-client-card .ps-consent {
  margin-top: 16px;
  padding: 0;
  border: 0;
}

.ps-booking-client-card .ps-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.ps-booking-client-card .ps-consent label > span {
  margin: 0;
  font-size: 13px;
}

.ps-booking-summary--client {
  top: calc(var(--ps-sticky-search-height, 0px) + 18px);
  padding: 18px;
  overflow: visible;
  border: 1px solid var(--booking-client-border);
  border-radius: 22px;
  color: var(--booking-client-text);
  background: var(--booking-client-soft);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.ps-booking-summary--client .ps-booking-summary__vehicle {
  margin: -4px -4px 5px;
  padding: 12px;
  grid-template-columns: 88px minmax(0, 1fr);
  border: 0;
  border-radius: 15px;
  background: var(--booking-client-surface);
}

.ps-booking-summary--client .ps-booking-summary__vehicle h2 {
  font-size: 18px;
  font-weight: 900;
}

.ps-booking-summary--client .ps-booking-summary__vehicle small,
.ps-booking-summary--client .ps-booking-summary__vehicle span {
  color: var(--booking-client-muted) !important;
  font-size: 11px;
  font-weight: 700;
}

.ps-booking-summary--client dl {
  padding: 16px 4px;
  gap: 0;
}

.ps-booking-summary--client dl div {
  padding: 12px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--booking-client-border);
  font-size: 13px;
}

.ps-booking-summary--client dt {
  color: var(--booking-client-muted) !important;
  line-height: 1.35;
}

.ps-booking-summary--client dt small {
  display: block;
  margin-top: 3px;
}

.ps-booking-summary--client dd {
  color: var(--booking-client-text) !important;
  font-size: 14px;
  font-weight: 900;
}

.ps-booking-summary--client .ps-booking-summary__total {
  margin: 0 -4px 16px;
  padding: 16px;
  display: grid;
  gap: 6px;
  border: 0;
  border-radius: 15px;
  background: var(--booking-client-surface);
}

.ps-booking-summary--client .ps-booking-summary__total > span {
  color: var(--booking-client-muted) !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ps-booking-summary--client .ps-booking-summary__total strong {
  color: #2b73df !important;
  font-size: 31px;
  font-weight: 950;
}

.ps-booking-summary--client .ps-booking-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: #2b73df;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
}

html[data-theme="dark"] .ps-booking-shell {
  --booking-client-text: #f5f5f5;
  --booking-client-muted: #b8b8b8;
  --booking-client-border: #484848;
  --booking-client-surface: #272727;
  --booking-client-soft: #303030;
  background: #272727 !important;
}

html[data-theme="dark"] .ps-booking-summary--client {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .ps-booking-summary--client .ps-booking-summary__total strong {
  color: #55e45d !important;
}

html[data-theme="dark"] .ps-booking-summary--client .ps-booking-submit {
  background: #55e45d;
  color: #102015 !important;
}

html[data-theme="dark"] .ps-booking-document-actions button {
  border-color: #55e45d;
  color: #55e45d;
}

@media (max-width: 960px) {
  .ps-booking-layout--details {
    grid-template-columns: 1fr !important;
  }

  .ps-booking-summary--client {
    position: static;
  }
}

@media (max-width: 700px) {
  .ps-vehicle-modal__content > .ps-booking-shell {
    min-height: 0;
    padding: 12px 12px 22px !important;
  }

  .ps-booking-layout--details {
    gap: 18px !important;
  }

  .ps-booking-client-card {
    padding: 17px;
    border-radius: 16px;
  }

  .ps-booking-client-card__heading h1,
  .ps-booking-client-card__heading h2 {
    font-size: 19px;
  }

  .ps-form-grid--driver,
  .ps-form-grid--route,
  .ps-booking-document-actions {
    grid-template-columns: 1fr;
  }

  .ps-booking-dates {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ps-booking-dates span + span {
    padding: 12px 0 0;
    border-top: 1px solid var(--booking-client-border);
    border-left: 0;
  }

  .ps-booking-messengers > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-booking-summary--client {
    padding: 15px;
    border-radius: 18px;
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  .ps-home-page .ps-shell {
    width: min(760px, calc(100% - 28px));
  }

  .ps-home-page .ps-header {
    padding: 12px 0;
  }

  .ps-home-page .ps-header__inner {
    min-height: 56px;
    padding: 7px 12px;
  }

  .ps-home-page .ps-brand {
    width: 76px;
  }

  .ps-home-page .ps-brand img {
    width: 40px;
    height: 32px;
  }

  .ps-home-page .ps-nav > a,
  .ps-home-page .ps-region-menu summary {
    font-size: 10px;
  }

  .ps-home-page .ps-hero {
    min-height: 330px;
  }

  .ps-home-page .ps-hero__content {
    padding-top: 55px;
  }

  .ps-home-page .ps-hero h1 {
    font-size: 36px;
  }

  .ps-home-page .ps-hero__benefits {
    font-size: 12px;
  }

  .ps-home-page .ps-search {
    margin-top: -34px;
  }

  .ps-home-page .ps-search__frame {
    padding: 8px;
    border-radius: 16px;
  }

  .ps-home-page .ps-search__bar {
    min-height: 0;
    padding: 10px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-radius: 11px;
  }

  .ps-home-page .ps-search__dates {
    grid-column: 1 / -1;
  }

  .ps-home-page .ps-search__field > span {
    font-size: 10px;
  }

  .ps-home-page .ps-search select,
  .ps-home-page .ps-search input,
  .ps-home-page .ps-control,
  .ps-home-page .ps-filter-toggle,
  .ps-home-page .ps-search__mobile-submit {
    min-height: 36px;
    font-size: 10px;
  }

  .ps-home-page .ps-class-block {
    margin-top: 22px;
  }

  .ps-home-page .ps-class-block h2 {
    font-size: 17px;
  }

  .ps-home-page .ps-class-tabs button {
    width: calc(33.333% - 6px);
    min-width: 0;
    min-height: 64px;
    padding: 8px;
  }

  .ps-home-page .ps-class-tabs strong,
  .ps-home-page .ps-class-tabs small {
    font-size: 10px;
  }

  .ps-home-page .ps-results-head,
  .ps-home-page .ps-results-head button {
    font-size: 11px;
  }

  .ps-home-page .ps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ps-home-page .ps-card__media {
    height: 190px;
  }

  .ps-home-page .ps-card h3,
  .ps-home-page .ps-card__title-row strong {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .ps-home-page .ps-hero {
    min-height: 300px;
  }

  .ps-home-page .ps-hero__content {
    padding-top: 38px;
  }

  .ps-home-page .ps-hero h1 {
    font-size: 28px;
  }

  .ps-home-page .ps-hero__benefits {
    margin-top: 8px;
    font-size: 12px;
  }

  .ps-home-page .ps-search {
    margin-top: -30px;
  }

  .ps-home-page .ps-search__frame {
    padding: 8px;
    border-radius: 15px;
  }

  .ps-home-page .ps-search__bar {
    padding: 10px;
    gap: 8px;
  }

  .ps-home-page .ps-class-block {
    margin-top: 22px;
  }

  .ps-home-page .ps-card__media {
    height: 188px;
  }

  .ps-home-page .ps-card h3 {
    font-size: 18px;
  }

  .ps-home-page .ps-card__title-row strong {
    font-size: 17px;
  }
}

/* ============================================================
   Elephant marketplace home — compact marketplace composition
   ============================================================ */
.ps-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ps-home-page {
  background: #f5f6f5;
  color: #17201d;
  font-size: 14px;
}

.ps-home-page .ps-shell {
  width: min(1120px, calc(100% - 32px));
}

.ps-home-page .ps-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  padding: 10px 0 0;
}

.ps-home-page .ps-header__inner {
  min-height: 48px;
  padding: 5px 12px 5px 16px;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(10,28,35,.12);
  backdrop-filter: blur(14px);
}

.ps-home-page .ps-brand {
  width: 74px;
  gap: 0;
  font-size: 6px;
}

.ps-home-page .ps-brand img {
  width: 38px;
  height: 30px;
}

.ps-home-page .ps-nav {
  gap: 22px;
}

.ps-home-page .ps-nav > a,
.ps-home-page .ps-region-menu summary {
  font-size: 10px;
  font-weight: 600;
}

.ps-home-page .ps-language summary {
  width: 36px;
  height: 30px;
  border-radius: 7px;
  font-size: 19px;
}

.ps-market-hero {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  color: #fff;
  background-image: var(--ps-hero-image);
  background-position: center 44%;
  background-size: cover;
}

.ps-market-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,34,47,.78) 0%, rgba(13,34,45,.56) 47%, rgba(13,29,37,.38) 100%),
    linear-gradient(180deg, rgba(4,16,23,.08), rgba(4,15,20,.42));
}

.ps-market-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 66px;
}

.ps-market-hero h1 {
  width: min(690px, 78%);
  margin: 0;
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.025em;
  text-shadow: 0 3px 16px rgba(0,0,0,.28);
}

.ps-market-hero__benefits {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  font-size: 11px;
  font-weight: 600;
}

.ps-market-hero__benefits span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ps-market-hero__payments {
  margin-top: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ps-market-hero__payments > span {
  min-width: 34px;
  height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #18342c;
  background: #fff;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
}

.ps-market-hero__payments strong {
  margin-left: 8px;
  max-width: 330px;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 600;
}

.ps-market {
  min-height: 600px;
  padding-bottom: 64px;
}

.ps-market .ps-search {
  position: relative;
  z-index: 65;
  margin-top: -48px;
}

.ps-market .ps-search__frame {
  padding: 8px;
  overflow: visible;
  border-radius: 11px;
  background: #149f68;
  box-shadow: 0 14px 30px rgba(18,74,55,.22);
}

.ps-market .ps-search__bar {
  min-height: 51px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(160px,1fr) minmax(160px,1fr) minmax(360px,2.35fr) 140px;
  gap: 4px;
  background: transparent;
  border-radius: 0;
}

.ps-market .ps-search__field {
  min-width: 0;
  padding: 6px 12px 5px;
  display: grid;
  gap: 1px;
  align-content: center;
  background: #fff;
  border-radius: 7px;
}

.ps-market .ps-search__field > span {
  color: #747d79;
  font-size: 9px;
  font-weight: 500;
}

.ps-market .ps-search select,
.ps-market .ps-search input,
.ps-market .ps-control {
  min-height: 25px;
  padding: 0 1px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #1f2b27;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.ps-market .ps-search select:focus,
.ps-market .ps-search input:focus,
.ps-market .ps-control:focus {
  box-shadow: none;
}

.ps-market .ps-search__dates > div {
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  align-items: center;
  gap: 2px;
}

.ps-market .ps-search__dates i {
  color: #8f9793;
  text-align: center;
  font-style: normal;
}

.ps-market .ps-filter-toggle {
  min-height: 51px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  color: #17201d;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

.ps-market .ps-filter-toggle:hover,
.ps-market .ps-filter-toggle.is-active {
  color: #fff;
  background: #126e4d;
}

.ps-market .ps-search__footer {
  min-height: 37px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-search__location,
.ps-search__submit {
  min-height: 31px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.ps-search__location {
  color: #193028;
  background: #fff;
}

.ps-search__submit {
  margin-left: auto;
  color: #10412f;
  background: #9ff09b;
}

.ps-search__submit:hover {
  background: #b5f5b1;
}

.ps-search__status {
  margin-left: auto;
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  background: rgba(11,90,59,.55);
  border-radius: 7px;
  font-size: 10px;
}

.ps-search__status strong {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0e6644;
  background: #a5f2a0;
}

.ps-search__status b {
  padding-left: 7px;
  border-left: 1px solid rgba(255,255,255,.28);
  font-size: 11px;
}

.ps-market .ps-filter-panel {
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 22px;
  border-radius: 14px;
}

.ps-market .ps-filter-panel__head h2 {
  font-size: 20px;
}

.ps-market .ps-filter-panel__grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.ps-market .ps-filter-panel label > span {
  font-size: 10px;
}

.ps-market .ps-filter-panel select,
.ps-market .ps-filter-panel input[type="number"] {
  min-height: 39px;
  padding: 0 11px;
  border: 1px solid #b8bfbb;
  border-radius: 9px;
  font-size: 11px;
}

.ps-filter-panel__checks {
  margin-top: 16px;
  padding-top: 15px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 9px;
  border-top: 1px solid #e4e8e5;
}

.ps-filter-panel__checks label {
  min-height: 36px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7dcd8;
  border-radius: 9px;
  cursor: pointer;
}

.ps-filter-panel__checks input {
  width: 16px;
  height: 16px;
  accent-color: #159b65;
}

.ps-market .ps-filter-panel__actions {
  margin-top: 18px;
}

.ps-market .ps-filter-panel__actions > a {
  font-size: 11px;
}

.ps-market .ps-filter-panel__actions > button {
  min-height: 38px;
  font-size: 11px;
}

.ps-quick-picks {
  margin-top: 15px;
}

.ps-quick-picks__rail {
  display: grid;
  grid-template-columns: repeat(10,minmax(0,1fr));
  gap: 5px;
}

.ps-quick-tile {
  position: relative;
  min-width: 0;
  min-height: 106px;
  padding: 10px 8px 8px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: start;
  align-items: start;
  overflow: hidden;
  border: 1px solid #e1e5e2;
  border-radius: 9px;
  color: #20302a;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.ps-quick-tile:hover,
.ps-quick-tile.is-selected {
  transform: translateY(-2px);
  border-color: #30a86f;
  box-shadow: 0 8px 20px rgba(26,74,56,.13);
}

.ps-quick-tile__icon {
  min-width: 34px;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #159b65;
  font-size: 23px;
  font-weight: 800;
}

.ps-quick-tile__icon--new {
  padding: 3px 5px;
  color: #fff;
  background: #e94c57;
  border-radius: 4px;
  font-size: 8px;
  letter-spacing: .04em;
}

.ps-quick-tile__icon--deposit,
.ps-quick-tile__icon--automatic {
  width: 31px;
  border-radius: 50%;
  background: #eef7f2;
  font-size: 15px;
}

.ps-quick-tile strong {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.ps-quick-tile small {
  justify-self: end;
  color: #8d9591;
  font-size: 8px;
}

.ps-section-heading {
  margin: 15px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ps-section-heading h2 {
  margin: 0;
  color: #1f312b;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.ps-section-heading h2 span {
  color: #8a928e;
  font-weight: 500;
}

.ps-section-heading > a,
.ps-section-heading > button {
  padding: 0;
  border: 0;
  color: #42504b;
  background: transparent;
  text-decoration: none;
  font-size: 11px;
  cursor: pointer;
}

.ps-popular__rail {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 8px;
}

.ps-popular-card {
  position: relative;
  min-width: 0;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #dde3df;
  text-decoration: none;
  box-shadow: 0 5px 13px rgba(19,40,32,.12);
}

.ps-popular-card img,
.ps-popular-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-popular-card__placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#eef2ef,#cfd9d3);
}

.ps-popular-card__placeholder svg {
  width: 82%;
  fill: #8ba298;
}

.ps-popular-card__badges {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ps-popular-card__badges span {
  padding: 3px 5px;
  color: #352042;
  background: #cf8cff;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 800;
}

.ps-popular-card__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 8px 8px;
  display: grid;
  gap: 1px;
  background: linear-gradient(180deg,transparent,rgba(0,0,0,.92));
}

.ps-popular-card__caption strong {
  font-size: 12px;
  line-height: 1.15;
}

.ps-popular-card__caption span {
  font-size: 9px;
  font-weight: 700;
}

.ps-section-heading--results {
  margin-top: 17px;
  margin-bottom: 8px;
  align-items: end;
}

.ps-section-heading--results p {
  margin: 3px 0 0;
  color: #8a928e;
  font-size: 9px;
}

.ps-home-page .ps-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.ps-listing-card {
  min-width: 0;
  min-height: 493px;
  padding: 12px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid #e0e5e1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(25,48,39,.09);
  transition: transform .16s ease, box-shadow .16s ease;
}

.ps-listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(25,48,39,.14);
}

.ps-listing-card__head {
  min-height: 45px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.ps-listing-card__head h3 {
  margin: 0;
  color: #20332d;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
}

.ps-listing-card__head p {
  margin: 2px 0 0;
  color: #979e9a;
  font-size: 8px;
}

.ps-listing-card__featured {
  align-self: start;
  padding: 4px 6px;
  border-radius: 5px;
  color: #fff;
  background: #149f68;
  font-size: 7px;
  font-weight: 800;
}

.ps-listing-card__badges {
  min-height: 34px;
  margin-top: 3px;
  display: flex;
  align-content: start;
  flex-wrap: wrap;
  gap: 4px;
}

.ps-listing-card__badges span {
  padding: 3px 5px;
  border: 1px solid #c9ddff;
  border-radius: 5px;
  color: #315376;
  background: #edf5ff;
  font-size: 7px;
  line-height: 1.1;
  font-weight: 700;
}

.ps-listing-card__badges span.is-green {
  color: #146440;
  border-color: #a5e9ca;
  background: #daf8e9;
}

.ps-listing-card__badges span.is-aqua {
  color: #0d6660;
  border-color: #9de5dd;
  background: #d7faf5;
}

.ps-listing-card__badges span.is-purple {
  color: #66336f;
  border-color: #e3b3ef;
  background: #f6e2fb;
}

.ps-listing-card__meta {
  min-height: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #4f5d58;
  font-size: 8px;
}

.ps-listing-card__media {
  position: relative;
  min-height: 230px;
  margin: 5px -3px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f5f4;
}

.ps-listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-vehicle-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background:
    radial-gradient(circle at 50% 25%,rgba(120,228,112,.17),transparent 42%),
    linear-gradient(180deg,#fafcfa,#e7ece8);
}

.ps-vehicle-placeholder svg {
  width: min(82%,260px);
  fill: #8ea49a;
}

.ps-vehicle-placeholder svg .glass {
  fill: #dfe9e4;
}

.ps-vehicle-placeholder svg .wheel {
  fill: #d7dfdb;
}

.ps-vehicle-placeholder span {
  color: #718078;
  font-size: 10px;
  font-weight: 700;
}

.ps-listing-card__terms {
  min-height: 50px;
  margin-top: 7px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 3px;
}

.ps-listing-card__terms span {
  min-width: 0;
  padding: 6px 4px;
  display: grid;
  align-content: center;
  gap: 2px;
  border-radius: 6px;
  color: #56635e;
  background: #f3f5f4;
  text-align: center;
  font-size: 7px;
  line-height: 1.15;
}

.ps-listing-card__terms b {
  color: #23372f;
  font-size: 7px;
}

.ps-listing-card__foot {
  min-height: 52px;
  margin-top: 8px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.ps-listing-card__price {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.ps-listing-card__price strong {
  color: #22372f;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.ps-listing-card__price span {
  color: #919995;
  font-size: 8px;
}

.ps-listing-card__details {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 6px;
  color: #fff;
  background: #19b879;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
}

.ps-listing-card__details:hover {
  background: #119761;
}

.ps-home-page .ps-grid__item.is-extra {
  display: none;
}

.ps-home-page .ps-grid__item.is-extra.is-revealed {
  display: block;
}

.ps-home-page .ps-show-more-wrap {
  margin-top: 20px;
  gap: 8px;
}

.ps-home-page .ps-show-more {
  min-width: 220px;
  min-height: 39px;
  border-radius: 8px;
  font-size: 11px;
}

.ps-home-page .ps-show-more-wrap small {
  font-size: 8px;
}

.ps-home-page .ps-empty {
  margin-top: 12px;
  padding: 42px 20px;
}

@media (max-width: 1023px) {
  .ps-home-page .ps-shell {
    width: calc(100% - 24px);
  }

  .ps-market-hero {
    min-height: 252px;
  }

  .ps-market-hero__content {
    padding-top: 69px;
  }

  .ps-market .ps-search__bar {
    grid-template-columns: 1fr 1fr;
  }

  .ps-market .ps-search__dates {
    grid-column: 1 / -1;
  }

  .ps-market .ps-filter-toggle {
    grid-column: 1 / -1;
    min-height: 38px;
  }

  .ps-market .ps-search__frame {
    padding: 7px;
  }

  .ps-market .ps-search__field {
    min-height: 50px;
  }

  .ps-quick-picks__rail,
  .ps-popular__rail {
    grid-auto-flow: column;
    grid-auto-columns: 106px;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    padding-bottom: 4px;
  }

  .ps-popular__rail {
    grid-auto-columns: 210px;
  }

  .ps-home-page .ps-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .ps-market .ps-filter-panel__grid,
  .ps-filter-panel__checks {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 767px) {
  .ps-home-page .ps-shell {
    width: calc(100% - 16px);
  }

  .ps-home-page .ps-header {
    padding-top: 7px;
  }

  .ps-home-page .ps-header__inner {
    min-height: 44px;
    padding: 4px 8px 4px 11px;
  }

  .ps-home-page .ps-brand {
    width: 62px;
  }

  .ps-home-page .ps-brand img {
    width: 33px;
    height: 27px;
  }

  .ps-home-page .ps-nav {
    top: calc(100% + 6px);
  }

  .ps-home-page .ps-menu-button {
    display: block;
    width: 36px;
    height: 32px;
  }

  .ps-market-hero {
    min-height: 270px;
    background-position: center 42%;
  }

  .ps-market-hero__content {
    padding-top: 68px;
  }

  .ps-market-hero h1 {
    width: 100%;
    font-size: 27px;
  }

  .ps-market-hero__benefits {
    gap: 5px 12px;
    font-size: 9px;
  }

  .ps-market-hero__payments {
    margin-top: 11px;
  }

  .ps-market-hero__payments strong {
    display: none;
  }

  .ps-market .ps-search {
    margin-top: -44px;
  }

  .ps-market .ps-search__bar {
    grid-template-columns: 1fr;
  }

  .ps-market .ps-search__dates,
  .ps-market .ps-filter-toggle {
    grid-column: auto;
  }

  .ps-market .ps-search__dates > div {
    grid-template-columns: 1fr;
  }

  .ps-market .ps-search__dates i {
    display: none;
  }

  .ps-market .ps-search__footer {
    flex-wrap: wrap;
  }

  .ps-search__status {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .ps-search__submit {
    margin-left: auto;
  }

  .ps-market .ps-filter-panel {
    position: fixed;
    inset: auto 8px 8px;
    max-height: calc(100vh - 90px);
    overflow: auto;
  }

  .ps-market .ps-filter-panel__grid,
  .ps-filter-panel__checks {
    grid-template-columns: 1fr;
  }

  .ps-section-heading h2 {
    font-size: 16px;
  }

  .ps-popular-card {
    height: 168px;
  }

  .ps-home-page .ps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ps-listing-card {
    min-height: 465px;
  }

  .ps-listing-card__media {
    min-height: 218px;
  }
}

/* Rendering-stable card and quick-tile flow. */
.ps-quick-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ps-quick-tile strong { flex: 1 1 auto; }
.ps-quick-tile small { margin-left: auto; }

.ps-popular-card__placeholder svg { fill: #849b91; }
.ps-popular-card__caption { z-index: 3; }

.ps-listing-card {
  display: flex;
  flex-direction: column;
  min-height: 512px;
}
.ps-listing-card__head,
.ps-listing-card__badges,
.ps-listing-card__meta,
.ps-listing-card__terms,
.ps-listing-card__foot { flex: 0 0 auto; }
.ps-listing-card__media {
  height: 230px;
  min-height: 230px;
  flex: 0 0 230px;
}
.ps-listing-card__foot { margin-top: auto; }

@media (max-width: 767px) {
  .ps-listing-card { min-height: 490px; }
  .ps-listing-card__media { height: 220px; min-height: 220px; flex-basis: 220px; }
}


/* Minimal monochrome refresh for public marketplace */
:root {
  --ps-ink: #111315;
  --ps-copy: #303438;
  --ps-muted: #6d7378;
  --ps-line: #d8dde1;
  --ps-soft: #f4f5f6;
  --ps-green: #151719;
  --ps-green-strong: #24282b;
  --ps-green-dark: #151719;
  --ps-brown: #101214;
  --ps-white: #fff;
  --ps-shadow: 0 18px 44px rgba(16, 18, 20, .08);
}

body {
  background: #f3f4f5;
  color: var(--ps-ink);
  font-size: 17px;
}

.ps-home-page .ps-shell {
  width: min(1320px, calc(100% - 32px));
}

.ps-home-page .ps-header {
  padding: 10px 0;
}

.ps-home-page .ps-header__inner {
  min-height: 64px;
  padding: 10px 22px;
  border: 1px solid rgba(17, 19, 21, .08);
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 8px 24px rgba(17, 19, 21, .06);
  backdrop-filter: blur(10px);
}

.ps-home-page .ps-brand {
  width: 102px;
  font-size: 8px;
}

.ps-home-page .ps-brand img {
  width: 46px;
  height: 38px;
}

.ps-home-page .ps-nav > a,
.ps-home-page .ps-region-menu summary {
  font-size: 13px;
  font-weight: 600;
}

.ps-home-page .ps-language summary {
  width: 34px;
  height: 28px;
  background: #f1f3f4;
  font-size: 17px;
}

.ps-market-hero {
  min-height: 330px;
  background-position: center 43%;
}

.ps-market-hero__shade {
  background:
    linear-gradient(90deg, rgba(14,15,16,.72) 0%, rgba(24,28,31,.55) 52%, rgba(20,23,26,.42) 100%),
    linear-gradient(180deg, rgba(12,14,15,.10), rgba(15,17,19,.46));
}

.ps-market-hero__content {
  padding-top: 72px;
}

.ps-market-hero h1 {
  width: min(760px, 82%);
  font-size: clamp(48px, 4.2vw, 64px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.04em;
}

.ps-market-hero__benefits {
  margin-top: 14px;
  gap: 8px 20px;
  font-size: 15px;
  font-weight: 700;
}

.ps-market-hero__payments {
  margin-top: 16px;
  gap: 8px;
}

.ps-market-hero__payments > span {
  min-width: 38px;
  height: 24px;
  padding: 0 8px;
  color: #16191b;
  border-radius: 6px;
  font-size: 9px;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 21, .08);
}

.ps-market-hero__payments strong {
  font-size: 12px;
  font-weight: 600;
}

.ps-market {
  padding-bottom: 84px;
}

.ps-market .ps-search {
  margin-top: -26px;
}

.ps-market .ps-search__frame {
  padding: 10px;
  border: 1px solid #d8dde1;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250,250,250,.98), rgba(240,242,243,.98));
  box-shadow: var(--ps-shadow);
}

.ps-market .ps-search__bar {
  min-height: 62px;
  grid-template-columns: minmax(180px,1fr) minmax(180px,1fr) minmax(400px,2.2fr) 164px;
  gap: 8px;
}

.ps-market .ps-search__field {
  min-height: 62px;
  padding: 10px 16px 9px;
  gap: 4px;
  border: 1px solid var(--ps-line);
  border-radius: 12px;
  background: #fff;
}

.ps-market .ps-search__field > span {
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
}

.ps-market .ps-search select,
.ps-market .ps-search input,
.ps-market .ps-control {
  min-height: 28px;
  font-size: 17px;
  font-weight: 600;
}

.ps-market .ps-search__dates > div {
  grid-template-columns: 1fr 18px 1fr;
  gap: 6px;
}

.ps-market .ps-filter-toggle {
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid var(--ps-line);
  color: #151719;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.ps-market .ps-filter-toggle:hover,
.ps-market .ps-filter-toggle.is-active {
  color: #fff;
  background: #151719;
}

.ps-market .ps-search__footer {
  min-height: 44px;
  margin-top: 10px;
  gap: 10px;
}

.ps-search__location,
.ps-search__submit {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.ps-search__location {
  border: 1px solid var(--ps-line);
  color: #23282c;
  background: #fff;
}

.ps-search__submit {
  color: #fff;
  background: #151719;
}

.ps-search__submit:hover {
  background: #2a2f33;
}

.ps-search__status {
  min-height: 40px;
  padding: 0 14px;
  color: #fff;
  background: #2a2f33;
  border-radius: 10px;
  font-size: 13px;
}

.ps-search__status strong {
  width: 22px;
  height: 22px;
  color: #1d2023;
  background: #fff;
}

.ps-search__status b {
  padding-left: 9px;
  font-size: 13px;
}

.ps-market .ps-filter-panel {
  border: 1px solid var(--ps-line);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(17,19,21,.12);
}

.ps-market .ps-filter-panel__head h2 {
  font-size: 24px;
}

.ps-market .ps-filter-panel label > span {
  font-size: 12px;
}

.ps-market .ps-filter-panel select,
.ps-market .ps-filter-panel input[type="number"] {
  min-height: 44px;
  border-radius: 10px;
  font-size: 14px;
}

.ps-filter-panel__checks {
  gap: 10px;
}

.ps-filter-panel__checks label {
  min-height: 42px;
  border-radius: 10px;
  font-size: 13px;
}

.ps-filter-panel__checks input {
  accent-color: #24282b;
}

.ps-market .ps-filter-panel__actions > a,
.ps-market .ps-filter-panel__actions > button {
  font-size: 14px;
}

.ps-market .ps-filter-panel__actions > button {
  min-height: 42px;
  color: #fff;
  background: #151719;
}

.ps-quick-picks {
  margin-top: 18px;
}

.ps-quick-picks__rail {
  gap: 10px;
}

.ps-quick-tile {
  min-height: 122px;
  padding: 14px 12px 10px;
  border: 1px solid var(--ps-line);
  border-radius: 14px;
  color: #1b2023;
  background: #fff;
}

.ps-quick-tile:hover,
.ps-quick-tile.is-selected {
  transform: translateY(-2px);
  border-color: #b7bcc1;
  box-shadow: 0 8px 24px rgba(17,19,21,.08);
}

.ps-quick-tile__icon {
  min-width: 38px;
  min-height: 34px;
  color: #656d74;
  font-size: 24px;
}

.ps-quick-tile__icon--new {
  background: #23272a;
  font-size: 9px;
}

.ps-quick-tile__icon--deposit,
.ps-quick-tile__icon--automatic {
  background: #f1f3f4;
  color: #4d545a;
}

.ps-quick-tile strong {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.24;
}

.ps-quick-tile small {
  color: #9aa1a7;
  font-size: 11px;
}

.ps-section-heading {
  margin: 24px 0 12px;
}

.ps-section-heading h2 {
  color: #161a1d;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.ps-section-heading > a,
.ps-section-heading > button,
.ps-section-heading--results p {
  font-size: 14px;
}

.ps-popular__rail {
  gap: 12px;
}

.ps-popular-card {
  height: 216px;
  border: 1px solid rgba(17,19,21,.08);
  border-radius: 16px;
  background: #dfe4e1;
  box-shadow: 0 8px 24px rgba(17,19,21,.08);
}

.ps-popular-card__placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f1f3f4 0%, #dde2df 100%);
}

.ps-popular-card__placeholder span {
  font-size: 78px;
  font-weight: 800;
  color: rgba(35, 39, 42, .18);
  line-height: 1;
}

.ps-popular-card__badges span {
  color: #1d2124;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(17,19,21,.08);
  font-size: 8px;
}

.ps-popular-card__caption {
  padding: 36px 12px 12px;
}

.ps-popular-card__caption strong {
  font-size: 16px;
  font-weight: 700;
}

.ps-popular-card__caption span {
  font-size: 12px;
}

.ps-home-page .ps-grid {
  gap: 20px;
}

.ps-listing-card {
  min-height: 590px;
  padding: 18px;
  border: 1px solid rgba(17,19,21,.08);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(17,19,21,.06);
}

.ps-listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17,19,21,.10);
}

.ps-listing-card__head {
  min-height: 54px;
}

.ps-listing-card__head h3 {
  font-size: 22px;
  line-height: 1.08;
}

.ps-listing-card__head p {
  margin-top: 4px;
  font-size: 11px;
}

.ps-listing-card__featured {
  padding: 6px 8px;
  border-radius: 8px;
  background: #1d2124;
  font-size: 10px;
}

.ps-listing-card__badges {
  min-height: 42px;
  margin-top: 8px;
  gap: 6px;
}

.ps-listing-card__badges span,
.ps-listing-card__badges span.is-green,
.ps-listing-card__badges span.is-aqua,
.ps-listing-card__badges span.is-purple {
  padding: 5px 8px;
  border: 1px solid #d7dde2;
  border-radius: 999px;
  color: #4d5660;
  background: #f6f7f8;
  font-size: 11px;
  font-weight: 700;
}

.ps-listing-card__meta {
  min-height: 24px;
  margin-top: 2px;
  gap: 10px;
  color: #697178;
  font-size: 12px;
}

.ps-listing-card__media {
  min-height: 280px;
  height: 280px;
  margin: 12px 0 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fafbfb 0%, #eef1ef 100%);
}

.ps-listing-card__media img {
  object-fit: contain;
  padding: 16px;
}

.ps-vehicle-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background:
    radial-gradient(circle at 50% 12%, rgba(0,0,0,.05), transparent 26%),
    linear-gradient(180deg, #fafbfb 0%, #ecefee 100%);
}

.ps-vehicle-placeholder__mark {
  font-size: 88px;
  line-height: 1;
  font-weight: 800;
  color: rgba(34, 38, 41, .14);
}

.ps-vehicle-placeholder__label {
  color: #7b8288;
  font-size: 14px;
  font-weight: 700;
}

.ps-listing-card__terms {
  min-height: 66px;
  margin-top: 12px;
  gap: 6px;
}

.ps-listing-card__terms span {
  padding: 10px 8px;
  border-radius: 10px;
  color: #5a6268;
  background: #f4f6f7;
  font-size: 11px;
  line-height: 1.2;
}

.ps-listing-card__terms b {
  color: #202529;
  font-size: 11px;
}

.ps-listing-card__foot {
  min-height: 60px;
  margin-top: 16px;
  gap: 12px;
}

.ps-listing-card__price strong {
  font-size: 34px;
  line-height: .95;
}

.ps-listing-card__price span {
  font-size: 12px;
}

.ps-listing-card__details {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #151719;
  font-size: 14px;
}

.ps-listing-card__details:hover {
  background: #2a2f33;
}

.ps-home-page .ps-show-more-wrap {
  margin-top: 28px;
}

.ps-home-page .ps-show-more {
  min-width: 240px;
  min-height: 46px;
  border: 1px solid #d3d7db;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
}

.ps-home-page .ps-show-more-wrap small {
  font-size: 11px;
}

@media (max-width: 1180px) {
  .ps-home-page .ps-shell { width: calc(100% - 24px); }
  .ps-market-hero h1 { font-size: clamp(40px, 4vw, 54px); }
  .ps-market .ps-search__bar { grid-template-columns: 1fr 1fr; }
  .ps-market .ps-search__dates { grid-column: 1 / -1; }
  .ps-market .ps-filter-toggle { grid-column: 1 / -1; }
  .ps-quick-picks__rail { grid-auto-flow: column; grid-auto-columns: 160px; grid-template-columns: none; overflow-x: auto; }
  .ps-popular__rail { grid-auto-flow: column; grid-auto-columns: 260px; overflow-x: auto; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .ps-home-page .ps-shell { width: calc(100% - 16px); }
  .ps-home-page .ps-header { padding-top: 8px; }
  .ps-market-hero { min-height: 350px; }
  .ps-market-hero__content { padding-top: 78px; }
  .ps-market-hero h1 { width: 100%; font-size: 42px; }
  .ps-market-hero__benefits { font-size: 13px; }
  .ps-market .ps-search { margin-top: -18px; }
  .ps-market .ps-search__bar { grid-template-columns: 1fr; }
  .ps-market .ps-search__dates, .ps-market .ps-filter-toggle { grid-column: auto; }
  .ps-market .ps-search__dates > div { grid-template-columns: 1fr; }
  .ps-market .ps-search__dates i { display: none; }
  .ps-market .ps-search__footer { flex-wrap: wrap; }
  .ps-search__status { order: 3; width: 100%; margin-left: 0; justify-content: center; }
  .ps-search__submit { margin-left: auto; }
  .ps-market .ps-filter-panel { position: fixed; inset: auto 8px 8px; max-height: calc(100vh - 90px); overflow: auto; }
  .ps-market .ps-filter-panel__grid, .ps-filter-panel__checks { grid-template-columns: 1fr; }
  .ps-section-heading h2 { font-size: 28px; }
  .ps-home-page .ps-grid { grid-template-columns: 1fr; gap: 14px; }
  .ps-listing-card { min-height: 540px; padding: 16px; }
  .ps-listing-card__media { height: 240px; min-height: 240px; }
  .ps-listing-card__price strong { font-size: 30px; }
}


/* Refinement pass: cleaner compact marketplace layout */
.ps-market-hero {
  min-height: 290px;
}

.ps-market-hero__content {
  padding-top: 66px;
}

.ps-market-hero h1 {
  width: min(700px, 88%);
  font-size: clamp(40px, 3.7vw, 54px);
  line-height: 1.02;
}

.ps-market-hero__benefits {
  margin-top: 10px;
  gap: 8px 18px;
  font-size: 13px;
}

.ps-market .ps-search {
  margin-top: -12px;
}

.ps-market .ps-search__frame {
  padding: 10px 12px 12px;
  border-radius: 16px;
}

.ps-market .ps-search__bar {
  min-height: 56px;
  grid-template-columns: minmax(170px,1fr) minmax(170px,1fr) minmax(340px,1.8fr) 150px;
  gap: 8px;
}

.ps-market .ps-search__field {
  min-height: 56px;
  padding: 8px 14px;
  border-radius: 11px;
}

.ps-market .ps-search__field > span {
  font-size: 12px;
}

.ps-market .ps-search select,
.ps-market .ps-search input,
.ps-market .ps-control {
  font-size: 15px;
}

.ps-market .ps-filter-toggle {
  min-height: 56px;
  border-radius: 11px;
  font-size: 13px;
}

.ps-market .ps-search__footer {
  min-height: 36px;
  margin-top: 8px;
}

.ps-search__location {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 12px;
}

.ps-market .ps-filter-panel {
  padding: 20px;
}

.ps-market .ps-filter-panel__grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.ps-market .ps-filter-panel__head h2 {
  font-size: 21px;
}

.ps-market .ps-filter-panel__actions {
  margin-top: 14px;
}

.ps-market .ps-filter-panel__actions > a {
  font-size: 12px;
}

.ps-market .ps-filter-panel__actions > button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
}

.ps-section-heading--compact {
  margin: 12px 0 10px;
}

.ps-section-heading--compact h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.ps-quick-picks {
  margin-top: 16px;
}

.ps-quick-picks__rail {
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
}

.ps-quick-tile {
  min-height: 92px;
  padding: 12px 10px 8px;
  border-radius: 14px;
}

.ps-quick-tile__icon {
  min-width: 26px;
  min-height: 24px;
  font-size: 18px;
}

.ps-quick-tile strong {
  margin-top: 8px;
  font-size: 13px;
}

.ps-quick-tile small {
  font-size: 11px;
}

.ps-section-heading {
  margin: 18px 0 10px;
}

.ps-section-heading h2 {
  font-size: 26px;
}

.ps-section-heading > a,
.ps-section-heading > button,
.ps-section-heading--results p {
  font-size: 13px;
}

.ps-home-page .ps-grid {
  gap: 16px;
}

.ps-listing-card {
  min-height: 548px;
  padding: 16px;
  border-radius: 16px;
}

.ps-listing-card__head {
  min-height: 50px;
}

.ps-listing-card__head h3 {
  font-size: 20px;
}

.ps-listing-card__head p {
  font-size: 12px;
}

.ps-listing-card__badges {
  min-height: 36px;
  gap: 6px;
}

.ps-listing-card__badges span,
.ps-listing-card__badges span.is-green,
.ps-listing-card__badges span.is-aqua,
.ps-listing-card__badges span.is-purple {
  font-size: 10px;
}

.ps-listing-card__meta {
  font-size: 11px;
}

.ps-listing-card__media {
  min-height: 250px;
  height: 250px;
  margin-top: 10px;
}

.ps-vehicle-placeholder__mark {
  font-size: 56px;
}

.ps-vehicle-placeholder__label {
  font-size: 13px;
}

.ps-listing-card__terms {
  min-height: 60px;
  margin-top: 10px;
  gap: 5px;
}

.ps-listing-card__terms span,
.ps-listing-card__terms b {
  font-size: 10px;
}

.ps-listing-card__foot {
  min-height: 56px;
  margin-top: 14px;
}

.ps-listing-card__price strong {
  font-size: 30px;
}

.ps-listing-card__price span {
  font-size: 11px;
}

.ps-listing-card__details {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .ps-market .ps-filter-panel__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .ps-quick-picks__rail {
    grid-auto-flow: column;
    grid-auto-columns: 150px;
    grid-template-columns: none;
    overflow-x: auto;
  }
}

@media (max-width: 767px) {
  .ps-market-hero {
    min-height: 300px;
  }
  .ps-market-hero h1 {
    font-size: 34px;
  }
  .ps-market .ps-search__bar {
    grid-template-columns: 1fr;
  }
  .ps-market .ps-search__dates,
  .ps-market .ps-filter-toggle {
    grid-column: auto;
  }
  .ps-market .ps-search__dates > div {
    grid-template-columns: 1fr;
  }
  .ps-market .ps-search__dates i {
    display: none;
  }
  .ps-market .ps-filter-panel__grid {
    grid-template-columns: 1fr;
  }
  .ps-section-heading h2 {
    font-size: 24px;
  }
  .ps-home-page .ps-grid {
    grid-template-columns: 1fr;
  }
}


/* Polish pass: fix scale, contrast and compactness */
body {
  background: #f8f8f8;
}

.ps-home-page .ps-shell {
  width: min(1280px, calc(100% - 28px));
}

.ps-home-page .ps-header__inner {
  min-height: 60px;
  padding: 8px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(17, 19, 21, .06);
}

.ps-market-hero {
  min-height: 312px;
}

.ps-market-hero__content {
  padding-top: 86px;
}

.ps-market-hero h1 {
  margin: 0;
  width: min(760px, 90%);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.ps-market-hero__benefits {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

.ps-market .ps-search__frame {
  padding: 8px 10px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e1e4e7;
  box-shadow: 0 8px 20px rgba(17, 19, 21, .05);
}

.ps-market .ps-search__bar {
  min-height: 52px;
  grid-template-columns: minmax(170px,1fr) minmax(170px,1fr) minmax(320px,1.75fr) 138px;
  gap: 8px;
}

.ps-market .ps-search__field {
  min-height: 52px;
  padding: 7px 14px;
  gap: 3px;
}

.ps-market .ps-search__field > span {
  font-size: 11px;
}

.ps-market .ps-search select,
.ps-market .ps-search input,
.ps-market .ps-control {
  font-size: 14px;
}

.ps-market .ps-filter-toggle {
  min-height: 52px;
  font-size: 12px;
}

.ps-search__location {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.ps-section-heading--compact {
  margin: 14px 0 8px;
}

.ps-section-heading--compact h2 {
  font-size: 15px;
  font-weight: 700;
}

.ps-quick-picks__rail {
  gap: 8px;
}

.ps-quick-tile {
  min-height: 76px;
  padding: 10px 10px 8px;
  border-radius: 12px;
}

.ps-quick-tile__icon {
  min-width: 22px;
  min-height: 20px;
  font-size: 16px;
}

.ps-quick-tile strong {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
}

.ps-quick-tile small {
  color: #7a8288;
  font-size: 12px;
  font-weight: 600;
}

.ps-section-heading {
  margin: 18px 0 8px;
}

.ps-section-heading h2 {
  font-size: 22px;
  line-height: 1.05;
}

.ps-section-heading > a,
.ps-section-heading > button,
.ps-section-heading--results p {
  font-size: 12px;
}

.ps-section-heading--results button {
  color: #61686d;
}

.ps-home-page .ps-grid {
  gap: 14px;
}

.ps-listing-card {
  min-height: 462px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e2e6e9;
  box-shadow: 0 6px 16px rgba(17, 19, 21, .04);
}

.ps-listing-card__head {
  min-height: 44px;
}

.ps-listing-card__head h3 {
  font-size: 17px;
  font-weight: 700;
}

.ps-listing-card__head p {
  margin-top: 3px;
  color: #899198;
  font-size: 11px;
}

.ps-listing-card__badges {
  min-height: 28px;
  margin-top: 8px;
  gap: 5px;
}

.ps-listing-card__badges span,
.ps-listing-card__badges span.is-green,
.ps-listing-card__badges span.is-aqua,
.ps-listing-card__badges span.is-purple {
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 600;
}

.ps-listing-card__meta {
  margin-top: 7px;
  gap: 8px;
  font-size: 12px;
}

.ps-listing-card__media {
  min-height: 210px;
  height: 210px;
  margin-top: 10px;
  border-radius: 12px;
}

.ps-listing-card__media,
.ps-listing-card__media:hover,
.ps-listing-card__media:focus {
  text-decoration: none;
}

.ps-vehicle-placeholder {
  gap: 0;
  background: linear-gradient(180deg, #fbfbfb 0%, #f1f2f3 100%);
}

.ps-vehicle-placeholder__mark {
  font-size: 40px;
  color: rgba(38, 43, 46, .2);
}

.ps-vehicle-placeholder__label {
  display: none;
}

.ps-listing-card__terms {
  min-height: 52px;
  margin-top: 10px;
  gap: 5px;
}

.ps-listing-card__terms span {
  padding: 8px 6px;
  border-radius: 9px;
  font-size: 10px;
}

.ps-listing-card__terms b {
  font-size: 10px;
}

.ps-listing-card__foot {
  min-height: 52px;
  margin-top: 12px;
}

.ps-listing-card__price strong {
  font-size: 26px;
}

.ps-listing-card__price span {
  font-size: 12px;
}

.ps-listing-card__details {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .ps-market-hero__content {
    padding-top: 92px;
  }
  .ps-market .ps-search__bar {
    grid-template-columns: 1fr 1fr;
  }
  .ps-market .ps-search__dates,
  .ps-market .ps-filter-toggle {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .ps-home-page .ps-shell {
    width: calc(100% - 16px);
  }
  .ps-market-hero {
    min-height: 286px;
  }
  .ps-market-hero__content {
    padding-top: 82px;
  }
  .ps-market-hero h1 {
    font-size: 30px;
  }
  .ps-market-hero__benefits {
    font-size: 13px;
    gap: 6px 14px;
  }
  .ps-market .ps-search__bar {
    grid-template-columns: 1fr;
  }
  .ps-market .ps-search__dates,
  .ps-market .ps-filter-toggle {
    grid-column: auto;
  }
  .ps-market .ps-search__dates > div {
    grid-template-columns: 1fr;
  }
  .ps-market .ps-search__dates i {
    display: none;
  }
  .ps-quick-picks__rail {
    grid-auto-flow: column;
    grid-auto-columns: 138px;
    grid-template-columns: none;
    overflow-x: auto;
  }
  .ps-home-page .ps-grid {
    grid-template-columns: 1fr;
  }
}


/* Rounded search and filter modal */
.ps-search__footer,
.ps-search__mobile-submit {
  display: none !important;
}

.ps-market {
  padding-top: 2px;
}

.ps-market .ps-search {
  position: relative;
  z-index: 65;
  margin-top: -36px;
}

.ps-market .ps-search__frame {
  padding: 16px;
  border: 0;
  border-radius: 24px;
  background: rgba(34, 29, 29, .84);
  box-shadow: 0 24px 48px rgba(20, 20, 20, .18);
}

.ps-market .ps-search__bar {
  min-height: 90px;
  padding: 18px 20px;
  border-radius: 22px;
  background: #fff;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(360px, 1.7fr) 150px;
  gap: 10px;
}

.ps-market .ps-search__field {
  min-height: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ps-market .ps-search__field > span {
  margin-bottom: 8px;
  color: #282828;
  font-size: 14px;
  font-weight: 500;
}

.ps-market .ps-search select,
.ps-market .ps-search input,
.ps-market .ps-control {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #292929;
  border-radius: 16px;
  color: #242424;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

.ps-market .ps-search__dates > div {
  grid-template-columns: 1fr 18px 1fr;
  gap: 8px;
  align-items: center;
}

.ps-market .ps-search__dates i {
  display: grid;
  place-items: center;
  color: #8a8a8a;
}

.ps-market .ps-filter-toggle {
  align-self: end;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #4dbf55;
  border-radius: 999px;
  color: #1b1b1b;
  background: #72dc66;
  font-size: 13px;
  font-weight: 600;
}

.ps-market .ps-filter-toggle:hover,
.ps-market .ps-filter-toggle.is-active {
  color: #111;
  background: #65d35b;
}

.ps-market .ps-filter-panel {
  top: calc(100% + 10px);
  left: 14px;
  right: 14px;
  padding: 22px 28px 20px;
  border: 1px solid #d8d8d8;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(17, 17, 17, .18);
}

.ps-market .ps-filter-panel__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ps-market .ps-filter-panel label {
  gap: 8px;
}

.ps-market .ps-filter-panel label > span {
  color: #303030;
  font-size: 13px;
  font-weight: 500;
}

.ps-market .ps-filter-panel select,
.ps-market .ps-filter-panel input[type="number"] {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #2d2d2d;
  border-radius: 14px;
  color: #242424;
  background: #fff;
  font-size: 13px;
}

.ps-market .ps-filter-panel__actions {
  margin-top: 18px;
  align-items: center;
}

.ps-market .ps-filter-panel__actions > a {
  padding: 0;
  border: 0;
  color: #5a5a5a;
  background: transparent;
  font-size: 13px;
}

.ps-market .ps-filter-panel__actions > button {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #49bc52;
  border-radius: 999px;
  color: #111;
  background: #72dc66;
  font-size: 14px;
  font-weight: 600;
}

.ps-quick-picks {
  margin-top: 14px;
}

.ps-quick-picks__rail {
  gap: 10px;
}

.ps-quick-tile {
  min-height: 74px;
  padding: 12px 14px 10px;
  border: 1px solid #cacaca;
  border-radius: 16px;
  background: #fff;
}

.ps-quick-tile__icon {
  min-width: 20px;
  min-height: 18px;
  font-size: 15px;
}

.ps-quick-tile strong {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 500;
}

.ps-quick-tile small {
  color: #6a6a6a;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .ps-market .ps-search__bar {
    grid-template-columns: 1fr 1fr;
  }

  .ps-market .ps-search__dates,
  .ps-market .ps-filter-toggle {
    grid-column: 1 / -1;
  }

  .ps-market .ps-filter-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ps-market .ps-search__frame {
    padding: 10px;
    border-radius: 18px;
  }

  .ps-market .ps-search__bar {
    padding: 14px;
    border-radius: 18px;
    grid-template-columns: 1fr;
  }

  .ps-market .ps-search__dates,
  .ps-market .ps-filter-toggle {
    grid-column: auto;
  }

  .ps-market .ps-search__dates > div {
    grid-template-columns: 1fr;
  }

  .ps-market .ps-search__dates i {
    display: none;
  }

  .ps-market .ps-filter-panel {
    left: 8px;
    right: 8px;
    padding: 18px;
    border-radius: 22px;
  }

  .ps-market .ps-filter-panel__grid {
    grid-template-columns: 1fr;
  }
}

/* Hero/header composition matched to the approved reference */
.ps-home-page .ps-header {
  padding: 42px 0 0;
}

.ps-home-page .ps-header > .ps-shell {
  width: min(840px, calc(100% - 36px));
}

.ps-home-page .ps-header__inner {
  min-height: 70px;
  padding: 10px 22px 10px 26px;
  gap: 22px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 34px rgba(17, 18, 20, .12);
  backdrop-filter: blur(12px);
}

.ps-home-page .ps-brand {
  width: 98px;
  gap: 0;
  font-size: 8px;
  letter-spacing: .14em;
}

.ps-home-page .ps-brand img {
  width: 58px;
  height: 47px;
}

.ps-home-page .ps-nav {
  gap: 30px;
}

.ps-home-page .ps-nav > a,
.ps-home-page .ps-region-menu summary {
  color: #202326;
  font-size: 13px;
  font-weight: 500;
}

.ps-home-page .ps-language summary {
  width: 44px;
  height: 36px;
  border-radius: 9px;
  background: #f4f5f5;
  font-size: 22px;
}

.ps-market-hero {
  min-height: 620px;
  background-position: center 45%;
  background-size: cover;
}

.ps-market-hero__shade {
  background:
    linear-gradient(180deg, rgba(8, 11, 13, .08) 0%, rgba(10, 12, 14, .18) 52%, rgba(10, 10, 11, .42) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .08), transparent 44%, rgba(0, 0, 0, .08));
}

.ps-market-hero__content {
  padding-top: 266px;
  text-align: center;
}

.ps-market-hero h1 {
  width: 100%;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(42px, 4.35vw, 58px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -.04em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.ps-market-hero__benefits {
  width: max-content;
  margin: 14px auto 0;
  display: grid;
  justify-items: start;
  gap: 1px;
  transform: translateX(94px);
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  font-style: italic;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .65);
}

.ps-market-hero__benefits span {
  display: block;
}

.ps-market {
  position: relative;
  padding-top: 0;
}

.ps-market .ps-search {
  width: min(860px, 100%);
  margin: -82px auto 0;
}

.ps-market .ps-search__frame {
  padding: 20px 22px 22px;
  border: 0;
  border-radius: 28px;
  background: rgba(18, 15, 15, .86);
  box-shadow: 0 26px 62px rgba(15, 13, 13, .24);
}

.ps-market .ps-search__bar {
  min-height: 92px;
  padding: 18px 20px;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(280px, 1.65fr) 136px;
  gap: 8px;
  border-radius: 22px;
  background: #fff;
}

.ps-market .ps-search__field {
  min-height: 55px;
  padding: 0;
  border: 0;
  background: transparent;
}

.ps-market .ps-search__field > span {
  margin-bottom: 8px;
  color: #25282a;
  font-size: 13px;
  font-weight: 500;
}

.ps-market .ps-search select,
.ps-market .ps-search input,
.ps-market .ps-control {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #2d3133;
  border-radius: 14px;
  color: #3a3e41;
  background: #fff;
  font-size: 12px;
  font-weight: 400;
}

.ps-market .ps-search__dates > div {
  grid-template-columns: 1fr 14px 1fr;
  gap: 4px;
}

.ps-market .ps-filter-toggle {
  align-self: end;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #2f3335;
  border-radius: 999px;
  color: #222628;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
}

.ps-market .ps-filter-toggle:hover,
.ps-market .ps-filter-toggle.is-active {
  color: #111;
  border-color: #5ac961;
  background: #79df71;
}

.ps-market .ps-filter-toggle svg {
  width: 17px;
  height: 17px;
}

.ps-quick-picks {
  margin-top: 46px;
}

@media (max-width: 980px) {
  .ps-home-page .ps-header {
    padding-top: 20px;
  }

  .ps-home-page .ps-header > .ps-shell {
    width: calc(100% - 28px);
  }

  .ps-home-page .ps-nav {
    gap: 18px;
  }

  .ps-market-hero {
    min-height: 540px;
  }

  .ps-market-hero__content {
    padding-top: 235px;
  }

  .ps-market .ps-search {
    width: min(760px, calc(100% - 28px));
    margin-top: -72px;
  }

  .ps-market .ps-search__bar {
    grid-template-columns: 1fr 1fr;
  }

  .ps-market .ps-search__dates,
  .ps-market .ps-filter-toggle {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .ps-home-page .ps-header {
    padding-top: 10px;
  }

  .ps-home-page .ps-header__inner {
    min-height: 58px;
    padding: 8px 12px;
    border-radius: 15px;
  }

  .ps-home-page .ps-brand {
    width: 72px;
  }

  .ps-home-page .ps-brand img {
    width: 42px;
    height: 34px;
  }

  .ps-market-hero {
    min-height: 430px;
    background-position: center 46%;
  }

  .ps-market-hero__content {
    padding-top: 170px;
  }

  .ps-market-hero h1 {
    font-size: 31px;
  }

  .ps-market-hero__benefits {
    margin-top: 10px;
    transform: none;
    font-size: 13px;
  }

  .ps-market .ps-search {
    width: calc(100% - 16px);
    margin-top: -46px;
  }

  .ps-market .ps-search__frame {
    padding: 10px;
    border-radius: 20px;
  }

  .ps-market .ps-search__bar {
    padding: 14px;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .ps-market .ps-search__dates,
  .ps-market .ps-filter-toggle {
    grid-column: auto;
  }

  .ps-market .ps-search__dates > div {
    grid-template-columns: 1fr;
  }

  .ps-market .ps-search__dates i {
    display: none;
  }

  .ps-quick-picks {
    margin-top: 24px;
  }
}


/* Clean compact search panel inspired by modern rental marketplaces */
.ps-market .ps-search {
  width: min(1000px, calc(100% - 32px));
  margin-top: -54px;
}

.ps-market .ps-search__frame {
  padding: 12px;
  border: 1px solid rgba(25, 31, 38, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 34px rgba(16, 24, 40, .14);
  backdrop-filter: blur(10px);
}

.ps-market .ps-search__bar {
  min-height: 66px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(360px, 2fr) 138px;
  align-items: stretch;
  gap: 8px;
  border-radius: 0;
  background: transparent;
}

.ps-market .ps-search__field {
  min-width: 0;
  min-height: 66px;
  padding: 9px 13px 8px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid #d9dee5;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}

.ps-market .ps-search__field:focus-within {
  border-color: #8da8ff;
  box-shadow: 0 0 0 3px rgba(57, 96, 224, .10);
}

.ps-market .ps-search__field > span {
  margin: 0;
  color: #727a84;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 500;
}

.ps-market .ps-search select,
.ps-market .ps-search input,
.ps-market .ps-control {
  min-width: 0;
  width: 100%;
  min-height: 30px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  color: #20262d;
  background: transparent;
  box-shadow: none;
  outline: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.ps-market .ps-search select:focus,
.ps-market .ps-search input:focus,
.ps-market .ps-control:focus {
  box-shadow: none;
}

.ps-market .ps-search__dates > div {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.ps-market .ps-search__dates input {
  min-width: 0;
  padding-right: 2px;
}

.ps-market .ps-search__dates i {
  display: grid;
  place-items: center;
  color: #a0a7af;
  font-style: normal;
  font-size: 12px;
}

.ps-market .ps-filter-toggle {
  min-height: 66px;
  align-self: stretch;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: #315ee8;
  box-shadow: 0 8px 18px rgba(49, 94, 232, .20);
  font-size: 13px;
  font-weight: 700;
}

.ps-market .ps-filter-toggle:hover,
.ps-market .ps-filter-toggle.is-active {
  color: #fff;
  background: #244bc7;
}

.ps-market .ps-filter-toggle svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.ps-market .ps-filter-panel {
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  padding: 22px;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(16, 24, 40, .16);
}

.ps-market .ps-filter-panel__grid {
  gap: 14px;
}

.ps-market .ps-filter-panel select,
.ps-market .ps-filter-panel input[type="number"] {
  min-height: 42px;
  border: 1px solid #d4dae1;
  border-radius: 10px;
  font-size: 13px;
}

.ps-market .ps-filter-panel__actions > button {
  border: 0;
  color: #fff;
  background: #315ee8;
}

.ps-market .ps-filter-panel__actions > button:hover {
  background: #244bc7;
}

@media (max-width: 980px) {
  .ps-market .ps-search {
    width: min(760px, calc(100% - 28px));
    margin-top: -50px;
  }

  .ps-market .ps-search__bar {
    grid-template-columns: 1fr 1fr;
  }

  .ps-market .ps-search__dates {
    grid-column: 1 / -1;
  }

  .ps-market .ps-filter-toggle {
    grid-column: 1 / -1;
    min-height: 48px;
  }
}

@media (max-width: 767px) {
  .ps-market .ps-search {
    width: calc(100% - 16px);
    margin-top: -34px;
  }

  .ps-market .ps-search__frame {
    padding: 9px;
    border-radius: 14px;
  }

  .ps-market .ps-search__bar {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .ps-market .ps-search__field,
  .ps-market .ps-filter-toggle {
    min-height: 58px;
  }

  .ps-market .ps-search__dates,
  .ps-market .ps-filter-toggle {
    grid-column: auto;
  }

  .ps-market .ps-search__dates > div {
    grid-template-columns: 1fr;
  }

  .ps-market .ps-search__dates i {
    display: none;
  }
}



/* Search + left filters + compact cards redesign */
.ps-market-form {
  display: block;
}

.ps-market .ps-search {
  margin-top: -22px;
}

.ps-market .ps-search__frame {
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid #dfe4ea;
  box-shadow: 0 16px 36px rgba(28, 35, 45, .08);
}

.ps-market .ps-search__bar--find {
  min-height: 82px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  grid-template-columns: minmax(180px,1fr) minmax(180px,1fr) minmax(360px,1.7fr) 134px;
  gap: 10px;
}

.ps-market .ps-search__field {
  min-height: 54px;
  padding: 0;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ps-market .ps-search__field > span {
  color: #273142;
  font-size: 14px;
  font-weight: 600;
}

.ps-market .ps-search select,
.ps-market .ps-search input,
.ps-market .ps-control {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d7dde5;
  border-radius: 14px;
  color: #1e2735;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
}

.ps-market .ps-search__dates > div {
  grid-template-columns: 1fr 18px 1fr;
  gap: 8px;
  align-items: center;
}

.ps-market .ps-search__dates i {
  display: grid;
  place-items: center;
  color: #8190a5;
}

.ps-search__submit-main {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #3a63f3;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.ps-search__submit-main svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ps-search__submit-main:hover {
  background: #3157dc;
}

.ps-market-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 268px minmax(0,1fr);
  gap: 18px;
  align-items: start;
}

.ps-sidebar-filters {
  position: sticky;
  top: 12px;
}

.ps-sidebar-box {
  padding: 18px 16px;
  border: 1px solid #e1e6ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 31, 42, .05);
}

.ps-sidebar-box > h2 {
  margin: 0 0 14px;
  color: #151d28;
  font-size: 20px;
  font-weight: 800;
}

.ps-sidebar-group + .ps-sidebar-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf1f4;
}

.ps-sidebar-group h3,
.ps-sidebar-group label > span {
  display: block;
  margin-bottom: 8px;
  color: #273142;
  font-size: 14px;
  font-weight: 700;
}

.ps-sidebar-options {
  display: grid;
  gap: 8px;
}

.ps-sidebar-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  background: #fff;
  color: #253141;
  cursor: pointer;
}

.ps-sidebar-option span {
  font-size: 14px;
  font-weight: 600;
}

.ps-sidebar-option small {
  color: #7c899b;
  font-size: 12px;
  font-weight: 600;
}

.ps-sidebar-option:hover,
.ps-sidebar-option.is-selected {
  border-color: #b6c6ff;
  background: #f5f8ff;
}

.ps-sidebar-group select,
.ps-sidebar-group input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d7dde5;
  border-radius: 12px;
  color: #1e2735;
  background: #fff;
  font-size: 14px;
}

.ps-sidebar-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-sidebar-actions a {
  text-align: center;
  color: #5c6778;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.ps-sidebar-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #3a63f3;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.ps-sidebar-actions button:hover {
  background: #3157dc;
}

.ps-market-results {
  min-width: 0;
}

.ps-home-page .ps-grid {
  gap: 12px;
}

.ps-listing-card {
  min-height: 392px;
  padding: 12px;
  border-radius: 14px;
}

.ps-listing-card__head h3 {
  font-size: 15px;
}

.ps-listing-card__head p {
  font-size: 10px;
}

.ps-listing-card__badges {
  min-height: 24px;
  margin-top: 6px;
  gap: 4px;
}

.ps-listing-card__badges span,
.ps-listing-card__badges span.is-green,
.ps-listing-card__badges span.is-aqua,
.ps-listing-card__badges span.is-purple {
  padding: 3px 6px;
  font-size: 10px;
}

.ps-listing-card__meta {
  margin-top: 6px;
  gap: 7px;
  font-size: 11px;
}

.ps-listing-card__media {
  min-height: 168px;
  height: 168px;
  margin-top: 8px;
  border-radius: 10px;
}

.ps-vehicle-placeholder__mark {
  font-size: 30px;
}

.ps-listing-card__terms {
  min-height: 44px;
  margin-top: 8px;
  gap: 4px;
}

.ps-listing-card__terms span {
  padding: 6px 5px;
  font-size: 9px;
}

.ps-listing-card__terms b {
  margin-bottom: 2px;
  font-size: 9px;
}

.ps-listing-card__foot {
  min-height: 44px;
  margin-top: 10px;
}

.ps-listing-card__price strong {
  font-size: 22px;
}

.ps-listing-card__price span {
  font-size: 10px;
}

.ps-listing-card__details {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
}

@media (max-width: 1180px) {
  .ps-market-layout {
    grid-template-columns: 240px minmax(0,1fr);
  }
  .ps-market .ps-search__bar--find {
    grid-template-columns: 1fr 1fr;
  }
  .ps-market .ps-search__dates {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .ps-market-layout {
    grid-template-columns: 1fr;
  }
  .ps-sidebar-filters {
    position: static;
    order: 2;
  }
  .ps-market-results {
    order: 1;
  }
}

@media (max-width: 767px) {
  .ps-market .ps-search__frame {
    padding: 10px;
    border-radius: 18px;
  }
  .ps-market .ps-search__bar--find {
    padding: 12px;
    border-radius: 16px;
    grid-template-columns: 1fr;
  }
  .ps-market .ps-search__dates > div {
    grid-template-columns: 1fr;
  }
  .ps-market .ps-search__dates i {
    display: none;
  }
  .ps-search__submit-main {
    width: 100%;
  }
  .ps-sidebar-box {
    padding: 14px;
  }
}

/* Align header and search with the full catalog width. */
.ps-home-page .ps-header > .ps-shell {
  width: min(1280px, calc(100% - 28px));
}

.ps-market .ps-search {
  width: 100%;
  max-width: none;
}

.ps-market .ps-search__frame {
  width: 100%;
}

@media (max-width: 980px) {
  .ps-home-page .ps-header > .ps-shell {
    width: calc(100% - 28px);
  }

  .ps-market .ps-search {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .ps-home-page .ps-header > .ps-shell {
    width: calc(100% - 16px);
  }
}


/* Flat transparent header on the public home page. */
.ps-home-page .ps-header {
  position: absolute;
  inset: 0 0 auto;
  padding: 0;
  background: linear-gradient(180deg, rgba(8, 16, 22, .58), rgba(8, 16, 22, .28));
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
}

.ps-home-page .ps-header > .ps-shell {
  width: min(1280px, calc(100% - 28px));
}

.ps-home-page .ps-header__inner {
  min-height: 58px;
  padding: 6px 0;
  gap: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.ps-home-page .ps-brand {
  width: 82px;
  color: #fff;
}

.ps-home-page .ps-brand img {
  filter: brightness(0) invert(1);
}

.ps-home-page .ps-nav > a,
.ps-home-page .ps-region-menu summary {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .28);
}

.ps-home-page .ps-nav > a::after {
  background: #fff;
}

.ps-home-page .ps-language summary {
  width: 38px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .10);
}

.ps-home-page .ps-menu-button {
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .10);
}

.ps-home-page .ps-menu-button span {
  background: #fff;
}

@media (max-width: 980px) {
  .ps-home-page .ps-header {
    padding: 0;
  }

  .ps-home-page .ps-header > .ps-shell {
    width: calc(100% - 24px);
  }
}

@media (max-width: 767px) {
  .ps-home-page .ps-header > .ps-shell {
    width: calc(100% - 16px);
  }

  .ps-home-page .ps-header__inner {
    min-height: 54px;
    padding: 5px 0;
  }

  .ps-home-page .ps-nav {
    top: 100%;
    right: 0;
    margin-top: 1px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(15, 22, 27, .96);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
  }

  .ps-home-page .ps-nav > a,
  .ps-home-page .ps-region-menu summary {
    color: #fff;
  }
}


/* Elephant Rent wordmark beside the elephant icon. */
.ps-brand {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-items: initial;
  gap: 11px;
  text-decoration: none;
  letter-spacing: 0;
}

.ps-brand img {
  width: 48px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

.ps-brand__wordmark {
  display: block;
  color: #15191d;
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.ps-home-page .ps-brand {
  width: auto;
  gap: 12px;
  color: #fff;
}

.ps-home-page .ps-brand__wordmark {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .25);
}

@media (max-width: 980px) {
  .ps-brand img {
    width: 43px;
    height: 35px;
  }

  .ps-brand__wordmark {
    font-size: 23px;
  }
}

@media (max-width: 767px) {
  .ps-brand {
    gap: 8px;
  }

  .ps-brand img {
    width: 36px;
    height: 30px;
  }

  .ps-brand__wordmark {
    font-size: 18px;
  }

  .ps-home-page .ps-brand {
    width: auto;
  }
}


/* One shared background image for every public page. */
html {
  background: #0d1013;
}

body {
  background-color: #0d1013;
  background-image:
    linear-gradient(rgba(10, 12, 14, .18), rgba(10, 12, 14, .28)),
    url("../img/starry-sky.8c816577c44a.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.ps-hero,
.ps-market-hero,
.ps-stage {
  background-image: url("../img/starry-sky.8c816577c44a.jpg") !important;
  background-position: center 58%;
  background-size: cover;
  background-repeat: no-repeat;
}

.ps-stage {
  background-attachment: fixed;
  background-color: transparent;
}

.ps-stage::after {
  background: rgba(244, 245, 246, .9);
  backdrop-filter: blur(2px);
}

.ps-info-hero {
  background:
    linear-gradient(90deg, rgba(11, 13, 15, .68), rgba(11, 13, 15, .36)),
    url("../img/starry-sky.8c816577c44a.jpg") center 58% / cover no-repeat;
}

.ps-market,
.ps-info {
  background: rgba(247, 248, 249, .93);
  backdrop-filter: blur(2px);
}

@media (max-width: 767px) {
  body,
  .ps-stage {
    background-attachment: scroll;
  }

  .ps-hero,
  .ps-market-hero,
  .ps-stage,
  .ps-info-hero {
    background-position: center;
  }
}


/* Hero refinement: smaller sky-focused banner with dynamic title */
.ps-market-hero,
.ps-hero,
.ps-stage,
.ps-info-hero {
  background-position: center 18% !important;
}

.ps-market-hero {
  min-height: 270px;
}

.ps-market-hero__shade {
  background: linear-gradient(180deg, rgba(8, 10, 12, .46) 0%, rgba(8, 10, 12, .18) 45%, rgba(8, 10, 12, .34) 100%);
}

.ps-market-hero__content {
  padding-top: 112px;
  padding-bottom: 34px;
}

.ps-market-hero h1 {
  width: 100%;
  margin: 0;
  font-size: clamp(34px, 4.1vw, 64px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}

.ps-market-hero__benefits {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: rgba(255,255,255,.94);
  font-size: clamp(16px, 1.45vw, 24px);
  font-style: italic;
  font-weight: 400;
}

.ps-market-hero__benefits span {
  display: inline-flex;
  align-items: center;
}

.ps-market-hero__benefits span:not(:last-child)::after {
  content: ".";
  margin: 0 .42em;
}

@media (max-width: 960px) {
  .ps-market-hero {
    min-height: 236px;
  }

  .ps-market-hero__content {
    padding-top: 102px;
    padding-bottom: 26px;
  }

  .ps-market-hero h1 {
    font-size: clamp(30px, 5vw, 48px);
  }

  .ps-market-hero__benefits {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .ps-market-hero,
  .ps-hero,
  .ps-stage,
  .ps-info-hero {
    background-position: center 14% !important;
  }

  .ps-market-hero {
    min-height: 214px;
  }

  .ps-market-hero__content {
    padding-top: 90px;
    padding-bottom: 22px;
  }

  .ps-market-hero h1 {
    font-size: clamp(26px, 9vw, 42px);
    line-height: 1;
  }

  .ps-market-hero__benefits {
    margin-top: 10px;
    font-size: 14px;
  }
}


/* Refinement: Evolventa-like hero, tighter slogan, refined header controls. */
@font-face {
  font-family: "Evolventa";
  src: local("Evolventa Regular"), local("Evolventa");
  font-display: swap;
}

.ps-home-page .ps-header__inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.ps-home-page .ps-nav > a,
.ps-home-page .ps-region-menu summary {
  font-size: 14px;
  font-weight: 600;
}

.ps-home-page .ps-nav {
  gap: 32px;
}

.ps-region-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ps-summary-chevron {
  width: 10px;
  height: 6px;
  flex: 0 0 auto;
  transform: translateY(1px);
  opacity: .92;
  transition: transform .18s ease;
}

.ps-region-menu[open] .ps-summary-chevron {
  transform: translateY(1px) rotate(180deg);
}

.ps-market-hero,
.ps-hero,
.ps-stage,
.ps-info-hero {
  background-position: center 12% !important;
}

.ps-market-hero {
  min-height: 245px;
}

.ps-market-hero__content {
  padding-top: 108px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.ps-market-hero h1 {
  width: min(980px, 100%);
  margin-left: auto;
  font-family: "Evolventa", "Century Gothic", Manrope, "Noto Sans Thai", sans-serif;
  font-size: clamp(34px, 4.4vw, 72px);
  font-weight: 400;
  letter-spacing: -.04em;
}

.ps-market-hero__benefits {
  width: auto;
  margin-top: 10px;
  justify-content: flex-end;
  gap: 0;
  font-family: "Evolventa", "Century Gothic", Manrope, "Noto Sans Thai", sans-serif;
  font-size: clamp(15px, 1.45vw, 24px);
  letter-spacing: -.01em;
}

.ps-market-hero__benefits span {
  display: inline-flex;
  align-items: center;
}

.ps-market-hero__benefits span::after {
  content: ".";
  margin: 0 .18em 0 .03em;
}

.ps-search__submit-main {
  min-width: 154px;
  border-color: #101317;
  background: #101317;
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 14, 18, .22);
}

.ps-search__submit-main:hover {
  background: #1a1f25;
  border-color: #1a1f25;
}

.ps-search__submit-main svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .ps-home-page .ps-nav {
    gap: 22px;
  }

  .ps-home-page .ps-nav > a,
  .ps-home-page .ps-region-menu summary {
    font-size: 13px;
  }

  .ps-market-hero__content {
    padding-top: 100px;
  }

  .ps-market-hero h1 {
    font-size: clamp(32px, 4.8vw, 56px);
  }
}

@media (max-width: 767px) {
  .ps-home-page .ps-nav > a,
  .ps-home-page .ps-region-menu summary {
    font-size: 14px;
  }

  .ps-market-hero,
  .ps-hero,
  .ps-stage,
  .ps-info-hero {
    background-position: center 10% !important;
  }

  .ps-market-hero {
    min-height: 214px;
  }

  .ps-market-hero__content {
    padding-top: 84px;
    padding-bottom: 20px;
  }

  .ps-market-hero h1 {
    font-size: clamp(26px, 8.6vw, 40px);
  }

  .ps-market-hero__benefits {
    font-size: 14px;
  }

  .ps-search__submit-main {
    min-width: 132px;
  }
}


/* Global Evolventa typography and reference-like right-aligned hero. */
html[lang="ru"] body,
html[lang="en"] body {
  font-family: "Evolventa", "Century Gothic", Manrope, Arial, sans-serif;
}

html[lang="th"] body {
  font-family: "Noto Sans Thai", Manrope, system-ui, sans-serif;
}

.ps-home-page .ps-header__inner {
  min-height: 60px;
}

.ps-home-page .ps-brand__wordmark {
  font-size: 31px;
  letter-spacing: -.035em;
}

.ps-home-page .ps-nav > a,
.ps-home-page .ps-region-menu summary {
  font-size: 15px;
}

.ps-market-hero {
  min-height: 252px;
}

.ps-market-hero__content {
  padding-top: 94px;
  padding-bottom: 16px;
  align-items: flex-end;
  text-align: right;
}

.ps-market-hero h1 {
  width: auto;
  max-width: 1120px;
  margin: 0 0 0 auto;
  font-family: inherit;
  font-size: clamp(48px, 5.55vw, 96px);
  line-height: .94;
  font-weight: 400;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.ps-market-hero__benefits {
  width: auto;
  margin: 8px 0 0 auto;
  justify-content: flex-end;
  font-family: inherit;
  font-size: clamp(20px, 1.72vw, 30px);
  line-height: 1;
  letter-spacing: -.018em;
}

.ps-market-hero__benefits span::after {
  margin: 0 .10em 0 .02em;
}

@media (max-width: 1180px) {
  .ps-home-page .ps-brand__wordmark {
    font-size: 27px;
  }

  .ps-home-page .ps-nav > a,
  .ps-home-page .ps-region-menu summary {
    font-size: 14px;
  }

  .ps-market-hero h1 {
    font-size: clamp(42px, 5.35vw, 72px);
  }

  .ps-market-hero__benefits {
    font-size: clamp(18px, 1.9vw, 25px);
  }
}

@media (max-width: 900px) {
  .ps-market-hero__content {
    padding-top: 98px;
  }

  .ps-market-hero h1 {
    white-space: normal;
    max-width: 760px;
    font-size: clamp(38px, 6vw, 60px);
  }
}

@media (max-width: 767px) {
  .ps-home-page .ps-brand__wordmark {
    font-size: 19px;
  }

  .ps-market-hero {
    min-height: 218px;
  }

  .ps-market-hero__content {
    padding-top: 82px;
    padding-bottom: 18px;
  }

  .ps-market-hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 44px);
    line-height: .98;
  }

  .ps-market-hero__benefits {
    margin-top: 7px;
    font-size: 14px;
  }
}


/* Hero size correction: match the smaller reference composition. */
.ps-market-hero {
  min-height: 238px;
}

.ps-market-hero__content {
  padding-top: 100px;
  padding-bottom: 18px;
  align-items: flex-end;
  text-align: right;
}

.ps-market-hero h1 {
  width: auto;
  max-width: 900px;
  margin-left: auto;
  font-size: clamp(38px, 4.25vw, 66px);
  line-height: .98;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.ps-market-hero__benefits {
  margin-top: 7px;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1;
}

@media (max-width: 1180px) {
  .ps-market-hero h1 {
    max-width: 780px;
    font-size: clamp(36px, 4.6vw, 58px);
  }

  .ps-market-hero__benefits {
    font-size: clamp(16px, 1.55vw, 20px);
  }
}

@media (max-width: 900px) {
  .ps-market-hero__content {
    padding-top: 94px;
  }

  .ps-market-hero h1 {
    max-width: 680px;
    font-size: clamp(34px, 5.5vw, 52px);
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .ps-market-hero {
    min-height: 208px;
  }

  .ps-market-hero__content {
    padding-top: 80px;
    padding-bottom: 16px;
  }

  .ps-market-hero h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .ps-market-hero__benefits {
    margin-top: 6px;
    font-size: 13px;
  }
}


/* Real Evolventa webfont hookup and exact hero right-edge alignment. */
@font-face {
  font-family: "Evolventa";
  src:
    local("Evolventa Regular"),
    local("Evolventa");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Evolventa";
  src:
    local("Evolventa Oblique"),
    local("Evolventa Italic");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Evolventa";
  src:
    local("Evolventa Bold");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

html[lang="ru"] body,
html[lang="en"] body,
html[lang="ru"] button,
html[lang="en"] button,
html[lang="ru"] input,
html[lang="en"] input,
html[lang="ru"] select,
html[lang="en"] select,
html[lang="ru"] textarea,
html[lang="en"] textarea {
  font-family: "Evolventa", "Century Gothic", Manrope, Arial, sans-serif;
}

html[lang="th"] body,
html[lang="th"] button,
html[lang="th"] input,
html[lang="th"] select,
html[lang="th"] textarea {
  font-family: "Noto Sans Thai", Manrope, system-ui, sans-serif;
}

.ps-market-hero__content {
  display: block;
  text-align: right;
}

.ps-market-hero__copy {
  width: min(900px, 100%);
  margin-left: auto;
  text-align: right;
}

.ps-market-hero__copy h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: right;
}

.ps-market-hero__copy .ps-market-hero__benefits {
  width: 100%;
  margin: 7px 0 0;
  justify-content: flex-end;
  text-align: right;
}

.ps-market-hero__benefits span::after {
  content: ".";
  margin: 0 .24em 0 .06em;
}

.ps-market-hero__benefits span:last-child::after {
  margin-right: 0;
}

@media (max-width: 1180px) {
  .ps-market-hero__copy {
    width: min(780px, 100%);
  }
}

@media (max-width: 900px) {
  .ps-market-hero__copy {
    width: min(680px, 100%);
  }
}

@media (max-width: 767px) {
  .ps-market-hero__copy {
    width: 100%;
  }
}


/* Actual hosted Evolventa and exact slogan alignment under the title. */
html[lang="ru"] body,
html[lang="en"] body,
html[lang="ru"] button,
html[lang="en"] button,
html[lang="ru"] input,
html[lang="en"] input,
html[lang="ru"] select,
html[lang="en"] select,
html[lang="ru"] textarea,
html[lang="en"] textarea {
  font-family: "EvolventaRegular", "Evolventa", "Century Gothic", Manrope, Arial, sans-serif;
}

html[lang="ru"] .ps-brand__wordmark,
html[lang="en"] .ps-brand__wordmark,
html[lang="ru"] .ps-nav,
html[lang="en"] .ps-nav,
html[lang="ru"] button,
html[lang="en"] button,
html[lang="ru"] strong,
html[lang="en"] strong,
html[lang="ru"] b,
html[lang="en"] b {
  font-family: "EvolventaBold", "EvolventaRegular", "Century Gothic", Manrope, Arial, sans-serif;
}

html[lang="ru"] .ps-market-hero h1,
html[lang="en"] .ps-market-hero h1 {
  font-family: "EvolventaRegular", "Century Gothic", Manrope, Arial, sans-serif;
}

html[lang="ru"] .ps-market-hero__benefits,
html[lang="en"] .ps-market-hero__benefits {
  font-family: "EvolventaOblique", "EvolventaRegular", "Century Gothic", Manrope, Arial, sans-serif;
  font-style: normal;
}

.ps-market-hero__content {
  display: grid;
  justify-items: end;
  text-align: right;
}

.ps-market-hero__copy {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  display: grid;
  justify-items: end;
  text-align: right;
}

.ps-market-hero__copy h1 {
  width: auto;
  max-width: 100%;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.ps-market-hero__copy .ps-market-hero__benefits {
  width: auto;
  margin: 7px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 0;
  text-align: right;
  white-space: nowrap;
}

.ps-market-hero__benefits span::after {
  content: ".";
  margin: 0 .14em 0 .02em;
}

.ps-market-hero__benefits span:last-child::after {
  margin-right: 0;
}

@media (max-width: 900px) {
  .ps-market-hero__copy h1,
  .ps-market-hero__copy .ps-market-hero__benefits {
    white-space: normal;
  }
}


/* Integrated search fields and monochrome range calendar. */
.ps-market-hero__benefits {
  display: none !important;
}

.ps-market .ps-search__frame {
  padding: 0;
  overflow: visible;
  border: 1px solid #d9dde1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 18, 22, .10);
}

.ps-market .ps-search__bar--find {
  min-height: 72px;
  padding: 0;
  overflow: visible;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(360px, 1.75fr) 142px;
  gap: 0;
  align-items: stretch;
  border-radius: 16px;
  background: #fff;
}

.ps-market .ps-search__field {
  position: relative;
  min-height: 72px;
  padding: 11px 18px 9px;
  display: grid;
  align-content: center;
  gap: 3px;
  border-right: 1px solid #e2e5e8;
  background: transparent;
}

.ps-market .ps-search__field > span {
  color: #606872;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
}

.ps-market .ps-search__field--select select {
  width: 100%;
  min-height: 28px;
  padding: 0 42px 0 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #14181c;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2314181c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  font-size: 15px;
  font-weight: 500;
  box-shadow: none;
}

.ps-market .ps-search__field--select select:focus {
  box-shadow: none;
}

.ps-search__field--range {
  z-index: 8;
}

.ps-date-range-source {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ps-date-range-trigger {
  width: 100%;
  min-height: 30px;
  padding: 0 38px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #14181c;
  text-align: left;
  cursor: pointer;
}

.ps-date-range-trigger strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
}

.ps-date-range-trigger small {
  flex: 0 0 auto;
  color: #737b84;
  font-size: 11px;
  white-space: nowrap;
}

.ps-date-range-trigger svg {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 10px;
  height: 6px;
  transition: transform .18s ease;
}

.ps-search__field--range.is-open .ps-date-range-trigger svg {
  transform: rotate(180deg);
}

.ps-search__submit-main {
  min-width: 0;
  min-height: 54px;
  margin: 9px;
  align-self: stretch;
  border-radius: 11px;
  background: #111418;
  box-shadow: none;
}

.ps-search__submit-main:hover {
  background: #272c31;
}

.ps-date-range-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  width: min(660px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid #d5d9dd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(12, 15, 18, .22);
}

.ps-date-range-popover[hidden] {
  display: none;
}

.ps-date-range-calendars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ps-calendar-month__head {
  min-height: 34px;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  text-align: center;
}

.ps-calendar-month__head strong {
  color: #191d21;
  font-size: 13px;
  font-weight: 700;
  text-transform: capitalize;
}

.ps-calendar-nav {
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.ps-calendar-nav:hover {
  background: #f1f2f3;
}

.ps-calendar-nav svg {
  width: 8px;
  height: 12px;
  fill: none;
  stroke: #171a1e;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-calendar-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 0;
}

.ps-calendar-weekday,
.ps-calendar-empty,
.ps-calendar-day {
  min-width: 0;
  height: 36px;
  display: grid;
  place-items: center;
}

.ps-calendar-weekday {
  color: #6e757d;
  font-size: 11px;
  font-weight: 500;
  text-transform: capitalize;
}

.ps-calendar-day {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #24292e;
  font-size: 13px;
  cursor: pointer;
}

.ps-calendar-day:hover:not(:disabled) {
  border-radius: 8px;
  background: #eceeef;
}

.ps-calendar-day:disabled {
  color: #c4c8cc;
  cursor: default;
}

.ps-calendar-day.is-in-range {
  background: #e6e8ea;
}

.ps-calendar-day.is-start,
.ps-calendar-day.is-end {
  border-radius: 8px;
  color: #fff;
  background: #111418;
  font-weight: 700;
}

.ps-calendar-day.is-today:not(.is-start):not(.is-end) {
  box-shadow: inset 0 0 0 1px #111418;
  border-radius: 8px;
}

.ps-date-range-footer {
  margin-top: 18px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  border-top: 1px solid #e6e8ea;
}

.ps-date-range-total {
  display: grid;
  gap: 2px;
  margin-right: auto;
}

.ps-date-range-total span {
  color: #717981;
  font-size: 11px;
}

.ps-date-range-total strong {
  color: #171a1e;
  font-size: 15px;
}

.ps-date-range-footer > button {
  min-width: 132px;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #111418;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ps-date-range-footer > button:hover {
  background: #272c31;
}

.ps-date-range-footer > button:disabled {
  opacity: .45;
  cursor: default;
}

@media (max-width: 980px) {
  .ps-market .ps-search__bar--find {
    grid-template-columns: 1fr 1fr;
  }

  .ps-market .ps-search__field {
    border-bottom: 1px solid #e2e5e8;
  }

  .ps-search__field--range,
  .ps-search__submit-main {
    grid-column: 1 / -1;
  }

  .ps-search__field--range {
    border-right: 0;
  }

  .ps-date-range-popover {
    right: auto;
    left: 0;
  }
}

@media (max-width: 699px) {
  .ps-market .ps-search__bar--find {
    grid-template-columns: 1fr;
  }

  .ps-market .ps-search__field,
  .ps-search__field--range,
  .ps-search__submit-main {
    grid-column: auto;
  }

  .ps-market .ps-search__field {
    min-height: 66px;
    border-right: 0;
  }

  .ps-date-range-trigger {
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .ps-date-range-popover {
    position: fixed;
    inset: auto 8px 8px;
    width: auto;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 16px;
  }

  .ps-date-range-calendars {
    grid-template-columns: 1fr;
  }
}


/* Search UX refinement: fully clickable fields, centered chevrons, persistent range picker, time selectors. */
.ps-market .ps-search__field--select {
  cursor: pointer;
}

.ps-market .ps-search__field--select select {
  cursor: pointer;
  padding-right: 54px;
  background-position: right 24px center;
}

.ps-market .ps-search__field--range {
  cursor: pointer;
}

.ps-date-range-trigger {
  min-height: 34px;
  padding-right: 54px;
}

.ps-date-range-trigger svg {
  right: 24px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.ps-search__field--range.is-open .ps-date-range-trigger svg {
  transform: translateY(-50%) rotate(180deg);
}

.ps-date-range-popover {
  border-color: #1f2328;
  background: #111418;
  color: #f4f6f7;
  box-shadow: 0 28px 80px rgba(4, 6, 8, .48);
}

.ps-calendar-month__head strong,
.ps-date-range-total strong {
  color: #f5f7f8;
}

.ps-calendar-nav:hover {
  background: #1a1f24;
}

.ps-calendar-nav svg {
  stroke: #f5f7f8;
}

.ps-calendar-weekday,
.ps-date-range-total span,
.ps-date-range-times label > span {
  color: #9199a2;
}

.ps-calendar-day {
  color: #f1f3f4;
}

.ps-calendar-day:hover:not(:disabled) {
  background: #1a1f24;
}

.ps-calendar-day:disabled {
  color: #4b535b;
}

.ps-calendar-day.is-in-range {
  background: #2a2f35;
}

.ps-calendar-day.is-start,
.ps-calendar-day.is-end {
  background: #f5f7f8;
  color: #111418;
}

.ps-calendar-day.is-today:not(.is-start):not(.is-end) {
  box-shadow: inset 0 0 0 1px #f5f7f8;
}

.ps-date-range-footer {
  margin-top: 20px;
  padding-top: 18px;
  align-items: end;
  border-top-color: #242a31;
}

.ps-date-range-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 12px;
  margin-right: auto;
}

.ps-date-range-times label {
  display: grid;
  gap: 6px;
}

.ps-date-range-times select {
  min-height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid #313840;
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
  background-color: #171c21;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23f5f7f8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: #f5f7f8;
  font: inherit;
}

.ps-date-range-times select:focus {
  outline: none;
  border-color: #f5f7f8;
}

.ps-date-range-footer > button {
  background: #f5f7f8;
  color: #111418;
}

.ps-date-range-footer > button:hover {
  background: #ffffff;
}

@media (max-width: 699px) {
  .ps-date-range-times {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-right: 0;
  }

  .ps-date-range-footer {
    gap: 14px;
    align-items: stretch;
    flex-direction: column;
  }

  .ps-date-range-total {
    margin-right: 0;
  }

  .ps-date-range-footer > button {
    width: 100%;
  }
}


/* White-and-black refresh, custom search selects, classes above results, moon background. */
body {
  background-image: linear-gradient(rgba(4, 5, 7, .18), rgba(4, 5, 7, .30)), url("../img/starry-sky.8c816577c44a.jpg");
}

.ps-hero,
.ps-market-hero,
.ps-stage,
.ps-info-hero {
  background-image: url("../img/starry-sky.8c816577c44a.jpg") !important;
  background-position: center 44% !important;
}

.ps-market,
.ps-info {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(3px);
}

.ps-market .ps-search__field--select select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.ps-custom-select {
  position: relative;
}

.ps-custom-select__button {
  width: 100%;
  min-height: 30px;
  padding: 0 44px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #101317;
  cursor: pointer;
  text-align: left;
}

.ps-custom-select__value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
}

.ps-custom-select__button svg {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 6px;
  transform: translateY(-50%);
  transition: transform .18s ease;
}

.ps-custom-select.is-open .ps-custom-select__button svg {
  transform: translateY(-50%) rotate(180deg);
}

.ps-custom-select__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -10px;
  right: -10px;
  z-index: 90;
  display: none;
  padding: 8px;
  border: 1px solid #d7dade;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(10, 14, 18, .14);
}

.ps-custom-select.is-open .ps-custom-select__menu {
  display: grid;
  gap: 4px;
}

.ps-custom-select__option {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #111418;
  text-align: left;
  cursor: pointer;
}

.ps-custom-select__option:hover,
.ps-custom-select__option.is-selected {
  background: #f1f3f5;
}

.ps-custom-select__option.is-selected {
  font-weight: 600;
}

.ps-date-range-popover {
  border-color: #d6dadd;
  background: #fff;
  color: #101317;
  box-shadow: 0 28px 80px rgba(7, 10, 14, .16);
}

.ps-calendar-month__head strong,
.ps-date-range-total strong {
  color: #14181c;
}

.ps-calendar-nav:hover {
  background: #f1f3f5;
}

.ps-calendar-nav svg {
  stroke: #13171b;
}

.ps-calendar-weekday,
.ps-date-range-total span,
.ps-date-range-times label > span {
  color: #6f7780;
}

.ps-calendar-day {
  color: #111418;
}

.ps-calendar-day:hover:not(:disabled) {
  background: #f1f3f5;
}

.ps-calendar-day:disabled {
  color: #c7ccd1;
}

.ps-calendar-day.is-in-range {
  background: #eceef1;
}

.ps-calendar-day.is-start,
.ps-calendar-day.is-end {
  background: #111418;
  color: #fff;
}

.ps-calendar-day.is-today:not(.is-start):not(.is-end) {
  box-shadow: inset 0 0 0 1px #111418;
}

.ps-date-range-footer {
  border-top-color: #e6e8eb;
}

.ps-date-range-times select {
  border-color: #d6dadd;
  background-color: #fff;
  color: #111418;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111418' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ps-date-range-times select:focus {
  border-color: #111418;
}

.ps-date-range-footer > button {
  background: #111418;
  color: #fff;
}

.ps-date-range-footer > button:hover {
  background: #23282d;
}

.ps-class-block--catalog {
  margin-top: 18px;
  margin-bottom: 22px;
}

.ps-class-block--catalog h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}

.ps-class-block--catalog .ps-class-tabs {
  gap: 14px;
}

.ps-class-block--catalog .ps-class-tabs button {
  width: calc(20% - 11.2px);
  min-width: 180px;
  min-height: 88px;
  padding: 14px 16px;
  grid-template-columns: 50px 1fr auto;
  border: 1px solid #b9bec4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 10, 12, .04);
}

.ps-class-block--catalog .ps-class-tabs button:hover,
.ps-class-block--catalog .ps-class-tabs button.is-selected {
  border-color: #14181c;
  box-shadow: 0 10px 26px rgba(8, 10, 12, .08);
}

.ps-class-tabs__icon {
  width: 44px;
  height: 32px;
  position: relative;
  display: inline-block;
  color: #5b5f64;
  font-size: 0;
  filter: none;
}

.ps-class-tabs__icon::before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 34px;
  line-height: 1;
}

.ps-class-tabs__icon--premium::before { content: '🏎'; }
.ps-class-tabs__icon--econom::before { content: '🚗'; }
.ps-class-tabs__icon--comfort::before { content: '🚘'; }
.ps-class-tabs__icon--jeeps::before { content: '🚙'; }
.ps-class-tabs__icon--minibus::before { content: '🚐'; }

.ps-class-block--catalog .ps-class-tabs strong {
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: #404447;
}

.ps-class-block--catalog .ps-class-tabs small {
  align-self: end;
  color: #50555a;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1180px) {
  .ps-class-block--catalog .ps-class-tabs button {
    width: calc(33.333% - 9.5px);
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .ps-custom-select__menu {
    left: 0;
    right: 0;
  }

  .ps-class-block--catalog {
    margin-top: 14px;
    margin-bottom: 18px;
  }

  .ps-class-block--catalog .ps-class-tabs {
    gap: 10px;
  }

  .ps-class-block--catalog .ps-class-tabs button {
    width: calc(50% - 5px);
    min-height: 78px;
    padding: 12px 14px;
    border-radius: 16px;
  }
}


/* Catalog refinement: real moon background, horizontal cards, bespoke class icons, contained time menus. */
body {
  background-image: linear-gradient(rgba(3, 4, 6, .16), rgba(3, 4, 6, .28)), url("../img/starry-sky.8c816577c44a.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.ps-hero,
.ps-market-hero,
.ps-stage,
.ps-info-hero {
  background-image: url("../img/starry-sky.8c816577c44a.jpg") !important;
  background-position: center 46% !important;
  background-size: cover;
}

.ps-date-range-popover {
  overflow: hidden;
}

.ps-date-range-times select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ps-time-picker {
  position: relative;
  min-width: 150px;
}

.ps-time-picker__button {
  width: 100%;
  min-height: 42px;
  padding: 0 38px 0 14px;
  display: flex;
  align-items: center;
  border: 1px solid #d6dadd;
  border-radius: 10px;
  background: #fff;
  color: #111418;
  cursor: pointer;
  text-align: left;
}

.ps-time-picker__button svg {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 6px;
  transform: translateY(-50%);
  transition: transform .18s ease;
}

.ps-time-picker.is-open .ps-time-picker__button svg {
  transform: translateY(-50%) rotate(180deg);
}

.ps-time-picker__menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 160;
  display: none;
  max-height: 190px;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #d6dadd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 10, 12, .16);
}

.ps-time-picker.is-open .ps-time-picker__menu {
  display: grid;
  gap: 2px;
}

.ps-time-picker__option {
  min-height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #111418;
  cursor: pointer;
  text-align: left;
}

.ps-time-picker__option.has-surcharge small {
  color: #2874df;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

html[data-theme="dark"] .ps-time-picker__option.has-surcharge small {
  color: #51e261;
}

.ps-time-picker__option:hover,
.ps-time-picker__option.is-selected {
  background: #eef0f2;
}

.ps-class-tabs__icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: #15191c;
}

.ps-class-tabs__icon .ps-class-glass {
  fill: #fff;
  opacity: .82;
}

.ps-class-tabs__icon::before {
  content: none !important;
}

.ps-class-block--catalog .ps-class-tabs button.is-selected .ps-class-tabs__icon svg {
  fill: #000;
}

.ps-home-page .ps-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.ps-listing-card {
  min-height: 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 190px;
  grid-template-areas:
    "media head foot"
    "media badges foot"
    "media meta foot"
    "media terms foot";
  column-gap: 18px;
  row-gap: 3px;
  align-items: start;
  border-radius: 14px;
}

.ps-listing-card__head {
  grid-area: head;
  min-height: 0;
  align-self: start;
}

.ps-listing-card__head h3 {
  font-size: 21px;
}

.ps-listing-card__badges {
  grid-area: badges;
  min-height: 0;
  margin-top: 0;
}

.ps-listing-card__meta {
  grid-area: meta;
  min-height: 0;
  margin-top: 0;
}

.ps-listing-card__media {
  grid-area: media;
  width: 190px;
  height: 142px;
  min-height: 142px;
  margin: 0;
  border-radius: 10px;
}

.ps-listing-card__media img {
  padding: 8px;
}

.ps-listing-card__terms {
  grid-area: terms;
  min-height: 0;
  margin-top: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ps-listing-card__terms span {
  min-height: 44px;
  padding: 6px 8px;
}

.ps-listing-card__foot {
  grid-area: foot;
  min-height: 142px;
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  border-left: 1px solid #e6e8ea;
}

.ps-listing-card__price {
  margin-bottom: auto;
  padding-top: 10px;
  text-align: right;
}

.ps-listing-card__price strong {
  font-size: 27px;
}

.ps-listing-card__details {
  width: 100%;
  min-height: 42px;
}

@media (max-width: 1120px) {
  .ps-listing-card {
    grid-template-columns: 168px minmax(0, 1fr) 164px;
    column-gap: 14px;
  }

  .ps-listing-card__media {
    width: 168px;
  }
}

@media (max-width: 820px) {
  .ps-listing-card {
    min-height: 0;
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-areas:
      "media head"
      "media badges"
      "media meta"
      "terms terms"
      "foot foot";
  }

  .ps-listing-card__media {
    width: 150px;
    height: 128px;
    min-height: 128px;
  }

  .ps-listing-card__foot {
    min-height: 0;
    padding: 10px 0 0;
    flex-direction: row;
    align-items: end;
    border-left: 0;
    border-top: 1px solid #e6e8ea;
  }

  .ps-listing-card__price {
    margin-bottom: 0;
    padding-top: 0;
    text-align: left;
  }

  .ps-listing-card__details {
    width: auto;
    min-width: 130px;
  }
}

@media (max-width: 560px) {
  .ps-listing-card {
    display: flex;
    flex-direction: column;
  }

  .ps-listing-card__media {
    width: 100%;
    height: 210px;
    min-height: 210px;
    order: 3;
  }

  .ps-listing-card__head { order: 1; width: 100%; }
  .ps-listing-card__badges { order: 2; width: 100%; }
  .ps-listing-card__meta { order: 4; width: 100%; }
  .ps-listing-card__terms { order: 5; width: 100%; }
  .ps-listing-card__foot { order: 6; width: 100%; }
}

/* 2026-08-02: compact cards and mobile filter drawer. */
.ps-mobile-filter-trigger { display: none; }
.ps-sidebar-heading > button,
.ps-filter-backdrop,
.ps-sidebar-classes { display: none; }

/* Keep horizontal catalogue cards only as tall as their actual content. */
.ps-home-page .ps-grid,
.ps-home-page .ps-grid__item { align-items: start; }
.ps-home-page .ps-grid__item { height: auto; }
.ps-home-page .ps-listing-card {
  height: auto !important;
  min-height: 0 !important;
  align-self: start;
}

@media (max-width: 767px) {
  .ps-mobile-filter-trigger {
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #b9bec4;
    border-radius: 14px;
    background: #fff;
    color: #111418;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }
  .ps-mobile-filter-trigger svg { width: 20px; height: 20px; }

  .ps-sidebar-filters {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }
  .ps-sidebar-filters.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  .ps-filter-backdrop {
    position: absolute;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(0,0,0,.42);
    opacity: 0;
    transition: opacity .2s ease;
  }
  .ps-sidebar-filters.is-open .ps-filter-backdrop { opacity: 1; }
  .ps-sidebar-filters .ps-sidebar-box {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(84vh, 720px);
    overflow-y: auto;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(102%);
    transition: transform .22s ease;
    box-shadow: 0 -18px 50px rgba(0,0,0,.18);
  }
  .ps-sidebar-filters.is-open .ps-sidebar-box { transform: translateY(0); }
  .ps-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .ps-sidebar-heading > h2 { margin: 0; }
  .ps-sidebar-heading > button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f0f1f2;
    color: #111418;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }
  .ps-sidebar-classes { display: block; }
  .ps-mobile-class-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ps-mobile-class-tabs button {
    min-height: 48px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid #d7dade;
    border-radius: 12px;
    background: #fff;
    color: #2d3237;
    cursor: pointer;
  }
  .ps-mobile-class-tabs button.is-selected { border-color: #111418; background: #f4f5f5; }
  .ps-mobile-class-tabs span { font-weight: 600; }
  .ps-mobile-class-tabs small { text-decoration: underline; }
  .ps-class-block--desktop { display: none; }
  body.ps-filters-open { overflow: hidden; }
}


/* 2026-08-02: compact desktop catalogue cards, close to the Trip-style proportions. */
@media (min-width: 821px) {
  .ps-home-page .ps-grid,
  .ps-home-page .ps-grid__item {
    align-items: start;
  }

  .ps-home-page .ps-grid__item {
    height: auto !important;
    min-height: 0 !important;
  }

  .ps-home-page .ps-listing-card {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 14px;
    grid-template-columns: 160px minmax(0, 1fr) 170px;
    grid-template-rows: auto auto auto auto;
    column-gap: 14px;
    row-gap: 3px;
    align-self: start;
    align-items: start;
    align-content: start;
  }

  .ps-home-page .ps-listing-card__media {
    width: 160px;
    height: 128px;
    min-height: 128px;
    align-self: start;
  }

  .ps-home-page .ps-listing-card__media img {
    padding: 6px;
  }

  .ps-home-page .ps-listing-card__head,
  .ps-home-page .ps-listing-card__badges,
  .ps-home-page .ps-listing-card__meta,
  .ps-home-page .ps-listing-card__terms {
    min-height: 0 !important;
  }

  .ps-home-page .ps-listing-card__head h3 {
    font-size: 18px;
    line-height: 1.08;
  }

  .ps-home-page .ps-listing-card__head p {
    margin-top: 2px;
    font-size: 10px;
  }

  .ps-home-page .ps-listing-card__badges {
    gap: 5px;
  }

  .ps-home-page .ps-listing-card__badges span,
  .ps-home-page .ps-listing-card__badges span.is-green,
  .ps-home-page .ps-listing-card__badges span.is-aqua,
  .ps-home-page .ps-listing-card__badges span.is-purple {
    padding: 3px 7px;
    font-size: 10px;
  }

  .ps-home-page .ps-listing-card__meta {
    gap: 8px;
    font-size: 11px;
  }

  .ps-home-page .ps-listing-card__terms {
    margin-top: 3px;
    gap: 6px;
    grid-template-columns: minmax(92px, .9fr) minmax(170px, 1.35fr) minmax(105px, 1fr);
    align-self: start;
  }

  .ps-home-page .ps-listing-card__terms span {
    min-height: 42px;
    padding: 6px 7px;
    font-size: 9px;
    line-height: 1.15;
  }

  .ps-home-page .ps-listing-card__terms b {
    margin-bottom: 2px;
    font-size: 9px;
  }

  .ps-home-page .ps-listing-card__foot {
    min-height: 128px;
    padding-left: 14px;
    align-self: start;
  }

  .ps-home-page .ps-listing-card__price {
    padding-top: 2px;
  }

  .ps-home-page .ps-listing-card__price strong {
    font-size: 24px;
    line-height: 1;
  }

  .ps-home-page .ps-listing-card__price span {
    font-size: 10px;
  }

  .ps-home-page .ps-listing-card__details {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }
}


/* 2026-08-02: one compact dark header across every public-site template. */
.ps-header,
.ps-home-page .ps-header,
.ps-info-page .ps-header,
.ps-visual-page .ps-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0;
  background: linear-gradient(180deg, rgba(5, 12, 17, .88), rgba(5, 12, 17, .72));
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
}

.ps-header > .ps-shell,
.ps-home-page .ps-header > .ps-shell,
.ps-info-page .ps-header > .ps-shell,
.ps-visual-page .ps-header > .ps-shell {
  width: min(1024px, calc(100% - 32px));
}

.ps-header__inner,
.ps-home-page .ps-header__inner,
.ps-info-page .ps-header__inner,
.ps-visual-page .ps-header__inner {
  min-height: 50px;
  padding: 5px 0;
  gap: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.ps-brand,
.ps-home-page .ps-brand,
.ps-info-page .ps-brand,
.ps-visual-page .ps-brand {
  width: auto;
  gap: 9px;
  color: #fff;
}

.ps-brand img,
.ps-home-page .ps-brand img,
.ps-info-page .ps-brand img,
.ps-visual-page .ps-brand img {
  width: 38px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.ps-brand__wordmark,
.ps-home-page .ps-brand__wordmark,
.ps-info-page .ps-brand__wordmark,
.ps-visual-page .ps-brand__wordmark {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .28);
}

.ps-nav,
.ps-home-page .ps-nav,
.ps-info-page .ps-nav,
.ps-visual-page .ps-nav {
  gap: 28px;
}

.ps-nav > a,
.ps-region-menu summary,
.ps-home-page .ps-nav > a,
.ps-home-page .ps-region-menu summary,
.ps-info-page .ps-nav > a,
.ps-info-page .ps-region-menu summary,
.ps-visual-page .ps-nav > a,
.ps-visual-page .ps-region-menu summary {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}

.ps-nav > a::after,
.ps-home-page .ps-nav > a::after,
.ps-info-page .ps-nav > a::after,
.ps-visual-page .ps-nav > a::after {
  background: #fff;
}

.ps-language summary,
.ps-home-page .ps-language summary,
.ps-info-page .ps-language summary,
.ps-visual-page .ps-language summary {
  width: 36px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .10);
  font-size: 19px;
}

.ps-menu-button,
.ps-home-page .ps-menu-button,
.ps-info-page .ps-menu-button,
.ps-visual-page .ps-menu-button {
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .10);
}

.ps-menu-button span,
.ps-home-page .ps-menu-button span,
.ps-info-page .ps-menu-button span,
.ps-visual-page .ps-menu-button span {
  background: #fff;
}

.ps-info-page .ps-info-hero {
  padding-top: 104px;
}

@media (max-width: 980px) {
  .ps-header > .ps-shell,
  .ps-home-page .ps-header > .ps-shell,
  .ps-info-page .ps-header > .ps-shell,
  .ps-visual-page .ps-header > .ps-shell {
    width: calc(100% - 24px);
  }

  .ps-nav,
  .ps-home-page .ps-nav,
  .ps-info-page .ps-nav,
  .ps-visual-page .ps-nav {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .ps-header > .ps-shell,
  .ps-home-page .ps-header > .ps-shell,
  .ps-info-page .ps-header > .ps-shell,
  .ps-visual-page .ps-header > .ps-shell {
    width: calc(100% - 16px);
  }

  .ps-header__inner,
  .ps-home-page .ps-header__inner,
  .ps-info-page .ps-header__inner,
  .ps-visual-page .ps-header__inner {
    min-height: 48px;
    padding: 5px 0;
    gap: 10px;
  }

  .ps-brand,
  .ps-home-page .ps-brand,
  .ps-info-page .ps-brand,
  .ps-visual-page .ps-brand {
    gap: 7px;
  }

  .ps-brand img,
  .ps-home-page .ps-brand img,
  .ps-info-page .ps-brand img,
  .ps-visual-page .ps-brand img {
    width: 32px;
    height: 27px;
  }

  .ps-brand__wordmark,
  .ps-home-page .ps-brand__wordmark,
  .ps-info-page .ps-brand__wordmark,
  .ps-visual-page .ps-brand__wordmark {
    font-size: 18px;
  }

  .ps-nav,
  .ps-home-page .ps-nav,
  .ps-info-page .ps-nav,
  .ps-visual-page .ps-nav {
    top: 100%;
    right: 0;
    margin-top: 1px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(8, 14, 19, .97);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
  }

  .ps-nav > a,
  .ps-region-menu summary,
  .ps-home-page .ps-nav > a,
  .ps-home-page .ps-region-menu summary,
  .ps-info-page .ps-nav > a,
  .ps-info-page .ps-region-menu summary,
  .ps-visual-page .ps-nav > a,
  .ps-visual-page .ps-region-menu summary {
    color: #fff;
    font-size: 14px;
  }

  .ps-info-page .ps-info-hero {
    padding-top: 84px;
  }
}


/* 2026-08-02: wider shared header, full rental/about copy and redesigned footer. */
.ps-header > .ps-shell,
.ps-home-page .ps-header > .ps-shell,
.ps-info-page .ps-header > .ps-shell,
.ps-visual-page .ps-header > .ps-shell {
  width: min(1280px, calc(100% - 64px));
}

.ps-info__card--rental-terms,
.ps-info__card--about {
  min-height: 0;
  padding: 46px 56px 52px;
}

.ps-prose--terms,
.ps-prose--about {
  max-width: 1080px;
}

.ps-prose--terms h2,
.ps-prose--about h2 {
  margin: 0 0 26px;
  color: #15191d;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.025em;
}

.ps-rental-terms {
  margin: 0;
  padding-left: 28px;
}

.ps-rental-terms li,
.ps-prose--about p {
  color: #424a50;
  font-size: 16px;
  line-height: 1.72;
}

.ps-rental-terms li {
  margin-bottom: 15px;
  padding-left: 8px;
}

.ps-rental-terms li:last-child,
.ps-prose--about p:last-child {
  margin-bottom: 0;
}

.ps-rental-terms a {
  color: #267a36;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ps-prose--about p {
  margin: 0 0 18px;
}

.ps-footer {
  padding: 62px 0 28px;
  color: #fff;
  background: #180b0b;
}

.ps-footer__top {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(340px, 1fr);
  align-items: start;
  gap: 80px;
}

.ps-footer__links,
.ps-footer__contact {
  min-width: 0;
}

.ps-footer nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
}

.ps-footer nav a {
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
  text-decoration: none;
  transition: opacity .18s ease;
}

.ps-footer nav a:hover,
.ps-footer__contact > a:hover,
.ps-footer__bottom > a:hover {
  opacity: .72;
}

.ps-footer__contact {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 13px;
  color: #fff;
  text-align: right;
}

.ps-footer__contact .ps-footer__social-title {
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.ps-socials {
  margin: 2px 0 7px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ps-socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  color: #180b0b;
  background: rgba(255, 255, 255, .94);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}

.ps-socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: #fff;
}

.ps-socials a span {
  color: #180b0b;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.02em;
}

.ps-socials a[aria-label="LINE"] span {
  font-size: 8px;
}

.ps-footer__questions {
  margin: 3px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
}

.ps-footer__button {
  min-width: 194px;
  min-height: 48px;
  margin: 1px 0 3px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #180b0b !important;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.ps-footer__contact .ps-footer__phone,
.ps-footer__contact .ps-footer__email {
  color: #fff;
  font-size: 17px;
  line-height: 1.4;
  text-decoration: none;
}

.ps-footer__bottom {
  min-height: 54px;
  padding-top: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.ps-footer__bottom > a {
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .ps-header > .ps-shell,
  .ps-home-page .ps-header > .ps-shell,
  .ps-info-page .ps-header > .ps-shell,
  .ps-visual-page .ps-header > .ps-shell {
    width: min(960px, calc(100% - 34px));
  }

  .ps-footer__top {
    gap: 50px;
  }
}

@media (max-width: 720px) {
  .ps-header > .ps-shell,
  .ps-home-page .ps-header > .ps-shell,
  .ps-info-page .ps-header > .ps-shell,
  .ps-visual-page .ps-header > .ps-shell {
    width: min(620px, calc(100% - 24px));
  }

  .ps-info__card--rental-terms,
  .ps-info__card--about {
    padding: 30px 22px 34px;
  }

  .ps-prose--terms h2,
  .ps-prose--about h2 {
    margin-bottom: 20px;
    font-size: 27px;
  }

  .ps-rental-terms {
    padding-left: 22px;
  }

  .ps-rental-terms li,
  .ps-prose--about p {
    font-size: 15px;
    line-height: 1.65;
  }

  .ps-footer {
    padding: 44px 0 24px;
  }

  .ps-footer__top {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ps-footer nav {
    gap: 13px;
  }

  .ps-footer nav a {
    font-size: 18px;
  }

  .ps-footer__contact {
    justify-items: start;
    text-align: left;
  }

  .ps-socials {
    justify-content: flex-start;
  }

  .ps-footer__questions {
    font-size: 17px;
  }

  .ps-footer__bottom {
    margin-top: 34px;
    justify-content: flex-start;
  }
}


/* 2026-08-02: privacy policy, compact footer text and legal links. */
.ps-info__card--privacy {
  min-height: 0;
  padding: 46px 56px 52px;
}

.ps-prose--privacy {
  max-width: 1080px;
}

.ps-privacy-policy section {
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid #e4e7e9;
}

.ps-privacy-policy section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.ps-privacy-policy h2 {
  margin: 0 0 13px;
  color: #15191d;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 650;
}

.ps-privacy-policy p {
  margin: 0 0 12px;
  color: #424a50;
  font-size: 16px;
  line-height: 1.72;
}

.ps-privacy-policy p:last-child {
  margin-bottom: 0;
}

.ps-footer nav a {
  font-size: 18px;
}

.ps-footer__contact .ps-footer__social-title,
.ps-footer__questions {
  font-size: 16px;
}

.ps-footer__contact .ps-footer__phone,
.ps-footer__contact .ps-footer__email {
  font-size: 15px;
}

.ps-footer__button {
  min-width: 224px;
  min-height: 56px;
  padding: 0 30px;
  font-size: 17px;
}

.ps-footer__bottom {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.ps-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.ps-footer__legal a,
.ps-footer__copyright {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.ps-footer__legal a:hover {
  opacity: .72;
}

@media (max-width: 720px) {
  .ps-info__card--privacy {
    padding: 30px 22px 34px;
  }

  .ps-privacy-policy section {
    padding-bottom: 22px;
    margin-bottom: 22px;
  }

  .ps-privacy-policy h2 {
    font-size: 19px;
  }

  .ps-privacy-policy p {
    font-size: 15px;
    line-height: 1.65;
  }

  .ps-footer nav a {
    font-size: 16px;
  }

  .ps-footer__contact .ps-footer__social-title,
  .ps-footer__questions {
    font-size: 15px;
  }

  .ps-footer__button {
    width: 100%;
    max-width: 280px;
    min-height: 54px;
    font-size: 17px;
  }

  .ps-footer__bottom {
    justify-items: start;
  }

  .ps-footer__legal {
    justify-content: flex-start;
  }
}


/* 2026-08-02: smaller footer typography, compact CTA and branded social icons. */
.ps-footer nav a {
  font-size: 16px;
}

.ps-footer__contact .ps-footer__social-title,
.ps-footer__questions {
  font-size: 14px;
}

.ps-footer__contact .ps-footer__phone,
.ps-footer__contact .ps-footer__email {
  font-size: 14px;
}

.ps-footer__button {
  min-width: 174px;
  min-height: 42px;
  padding: 0 22px;
  font-size: 19px;
  line-height: 1;
}

.ps-socials a.ps-socials__link {
  width: 40px;
  height: 40px;
  border: 0;
  color: #fff;
}

.ps-socials__link svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
  fill: currentColor;
}

.ps-socials__link--telegram { background: #229ed9 !important; }
.ps-socials__link--whatsapp { background: #25d366 !important; }
.ps-socials__link--line { background: #06c755 !important; }

.ps-socials__link--line svg {
  width: 25px;
  height: 25px;
}

.ps-socials__link--line svg text {
  fill: #06c755;
  font-family: Arial, sans-serif;
  font-size: 5px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.ps-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.ps-footer__copyright {
  justify-self: start;
  text-align: left;
}

.ps-footer__legal {
  justify-content: flex-end;
}

.ps-footer__legal a,
.ps-footer__copyright {
  font-size: 12px;
}

@media (max-width: 720px) {
  .ps-footer nav a {
    font-size: 15px;
  }

  .ps-footer__contact .ps-footer__social-title,
  .ps-footer__questions,
  .ps-footer__contact .ps-footer__phone,
  .ps-footer__contact .ps-footer__email {
    font-size: 14px;
  }

  .ps-footer__button {
    width: auto;
    max-width: none;
    min-width: 168px;
    min-height: 42px;
    font-size: 18px;
  }

  .ps-footer__bottom {
    display: grid;
    justify-items: start;
    gap: 12px;
  }

  .ps-footer__legal {
    justify-content: flex-start;
  }
}


/* 2026-08-02: compact footer, black filter action and marketplace class tiles. */
.ps-footer {
  padding: 34px 0 16px;
}

.ps-footer__top {
  min-height: 0;
  gap: 46px;
}

.ps-footer nav {
  gap: 9px;
}

.ps-footer nav a {
  font-size: 14px;
}

.ps-footer__contact {
  gap: 7px;
}

.ps-footer__contact .ps-footer__social-title,
.ps-footer__questions,
.ps-footer__contact .ps-footer__phone,
.ps-footer__contact .ps-footer__email {
  font-size: 12px;
}

.ps-socials {
  margin: 0 0 2px;
  gap: 8px;
}

.ps-socials a.ps-socials__link {
  width: 34px;
  height: 34px;
}

.ps-socials__link svg {
  width: 19px;
  height: 19px;
}

.ps-socials__link--line svg {
  width: 22px;
  height: 22px;
}

.ps-footer__button {
  min-width: 160px;
  min-height: 38px;
  margin: 0 0 1px;
  padding: 0 18px;
  font-size: 18px;
}

.ps-footer__bottom {
  min-height: 38px;
  padding-top: 13px;
}

.ps-footer__legal a,
.ps-footer__copyright {
  font-size: 11px;
}

.ps-sidebar-actions button {
  background: #111418;
}

.ps-sidebar-actions button:hover {
  background: #2a2f33;
}

.ps-class-block--catalog > h2,
.ps-sidebar-classes > h3 {
  display: none;
}

.ps-class-block--catalog {
  margin-top: 16px;
  margin-bottom: 24px;
}

.ps-class-block--catalog .ps-class-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.ps-class-block--catalog .ps-class-tabs button {
  width: 100%;
  min-width: 0;
  min-height: 156px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "title title"
    "icon count";
  align-items: end;
  gap: 12px;
  border: 1.5px solid #3a3a3a;
  border-radius: 30px;
  background: #fff;
  box-shadow: none;
  text-align: left;
}

.ps-class-block--catalog .ps-class-tabs button:hover,
.ps-class-block--catalog .ps-class-tabs button.is-selected {
  border-color: #111;
  box-shadow: 6px 7px 0 rgba(0, 0, 0, .12);
  transform: translateY(-1px);
}

.ps-class-block--catalog .ps-class-tabs__icon {
  grid-area: icon;
  width: 112px;
  height: 68px;
  align-self: end;
  color: #555;
}

.ps-class-block--catalog .ps-class-tabs__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ps-class-block--catalog .ps-class-tabs strong {
  grid-area: title;
  align-self: start;
  color: #4e4e4e;
  font-size: 26px;
  line-height: 1;
  font-style: italic;
  font-weight: 400;
}

.ps-class-block--catalog .ps-class-tabs small {
  grid-area: count;
  align-self: end;
  color: #4e4e4e;
  font-size: 26px;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1400px) {
  .ps-class-block--catalog .ps-class-tabs {
    gap: 16px;
  }

  .ps-class-block--catalog .ps-class-tabs button {
    min-height: 132px;
    padding: 16px 18px;
    border-radius: 25px;
  }

  .ps-class-block--catalog .ps-class-tabs__icon {
    width: 92px;
    height: 56px;
  }

  .ps-class-block--catalog .ps-class-tabs strong,
  .ps-class-block--catalog .ps-class-tabs small {
    font-size: 22px;
  }
}

@media (max-width: 1180px) {
  .ps-class-block--catalog .ps-class-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) and (min-width: 768px) {
  .ps-class-block--catalog .ps-class-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ps-footer {
    padding: 30px 0 16px;
  }

  .ps-footer__top {
    gap: 28px;
  }

  .ps-footer nav {
    gap: 8px;
  }

  .ps-footer nav a {
    font-size: 14px;
  }

  .ps-footer__button {
    min-width: 156px;
    min-height: 38px;
    font-size: 18px;
  }

  .ps-footer__bottom {
    margin-top: 22px;
    gap: 9px;
  }

  .ps-mobile-class-tabs button {
    min-height: 64px;
    padding: 10px 12px;
    border-color: #454545;
    border-radius: 16px;
  }

  .ps-mobile-class-tabs span {
    font-size: 15px;
    font-style: italic;
    font-weight: 500;
  }

  .ps-mobile-class-tabs small {
    font-size: 16px;
    text-underline-offset: 3px;
  }
}


/* 2026-08-02: exact class vehicle artwork exported from the Figma design. */
.ps-class-block--catalog .ps-class-tabs__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 767px) {
  .ps-mobile-class-tabs button {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    text-align: left;
  }

  .ps-mobile-class-tabs__icon {
    width: 48px;
    height: 30px;
    display: block;
    object-fit: contain;
    object-position: left center;
  }

  .ps-mobile-class-tabs button > span {
    min-width: 0;
  }
}

/* 2026-08-02: compact Trip-style vehicle class strip. */
@media (min-width: 768px) {
  .ps-class-block--catalog {
    margin-top: 10px;
    margin-bottom: 16px;
  }

  .ps-class-block--catalog .ps-class-tabs {
    gap: 10px;
  }

  .ps-class-block--catalog .ps-class-tabs button {
    min-height: 94px;
    padding: 10px 13px;
    gap: 4px;
    border-width: 1px;
    border-radius: 18px;
  }

  .ps-class-block--catalog .ps-class-tabs button:hover,
  .ps-class-block--catalog .ps-class-tabs button.is-selected {
    box-shadow: 3px 4px 0 rgba(0, 0, 0, .10);
  }

  .ps-class-block--catalog .ps-class-tabs__icon {
    width: 72px;
    height: 40px;
  }

  .ps-class-block--catalog .ps-class-tabs strong {
    font-size: 17px;
    line-height: 1.05;
  }

  .ps-class-block--catalog .ps-class-tabs small {
    font-size: 18px;
    text-underline-offset: 3px;
  }
}

@media (max-width: 1180px) and (min-width: 768px) {
  .ps-class-block--catalog .ps-class-tabs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(145px, 1fr);
    overflow-x: auto;
    padding: 0 0 5px;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
  }
}

/* 2026-08-02: persistent public-site light/dark theme. */
.ps-theme-toggle {
  position: relative;
  width: 54px;
  height: 30px;
  flex: 0 0 54px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .22s ease, background-color .22s ease;
}

.ps-theme-toggle__thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  z-index: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f5ead4;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .24);
  transition: transform .24s ease, background-color .24s ease;
}

.ps-theme-toggle__icon {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  margin: 0 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color .22s ease, opacity .22s ease;
}

.ps-theme-toggle__icon--sun {
  color: #171a1d;
}

.ps-theme-toggle__icon--moon {
  color: rgba(255, 255, 255, .68);
  fill: currentColor;
  stroke: none;
}

.ps-theme-toggle:hover {
  border-color: rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .17);
}

.ps-theme-toggle:focus-visible {
  outline: 2px solid #f5ead4;
  outline-offset: 3px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ps-dark-page: #454a4c;
  --ps-dark-surface: #505557;
  --ps-dark-surface-soft: #575c5e;
  --ps-dark-surface-raised: #5d6264;
  --ps-dark-footer: #343a3c;
  --ps-dark-text: #eadfc9;
  --ps-dark-muted: #c2b69f;
  --ps-dark-border: #8c806a;
  --ps-dark-border-soft: #746b5d;
  --ps-dark-accent: #c29202;
  --ps-dark-accent-hover: #d5a510;
}

html[data-theme="dark"] .ps-theme-toggle {
  border-color: rgba(194, 146, 2, .78);
  background: rgba(194, 146, 2, .18);
}

html[data-theme="dark"] .ps-theme-toggle__thumb {
  transform: translateX(26px);
  background: var(--ps-dark-accent);
}

html[data-theme="dark"] .ps-theme-toggle__icon--sun {
  color: rgba(234, 223, 201, .58);
}

html[data-theme="dark"] .ps-theme-toggle__icon--moon {
  color: #fff4dc;
}

html[data-theme="dark"] body {
  color: var(--ps-dark-text);
  background-color: var(--ps-dark-page);
}

html[data-theme="dark"] .ps-market,
html[data-theme="dark"] .ps-info {
  color: var(--ps-dark-text);
  background: #272727;
  backdrop-filter: blur(4px);
}

html[data-theme="dark"] .ps-stage {
  background-color: var(--ps-dark-page);
}

html[data-theme="dark"] .ps-stage::after {
  background: var(--ps-dark-page);
}

html[data-theme="dark"] .ps-market :where(h1, h2, h3, h4, strong, b),
html[data-theme="dark"] .ps-info :where(h1, h2, h3, h4, strong, b),
html[data-theme="dark"] .ps-product-panel :where(h1, h2, h3, h4, strong, b),
html[data-theme="dark"] .ps-booking-shell :where(h1, h2, h3, h4, strong, b),
html[data-theme="dark"] .ps-success__card :where(h1, h2, h3, h4, strong, b) {
  color: var(--ps-dark-text);
}

html[data-theme="dark"] .ps-market :where(p, small, dt, dd, label, li),
html[data-theme="dark"] .ps-info :where(p, small, dt, dd, label, li),
html[data-theme="dark"] .ps-product-panel :where(p, small, dt, dd, label, li),
html[data-theme="dark"] .ps-booking-shell :where(p, small, dt, dd, label, li),
html[data-theme="dark"] .ps-success__card :where(p, small, dt, dd, label, li) {
  color: var(--ps-dark-muted);
}


html[data-theme="dark"] .ps-steps {
  color: var(--ps-dark-text);
  border: 1px solid var(--ps-dark-border-soft);
  background: var(--ps-dark-surface);
  box-shadow: 0 12px 30px rgba(12, 14, 15, .22);
}

html[data-theme="dark"] .ps-steps span {
  color: var(--ps-dark-muted);
}

html[data-theme="dark"] .ps-steps span i {
  border-color: var(--ps-dark-border);
}

html[data-theme="dark"] .ps-steps span.is-active {
  color: var(--ps-dark-text);
}

html[data-theme="dark"] .ps-steps span.is-active i {
  color: #fff4dc;
  border-color: var(--ps-dark-accent);
  background: var(--ps-dark-accent);
}

html[data-theme="dark"] .ps-steps b {
  background: var(--ps-dark-border-soft);
}

html[data-theme="dark"] .ps-panel-actions a,
html[data-theme="dark"] .ps-condition-list span,
html[data-theme="dark"] .ps-order-card > span,
html[data-theme="dark"] .ps-order-card dt,
html[data-theme="dark"] .ps-booking-summary dt,
html[data-theme="dark"] .ps-booking-summary__vehicle small,
html[data-theme="dark"] .ps-booking-summary > p {
  color: var(--ps-dark-muted);
}

html[data-theme="dark"] .ps-sidebar-heading > button {
  color: var(--ps-dark-text);
  border: 1px solid var(--ps-dark-border-soft);
  background: var(--ps-dark-surface-raised);
}

html[data-theme="dark"] .ps-sidebar-group + .ps-sidebar-group,
html[data-theme="dark"] .ps-listing-card__foot,
html[data-theme="dark"] .ps-spec-table div,
html[data-theme="dark"] .ps-order-card__line,
html[data-theme="dark"] .ps-booking-summary__vehicle,
html[data-theme="dark"] .ps-booking-summary__total {
  border-color: var(--ps-dark-border-soft);
}

html[data-theme="dark"] .ps-payment-list span,
html[data-theme="dark"] .ps-consent,
html[data-theme="dark"] .ps-option-list article,
html[data-theme="dark"] .ps-service-grid span {
  border-color: var(--ps-dark-border-soft);
}

html[data-theme="dark"] .ps-option-mark {
  color: #fff4dc;
  border-color: var(--ps-dark-accent);
  background: rgba(194, 146, 2, .16);
}

html[data-theme="dark"] .ps-success__icon {
  color: #fff4dc;
  background: var(--ps-dark-accent);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #ada38f;
  opacity: 1;
}

html[data-theme="dark"] select option {
  color: var(--ps-dark-text);
  background: var(--ps-dark-surface-soft);
}

html[data-theme="dark"] .ps-search__frame,
html[data-theme="dark"] .ps-market .ps-search__bar--find,
html[data-theme="dark"] .ps-sidebar-box,
html[data-theme="dark"] .ps-filter-panel,
html[data-theme="dark"] .ps-date-range-popover,
html[data-theme="dark"] .ps-custom-select__menu,
html[data-theme="dark"] .ps-time-picker__menu,
html[data-theme="dark"] .ps-info__card,
html[data-theme="dark"] .ps-product-panel,
html[data-theme="dark"] .ps-booking-shell,
html[data-theme="dark"] .ps-success__card {
  color: var(--ps-dark-text);
  border-color: var(--ps-dark-border-soft);
  background: var(--ps-dark-surface);
  box-shadow: 0 20px 50px rgba(12, 14, 15, .24);
}

html[data-theme="dark"] .ps-market .ps-search__field {
  border-right-color: var(--ps-dark-border-soft);
}

html[data-theme="dark"] .ps-market .ps-search__field > span,
html[data-theme="dark"] .ps-date-range-trigger small,
html[data-theme="dark"] .ps-date-range-total span,
html[data-theme="dark"] .ps-date-range-times label > span,
html[data-theme="dark"] .ps-calendar-weekday,
html[data-theme="dark"] .ps-sidebar-group label > span,
html[data-theme="dark"] .ps-form-grid label > span,
html[data-theme="dark"] .ps-form-grid label > small {
  color: var(--ps-dark-muted);
}

html[data-theme="dark"] .ps-custom-select__button,
html[data-theme="dark"] .ps-date-range-trigger,
html[data-theme="dark"] .ps-date-range-total strong,
html[data-theme="dark"] .ps-calendar-month__head strong,
html[data-theme="dark"] .ps-time-picker__button,
html[data-theme="dark"] .ps-time-picker__option,
html[data-theme="dark"] .ps-custom-select__option {
  color: var(--ps-dark-text);
}

html[data-theme="dark"] .ps-custom-select__option,
html[data-theme="dark"] .ps-time-picker__button,
html[data-theme="dark"] .ps-time-picker__option,
html[data-theme="dark"] .ps-sidebar-group select,
html[data-theme="dark"] .ps-sidebar-group input,
html[data-theme="dark"] .ps-form-grid input,
html[data-theme="dark"] .ps-form-grid select,
html[data-theme="dark"] .ps-form-grid textarea,
html[data-theme="dark"] .ps-control {
  color: var(--ps-dark-text);
  border-color: var(--ps-dark-border);
  background-color: var(--ps-dark-surface-soft);
}

html[data-theme="dark"] .ps-sidebar-group select,
html[data-theme="dark"] .ps-time-picker__button,
html[data-theme="dark"] .ps-date-range-times select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23eadfc9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .ps-custom-select__option:hover,
html[data-theme="dark"] .ps-custom-select__option.is-selected,
html[data-theme="dark"] .ps-time-picker__option:hover,
html[data-theme="dark"] .ps-time-picker__option.is-selected,
html[data-theme="dark"] .ps-calendar-nav:hover,
html[data-theme="dark"] .ps-calendar-day:hover:not(:disabled) {
  color: var(--ps-dark-text);
  background: var(--ps-dark-surface-raised);
}

html[data-theme="dark"] .ps-calendar-nav svg {
  stroke: var(--ps-dark-text);
}

html[data-theme="dark"] .ps-calendar-day {
  color: var(--ps-dark-text);
}

html[data-theme="dark"] .ps-calendar-day:disabled {
  color: #8d8a82;
}

html[data-theme="dark"] .ps-calendar-day.is-in-range {
  background: #454640;
}

html[data-theme="dark"] .ps-calendar-day.is-start,
html[data-theme="dark"] .ps-calendar-day.is-end {
  color: #fff4dc;
  background: var(--ps-dark-accent);
}

html[data-theme="dark"] .ps-calendar-day.is-today:not(.is-start):not(.is-end) {
  box-shadow: inset 0 0 0 1px var(--ps-dark-border);
}

html[data-theme="dark"] .ps-date-range-footer {
  border-top-color: var(--ps-dark-border-soft);
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button,
html[data-theme="dark"] .ps-mobile-class-tabs button {
  color: var(--ps-dark-text);
  border-color: var(--ps-dark-border);
  background: var(--ps-dark-surface);
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button:hover,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button:hover,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected {
  border-color: var(--ps-dark-accent);
  box-shadow: 3px 4px 0 rgba(194, 146, 2, .22);
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs strong,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs small,
html[data-theme="dark"] .ps-mobile-class-tabs span,
html[data-theme="dark"] .ps-mobile-class-tabs small {
  color: var(--ps-dark-text);
}

html[data-theme="dark"] .ps-class-tabs__icon img,
html[data-theme="dark"] .ps-mobile-class-tabs__icon {
  filter: brightness(0) saturate(100%) invert(91%) sepia(18%) saturate(488%) hue-rotate(353deg) brightness(97%) contrast(90%);
}

html[data-theme="dark"] .ps-listing-card,
html[data-theme="dark"] .ps-card,
html[data-theme="dark"] .ps-contact-grid article,
html[data-theme="dark"] .ps-document-grid article,
html[data-theme="dark"] .ps-product-section,
html[data-theme="dark"] .ps-form-section,
html[data-theme="dark"] .ps-order-card,
html[data-theme="dark"] .ps-booking-summary {
  color: var(--ps-dark-text);
  border-color: var(--ps-dark-border-soft);
  background: var(--ps-dark-surface);
}

html[data-theme="dark"] .ps-listing-card__head h3,
html[data-theme="dark"] .ps-listing-card__price strong,
html[data-theme="dark"] .ps-listing-card__terms b,
html[data-theme="dark"] .ps-contact-grid h2,
html[data-theme="dark"] .ps-document-grid h2,
html[data-theme="dark"] .ps-section-heading h2,
html[data-theme="dark"] .ps-section-heading > button {
  color: var(--ps-dark-text);
}

html[data-theme="dark"] .ps-listing-card__head p,
html[data-theme="dark"] .ps-listing-card__meta,
html[data-theme="dark"] .ps-listing-card__price span,
html[data-theme="dark"] .ps-contact-grid p,
html[data-theme="dark"] .ps-document-grid p,
html[data-theme="dark"] .ps-section-heading--results p,
html[data-theme="dark"] .ps-show-more-wrap small {
  color: var(--ps-dark-muted);
}

html[data-theme="dark"] .ps-listing-card__media,
html[data-theme="dark"] .ps-vehicle-placeholder,
html[data-theme="dark"] .ps-product-gallery__main,
html[data-theme="dark"] .ps-product-gallery__thumbs button {
  border-color: var(--ps-dark-border-soft);
  background: var(--ps-dark-surface-raised);
}

html[data-theme="dark"] .ps-vehicle-placeholder__mark,
html[data-theme="dark"] .ps-vehicle-placeholder__label {
  color: var(--ps-dark-muted);
}

html[data-theme="dark"] .ps-listing-card__badges span,
html[data-theme="dark"] .ps-listing-card__badges span.is-green,
html[data-theme="dark"] .ps-listing-card__badges span.is-aqua,
html[data-theme="dark"] .ps-listing-card__badges span.is-purple,
html[data-theme="dark"] .ps-listing-card__terms span,
html[data-theme="dark"] .ps-product-title__quick span,
html[data-theme="dark"] .ps-option-list article,
html[data-theme="dark"] .ps-service-grid span,
html[data-theme="dark"] .ps-booking-dates span,
html[data-theme="dark"] .ps-payment-options span,
html[data-theme="dark"] .ps-order-card dl div,
html[data-theme="dark"] .ps-booking-summary__vehicle,
html[data-theme="dark"] .ps-success__meta {
  color: var(--ps-dark-muted);
  border-color: var(--ps-dark-border-soft);
  background: var(--ps-dark-surface-soft);
}

html[data-theme="dark"] .ps-booking-summary__total {
  color: var(--ps-dark-text);
  border-top-color: var(--ps-dark-border-soft);
  background: #353936;
}

html[data-theme="dark"] .ps-contact-avatar {
  color: var(--ps-dark-text);
  border-color: var(--ps-dark-accent);
  background: var(--ps-dark-surface-raised);
}

html[data-theme="dark"] .ps-contact-grid a,
html[data-theme="dark"] .ps-prose a,
html[data-theme="dark"] .ps-section-heading a,
html[data-theme="dark"] .ps-eyebrow {
  color: #e1b634;
}

html[data-theme="dark"] .ps-privacy-policy section + section {
  border-top-color: var(--ps-dark-border-soft);
}

html[data-theme="dark"] .ps-search__submit-main,
html[data-theme="dark"] .ps-date-range-footer > button,
html[data-theme="dark"] .ps-sidebar-actions button,
html[data-theme="dark"] .ps-listing-card__details,
html[data-theme="dark"] .ps-btn {
  color: #fff4dc;
  border-color: var(--ps-dark-accent);
  background: var(--ps-dark-accent);
}

html[data-theme="dark"] .ps-search__submit-main:hover,
html[data-theme="dark"] .ps-date-range-footer > button:hover,
html[data-theme="dark"] .ps-sidebar-actions button:hover,
html[data-theme="dark"] .ps-listing-card__details:hover,
html[data-theme="dark"] .ps-btn:hover {
  color: #fff8e9;
  background: var(--ps-dark-accent-hover);
}

html[data-theme="dark"] .ps-show-more,
html[data-theme="dark"] .ps-mobile-filter-trigger,
html[data-theme="dark"] .ps-sidebar-actions a,
html[data-theme="dark"] .ps-section-heading--results > button {
  color: var(--ps-dark-text);
  border-color: var(--ps-dark-border);
  background: var(--ps-dark-surface);
}

html[data-theme="dark"] .ps-show-more:hover,
html[data-theme="dark"] .ps-mobile-filter-trigger:hover {
  background: var(--ps-dark-surface-raised);
}

html[data-theme="dark"] .ps-empty {
  color: var(--ps-dark-text);
  border-color: var(--ps-dark-border);
  background: var(--ps-dark-surface);
}

html[data-theme="dark"] input[type="checkbox"] {
  accent-color: var(--ps-dark-accent);
}

html[data-theme="dark"] .ps-footer {
  color: var(--ps-dark-text);
  background: var(--ps-dark-footer);
}

html[data-theme="dark"] .ps-footer nav a,
html[data-theme="dark"] .ps-footer__contact,
html[data-theme="dark"] .ps-footer__contact .ps-footer__social-title,
html[data-theme="dark"] .ps-footer__questions,
html[data-theme="dark"] .ps-footer__contact .ps-footer__phone,
html[data-theme="dark"] .ps-footer__contact .ps-footer__email,
html[data-theme="dark"] .ps-footer__legal a,
html[data-theme="dark"] .ps-footer__copyright {
  color: var(--ps-dark-text);
}

html[data-theme="dark"] .ps-footer__bottom {
  border-top-color: rgba(234, 223, 201, .18);
}

html[data-theme="dark"] .ps-footer__button {
  color: #fff4dc !important;
  border: 1px solid var(--ps-dark-accent);
  background: var(--ps-dark-accent);
}

html[data-theme="dark"] .ps-footer__button:hover {
  background: var(--ps-dark-accent-hover);
}

@media (prefers-reduced-motion: no-preference) {
  body,
  .ps-market,
  .ps-info,
  .ps-listing-card,
  .ps-class-tabs button,
  .ps-sidebar-box,
  .ps-info__card,
  .ps-product-panel,
  .ps-booking-shell,
  .ps-product-section,
  .ps-form-section,
  .ps-footer {
    transition: color .22s ease, background-color .22s ease, border-color .22s ease;
  }
}

@media (max-width: 767px) {
  .ps-theme-toggle {
    width: 50px;
    height: 28px;
    flex-basis: 50px;
  }

  .ps-theme-toggle__thumb {
    width: 20px;
    height: 20px;
  }

  .ps-theme-toggle__icon {
    width: 14px;
    height: 14px;
    margin-inline: 5px;
  }

  html[data-theme="dark"] .ps-theme-toggle__thumb {
    transform: translateX(22px);
  }
}

/* 2026-08-02: darker graphite palette, cleaner fields and preserved class-icon detail. */
html[data-theme="dark"] {
  --ps-dark-page: #272727;
  --ps-dark-surface: #303030;
  --ps-dark-surface-soft: #383838;
  --ps-dark-surface-raised: #414141;
  --ps-dark-footer: #1c1c1c;
  --ps-dark-text: #f4ecdf;
  --ps-dark-muted: #d8cebd;
  --ps-dark-border: #aa9d86;
  --ps-dark-border-soft: #766e61;
  --ps-dark-accent: #d6a12a;
  --ps-dark-accent-hover: #e7b542;
  --ps-dark-accent-text: #211b0e;
}

/* Do not tile the custom select arrow across form controls. */
html[data-theme="dark"] .ps-sidebar-group select,
html[data-theme="dark"] .ps-time-picker__button,
html[data-theme="dark"] .ps-date-range-times select {
  padding-right: 38px;
  background-color: var(--ps-dark-surface-soft);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 6px;
}

html[data-theme="dark"] .ps-sidebar-group input,
html[data-theme="dark"] .ps-form-grid input,
html[data-theme="dark"] .ps-form-grid textarea {
  background-image: none;
}

html[data-theme="dark"] .ps-sidebar-group select:focus,
html[data-theme="dark"] .ps-sidebar-group input:focus,
html[data-theme="dark"] .ps-form-grid input:focus,
html[data-theme="dark"] .ps-form-grid select:focus,
html[data-theme="dark"] .ps-form-grid textarea:focus,
html[data-theme="dark"] .ps-control:focus {
  border-color: var(--ps-dark-accent);
  box-shadow: 0 0 0 3px rgba(214, 161, 42, .18);
  outline: none;
}

/* Keep the light/dark shapes from the original Figma SVGs instead of flattening them. */
html[data-theme="dark"] .ps-class-tabs__icon img,
html[data-theme="dark"] .ps-mobile-class-tabs__icon {
  filter: invert(92%) sepia(10%) saturate(450%) hue-rotate(345deg) brightness(105%) contrast(96%);
}

html[data-theme="dark"] .ps-search__submit-main,
html[data-theme="dark"] .ps-date-range-footer > button,
html[data-theme="dark"] .ps-sidebar-actions button,
html[data-theme="dark"] .ps-listing-card__details,
html[data-theme="dark"] .ps-btn,
html[data-theme="dark"] .ps-footer__button,
html[data-theme="dark"] .ps-calendar-day.is-start,
html[data-theme="dark"] .ps-calendar-day.is-end,
html[data-theme="dark"] .ps-steps span.is-active i,
html[data-theme="dark"] .ps-success__icon {
  color: var(--ps-dark-accent-text) !important;
  border-color: var(--ps-dark-accent);
  background: var(--ps-dark-accent);
}

html[data-theme="dark"] .ps-search__submit-main:hover,
html[data-theme="dark"] .ps-date-range-footer > button:hover,
html[data-theme="dark"] .ps-sidebar-actions button:hover,
html[data-theme="dark"] .ps-listing-card__details:hover,
html[data-theme="dark"] .ps-btn:hover,
html[data-theme="dark"] .ps-footer__button:hover {
  color: #17130a !important;
  background: var(--ps-dark-accent-hover);
}

/* 2026-08-03: brighter typography and icons for the #272727 dark palette. */
html[data-theme="dark"] {
  --ps-dark-text: #fffdf8;
  --ps-dark-muted: #eee9df;
  --ps-dark-border: #d8d0c4;
  --ps-dark-border-soft: #918a80;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #d8d3ca;
}

html[data-theme="dark"] .ps-calendar-day:disabled,
html[data-theme="dark"] .ps-form-grid label > small,
html[data-theme="dark"] .ps-show-more-wrap small,
html[data-theme="dark"] .ps-vehicle-placeholder__label,
html[data-theme="dark"] .ps-vehicle-placeholder__mark {
  color: #c9c4bc;
}

/* Keep the original Figma details, but move the class artwork closer to white. */
html[data-theme="dark"] .ps-class-tabs__icon img,
html[data-theme="dark"] .ps-mobile-class-tabs__icon {
  filter: invert(98%) sepia(5%) saturate(260%) hue-rotate(328deg) brightness(116%) contrast(102%);
}

html[data-theme="dark"] .ps-vehicle-placeholder svg,
html[data-theme="dark"] .ps-popular-card__placeholder svg {
  filter: brightness(1.42) saturate(.28);
}

/* Outline interface icons use the same near-white tone as the typography. */
html[data-theme="dark"] .ps-filter-toggle svg,
html[data-theme="dark"] .ps-date-range-trigger svg,
html[data-theme="dark"] .ps-custom-select__button svg,
html[data-theme="dark"] .ps-calendar-nav svg,
html[data-theme="dark"] .ps-mobile-filter-trigger svg,
html[data-theme="dark"] .ps-summary-chevron {
  color: var(--ps-dark-text);
  stroke: currentColor;
}

/* 2026-08-03: mint actions and a single select chevron in dark mode. */
html[data-theme="dark"] {
  --ps-dark-accent: #D6F8D6;
  --ps-dark-accent-hover: #E6FFE6;
  --ps-dark-accent-text: #172017;
}

/* Hide the browser-native arrow; keep only the custom chevron. */
html[data-theme="dark"] .ps-sidebar-group select,
html[data-theme="dark"] .ps-date-range-times select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

html[data-theme="dark"] .ps-theme-toggle {
  border-color: rgba(214, 248, 214, .78);
  background: rgba(214, 248, 214, .14);
}

html[data-theme="dark"] .ps-theme-toggle__thumb {
  background: #D6F8D6;
}

html[data-theme="dark"] .ps-theme-toggle__icon--moon {
  color: #D6F8D6;
}

html[data-theme="dark"] .ps-theme-toggle:focus-visible {
  outline-color: #D6F8D6;
}

html[data-theme="dark"] .ps-search__submit-main,
html[data-theme="dark"] .ps-date-range-footer > button,
html[data-theme="dark"] .ps-sidebar-actions button,
html[data-theme="dark"] .ps-listing-card__details,
html[data-theme="dark"] .ps-btn,
html[data-theme="dark"] .ps-footer__button,
html[data-theme="dark"] .ps-show-more,
html[data-theme="dark"] .ps-mobile-filter-trigger,
html[data-theme="dark"] .ps-calendar-day.is-start,
html[data-theme="dark"] .ps-calendar-day.is-end,
html[data-theme="dark"] .ps-steps span.is-active i,
html[data-theme="dark"] .ps-success__icon {
  color: var(--ps-dark-accent-text) !important;
  border-color: #D6F8D6;
  background: #D6F8D6;
}

html[data-theme="dark"] .ps-search__submit-main:hover,
html[data-theme="dark"] .ps-date-range-footer > button:hover,
html[data-theme="dark"] .ps-sidebar-actions button:hover,
html[data-theme="dark"] .ps-listing-card__details:hover,
html[data-theme="dark"] .ps-btn:hover,
html[data-theme="dark"] .ps-footer__button:hover,
html[data-theme="dark"] .ps-show-more:hover,
html[data-theme="dark"] .ps-mobile-filter-trigger:hover {
  color: #101810 !important;
  border-color: #E6FFE6;
  background: #E6FFE6;
}

html[data-theme="dark"] .ps-sidebar-group select:focus,
html[data-theme="dark"] .ps-sidebar-group input:focus,
html[data-theme="dark"] .ps-form-grid input:focus,
html[data-theme="dark"] .ps-form-grid select:focus,
html[data-theme="dark"] .ps-form-grid textarea:focus,
html[data-theme="dark"] .ps-control:focus {
  border-color: #D6F8D6;
  box-shadow: 0 0 0 3px rgba(214, 248, 214, .18);
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button:hover,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button:hover,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected {
  border-color: #D6F8D6;
  box-shadow: 3px 4px 0 rgba(214, 248, 214, .18);
}

/* 2026-08-03: desktop catalog elephant accent and clean spacing outside the filter sidebar. */
.ps-market {
  position: relative;
  overflow-x: clip;
}

@media (min-width: 1181px) {
  .ps-market-elephant {
    position: absolute;
    top: 112px;
    left: clamp(14px, calc((100vw - 1280px) / 2 + 8px), 108px);
    z-index: 1;
    width: clamp(60px, 4.8vw, 86px);
    pointer-events: none;
    user-select: none;
    opacity: .96;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .12));
  }

  .ps-market-elephant img {
    width: 100%;
    height: auto;
    display: block;
  }

  .ps-market > .ps-shell {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 1180px) {
  .ps-market-elephant {
    display: none;
  }
}

/* 2026-08-03: deep-indigo actions and darker outlines for the light theme. */
html[data-theme="light"] {
  --ps-light-action: #1F2041;
  --ps-light-action-hover: #2B2D5C;
  --ps-light-outline: #494B50;
  --ps-light-outline-soft: #686B72;
}

html[data-theme="light"] .ps-search__submit-main,
html[data-theme="light"] .ps-date-range-footer > button,
html[data-theme="light"] .ps-sidebar-actions button,
html[data-theme="light"] .ps-filter-panel__actions > button,
html[data-theme="light"] .ps-listing-card__details,
html[data-theme="light"] .ps-btn,
html[data-theme="light"] .ps-footer__button,
html[data-theme="light"] .ps-show-more,
html[data-theme="light"] .ps-mobile-filter-trigger,
html[data-theme="light"] .ps-search__mobile-submit,
html[data-theme="light"] .ps-section-heading--results > button,
html[data-theme="light"] .ps-calendar-day.is-start,
html[data-theme="light"] .ps-calendar-day.is-end,
html[data-theme="light"] .ps-steps span.is-active i,
html[data-theme="light"] .ps-success__icon {
  color: #fff !important;
  border-color: var(--ps-light-action);
  background: var(--ps-light-action);
}

html[data-theme="light"] .ps-search__submit-main:hover,
html[data-theme="light"] .ps-date-range-footer > button:hover,
html[data-theme="light"] .ps-sidebar-actions button:hover,
html[data-theme="light"] .ps-filter-panel__actions > button:hover,
html[data-theme="light"] .ps-listing-card__details:hover,
html[data-theme="light"] .ps-btn:hover,
html[data-theme="light"] .ps-footer__button:hover,
html[data-theme="light"] .ps-show-more:hover,
html[data-theme="light"] .ps-mobile-filter-trigger:hover,
html[data-theme="light"] .ps-search__mobile-submit:hover,
html[data-theme="light"] .ps-section-heading--results > button:hover {
  color: #fff !important;
  border-color: var(--ps-light-action-hover);
  background: var(--ps-light-action-hover);
}

html[data-theme="light"] .ps-search__bar,
html[data-theme="light"] .ps-sidebar-box,
html[data-theme="light"] .ps-listing-card,
html[data-theme="light"] .ps-class-block--catalog .ps-class-tabs button,
html[data-theme="light"] .ps-mobile-class-tabs button,
html[data-theme="light"] .ps-date-range-popover,
html[data-theme="light"] .ps-info__card,
html[data-theme="light"] .ps-product-panel,
html[data-theme="light"] .ps-booking-shell,
html[data-theme="light"] .ps-popular-card,
html[data-theme="light"] .ps-success {
  border-color: var(--ps-light-outline);
}

html[data-theme="light"] .ps-sidebar-group select,
html[data-theme="light"] .ps-sidebar-group input,
html[data-theme="light"] .ps-search select,
html[data-theme="light"] .ps-search input,
html[data-theme="light"] .ps-date-range-trigger,
html[data-theme="light"] .ps-time-picker__button,
html[data-theme="light"] .ps-form-grid input,
html[data-theme="light"] .ps-form-grid select,
html[data-theme="light"] .ps-form-grid textarea,
html[data-theme="light"] .ps-control {
  border-color: var(--ps-light-outline-soft);
}

html[data-theme="light"] .ps-sidebar-group select:focus,
html[data-theme="light"] .ps-sidebar-group input:focus,
html[data-theme="light"] .ps-search select:focus,
html[data-theme="light"] .ps-search input:focus,
html[data-theme="light"] .ps-date-range-trigger:focus-visible,
html[data-theme="light"] .ps-time-picker__button:focus-visible,
html[data-theme="light"] .ps-form-grid input:focus,
html[data-theme="light"] .ps-form-grid select:focus,
html[data-theme="light"] .ps-form-grid textarea:focus,
html[data-theme="light"] .ps-control:focus {
  border-color: var(--ps-light-action);
  box-shadow: 0 0 0 3px rgba(31, 32, 65, .16);
  outline: none;
}

html[data-theme="light"] .ps-theme-toggle {
  border-color: var(--ps-light-outline);
}

/* The active moon sits on the mint thumb in dark mode, so it uses deep indigo. */
html[data-theme="dark"] .ps-theme-toggle__icon--moon {
  color: #1F2041;
}


/* 2026-08-03: soft light-theme outlines, separated surfaces, and desktop elephant watermark. */
html[data-theme="light"] {
  --ps-light-page: #f2f3f5;
  --ps-light-surface: #ffffff;
  --ps-light-surface-soft: #f8f9fa;
  --ps-light-outline: #d5d9df;
  --ps-light-outline-soft: #e0e3e8;
  --ps-light-shadow: 0 14px 34px rgba(31, 32, 65, .055);
}

html[data-theme="light"] body,
html[data-theme="light"] .ps-market,
html[data-theme="light"] .ps-info,
html[data-theme="light"] .ps-stage {
  background-color: var(--ps-light-page);
}

html[data-theme="light"] .ps-market .ps-search__frame,
html[data-theme="light"] .ps-market .ps-search__bar--find,
html[data-theme="light"] .ps-sidebar-box,
html[data-theme="light"] .ps-listing-card,
html[data-theme="light"] .ps-card,
html[data-theme="light"] .ps-class-block--catalog .ps-class-tabs button,
html[data-theme="light"] .ps-date-range-popover,
html[data-theme="light"] .ps-custom-select__menu,
html[data-theme="light"] .ps-time-picker__menu,
html[data-theme="light"] .ps-info__card,
html[data-theme="light"] .ps-product-panel,
html[data-theme="light"] .ps-booking-shell,
html[data-theme="light"] .ps-product-section,
html[data-theme="light"] .ps-form-section,
html[data-theme="light"] .ps-order-card,
html[data-theme="light"] .ps-booking-summary,
html[data-theme="light"] .ps-success__card {
  border-color: var(--ps-light-outline);
  background-color: var(--ps-light-surface);
  box-shadow: var(--ps-light-shadow);
}

html[data-theme="light"] .ps-market .ps-search__field,
html[data-theme="light"] .ps-listing-card__foot,
html[data-theme="light"] .ps-sidebar-group + .ps-sidebar-group,
html[data-theme="light"] .ps-date-range-footer,
html[data-theme="light"] .ps-spec-table div,
html[data-theme="light"] .ps-order-card__line,
html[data-theme="light"] .ps-booking-summary__vehicle,
html[data-theme="light"] .ps-booking-summary__total {
  border-color: var(--ps-light-outline-soft);
}

html[data-theme="light"] .ps-sidebar-group select,
html[data-theme="light"] .ps-sidebar-group input,
html[data-theme="light"] .ps-market .ps-search select,
html[data-theme="light"] .ps-market .ps-search input,
html[data-theme="light"] .ps-date-range-trigger,
html[data-theme="light"] .ps-time-picker__button,
html[data-theme="light"] .ps-form-grid input,
html[data-theme="light"] .ps-form-grid select,
html[data-theme="light"] .ps-form-grid textarea,
html[data-theme="light"] .ps-control,
html[data-theme="light"] .ps-custom-select__button {
  border-color: var(--ps-light-outline);
  background-color: var(--ps-light-surface-soft);
}

html[data-theme="light"] .ps-sidebar-group select:focus,
html[data-theme="light"] .ps-sidebar-group input:focus,
html[data-theme="light"] .ps-market .ps-search select:focus,
html[data-theme="light"] .ps-market .ps-search input:focus,
html[data-theme="light"] .ps-date-range-trigger:focus-visible,
html[data-theme="light"] .ps-time-picker__button:focus-visible,
html[data-theme="light"] .ps-form-grid input:focus,
html[data-theme="light"] .ps-form-grid select:focus,
html[data-theme="light"] .ps-form-grid textarea:focus,
html[data-theme="light"] .ps-control:focus {
  border-color: #bcc2ca;
  box-shadow: 0 0 0 3px rgba(188, 194, 202, .20);
}

@media (min-width: 1181px) {
  .ps-market {
    position: relative;
    overflow-x: clip;
  }

  .ps-market-elephant {
    position: absolute;
    top: 108px;
    left: clamp(-410px, calc((100vw - 1280px) / 2 - 290px), -250px);
    z-index: 0;
    width: clamp(820px, 56vw, 1080px);
    pointer-events: none;
    user-select: none;
    opacity: 1;
    filter: none;
  }

  .ps-market-elephant img {
    width: 100%;
    height: auto;
    display: block;
    opacity: .072;
    filter: grayscale(1) brightness(0) contrast(.82);
  }

  html[data-theme="dark"] .ps-market-elephant img {
    opacity: .052;
    filter: grayscale(1) brightness(0) invert(1) contrast(.78);
  }

  .ps-market > .ps-shell {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 1180px) {
  .ps-market-elephant {
    display: none !important;
  }
}


/* 2026-08-03: sharp public UI, sticky search/filters, text-only classes and cropped elephant watermark. */
:root {
  --ps-header-footer-bg: #081016;
}

.ps-footer,
html[data-theme="dark"] .ps-footer {
  background: var(--ps-header-footer-bg);
}

/* Keep the public UI slightly rounded without returning to large pill shapes. */
.ps-header *,
.ps-market *,
.ps-footer * {
  border-radius: 8px !important;
}

@media (min-width: 1181px) {
  /* The place/date search bar stays on screen while the filter sidebar follows beneath it. */
  .ps-market .ps-search {
    position: sticky;
    top: 58px;
    z-index: 35;
  }

  .ps-sidebar-filters {
    top: 154px;
  }

  /* Crop the elephant so mainly its large right half is visible beside the filters. */
  .ps-market-elephant {
    top: 96px;
    left: max(-860px, -45vw);
    width: min(72vw, 1380px);
  }

  .ps-market-elephant img {
    opacity: .065;
  }

  html[data-theme="dark"] .ps-market-elephant img {
    opacity: .047;
  }
}

/* Desktop classes are compact text links directly below the place/date panel. */
.ps-class-block--catalog {
  margin-top: 10px;
  margin-bottom: 18px;
}

.ps-class-block--catalog .ps-class-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.ps-class-block--catalog .ps-class-tabs button,
html[data-theme="light"] .ps-class-block--catalog .ps-class-tabs button,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button {
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  text-align: left;
}

.ps-class-block--catalog .ps-class-tabs button:hover,
.ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button:hover,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.ps-class-block--catalog .ps-class-tabs__icon {
  display: none;
}

.ps-class-block--catalog .ps-class-tabs strong {
  color: #2a313d;
  font-size: 18px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 700;
}

.ps-class-block--catalog .ps-class-tabs small {
  color: #68707b;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}

.ps-class-block--catalog .ps-class-tabs small::before { content: "("; }
.ps-class-block--catalog .ps-class-tabs small::after { content: ")"; }

.ps-class-block--catalog .ps-class-tabs button:hover strong,
.ps-class-block--catalog .ps-class-tabs button.is-selected strong {
  color: #1F2041;
  text-decoration: underline;
  text-underline-offset: 4px;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs strong {
  color: #fffdf8;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs small {
  color: #d5d7d8;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button:hover strong,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected strong {
  color: #D6F8D6;
}

@media (max-width: 900px) {
  .ps-class-block--catalog .ps-class-tabs {
    gap: 7px 16px;
  }

  .ps-class-block--catalog .ps-class-tabs strong {
    font-size: 16px;
  }

  .ps-class-block--catalog .ps-class-tabs small {
    font-size: 14px;
  }
}

/* 2026-08-03: white contact button in the dark footer. */
.ps-footer__button,
html[data-theme="light"] .ps-footer__button,
html[data-theme="dark"] .ps-footer__button {
  color: #081016 !important;
  border: 1px solid rgba(255, 255, 255, .72) !important;
  background: #ffffff !important;
}

.ps-footer__button:hover,
html[data-theme="light"] .ps-footer__button:hover,
html[data-theme="dark"] .ps-footer__button:hover {
  color: #081016 !important;
  border-color: #ffffff !important;
  background: #f1f3f4 !important;
}


/* 2026-08-03: working price sort, centered date chevron, compact class icons and top-aligned sticky search. */
.ps-date-range-trigger {
  position: relative;
  align-items: center;
}

.ps-date-range-trigger svg {
  top: 50%;
  right: 18px;
  bottom: auto;
  transform: translateY(-50%);
}

.ps-search__field--range.is-open .ps-date-range-trigger svg {
  transform: translateY(-50%) rotate(180deg);
}

.ps-sort-toggle,
html[data-theme="light"] .ps-section-heading--results > .ps-sort-toggle,
html[data-theme="dark"] .ps-section-heading--results > .ps-sort-toggle {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4f5864 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.ps-sort-toggle:hover,
html[data-theme="light"] .ps-section-heading--results > .ps-sort-toggle:hover,
html[data-theme="dark"] .ps-section-heading--results > .ps-sort-toggle:hover {
  color: #151b24 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .ps-section-heading--results > .ps-sort-toggle {
  color: #d9dcdf !important;
}

html[data-theme="dark"] .ps-section-heading--results > .ps-sort-toggle:hover {
  color: #ffffff !important;
}

.ps-sort-toggle__arrow {
  font-size: 14px;
  line-height: 1;
}

/* The class row is directly below the search panel and scrolls away normally. */
.ps-class-block--catalog {
  margin: 10px 0 16px;
}

.ps-class-block--catalog .ps-class-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.ps-class-block--catalog .ps-class-tabs button,
html[data-theme="light"] .ps-class-block--catalog .ps-class-tabs button,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 7px 10px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid #d5d9df;
  background: #ffffff;
  box-shadow: none;
  transform: none;
  text-align: left;
}

.ps-class-block--catalog .ps-class-tabs button:hover,
.ps-class-block--catalog .ps-class-tabs button.is-selected {
  border-color: #9ca3af;
  background: #ffffff;
  box-shadow: none;
  transform: none;
}

.ps-class-block--catalog .ps-class-tabs__icon {
  display: block;
  width: 44px;
  height: 28px;
  color: #50565d;
}

.ps-class-block--catalog .ps-class-tabs__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-class-block--catalog .ps-class-tabs strong {
  color: #272d35;
  font-size: 13px;
  line-height: 1.15;
  font-style: normal;
  font-weight: 700;
}

.ps-class-block--catalog .ps-class-tabs small {
  color: #69717b;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
}

.ps-class-block--catalog .ps-class-tabs small::before,
.ps-class-block--catalog .ps-class-tabs small::after {
  content: none;
}

.ps-class-block--catalog .ps-class-tabs button:hover strong,
.ps-class-block--catalog .ps-class-tabs button.is-selected strong {
  color: #1F2041;
  text-decoration: none;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button {
  border-color: var(--ps-dark-border-soft);
  background: var(--ps-dark-surface);
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button:hover,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected {
  border-color: #D6F8D6;
  background: var(--ps-dark-surface);
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs strong,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs small {
  color: #fffdf8;
}

@media (min-width: 1181px) {
  .ps-market .ps-search {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  .ps-sidebar-filters {
    top: 104px;
  }
}

@media (max-width: 1180px) {
  .ps-class-block--catalog.ps-class-block--desktop {
    display: none;
  }
}


/* 2026-08-03: keep the vehicle class row attached directly below the sticky place/date search. */
@media (min-width: 1181px) {
  .ps-market .ps-search {
    top: 0;
    z-index: 42;
  }

  .ps-class-block--catalog.ps-class-block--desktop {
    position: sticky;
    top: 74px;
    z-index: 41;
    margin: 0 0 16px;
    padding: 6px 0 8px;
    background: #f3f4f6;
    box-shadow: 0 8px 16px rgba(15, 23, 42, .05);
  }

  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop {
    background: #272727;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .16);
  }

  .ps-sidebar-filters {
    top: 148px;
  }
}


/* 2026-08-03: dual daily-price filter and compact sticky class labels. */
.ps-price-filter > h3 {
  margin: 0 0 10px;
  color: #273142;
  font-size: 14px;
  font-weight: 700;
}

.ps-price-histogram {
  height: 54px;
  padding: 0 8px 5px;
  display: flex;
  align-items: end;
  gap: 3px;
  border-bottom: 2px solid #252c37;
}

.ps-price-histogram i {
  width: 100%;
  min-height: 2px;
  height: var(--ps-price-bar);
  display: block;
  background: #273142;
}

.ps-price-slider {
  position: relative;
  height: 24px;
  margin: -12px 2px 0;
}

.ps-price-slider__track,
.ps-price-slider__range {
  position: absolute;
  top: 11px;
  right: 0;
  left: 0;
  height: 3px;
  background: #d8dde4;
}

.ps-price-slider__range { background: #1F2041; }

.ps-price-slider input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  appearance: none;
  pointer-events: none;
  border: 0;
  background: transparent;
}

.ps-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  appearance: none;
  pointer-events: auto;
  border: 1px solid #cbd1da;
  border-radius: 50% !important;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .22);
  cursor: grab;
}

.ps-price-slider input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  pointer-events: auto;
  border: 1px solid #cbd1da;
  border-radius: 50% !important;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .22);
  cursor: grab;
}

.ps-price-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ps-price-values label { min-width: 0; }

.ps-price-values label > span:first-child {
  position: relative;
  z-index: 1;
  width: max-content;
  margin: 0 0 -7px 8px;
  padding: 0 4px;
  display: block;
  color: #758094;
  background: #ffffff;
  font-size: 10px;
  font-weight: 500;
}

.ps-price-value {
  min-height: 40px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  border: 1px solid #cfd5de;
  background: #ffffff;
}

.ps-price-value input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1F2041;
  font-size: 12px;
  font-weight: 600;
  appearance: textfield;
}

.ps-price-value input::-webkit-inner-spin-button,
.ps-price-value input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.ps-price-value b {
  color: #1F2041;
  font-size: 12px;
}

html[data-theme="dark"] .ps-price-filter > h3,
html[data-theme="dark"] .ps-price-histogram i {
  color: #fffdf8;
  background-color: #fffdf8;
}

html[data-theme="dark"] .ps-price-histogram { border-bottom-color: #fffdf8; }
html[data-theme="dark"] .ps-price-slider__range { background: #D6F8D6; }

html[data-theme="dark"] .ps-price-values label > span:first-child {
  color: #d5d7d8;
  background: var(--ps-dark-surface);
}

html[data-theme="dark"] .ps-price-value {
  border-color: var(--ps-dark-border-soft);
  background: var(--ps-dark-surface);
}

html[data-theme="dark"] .ps-price-value input,
html[data-theme="dark"] .ps-price-value b { color: #fffdf8; }

@media (min-width: 1181px) {
  .ps-market-elephant {
    left: max(-660px, -35vw);
    width: min(54vw, 1040px);
  }

  .ps-market .ps-search { top: 0; }

  .ps-class-block--catalog.ps-class-block--desktop {
    top: var(--ps-sticky-search-height, 82px);
  }

  .ps-sidebar-filters {
    top: calc(var(--ps-sticky-search-height, 82px) + var(--ps-sticky-class-height, 74px) + 8px);
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    padding: 5px 10px 7px;
    border-top: 1px solid #d9dde3;
    border-bottom: 1px solid #d9dde3;
    box-shadow: 0 8px 16px rgba(15, 23, 42, .06);
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    width: auto;
    min-height: 28px;
    padding: 0;
    display: inline-flex;
    border: 0;
    background: transparent;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon,
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small { display: none; }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong { font-size: 14px; }

  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    border-color: var(--ps-dark-border-soft);
  }
}

/* 2026-08-03: catalog polish based on core(8). */
:root {
  --ps-light-button: #256edb;
  --ps-light-button-hover: #1f5fbc;
  --ps-light-button-text: #fff;
}

html[data-theme="dark"] {
  --ps-dark-accent: #68de68;
  --ps-dark-accent-hover: #58c758;
  --ps-dark-accent-text: #102010;
}

.ps-search__submit-main,
.ps-sidebar-actions button,
.ps-listing-card__details,
.ps-show-more,
.ps-btn,
.ps-mobile-filter-trigger,
.ps-date-range-footer > button,
.ps-filter-panel__actions > button {
  color: var(--ps-light-button-text) !important;
  border-color: var(--ps-light-button) !important;
  background: var(--ps-light-button) !important;
}

.ps-search__submit-main:hover,
.ps-sidebar-actions button:hover,
.ps-listing-card__details:hover,
.ps-show-more:hover,
.ps-btn:hover,
.ps-mobile-filter-trigger:hover,
.ps-date-range-footer > button:hover,
.ps-filter-panel__actions > button:hover {
  border-color: var(--ps-light-button-hover) !important;
  background: var(--ps-light-button-hover) !important;
}

.ps-footer__button {
  color: #101828 !important;
  border-color: #fff !important;
  background: #fff !important;
}

html[data-theme="dark"] .ps-search__submit-main,
html[data-theme="dark"] .ps-sidebar-actions button,
html[data-theme="dark"] .ps-listing-card__details,
html[data-theme="dark"] .ps-show-more,
html[data-theme="dark"] .ps-btn,
html[data-theme="dark"] .ps-mobile-filter-trigger,
html[data-theme="dark"] .ps-date-range-footer > button,
html[data-theme="dark"] .ps-filter-panel__actions > button {
  color: var(--ps-dark-accent-text) !important;
  border-color: var(--ps-dark-accent) !important;
  background: var(--ps-dark-accent) !important;
}

html[data-theme="dark"] .ps-search__submit-main:hover,
html[data-theme="dark"] .ps-sidebar-actions button:hover,
html[data-theme="dark"] .ps-listing-card__details:hover,
html[data-theme="dark"] .ps-show-more:hover,
html[data-theme="dark"] .ps-btn:hover,
html[data-theme="dark"] .ps-mobile-filter-trigger:hover,
html[data-theme="dark"] .ps-date-range-footer > button:hover,
html[data-theme="dark"] .ps-filter-panel__actions > button:hover {
  border-color: var(--ps-dark-accent-hover) !important;
  background: var(--ps-dark-accent-hover) !important;
}

@media (max-width: 1180px) {
  .ps-market-elephant { display: none !important; }
}

@media (min-width: 1181px) {
  .ps-market-elephant {
    left: max(-360px, -22vw) !important;
    width: min(31vw, 560px) !important;
    opacity: .11 !important;
  }

  .ps-market-elephant img { opacity: 1 !important; }

  .ps-class-block--catalog.ps-class-block--desktop {
    margin: 12px 0 18px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop h2 { display: none !important; }

  .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px !important;
    align-items: stretch;
  }

  .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button {
    border-bottom: 0 !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    top: var(--ps-sticky-search-height, 0px) !important;
    margin: 0 !important;
    padding: 9px 0 8px !important;
    background: #f5f6f8 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 28px !important;
    overflow-x: auto;
    padding: 0 !important;
    scrollbar-width: none;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs::-webkit-scrollbar {
    display: none;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon,
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    display: none !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    color: #1e293b;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
  }

  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    background: #272727 !important;
  }

  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    color: #f7f8fa;
  }
}

.ps-price-filter { gap: 0 !important; }
.ps-price-filter > h3 {
  margin: 0 0 10px !important;
  font-size: 14px;
  font-weight: 800;
}

.ps-price-histogram {
  height: 46px !important;
  margin: 0 0 12px !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 4px !important;
  border: 0 !important;
}

.ps-price-histogram i {
  flex: 1 1 0;
  min-height: 4px;
  height: calc(var(--ps-price-bar) * 1%);
  background: #2d3748 !important;
  border-radius: 4px 4px 0 0 !important;
}

.ps-price-slider {
  position: relative;
  height: 30px !important;
  margin: 0 2px 14px !important;
}

.ps-price-slider__track,
.ps-price-slider__range {
  position: absolute;
  top: 12px !important;
  height: 6px !important;
  border-radius: 999px !important;
}

.ps-price-slider__track {
  left: 0;
  right: 0;
  background: #e4e7ec !important;
}

.ps-price-slider__range { background: #256edb !important; }

.ps-price-slider input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 30px !important;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: 0 !important;
  pointer-events: none;
}

.ps-price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}
.ps-price-slider input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
}
.ps-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 20px !important;
  height: 20px !important;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #cfd8e3 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .14) !important;
}
.ps-price-slider input[type="range"]::-moz-range-thumb {
  width: 20px !important;
  height: 20px !important;
  pointer-events: auto;
  border: 1px solid #cfd8e3 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .14) !important;
}

.ps-price-values {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
}
.ps-price-values label {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  min-width: 0;
}
.ps-price-values label > span:first-child {
  position: static !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #667085 !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.ps-price-value {
  min-height: 64px !important;
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px;
  border: 1px solid #cfd8e3 !important;
  border-radius: 10px !important;
  background: #fff !important;
}
.ps-price-value input {
  width: 100%;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0f172a !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.05;
}
.ps-price-value b {
  color: #0f172a !important;
  font-size: 14px;
  font-weight: 700;
}

html[data-theme="dark"] .ps-price-histogram i { background: #dfe7ef !important; }
html[data-theme="dark"] .ps-price-slider__track { background: #505866 !important; }
html[data-theme="dark"] .ps-price-slider__range { background: #68de68 !important; }
html[data-theme="dark"] .ps-price-value {
  border-color: #5a6573 !important;
  background: #363b41 !important;
}
html[data-theme="dark"] .ps-price-value input,
html[data-theme="dark"] .ps-price-value b { color: #f7f8fa !important; }

.ps-listing-card {
  min-height: 0;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 176px;
  grid-template-areas: "media content foot";
  column-gap: 20px;
  row-gap: 0;
  align-items: start;
  border-radius: 12px;
}
.ps-listing-card__content {
  grid-area: content;
  min-width: 0;
  display: grid;
  gap: 8px;
}
.ps-listing-card__head {
  margin: 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.ps-listing-card__head h3 { font-size: 19px; line-height: 1.2; }
.ps-listing-card__head p {
  margin-top: 2px;
  color: #6b7280;
  font-size: 14px;
}
.ps-listing-card__badges { margin-top: 0; gap: 8px; }
.ps-listing-card__badges span,
.ps-listing-card__badges span.is-green,
.ps-listing-card__badges span.is-aqua,
.ps-listing-card__badges span.is-purple,
.ps-listing-card__badges span.is-note {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
}
.ps-listing-card__meta {
  margin-top: 0;
  gap: 14px;
  color: #344054;
}
.ps-listing-card__media {
  grid-area: media;
  width: 150px;
  height: 112px;
  min-height: 112px;
  border-radius: 10px;
  background: #f8fafc;
}
.ps-listing-card__media img { padding: 4px; }
.ps-listing-card__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  color: #0f172a;
  font-size: 14px;
}
.ps-listing-card__features span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-listing-card__features i {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b8a42;
  font-style: normal;
  font-weight: 800;
}
.ps-listing-card__terms { display: none; }
.ps-listing-card__foot {
  grid-area: foot;
  min-height: 112px;
  padding-left: 18px;
  border-left: 1px solid #e5e7eb;
}
.ps-listing-card__price { display: grid; gap: 2px; }
.ps-listing-card__price strong { font-size: 24px; }
.ps-listing-card__price span { font-size: 15px; }
.ps-listing-card__price small {
  color: #6b7280;
  font-size: 13px;
}

html[data-theme="dark"] .ps-listing-card__meta,
html[data-theme="dark"] .ps-listing-card__features,
html[data-theme="dark"] .ps-listing-card__price strong,
html[data-theme="dark"] .ps-listing-card__price span { color: #f7f8fa; }
html[data-theme="dark"] .ps-listing-card__head p,
html[data-theme="dark"] .ps-listing-card__price small { color: #d0d5dd; }
html[data-theme="dark"] .ps-listing-card__media { background: #3a4048; }
html[data-theme="dark"] .ps-listing-card__foot { border-left-color: #515864; }

@media (max-width: 980px) {
  .ps-listing-card {
    grid-template-columns: 130px minmax(0, 1fr);
    grid-template-areas:
      "media content"
      "foot foot";
    row-gap: 14px;
  }
  .ps-listing-card__features { grid-template-columns: 1fr; }
  .ps-listing-card__foot {
    min-height: 0;
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid #e5e7eb;
  }
  html[data-theme="dark"] .ps-listing-card__foot { border-top-color: #515864; }
}

@media (max-width: 640px) {
  .ps-listing-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "content"
      "foot";
  }
  .ps-listing-card__media {
    width: 100%;
    height: 170px;
  }
}

.ps-socials__link--wechat {
  color: #fff;
  background: #07c160;
  border-color: rgba(7, 193, 96, .9) !important;
}

/* 2026-08-03: repair catalog layout, comments, currency selector and dark language menu. */
.ps-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ps-currency {
  flex: 0 0 auto;
  display: inline-flex;
}

.ps-currency select {
  width: 76px;
  height: 30px;
  padding: 0 23px 0 9px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .10);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ps-currency select option {
  color: #101828;
  background: #fff;
}

html[data-theme="dark"] .ps-language > div,
html[data-theme="dark"] .ps-region-menu > div {
  color: #f8fafc;
  border-color: #545b65;
  background: #34383e;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .38);
}

html[data-theme="dark"] .ps-language > div a,
html[data-theme="dark"] .ps-region-menu > div a {
  color: #f8fafc;
}

html[data-theme="dark"] .ps-language > div a:hover,
html[data-theme="dark"] .ps-language > div a.is-active,
html[data-theme="dark"] .ps-region-menu > div a:hover {
  color: #102010;
  background: #68de68;
}

html[data-theme="dark"] .ps-currency select {
  color: #f8fafc;
  border-color: #545b65;
  background-color: #34383e;
}

html[data-theme="dark"] .ps-currency select option {
  color: #f8fafc;
  background: #34383e;
}

/* Compact, independent class cards. */
.ps-class-block--catalog,
.ps-class-block--catalog.ps-class-block--desktop {
  width: 100% !important;
  margin: 12px 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-class-block--catalog .ps-class-tabs {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.ps-class-block--catalog .ps-class-tabs button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 88px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto 1fr !important;
  grid-template-areas: "title count" "icon count" !important;
  align-items: center !important;
  gap: 6px 8px !important;
  color: #1f2937 !important;
  border: 1px solid #d3dae4 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  text-align: left !important;
}

.ps-class-block--catalog .ps-class-tabs button:hover,
.ps-class-block--catalog .ps-class-tabs button.is-selected {
  border-color: #256edb !important;
  box-shadow: 0 5px 14px rgba(37, 110, 219, .10) !important;
}

.ps-class-block--catalog .ps-class-tabs strong {
  grid-area: title !important;
  align-self: start !important;
  color: inherit !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.ps-class-block--catalog .ps-class-tabs small {
  grid-area: count !important;
  align-self: end !important;
  color: #667085 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.ps-class-block--catalog .ps-class-tabs__icon {
  grid-area: icon !important;
  width: 68px !important;
  height: 38px !important;
  display: block !important;
  align-self: end !important;
  color: #4b5563 !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: left center !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button {
  color: #f8fafc !important;
  border-color: #515963 !important;
  background: #34383e !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button:hover,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected {
  border-color: #68de68 !important;
  box-shadow: 0 5px 14px rgba(104, 222, 104, .10) !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs small {
  color: #d0d5dd !important;
}

@media (min-width: 1181px) {
  .ps-market-elephant {
    left: max(-285px, -18vw) !important;
    width: min(27vw, 470px) !important;
    opacity: .085 !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    top: var(--ps-sticky-search-height, 82px) !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    border: 0 !important;
    background: #f4f6f8 !important;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .05) !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    overflow-x: auto !important;
    scrollbar-width: none;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs::-webkit-scrollbar {
    display: none;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    width: auto !important;
    min-width: max-content !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    grid-template: none !important;
    align-items: center !important;
    color: #1f2937 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon,
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    display: none !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    background: #272727 !important;
  }

  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    color: #f8fafc !important;
  }
}

@media (max-width: 1180px) {
  .ps-class-block--desktop {
    display: none !important;
  }
}

/* Price-per-day filter: histogram, two handles, and two independent values. */
.ps-price-filter {
  display: block !important;
  overflow: visible !important;
}

.ps-price-filter > h3 {
  margin: 0 0 10px !important;
}

.ps-price-histogram {
  width: 100% !important;
  height: 48px !important;
  margin: 0 0 6px !important;
  padding: 0 7px !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 3px !important;
  border: 0 !important;
  background: transparent !important;
}

.ps-price-histogram i {
  flex: 1 1 0 !important;
  min-width: 2px !important;
  min-height: 3px !important;
  height: var(--ps-price-bar) !important;
  max-height: 100% !important;
  display: block !important;
  border: 0 !important;
  border-radius: 3px 3px 0 0 !important;
  background: #344054 !important;
}

.ps-price-slider {
  width: 100% !important;
  height: 28px !important;
  margin: 0 0 10px !important;
  position: relative !important;
  overflow: visible !important;
}

.ps-price-slider__track,
.ps-price-slider__range {
  position: absolute !important;
  top: 11px !important;
  height: 5px !important;
  border-radius: 999px !important;
}

.ps-price-slider__track {
  left: 0 !important;
  right: 0 !important;
  background: #dfe3ea !important;
}

.ps-price-slider__range {
  background: #256edb !important;
}

.ps-price-slider input[type="range"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none !important;
}

.ps-price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 5px !important;
  border: 0 !important;
  background: transparent !important;
}

.ps-price-slider input[type="range"]::-moz-range-track {
  height: 5px !important;
  border: 0 !important;
  background: transparent !important;
}

.ps-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 20px !important;
  height: 20px !important;
  margin-top: -8px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .16) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.ps-price-slider input[type="range"]::-moz-range-thumb {
  width: 20px !important;
  height: 20px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .16) !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.ps-price-values {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.ps-price-values label {
  min-width: 0 !important;
  display: grid !important;
  gap: 5px !important;
}

.ps-price-values label > span:first-child {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  color: #667085 !important;
  background: transparent !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.ps-price-value {
  min-width: 0 !important;
  min-height: 58px !important;
  padding: 8px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 9px !important;
  background: #fff !important;
}

.ps-price-value input {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #101828 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.ps-price-value b {
  color: #101828 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

html[data-theme="dark"] .ps-price-histogram i {
  background: #e8edf2 !important;
}

html[data-theme="dark"] .ps-price-slider__track {
  background: #535b66 !important;
}

html[data-theme="dark"] .ps-price-slider__range {
  background: #68de68 !important;
}

html[data-theme="dark"] .ps-price-value {
  border-color: #5b6470 !important;
  background: #34383e !important;
}

html[data-theme="dark"] .ps-price-value input,
html[data-theme="dark"] .ps-price-value b {
  color: #f8fafc !important;
}

/* Horizontal marketplace-style vehicle card without repeated terms. */
.ps-home-page .ps-listing-card,
.ps-listing-card {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) 180px !important;
  grid-template-rows: auto !important;
  grid-template-areas: "media content foot" !important;
  align-items: stretch !important;
  gap: 18px !important;
  overflow: hidden !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .035) !important;
  transform: none !important;
}

.ps-listing-card__media {
  grid-area: media !important;
  order: 0 !important;
  width: 150px !important;
  min-width: 150px !important;
  height: 116px !important;
  min-height: 116px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #f6f7f9 !important;
}

.ps-listing-card__media img {
  width: 100% !important;
  height: 100% !important;
  padding: 5px !important;
  object-fit: contain !important;
}

.ps-listing-card__content {
  grid-area: content !important;
  order: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
}

.ps-listing-card__head {
  order: 0 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.ps-listing-card__head h3 {
  margin: 0 !important;
  color: #172b24 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
}

.ps-listing-card__head p {
  margin: 2px 0 0 !important;
  color: #667085 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.ps-listing-card__meta,
.ps-listing-card__badges,
.ps-listing-card__features {
  order: 0 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ps-listing-card__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  color: #344054 !important;
  font-size: 12px !important;
}

.ps-listing-card__badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.ps-listing-card__badges span,
.ps-listing-card__badges span.is-green,
.ps-listing-card__badges span.is-aqua,
.ps-listing-card__badges span.is-purple {
  min-height: 0 !important;
  padding: 3px 7px !important;
  color: #344054 !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
}

.ps-listing-card__features {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px 16px !important;
  color: #1f2937 !important;
  font-size: 12px !important;
}

.ps-listing-card__features span {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ps-listing-card__features i {
  color: #07883f !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

.ps-listing-card__terms {
  display: none !important;
}

.ps-listing-card__foot {
  grid-area: foot !important;
  order: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 116px !important;
  margin: 0 !important;
  padding: 0 0 0 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 12px !important;
  border: 0 !important;
  border-left: 1px solid #e4e7ec !important;
  background: transparent !important;
}

.ps-listing-card__price {
  margin: 0 !important;
  display: grid !important;
  justify-items: end !important;
  gap: 1px !important;
  text-align: right !important;
}

.ps-listing-card__price strong {
  color: #17372d !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

.ps-listing-card__price span,
.ps-listing-card__price small {
  color: #667085 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

.ps-listing-card__details {
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

html[data-theme="dark"] .ps-listing-card {
  border-color: #4a525d !important;
  background: #30343a !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .ps-listing-card__media {
  background: #3a4048 !important;
}

html[data-theme="dark"] .ps-listing-card__head h3,
html[data-theme="dark"] .ps-listing-card__meta,
html[data-theme="dark"] .ps-listing-card__features,
html[data-theme="dark"] .ps-listing-card__price strong {
  color: #f8fafc !important;
}

html[data-theme="dark"] .ps-listing-card__head p,
html[data-theme="dark"] .ps-listing-card__price span,
html[data-theme="dark"] .ps-listing-card__price small {
  color: #d0d5dd !important;
}

html[data-theme="dark"] .ps-listing-card__badges span,
html[data-theme="dark"] .ps-listing-card__badges span.is-green,
html[data-theme="dark"] .ps-listing-card__badges span.is-aqua,
html[data-theme="dark"] .ps-listing-card__badges span.is-purple {
  color: #f8fafc !important;
  border-color: #596270 !important;
  background: #3a4048 !important;
}

html[data-theme="dark"] .ps-listing-card__foot {
  border-left-color: #505864 !important;
}

@media (max-width: 980px) {
  .ps-home-page .ps-listing-card,
  .ps-listing-card {
    grid-template-columns: 130px minmax(0, 1fr) !important;
    grid-template-areas: "media content" "foot foot" !important;
  }

  .ps-listing-card__media {
    width: 130px !important;
    min-width: 130px !important;
  }

  .ps-listing-card__foot {
    min-height: 0 !important;
    padding: 12px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid #e4e7ec !important;
  }

  .ps-listing-card__price {
    justify-items: start !important;
    text-align: left !important;
  }
}

@media (max-width: 640px) {
  .ps-home-page .ps-listing-card,
  .ps-listing-card {
    grid-template-columns: 1fr !important;
    grid-template-areas: "media" "content" "foot" !important;
  }

  .ps-listing-card__media {
    width: 100% !important;
    min-width: 0 !important;
    height: 170px !important;
  }

  .ps-listing-card__features {
    grid-template-columns: 1fr !important;
  }
}

/* Public comments. */
.ps-comments {
  padding: 54px 0 64px;
  background: #eef1f4;
}

.ps-comments__inner {
  display: grid;
  gap: 24px;
}

.ps-comments__head h2 {
  margin: 0;
  font-size: 30px;
}

.ps-comments__head p {
  margin: 6px 0 0;
  color: #667085;
}

.ps-comments__layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.ps-comment-form,
.ps-comments__list article,
.ps-comments__empty {
  border: 1px solid #d6dde6;
  border-radius: 12px;
  background: #fff;
}

.ps-comment-form {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ps-comment-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.ps-comment-form__text {
  grid-column: 1 / -1;
}

.ps-comment-form textarea {
  resize: vertical;
}

.ps-comment-form .ps-btn {
  min-height: 44px;
  border-radius: 9px;
}

.ps-comments__list {
  display: grid;
  gap: 12px;
}

.ps-comments__list article,
.ps-comments__empty {
  margin: 0;
  padding: 16px 18px;
}

.ps-comments__list article > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.ps-comments__list time {
  color: #667085;
  font-size: 12px;
}

.ps-comments__list p {
  margin: 8px 0 0;
  color: #344054;
}

.ps-comments__messages p {
  margin: 0;
  padding: 11px 14px;
  border-radius: 9px;
  background: #e8f7eb;
}

html[data-theme="dark"] .ps-comments {
  background: #252525;
}

html[data-theme="dark"] .ps-comments__head p,
html[data-theme="dark"] .ps-comments__list time {
  color: #d0d5dd;
}

html[data-theme="dark"] .ps-comment-form,
html[data-theme="dark"] .ps-comments__list article,
html[data-theme="dark"] .ps-comments__empty {
  color: #f8fafc;
  border-color: #4c545e;
  background: #30343a;
}

html[data-theme="dark"] .ps-comments__list p {
  color: #e4e7ec;
}

@media (max-width: 800px) {
  .ps-comments__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ps-comment-form {
    grid-template-columns: 1fr;
  }
}

/* 2026-08-03: final visual correction for catalog, comments, and locale selector. */
body.ps-locale-open {
  overflow: hidden;
}

.ps-locale-trigger {
  min-width: 68px;
  height: 34px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 9px;
  background: rgba(255, 255, 255, .10);
  cursor: pointer;
}

.ps-locale-trigger__flag {
  font-size: 16px;
  line-height: 1;
}

.ps-locale-trigger__text {
  display: grid;
  gap: 0;
  line-height: 1;
  text-align: left;
}

.ps-locale-trigger__text b {
  font-size: 10px;
  font-weight: 700;
}

.ps-locale-trigger__text small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .72);
  font-size: 8px;
}

.ps-locale-trigger > svg {
  width: 9px;
  height: 6px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-locale-dialog[hidden] {
  display: none !important;
}

.ps-locale-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.ps-locale-dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 10, 14, .68);
  backdrop-filter: blur(4px);
}

.ps-locale-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: hidden;
  color: #151b26;
  border: 1px solid #d5d9e0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .30);
}

.ps-locale-dialog__head {
  min-height: 64px;
  padding: 0 18px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.ps-locale-tabs {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.ps-locale-tabs button {
  position: relative;
  padding: 0 2px;
  color: #667085;
  border: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

.ps-locale-tabs button.is-active {
  color: #111827;
  font-weight: 700;
}

.ps-locale-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #111827;
}

.ps-locale-dialog__close {
  width: 42px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
}

.ps-locale-dialog__body {
  max-height: calc(min(720px, 100vh - 36px) - 65px);
  overflow: auto;
  padding: 24px 20px 28px;
}

.ps-locale-panel[hidden] {
  display: none !important;
}

.ps-locale-panel h3 {
  margin: 0 0 12px;
  color: #101828;
  font-size: 14px;
  font-weight: 800;
}

.ps-locale-panel h3:not(:first-child) {
  margin-top: 28px;
}

.ps-locale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
}

.ps-locale-grid a,
.ps-locale-grid button {
  min-height: 48px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #1f2937;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.ps-locale-grid a:hover,
.ps-locale-grid button:hover,
.ps-locale-grid a.is-active,
.ps-locale-grid button.is-active {
  color: #145bd2;
  background: #f0f2f5;
}

.ps-locale-grid a > span:first-child {
  font-size: 19px;
}

.ps-locale-grid b {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
}

.ps-locale-grid span {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme="dark"] .ps-locale-trigger {
  color: #f7f8fa;
  border-color: #505864;
  background: #30343a;
}

html[data-theme="dark"] .ps-locale-trigger__text small {
  color: #d0d5dd;
}

html[data-theme="dark"] .ps-locale-dialog__panel {
  color: #f8fafc;
  border-color: #4d5561;
  background: #2d3136;
}

html[data-theme="dark"] .ps-locale-dialog__head {
  border-bottom-color: #4d5561;
}

html[data-theme="dark"] .ps-locale-tabs button,
html[data-theme="dark"] .ps-locale-dialog__close,
html[data-theme="dark"] .ps-locale-panel h3,
html[data-theme="dark"] .ps-locale-grid a,
html[data-theme="dark"] .ps-locale-grid button {
  color: #f8fafc;
}

html[data-theme="dark"] .ps-locale-tabs button:not(.is-active) {
  color: #b9c0ca;
}

html[data-theme="dark"] .ps-locale-tabs button.is-active::after {
  background: #68de68;
}

html[data-theme="dark"] .ps-locale-grid a:hover,
html[data-theme="dark"] .ps-locale-grid button:hover,
html[data-theme="dark"] .ps-locale-grid a.is-active,
html[data-theme="dark"] .ps-locale-grid button.is-active {
  color: #102010;
  background: #68de68;
}

/* Keep all five vehicle classes in one compact desktop row. */
@media (min-width: 901px) {
  .ps-class-block--catalog,
  .ps-class-block--catalog.ps-class-block--desktop {
    width: 100% !important;
    margin: 12px 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ps-class-block--catalog .ps-class-tabs,
  .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-auto-flow: column !important;
    gap: 10px !important;
  }

  .ps-class-block--catalog .ps-class-tabs button,
  .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 84px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto 1fr !important;
    grid-template-areas: "title title" "icon count" !important;
    align-items: end !important;
    gap: 5px 8px !important;
    color: #1f2937 !important;
    border: 1px solid #d5dbe4 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    text-align: left !important;
  }

  .ps-class-block--catalog .ps-class-tabs strong {
    grid-area: title !important;
    align-self: start !important;
    color: inherit !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .ps-class-block--catalog .ps-class-tabs small {
    grid-area: count !important;
    align-self: end !important;
    color: #667085 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .ps-class-block--catalog .ps-class-tabs__icon {
    grid-area: icon !important;
    width: 62px !important;
    height: 34px !important;
    display: block !important;
    align-self: end !important;
  }

  .ps-class-block--catalog .ps-class-tabs__icon img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}

@media (min-width: 1181px) {
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    top: var(--ps-sticky-search-height, 82px) !important;
    margin: 0 !important;
    padding: 9px 0 8px !important;
    border: 0 !important;
    background: #f3f5f8 !important;
    box-shadow: 0 5px 12px rgba(15, 23, 42, .04) !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-auto-flow: column !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 24px !important;
    padding: 0 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1f2937 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon,
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    display: none !important;
  }

  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    color: inherit !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    background: #272727 !important;
  }

  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    color: #f8fafc !important;
  }
}

/* Compact daily price filter values. */
.ps-price-filter {
  overflow: visible !important;
}

.ps-price-histogram {
  height: 46px !important;
  margin: 0 0 7px !important;
  padding: 0 5px !important;
  gap: 3px !important;
}

.ps-price-histogram i {
  min-height: 3px !important;
  height: var(--ps-price-bar) !important;
  max-height: 100% !important;
  border-radius: 2px 2px 0 0 !important;
}

.ps-price-slider {
  height: 28px !important;
  margin: 0 0 9px !important;
}

.ps-price-values {
  gap: 9px !important;
}

.ps-price-values label > span:first-child {
  margin: 0 0 4px !important;
  color: #667085 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
}

.ps-price-value {
  min-height: 48px !important;
  padding: 7px 9px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}

.ps-price-value input {
  width: calc(100% - 22px) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.ps-price-value b {
  flex: 0 0 auto !important;
  font-size: 12px !important;
}

/* Clean horizontal vehicle card. */
.ps-listing-card {
  grid-template-columns: 150px minmax(0, 1fr) 180px !important;
  grid-template-areas: "media content foot" !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.ps-listing-card__content {
  display: grid !important;
  align-content: start !important;
  gap: 9px !important;
}

.ps-listing-card__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  font-size: 12px !important;
}

.ps-listing-card__meta span,
.ps-listing-card__benefits span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ps-listing-card__meta svg,
.ps-listing-card__benefits svg {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 auto !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ps-listing-card__benefits {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px 18px !important;
  color: #344054 !important;
  font-size: 12px !important;
}

.ps-listing-card__benefits svg {
  color: #168447 !important;
}

.ps-listing-card__features {
  display: none !important;
}

.ps-listing-card__price strong {
  overflow-wrap: anywhere !important;
  font-size: 24px !important;
}

html[data-theme="dark"] .ps-listing-card__benefits {
  color: #e4e7ec !important;
}

html[data-theme="dark"] .ps-listing-card__benefits svg {
  color: #68de68 !important;
}

/* Collapsed comments section; form opens only after the action button is pressed. */
.ps-comments {
  padding: 44px 0 52px !important;
  background: #fff !important;
}

.ps-comments__inner {
  display: grid !important;
  gap: 24px !important;
}

.ps-comments__head {
  min-height: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.ps-comments__head h2 {
  margin: 0 !important;
  color: #172033 !important;
  font-size: clamp(24px, 2.4vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

.ps-comments__toggle {
  min-width: 210px !important;
  min-height: 48px !important;
  padding: 0 24px !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: #256edb !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

.ps-comments__panel[hidden] {
  display: none !important;
}

.ps-comments__panel {
  display: grid !important;
  gap: 22px !important;
}

.ps-comment-form {
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.ps-comment-form label {
  display: block !important;
}

.ps-comment-form label > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.ps-comment-form input,
.ps-comment-form textarea {
  width: 100% !important;
  min-height: 62px !important;
  padding: 16px !important;
  color: #172033 !important;
  border: 1px solid #d4d8df !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.ps-comment-form textarea {
  min-height: 140px !important;
}

.ps-comment-form .ps-btn {
  width: max-content !important;
  min-width: 250px !important;
  min-height: 48px !important;
  border-radius: 3px !important;
  text-transform: uppercase !important;
}

.ps-comments__list {
  display: grid !important;
  gap: 10px !important;
}

.ps-comments__list article {
  padding: 14px 16px !important;
  border: 1px solid #d8dde5 !important;
  border-radius: 4px !important;
  background: #fff !important;
}

html[data-theme="dark"] .ps-comments {
  background: #272727 !important;
}

html[data-theme="dark"] .ps-comments__head h2 {
  color: #f8fafc !important;
}

html[data-theme="dark"] .ps-comments__toggle,
html[data-theme="dark"] .ps-comment-form .ps-btn {
  color: #102010 !important;
  background: #68de68 !important;
}

html[data-theme="dark"] .ps-comment-form input,
html[data-theme="dark"] .ps-comment-form textarea,
html[data-theme="dark"] .ps-comments__list article {
  color: #f8fafc !important;
  border-color: #515864 !important;
  background: #30343a !important;
}

@media (max-width: 900px) {
  .ps-locale-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-comments__head {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .ps-comments__toggle {
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .ps-locale-dialog {
    padding: 0;
    place-items: stretch;
  }

  .ps-locale-dialog__panel {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .ps-locale-dialog__body {
    max-height: calc(100vh - 65px);
  }

  .ps-locale-grid {
    grid-template-columns: 1fr;
  }

  .ps-locale-trigger__text {
    display: none;
  }

  .ps-locale-trigger {
    min-width: 38px;
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .ps-locale-trigger > svg {
    display: none;
  }

  .ps-comment-form .ps-btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* 2026-08-03: animated theme switch, clean search separators, class strip, price range and vehicle card polish. */
.ps-theme-toggle {
  width: 68px !important;
  height: 36px !important;
  flex-basis: 68px !important;
  padding: 3px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #9edcff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.34), 0 4px 12px rgba(0,0,0,.18) !important;
  overflow: hidden !important;
  transition: background-color .35s ease, box-shadow .35s ease, transform .2s ease !important;
}
.ps-theme-toggle:hover { transform: translateY(-1px); }
.ps-theme-toggle__thumb {
  top: 3px !important;
  left: 3px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: #48aef4 !important;
  box-shadow: 0 5px 12px rgba(31,95,145,.34) !important;
  transform: translateX(0) rotate(0deg) !important;
  transition: transform .42s cubic-bezier(.22,1,.36,1), background-color .35s ease, box-shadow .35s ease !important;
}
.ps-theme-toggle__thumb::before,
.ps-theme-toggle__thumb::after {
  content: "";
  position: absolute;
  opacity: 0;
  transform: scale(.6) rotate(-20deg);
  transition: opacity .25s ease .08s, transform .35s ease .08s;
}
.ps-theme-toggle__thumb::before {
  width: 4px;
  height: 4px;
  top: 5px;
  right: 5px;
  border-radius: 50%;
  background: #fff6a8;
  box-shadow: -12px 10px 0 #fff, -3px 17px 0 #fff, 5px 12px 0 #ffe44f;
}
.ps-theme-toggle__thumb::after {
  width: 13px;
  height: 13px;
  left: 8px;
  top: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 5px -1px 0 1px #6138df;
}
.ps-theme-toggle__icon {
  z-index: 2 !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 6px !important;
  transition: opacity .25s ease, transform .35s ease, color .25s ease !important;
}
.ps-theme-toggle__icon--sun { color: #ffd233 !important; opacity: 1 !important; transform: rotate(0deg) scale(1) !important; }
.ps-theme-toggle__icon--moon { color: #fff !important; opacity: .25 !important; transform: rotate(18deg) scale(.78) !important; }
html[data-theme="dark"] .ps-theme-toggle {
  background: #352078 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 4px 14px rgba(12,6,42,.42) !important;
}
html[data-theme="dark"] .ps-theme-toggle__thumb {
  transform: translateX(32px) rotate(360deg) !important;
  background: #6138df !important;
  box-shadow: 0 5px 14px rgba(21,10,73,.46) !important;
}
html[data-theme="dark"] .ps-theme-toggle__thumb::before,
html[data-theme="dark"] .ps-theme-toggle__thumb::after { opacity: 1; transform: scale(1) rotate(0); }
html[data-theme="dark"] .ps-theme-toggle__icon--sun { opacity: .22 !important; transform: rotate(-90deg) scale(.72) !important; }
html[data-theme="dark"] .ps-theme-toggle__icon--moon { opacity: 1 !important; transform: rotate(0) scale(1) !important; }

/* Unified search panel with straight separators. */
.ps-market .ps-search__frame { padding: 0 !important; border-radius: 12px !important; overflow: visible !important; }
.ps-market .ps-search__bar--find {
  min-height: 78px !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: visible !important;
  border: 1px solid #d2d7df !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.08) !important;
}
.ps-market .ps-search__field {
  min-height: 76px !important;
  padding: 12px 20px !important;
  display: grid !important;
  align-content: center !important;
  border: 0 !important;
  border-right: 1px solid #d2d7df !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.ps-market .ps-search__field > span { margin: 0 0 3px !important; color: #667085 !important; font-size: 12px !important; line-height: 1.2 !important; }
.ps-market .ps-custom-select,
.ps-market .ps-date-range-trigger { min-height: 34px !important; }
.ps-market .ps-custom-select__button,
.ps-market .ps-date-range-trigger {
  min-height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.ps-market .ps-search__submit-main { align-self: stretch !important; min-height: 58px !important; margin: 9px !important; border-radius: 10px !important; }
html[data-theme="dark"] .ps-market .ps-search__bar--find { border-color: #74716d !important; background: #2d2d2d !important; box-shadow: 0 12px 30px rgba(0,0,0,.25) !important; }
html[data-theme="dark"] .ps-market .ps-search__field { border-right-color: #777571 !important; background: #2d2d2d !important; }
html[data-theme="dark"] .ps-market .ps-search__field > span { color: #c7c3bc !important; }
html[data-theme="dark"] .ps-market .ps-custom-select__button,
html[data-theme="dark"] .ps-market .ps-date-range-trigger,
html[data-theme="dark"] .ps-market .ps-date-range-trigger strong,
html[data-theme="dark"] .ps-market .ps-date-range-trigger small { color: #fff !important; background: transparent !important; }

/* Vehicle classes: standalone strip, images normally, names only when sticky. */
@media (min-width: 901px) {
  .ps-class-block--catalog,
  .ps-class-block--catalog.ps-class-block--desktop { margin: 12px 0 18px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
  .ps-class-block--catalog .ps-class-tabs,
  .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs {
    display: grid !important;
    grid-template-columns: repeat(5,minmax(0,1fr)) !important;
    gap: 0 !important;
    border-top: 1px solid #dce1e8;
    border-bottom: 1px solid #dce1e8;
    background: rgba(255,255,255,.52);
  }
  .ps-class-block--catalog .ps-class-tabs button,
  .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    padding: 8px 14px !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0,1fr) auto !important;
    grid-template-rows: 1fr !important;
    grid-template-areas: "icon title count" !important;
    align-items: center !important;
    gap: 8px !important;
    color: #1f2937 !important;
    border: 0 !important;
    border-right: 1px solid #dce1e8 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    text-align: left !important;
  }
  .ps-class-block--catalog .ps-class-tabs button:last-child { border-right: 0 !important; }
  .ps-class-block--catalog .ps-class-tabs button::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 2px;
    background: transparent;
    transition: background-color .2s ease;
  }
  .ps-class-block--catalog .ps-class-tabs button:hover::after,
  .ps-class-block--catalog .ps-class-tabs button.is-selected::after { background: #256edb; }
  .ps-class-block--catalog .ps-class-tabs__icon { grid-area: icon !important; width: 42px !important; height: 26px !important; display: block !important; }
  .ps-class-block--catalog .ps-class-tabs__icon img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: left center !important; }
  .ps-class-block--catalog .ps-class-tabs strong { grid-area: title !important; color: inherit !important; font-size: 14px !important; font-style: normal !important; font-weight: 700 !important; line-height: 1.2 !important; }
  .ps-class-block--catalog .ps-class-tabs small { grid-area: count !important; color: #667085 !important; font-size: 12px !important; font-weight: 700 !important; text-decoration: none !important; }
  html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs { border-color: #494d53; background: rgba(47,50,54,.72); }
  html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button { color: #f8fafc !important; border-right-color: #494d53 !important; }
  html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs small { color: #cbd0d7 !important; }
  html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs__icon img { filter: brightness(0) invert(1) opacity(.9) !important; }
}
@media (min-width: 1181px) {
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck { padding: 8px 0 !important; border-top: 1px solid #dce1e8 !important; border-bottom: 1px solid #dce1e8 !important; background: #f5f6f8 !important; box-shadow: 0 5px 12px rgba(15,23,42,.05) !important; }
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs { border: 0 !important; background: transparent !important; }
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button { min-height: 28px !important; padding: 0 8px !important; display: flex !important; justify-content: center !important; border: 0 !important; background: transparent !important; }
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button::after { left: 24%; right: 24%; bottom: -8px; }
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon,
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small { display: none !important; }
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong { color: #202938 !important; font-size: 14px !important; text-align: center !important; }
  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck { border-color: #494d53 !important; background: #272727 !important; }
  html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong { color: #fff !important; }
}

/* Daily price filter. */
.ps-price-filter { overflow: visible !important; }
.ps-price-filter__head { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ps-price-filter__head h3 { margin: 0 !important; color: #172033 !important; font-size: 14px !important; font-weight: 800 !important; }
.ps-price-filter__head button { padding: 0 !important; color: #256edb; border: 0; background: transparent; font-size: 11px; cursor: pointer; }
.ps-price-histogram { height: 50px !important; margin: 0 !important; padding: 0 8px 4px !important; display: flex !important; align-items: flex-end !important; gap: 3px !important; border-bottom: 1px dashed #344054 !important; }
.ps-price-histogram i { flex: 1 1 0 !important; min-width: 2px !important; min-height: 3px !important; height: var(--ps-price-bar) !important; max-height: 100% !important; background: #253247 !important; border-radius: 2px 2px 0 0 !important; }
.ps-price-slider { position: relative !important; height: 36px !important; margin: -1px 2px 8px !important; }
.ps-price-slider__track,
.ps-price-slider__range { top: 13px !important; height: 4px !important; }
.ps-price-slider__track { background: #d9dee6 !important; }
.ps-price-slider__range { background: #256edb !important; }
.ps-price-slider__bubble { position: absolute; top: -28px; z-index: 7; min-width: 52px; padding: 4px 7px; color: #fff; border-radius: 4px; background: #262a33; font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; transform: translateX(-50%); pointer-events: none; opacity: 0; transition: opacity .15s ease, transform .15s ease; }
.ps-price-slider:focus-within .ps-price-slider__bubble,
.ps-price-slider:hover .ps-price-slider__bubble { opacity: 1; transform: translateX(-50%) translateY(-2px); }
.ps-price-slider input[type="range"]::-webkit-slider-thumb { width: 21px !important; height: 21px !important; border: 2px solid #256edb !important; background: #fff !important; }
.ps-price-slider input[type="range"]::-moz-range-thumb { width: 21px !important; height: 21px !important; border: 2px solid #256edb !important; background: #fff !important; }
.ps-price-values { position: relative; display: grid !important; grid-template-columns: minmax(0,1fr) 12px minmax(0,1fr) !important; gap: 8px !important; align-items: end !important; }
.ps-price-values::before { content: ""; grid-column: 2; width: 12px; height: 1px; margin-bottom: 24px; background: #b8c0cc; }
.ps-price-values label:first-child { grid-column: 1; }
.ps-price-values label:last-child { grid-column: 3; }
.ps-price-values label > span:first-child { margin-bottom: 5px !important; color: #667085 !important; font-size: 10px !important; }
.ps-price-value { min-height: 52px !important; padding: 7px 9px !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: 1px !important; border-radius: 7px !important; }
.ps-price-value input { width: 100% !important; font-size: 16px !important; line-height: 1.1 !important; }
.ps-price-value b { font-size: 11px !important; }
html[data-theme="dark"] .ps-price-filter__head h3 { color: #fff !important; }
html[data-theme="dark"] .ps-price-filter__head button { color: #68de68; }
html[data-theme="dark"] .ps-price-histogram { border-bottom-color: #d7dbe1 !important; }
html[data-theme="dark"] .ps-price-histogram i { background: #eef2f6 !important; }
html[data-theme="dark"] .ps-price-slider__track { background: #545b65 !important; }
html[data-theme="dark"] .ps-price-slider__range { background: #68de68 !important; }
html[data-theme="dark"] .ps-price-slider input[type="range"]::-webkit-slider-thumb { border-color: #68de68 !important; }
html[data-theme="dark"] .ps-price-slider input[type="range"]::-moz-range-thumb { border-color: #68de68 !important; }
html[data-theme="dark"] .ps-price-values::before { background: #747b84; }
html[data-theme="dark"] .ps-price-values label > span:first-child { color: #d0d5dd !important; }

/* Vehicle card alignment and nested badge fix. */
.ps-listing-card { grid-template-columns: 156px minmax(0,1fr) 188px !important; gap: 20px !important; padding: 17px 18px !important; }
.ps-listing-card__content { grid-template-rows: auto auto auto auto !important; align-content: center !important; gap: 8px !important; }
.ps-listing-card__head,
.ps-listing-card__head > div { min-width: 0 !important; }
.ps-listing-card__head h3,
.ps-listing-card__head p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-listing-card__badges { position: static !important; display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px !important; }
.ps-listing-card__badges > span,
.ps-listing-card__badges > span.is-green,
.ps-listing-card__badges > span.is-aqua,
.ps-listing-card__badges > span.is-purple { position: static !important; display: inline-flex !important; align-items: center !important; min-height: 24px !important; padding: 3px 8px !important; border-radius: 999px !important; white-space: nowrap !important; }
.ps-listing-card__badges > span [data-price-thb] { display: inline !important; min-height: 0 !important; margin-left: 4px !important; padding: 0 !important; color: inherit !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; font: inherit !important; }
.ps-listing-card__benefits { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 6px 14px !important; min-width: 0 !important; }
.ps-listing-card__benefits span { min-width: 0 !important; line-height: 1.25 !important; }
.ps-listing-card__foot { justify-content: center !important; }
.ps-listing-card__price strong,
.ps-listing-card__price span,
.ps-listing-card__price small { max-width: 100% !important; overflow-wrap: normal !important; word-break: normal !important; white-space: nowrap !important; }
@media (max-width: 980px) {
  .ps-listing-card__head h3,
  .ps-listing-card__head p { white-space: normal; }
}

/* 2026-08-03: publish comments immediately, align locale panels, relocate classes, and refine price distribution. */
.ps-locale-dialog__panel {
  width: min(830px, calc(100vw - 36px)) !important;
  height: min(700px, calc(100vh - 36px)) !important;
  max-height: min(700px, calc(100vh - 36px)) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
}

.ps-locale-dialog__body {
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
}

.ps-locale-panel {
  min-height: 100% !important;
}

.ps-socials__link--wechat {
  color: #ffffff !important;
  border-color: #07c160 !important;
  background: #07c160 !important;
}

.ps-market-results {
  min-width: 0;
}

@media (min-width: 901px) {
  .ps-market-results > .ps-class-sticky-sentinel {
    display: block;
    height: 0;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop {
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    border: 0 !important;
    background: transparent !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 92px !important;
    padding: 12px 14px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto 1fr !important;
    grid-template-areas:
      "title title"
      "icon count" !important;
    align-items: end !important;
    gap: 8px !important;
    color: #202938 !important;
    border: 1px solid #d5dbe4 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .04) !important;
    transform: none !important;
    text-align: left !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button::after {
    display: none !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong {
    grid-area: title !important;
    align-self: start !important;
    color: inherit !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon {
    grid-area: icon !important;
    width: 58px !important;
    height: 34px !important;
    display: block !important;
    align-self: end !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small {
    grid-area: count !important;
    align-self: end !important;
    color: #667085 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button {
    color: #f8fafc !important;
    border-color: #4b515b !important;
    background: #30343a !important;
    box-shadow: none !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small {
    color: #d0d5dd !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img {
    filter: brightness(0) invert(1) opacity(.92) !important;
  }
}

@media (min-width: 1181px) {
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    position: sticky !important;
    top: var(--ps-sticky-search-height, 78px) !important;
    z-index: 34 !important;
    margin: 0 0 14px !important;
    padding: 9px 12px !important;
    border: 0 !important;
    border-radius: 0 0 10px 10px !important;
    background: #f3f5f8 !important;
    box-shadow: 0 8px 14px rgba(15, 23, 42, .06) !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    width: 100% !important;
    min-height: 26px !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #202938 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    display: none !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    color: inherit !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    background: #272727 !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    color: #ffffff !important;
  }
}

.ps-price-histogram {
  height: 54px !important;
  margin: 0 0 4px !important;
  padding: 0 5px !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 4px !important;
  border: 0 !important;
  background: transparent !important;
}

.ps-price-histogram i {
  flex: 1 1 0 !important;
  min-width: 4px !important;
  min-height: 0 !important;
  height: var(--ps-price-bar) !important;
  max-height: 100% !important;
  border: 0 !important;
  border-radius: 3px 3px 0 0 !important;
  background: #253247 !important;
}

.ps-price-slider {
  height: 28px !important;
  margin: 0 1px 10px !important;
}

.ps-price-slider__track,
.ps-price-slider__range {
  top: 12px !important;
  height: 3px !important;
  border-radius: 999px !important;
}

.ps-price-slider input[type="range"] {
  height: 28px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 3px !important;
  border: 0 !important;
  background: transparent !important;
}

.ps-price-slider input[type="range"]::-moz-range-track {
  height: 3px !important;
  border: 0 !important;
  background: transparent !important;
}

.ps-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 15px !important;
  height: 15px !important;
  margin-top: -6px !important;
  border-width: 1.5px !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .16) !important;
}

.ps-price-slider input[type="range"]::-moz-range-thumb {
  width: 15px !important;
  height: 15px !important;
  border-width: 1.5px !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .16) !important;
}

.ps-price-slider__bubble {
  top: -24px !important;
  min-width: 46px !important;
  padding: 3px 6px !important;
  font-size: 10px !important;
}

.ps-price-values {
  grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) !important;
  gap: 7px !important;
  align-items: end !important;
}

.ps-price-values::before {
  width: 14px !important;
  margin-bottom: 25px !important;
}

.ps-price-values label {
  min-width: 0 !important;
  display: grid !important;
  grid-template-rows: 16px 52px !important;
  gap: 4px !important;
  align-items: stretch !important;
}

.ps-price-values label > span:first-child {
  min-height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  white-space: nowrap !important;
  line-height: 16px !important;
}

.ps-price-value {
  min-width: 0 !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 7px 9px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}

.ps-price-value input {
  min-width: 0 !important;
  width: calc(100% - 20px) !important;
  height: 34px !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 34px !important;
}

.ps-price-value b {
  flex: 0 0 auto !important;
  font-size: 11px !important;
}

html[data-theme="dark"] .ps-price-histogram i {
  background: #eef2f6 !important;
}

@media (max-width: 640px) {
  .ps-locale-dialog__panel {
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
  }
}

/* 2026-08-03: search focus backdrop, Trip-style direct filters, selected price distribution and currency-aware price fields. */
.ps-search-focus-backdrop[hidden] {
  display: none !important;
}

.ps-search-focus-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(9, 13, 18, .72);
  backdrop-filter: blur(1px);
  cursor: default;
}

body.ps-search-focus-open .ps-market .ps-search {
  position: relative;
  z-index: 1110 !important;
}

body.ps-search-focus-open .ps-search__frame,
body.ps-search-focus-open .ps-search__bar--find {
  position: relative;
  z-index: 1111;
}

body.ps-search-focus-open .ps-custom-select.is-open,
body.ps-search-focus-open [data-date-range].is-open,
body.ps-search-focus-open .ps-custom-select__menu,
body.ps-search-focus-open .ps-date-range-popover {
  z-index: 1115 !important;
}

.ps-sidebar-group--choices > h3 {
  margin: 0 0 12px;
  color: #172033;
  font-size: 15px;
  font-weight: 800;
}

.ps-filter-choice-list {
  display: grid;
  gap: 9px;
}

.ps-filter-choice-list--brands {
  max-height: 250px;
  padding-right: 5px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.ps-filter-choice {
  min-width: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #263247;
  font-size: 14px;
  line-height: 1.25;
}

.ps-filter-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ps-filter-choice__box {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid #8f9bad;
  border-radius: 2px;
  background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.ps-filter-choice__box::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}

.ps-filter-choice input:checked + .ps-filter-choice__box {
  border-color: #256edb;
  background: #256edb;
  box-shadow: 0 0 0 2px rgba(37, 110, 219, .14);
}

.ps-filter-choice input:checked + .ps-filter-choice__box::after {
  opacity: 1;
}

.ps-filter-choice input:focus-visible + .ps-filter-choice__box {
  outline: 2px solid rgba(37, 110, 219, .35);
  outline-offset: 2px;
}

.ps-filter-choice__label {
  min-width: 0;
}

.ps-filter-choice small {
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

html[data-theme="dark"] .ps-sidebar-group--choices > h3,
html[data-theme="dark"] .ps-filter-choice {
  color: #f4f5f7;
}

html[data-theme="dark"] .ps-filter-choice small {
  color: #b9c1cc;
}

html[data-theme="dark"] .ps-filter-choice__box {
  border-color: #7b8796;
  background: #33383f;
}

html[data-theme="dark"] .ps-filter-choice input:checked + .ps-filter-choice__box {
  border-color: #68de68;
  background: #68de68;
  box-shadow: 0 0 0 2px rgba(104, 222, 104, .15);
}

html[data-theme="dark"] .ps-filter-choice input:checked + .ps-filter-choice__box::after {
  border-color: #102010;
}

.ps-price-histogram i {
  height: var(--ps-price-bar) !important;
  min-height: 0 !important;
  background: #c8d0dc !important;
  opacity: .48;
  transition: background .15s ease, opacity .15s ease;
}

.ps-price-histogram i.is-selected {
  background: #243047 !important;
  opacity: 1;
}

.ps-price-slider__track {
  background: #d9dee7 !important;
}

.ps-price-slider__range {
  background: #256edb !important;
}

.ps-price-values {
  grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) !important;
  align-items: end;
  gap: 7px !important;
}

.ps-price-values__divider {
  width: 12px;
  height: 1px;
  align-self: center;
  margin-top: 20px;
  background: #b9c2cf;
}

.ps-price-value {
  min-height: 58px !important;
  padding: 10px 11px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 6px !important;
}

.ps-price-value input[type="text"] {
  width: 100%;
  min-width: 0;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111827;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.2;
}

.ps-price-value b {
  color: #111827;
  font-size: 13px !important;
  font-weight: 800;
}

html[data-theme="dark"] .ps-price-histogram i {
  background: #606975 !important;
  opacity: .42;
}

html[data-theme="dark"] .ps-price-histogram i.is-selected {
  background: #eef2f6 !important;
  opacity: 1;
}

html[data-theme="dark"] .ps-price-slider__track {
  background: #505761 !important;
}

html[data-theme="dark"] .ps-price-slider__range {
  background: #68de68 !important;
}

html[data-theme="dark"] .ps-price-values__divider {
  background: #7c8794;
}

html[data-theme="dark"] .ps-price-value input[type="text"],
html[data-theme="dark"] .ps-price-value b {
  color: #f7f8fa;
}

@media (max-width: 1180px) {
  .ps-search-focus-backdrop {
    z-index: 2100;
  }

  body.ps-search-focus-open .ps-market .ps-search,
  body.ps-search-focus-open .ps-search__frame,
  body.ps-search-focus-open .ps-search__bar--find,
  body.ps-search-focus-open .ps-custom-select.is-open,
  body.ps-search-focus-open [data-date-range].is-open,
  body.ps-search-focus-open .ps-custom-select__menu,
  body.ps-search-focus-open .ps-date-range-popover {
    z-index: 2110 !important;
  }
}


/* 2026-08-03 ui54: compact filters/classes, clear vehicle icons and back-to-top. */
.ps-theme-toggle {
  border-radius: 12px !important;
}

.ps-theme-toggle__thumb {
  border-radius: 9px !important;
}

.ps-filter-choice__box,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box {
  width: 17px !important;
  height: 17px !important;
  border-radius: 4px !important;
}

.ps-filter-choice-list {
  align-content: start;
}

.ps-filter-choice-list--brands {
  max-height: 280px;
}

.ps-market-layout {
  align-items: start;
}

@media (min-width: 1181px) {
  .ps-sidebar-filters {
    position: sticky;
    top: 148px;
    align-self: start;
    height: auto !important;
    max-height: calc(100vh - 164px);
  }

  .ps-sidebar-filters .ps-sidebar-box {
    height: auto !important;
    max-height: inherit;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}

.ps-class-block--catalog {
  margin-top: 10px !important;
  margin-bottom: 18px !important;
}

.ps-class-block--catalog .ps-class-tabs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  overflow: visible;
  padding: 0;
}

.ps-class-block--catalog .ps-class-tabs button {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 92px !important;
  padding: 11px 13px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "title title"
    "icon count" !important;
  align-items: end;
  gap: 6px !important;
  border: 1px solid #d5dbe4 !important;
  border-radius: 11px !important;
  background: #f3f4f6 !important;
  box-shadow: none !important;
  text-align: left;
}

.ps-class-block--catalog .ps-class-tabs button:hover,
.ps-class-block--catalog .ps-class-tabs button.is-selected {
  border-color: #aeb8c7 !important;
  background: #eceff3 !important;
  box-shadow: 0 7px 16px rgba(15, 23, 42, .08) !important;
  transform: translateY(-1px);
}

.ps-class-block--catalog .ps-class-tabs strong {
  grid-area: title;
  align-self: start;
  color: #3f4858 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

.ps-class-block--catalog .ps-class-tabs__icon {
  grid-area: icon;
  width: 68px !important;
  height: 34px !important;
  align-self: end;
}

.ps-class-block--catalog .ps-class-tabs__icon img,
.ps-mobile-class-tabs__icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: none !important;
}

.ps-class-block--catalog .ps-class-tabs small {
  grid-area: count;
  justify-self: end;
  align-self: end;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  background: #fff;
  color: #566070 !important;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: inset 0 0 0 1px #e0e5ec;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .ps-class-block--catalog .ps-class-tabs {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }

  .ps-class-block--catalog .ps-class-tabs button {
    flex: 0 0 150px;
    width: 150px;
    min-height: 78px !important;
  }
}

@media (max-width: 767px) {
  .ps-mobile-class-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }

  .ps-mobile-class-tabs button {
    flex: 0 0 148px;
    min-height: 72px !important;
    padding: 9px 11px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "title title"
      "icon count";
    gap: 6px !important;
    border-radius: 11px !important;
    text-align: left;
  }

  .ps-mobile-class-tabs button > span {
    grid-area: title;
    color: #3f4858;
    font-size: 14px !important;
    line-height: 1.2;
    font-style: normal !important;
    font-weight: 700 !important;
  }

  .ps-mobile-class-tabs__icon {
    grid-area: icon;
    width: 58px;
    height: 30px;
    align-self: end;
  }

  .ps-mobile-class-tabs small {
    grid-area: count;
    justify-self: end;
    align-self: end;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    background: #fff;
    color: #566070 !important;
    font-size: 12px !important;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: inset 0 0 0 1px #e0e5ec;
  }
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button {
  border-color: #4a5462 !important;
  background: #30353d !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button:hover,
html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected {
  border-color: #667386 !important;
  background: #39414b !important;
  box-shadow: 0 9px 20px rgba(0, 0, 0, .22) !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs strong,
html[data-theme="dark"] .ps-mobile-class-tabs button > span {
  color: #f4f6f8 !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs__icon img,
html[data-theme="dark"] .ps-mobile-class-tabs__icon {
  filter: brightness(1.75) contrast(.9) !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs small,
html[data-theme="dark"] .ps-mobile-class-tabs small {
  background: rgba(255, 255, 255, .12);
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .17);
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
  padding: 7px 0 !important;
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs::-webkit-scrollbar {
  display: none;
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
  flex: 0 0 auto;
  width: auto;
  min-height: 30px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
  display: none !important;
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
  color: #202938 !important;
  font-size: 14px !important;
}

html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
  color: #fff !important;
}

.ps-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: #256edb;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 110, 219, .28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.ps-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ps-back-to-top:hover {
  transform: translateY(-2px);
}

.ps-back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

html[data-theme="dark"] .ps-back-to-top {
  background: #68de68;
  color: #132113;
  box-shadow: 0 14px 30px rgba(104, 222, 104, .28);
}

/* 2026-08-03 ui55: comments always visible, large elephant watermark, polished theme switch and compact sticky filters. */
.ps-theme-toggle {
  position: relative !important;
  width: 72px !important;
  height: 38px !important;
  flex: 0 0 72px !important;
  padding: 2px !important;
  border: 1px solid #d9dde6 !important;
  border-radius: 999px !important;
  background: #f1f2f6 !important;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, .09), 0 3px 8px rgba(15, 23, 42, .12) !important;
  overflow: hidden !important;
  transition: background-color .38s ease, border-color .38s ease, box-shadow .38s ease, transform .2s ease !important;
}

.ps-theme-toggle:hover {
  transform: translateY(-1px) !important;
}

.ps-theme-toggle__thumb {
  top: 2px !important;
  left: 2px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .20) !important;
  transform: translateX(0) !important;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), background-color .35s ease, box-shadow .35s ease !important;
}

.ps-theme-toggle__thumb::before,
.ps-theme-toggle__thumb::after {
  content: none !important;
}

.ps-theme-toggle__icon {
  position: absolute !important;
  z-index: 3 !important;
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
  transition: opacity .3s ease, transform .4s ease, color .3s ease !important;
}

.ps-theme-toggle__icon--sun {
  left: 9px !important;
  top: 9px !important;
  color: #ffcf22 !important;
  opacity: 1 !important;
  transform: rotate(0deg) scale(1) !important;
}

.ps-theme-toggle__icon--moon {
  right: 9px !important;
  top: 9px !important;
  color: #ffffff !important;
  opacity: 0 !important;
  transform: rotate(25deg) scale(.6) !important;
}

html[data-theme="dark"] .ps-theme-toggle {
  border-color: #243c82 !important;
  background: #152b70 !important;
  box-shadow: inset 0 2px 6px rgba(1, 7, 30, .45), 0 4px 12px rgba(0, 0, 0, .30) !important;
}

html[data-theme="dark"] .ps-theme-toggle__thumb {
  transform: translateX(34px) !important;
  background: #24449c !important;
  box-shadow: 0 5px 14px rgba(2, 8, 35, .46) !important;
}

html[data-theme="dark"] .ps-theme-toggle__thumb::before {
  content: "" !important;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffe061;
  box-shadow: -14px 9px 0 #ffffff, -5px 17px 0 #ffffff, 3px 13px 0 #ffe061;
}

html[data-theme="dark"] .ps-theme-toggle__icon--sun {
  opacity: 0 !important;
  transform: rotate(-90deg) scale(.55) !important;
}

html[data-theme="dark"] .ps-theme-toggle__icon--moon {
  opacity: 1 !important;
  transform: rotate(0deg) scale(1) !important;
}

@media (min-width: 1181px) {
  .ps-market-elephant {
    top: 90px !important;
    left: clamp(-430px, -23vw, -330px) !important;
    width: clamp(780px, 50vw, 930px) !important;
    opacity: 1 !important;
  }

  .ps-market-elephant img {
    opacity: .058 !important;
    filter: grayscale(1) brightness(0) contrast(.78) !important;
  }

  html[data-theme="dark"] .ps-market-elephant img {
    opacity: .042 !important;
    filter: grayscale(1) brightness(0) invert(1) contrast(.72) !important;
  }

  .ps-market-layout {
    grid-template-columns: 306px minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .ps-sidebar-filters {
    position: sticky !important;
    top: calc(var(--ps-sticky-search-height, 82px) + 10px) !important;
    align-self: start !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 82px) - 24px) !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    max-height: inherit !important;
    padding: 14px 13px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: auto;
    scrollbar-color: #7c8ba0 #e6eaf0;
  }

  .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar {
    width: 11px;
  }

  .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #e6eaf0;
  }

  .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-thumb {
    min-height: 58px;
    border: 2px solid #e6eaf0;
    border-radius: 999px;
    background: linear-gradient(180deg, #98a6b8, #65758b);
  }

  html[data-theme="dark"] .ps-sidebar-filters .ps-sidebar-box {
    scrollbar-color: #7d8999 #343a42;
  }

  html[data-theme="dark"] .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-track {
    background: #343a42;
  }

  html[data-theme="dark"] .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-thumb {
    border-color: #343a42;
    background: linear-gradient(180deg, #8c98a8, #667487);
  }
}

.ps-sidebar-heading {
  margin-bottom: 10px !important;
}

.ps-sidebar-heading h2 {
  font-size: 22px !important;
}

.ps-sidebar-group + .ps-sidebar-group {
  margin-top: 10px !important;
  padding-top: 10px !important;
}

.ps-sidebar-group--choices > h3,
.ps-price-filter__head {
  margin-bottom: 8px !important;
}

.ps-filter-choice-list {
  gap: 6px !important;
}

.ps-filter-choice {
  gap: 8px !important;
  font-size: 13.5px !important;
}

.ps-filter-choice__box,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box {
  position: relative;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #8c98a8 !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden;
}

.ps-filter-choice__box::before {
  content: none !important;
  display: none !important;
}

.ps-filter-choice__box::after {
  content: "" !important;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px !important;
  height: 5px !important;
  border: 0 !important;
  border-left: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0;
  transform: rotate(-45deg) !important;
}

.ps-filter-choice input:checked + .ps-filter-choice__box {
  border-color: #256edb !important;
  background: #256edb !important;
  box-shadow: 0 0 0 2px rgba(37, 110, 219, .13) !important;
}

.ps-filter-choice input:checked + .ps-filter-choice__box::after {
  opacity: 1 !important;
}

html[data-theme="dark"] .ps-filter-choice__box {
  border-color: #8995a5 !important;
  background: #333941 !important;
}

html[data-theme="dark"] .ps-filter-choice input:checked + .ps-filter-choice__box {
  border-color: #68de68 !important;
  background: #68de68 !important;
  box-shadow: 0 0 0 2px rgba(104, 222, 104, .14) !important;
}

html[data-theme="dark"] .ps-filter-choice input:checked + .ps-filter-choice__box::after {
  border-color: #ffffff !important;
}

/* Vehicle classes scroll normally with the page and never collapse into a sticky text row. */
.ps-class-block--catalog.ps-class-block--desktop,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop,
.ps-class-block--catalog.ps-class-block--desktop.is-stuck,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  margin: 10px 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  overflow: visible !important;
}

.ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
  width: 100% !important;
  min-height: 92px !important;
  padding: 11px 13px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto 1fr !important;
  grid-template-areas: "title title" "icon count" !important;
  border: 1px solid #d5dbe4 !important;
  border-radius: 11px !important;
  background: #f3f4f6 !important;
}

.ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon,
.ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
  display: flex !important;
}

.ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
  color: #3f4858 !important;
  font-size: 14px !important;
}

html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button,
html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
  border-color: #4a5462 !important;
  background: #30353d !important;
}

html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong,
html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
  color: #f4f6f8 !important;
}

.ps-comments__inner {
  gap: 18px !important;
}

.ps-comments__head {
  min-height: 54px !important;
}

.ps-comments__head h2 {
  font-size: clamp(22px, 2vw, 30px) !important;
}

.ps-comments__list {
  display: grid !important;
  gap: 10px !important;
}

.ps-comments__panel {
  margin-top: 4px;
}

/* 2026-08-04 ui56: narrower catalog, AJAX feedback, selected classes, enlarged watermark and refined controls. */
@media (min-width: 1181px) {
  .ps-home-page .ps-shell {
    width: min(1120px, calc(100% - 40px)) !important;
  }

  .ps-market-layout {
    grid-template-columns: 292px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
    overflow: visible !important;
  }

  .ps-sidebar-filters {
    position: sticky !important;
    top: calc(var(--ps-sticky-search-height, 82px) + 8px) !important;
    align-self: start !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 82px) - 20px) !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    max-height: inherit !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .ps-market-elephant {
    top: 90px !important;
    left: clamp(-550px, -31vw, -435px) !important;
    width: clamp(900px, 58vw, 1080px) !important;
  }

  .ps-back-to-top {
    top: 54vh !important;
    right: max(18px, calc((100vw - min(1120px, calc(100vw - 40px))) / 2 + 14px)) !important;
    bottom: auto !important;
  }
}

@media (max-width: 1180px) {
  .ps-back-to-top {
    top: auto !important;
    right: 16px !important;
    bottom: 18px !important;
  }
}

.ps-theme-toggle__icon--sun {
  color: #ffd400 !important;
  filter: drop-shadow(0 0 3px rgba(255, 212, 0, .52));
}

.ps-market-form.is-catalog-loading .ps-market-results {
  opacity: .56;
  pointer-events: none;
  transition: opacity .16s ease;
}

.ps-market-results {
  min-width: 0;
  transition: opacity .16s ease;
}

@media (min-width: 768px) {
  .ps-class-block--catalog .ps-class-tabs,
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 9px !important;
    overflow: visible !important;
    padding: 0 !important;
    scrollbar-width: none !important;
  }

  .ps-class-block--catalog .ps-class-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .ps-class-block--catalog .ps-class-tabs button,
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 88px !important;
    padding: 11px 12px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
}

.ps-class-tabs button.is-selected,
.ps-mobile-class-tabs button.is-selected,
.ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected {
  border: 2px solid #256edb !important;
  background: #eef5ff !important;
  box-shadow: 0 8px 18px rgba(37, 110, 219, .13) !important;
}

.ps-class-tabs button.is-selected::after,
.ps-mobile-class-tabs button.is-selected::after {
  content: "✓" !important;
  position: absolute !important;
  top: 7px !important;
  right: 7px !important;
  width: 19px !important;
  height: 19px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 5px !important;
  background: #256edb !important;
  color: #ffffff !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected,
html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected {
  border-color: #68de68 !important;
  background: #34423a !important;
  box-shadow: 0 8px 20px rgba(104, 222, 104, .13) !important;
}

html[data-theme="dark"] .ps-class-tabs button.is-selected::after,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected::after {
  background: #68de68 !important;
  color: #102010 !important;
}

.ps-filter-choice-list,
.ps-filter-choice {
  overflow: visible !important;
}

.ps-filter-choice {
  grid-template-columns: 21px minmax(0, 1fr) auto !important;
  padding: 2px 1px !important;
}

.ps-filter-choice__box,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box {
  width: 18px !important;
  height: 18px !important;
  margin: 0 0 0 1px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.ps-filter-choice input:checked + .ps-filter-choice__box {
  box-shadow: none !important;
}

.ps-filter-choice__box::after {
  left: 4px !important;
  top: 3px !important;
  width: 8px !important;
  height: 5px !important;
}

.ps-comment-form label > span,
.ps-comment-form input,
.ps-comment-form textarea,
.ps-comment-form input::placeholder,
.ps-comment-form textarea::placeholder {
  font-size: 16px !important;
}

.ps-comment-form label > span {
  font-weight: 600 !important;
}

/* Keep the selected-class check badge independent from legacy underline pseudo-elements. */
.ps-class-tabs button.is-selected::after,
.ps-mobile-class-tabs button.is-selected::after {
  left: auto !important;
  bottom: auto !important;
  transition: none !important;
}

.ps-mobile-class-tabs,
.ps-mobile-class-tabs button {
  overflow-y: visible !important;
}

.ps-mobile-class-tabs button {
  position: relative !important;
}


/* 2026-08-04 ui57: stable cards, faceted AJAX counts, aligned sticky filters and selected classes. */
@media (min-width: 1181px) {
  .ps-sidebar-filters {
    position: sticky !important;
    top: calc(var(--ps-sticky-search-height, 82px) + 6px) !important;
    align-self: start !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 82px) - 18px) !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    max-height: inherit !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: auto !important;
    scrollbar-color: #8e9aad #e6eaf0 !important;
  }

  .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar {
    width: 12px !important;
    height: 0 !important;
  }

  .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-track {
    border-radius: 999px !important;
    background: #e6eaf0 !important;
  }

  .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-thumb {
    min-height: 64px !important;
    border: 3px solid #e6eaf0 !important;
    border-radius: 999px !important;
    background: #8e9aad !important;
  }

  html[data-theme="dark"] .ps-sidebar-filters .ps-sidebar-box {
    scrollbar-color: #8793a4 #353b43 !important;
  }

  html[data-theme="dark"] .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-track {
    background: #353b43 !important;
  }

  html[data-theme="dark"] .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-thumb {
    border-color: #353b43 !important;
    background: #8793a4 !important;
  }

  .ps-back-to-top {
    right: max(18px, calc((100vw - min(1120px, calc(100vw - 40px))) / 2 - 44px)) !important;
  }

  .ps-market-elephant {
    transform: scale(1.14) !important;
    transform-origin: center center !important;
  }
}

.ps-theme-toggle__icon--sun {
  filter:
    drop-shadow(.7px 0 0 #181818)
    drop-shadow(-.7px 0 0 #181818)
    drop-shadow(0 .7px 0 #181818)
    drop-shadow(0 -.7px 0 #181818)
    drop-shadow(0 0 3px rgba(255, 218, 0, .58)) !important;
}

.ps-filter-choice-list,
.ps-filter-choice-list--brands {
  overflow-x: hidden !important;
}

.ps-filter-choice-list {
  padding-left: 3px !important;
  padding-right: 2px !important;
}

.ps-filter-choice {
  grid-template-columns: 20px minmax(0, 1fr) auto !important;
  padding: 3px 1px !important;
  overflow: visible !important;
}

.ps-filter-choice__box,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border-radius: 5px !important;
  overflow: visible !important;
}

.ps-filter-choice__box::after {
  position: static !important;
  width: 8px !important;
  height: 5px !important;
  border-left: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg) !important;
}

.ps-filter-choice input:checked + .ps-filter-choice__box::after {
  opacity: 1 !important;
}

@media (min-width: 768px) {
  .ps-class-block--catalog .ps-class-tabs,
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    overflow: visible !important;
    scrollbar-width: none !important;
  }

  .ps-class-block--catalog .ps-class-tabs::-webkit-scrollbar,
  .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs::-webkit-scrollbar,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

.ps-class-tabs button.is-selected,
.ps-mobile-class-tabs button.is-selected,
.ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected {
  position: relative !important;
  border: 2px solid #256edb !important;
  background: #eef5ff !important;
  overflow: visible !important;
}

.ps-class-tabs button.is-selected::after,
.ps-mobile-class-tabs button.is-selected::after,
.ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected::after,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected::after {
  content: "✓" !important;
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 5 !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #256edb !important;
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
}

html[data-theme="dark"] .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected,
html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected {
  border-color: #68de68 !important;
  background: #34423a !important;
}

html[data-theme="dark"] .ps-class-tabs button.is-selected::after,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected::after,
html[data-theme="dark"] .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected::after,
html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button.is-selected::after {
  background: #68de68 !important;
  color: #102010 !important;
}

.ps-class-tabs__icon--minibus,
.ps-mobile-class-tabs img[src$="minibus.svg"] {
  overflow: visible !important;
}

.ps-class-tabs__icon--minibus img,
.ps-mobile-class-tabs img[src$="minibus.svg"] {
  transform: scale(1.22) !important;
  transform-origin: left bottom !important;
}

.ps-listing-card {
  min-height: 150px !important;
  padding: 14px 16px !important;
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) 174px !important;
  grid-template-areas: "media content foot" !important;
  gap: 16px !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

.ps-listing-card__media {
  grid-area: media !important;
  width: 132px !important;
  min-width: 132px !important;
  height: 120px !important;
  min-height: 120px !important;
  align-self: center !important;
  overflow: hidden !important;
}

.ps-listing-card__content {
  grid-area: content !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 1px 0 !important;
}

.ps-listing-card__head {
  order: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.ps-listing-card__head > div {
  min-width: 0 !important;
}

.ps-listing-card__head h3 {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.ps-listing-card__head p {
  margin: 2px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.ps-listing-card__meta {
  order: 1 !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 12px !important;
  font-size: 12px !important;
}

.ps-listing-card__badges {
  order: 2 !important;
  margin: 0 !important;
  position: static !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 5px !important;
}

.ps-listing-card__badges > span,
.ps-listing-card__badges > span.is-green,
.ps-listing-card__badges > span.is-aqua,
.ps-listing-card__badges > span.is-purple {
  position: static !important;
  max-width: 100% !important;
  min-height: 22px !important;
  padding: 3px 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  font-size: 11px !important;
}

.ps-listing-card__benefits {
  order: 3 !important;
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px 12px !important;
  min-width: 0 !important;
  font-size: 12px !important;
}

.ps-listing-card__benefits span {
  min-width: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 6px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

.ps-listing-card__foot {
  grid-area: foot !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 120px !important;
  padding: 0 0 0 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  border-left: 1px solid #e1e6ed !important;
}

.ps-listing-card__price {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  justify-items: end !important;
  gap: 2px !important;
  text-align: right !important;
}

.ps-listing-card__price strong {
  font-size: 23px !important;
  line-height: 1.08 !important;
}

.ps-listing-card__price span {
  font-size: 12px !important;
}

.ps-listing-card__price small {
  font-size: 11px !important;
}

.ps-listing-card__price strong,
.ps-listing-card__price span,
.ps-listing-card__price small {
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.ps-listing-card__details {
  width: 100% !important;
  min-height: 42px !important;
  margin-top: 10px !important;
  align-self: stretch !important;
}

html[data-theme="dark"] .ps-listing-card__foot {
  border-left-color: #505762 !important;
}

.ps-comment-form label > span,
.ps-comment-form input,
.ps-comment-form textarea,
.ps-comment-form input::placeholder,
.ps-comment-form textarea::placeholder {
  font-size: 17px !important;
}

@media (max-width: 980px) {
  .ps-listing-card {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    grid-template-areas:
      "media content"
      "foot foot" !important;
    row-gap: 12px !important;
  }

  .ps-listing-card__media {
    width: 120px !important;
    min-width: 120px !important;
  }

  .ps-listing-card__foot {
    min-height: 0 !important;
    padding: 12px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid #e1e6ed !important;
  }
}

@media (max-width: 640px) {
  .ps-listing-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "media"
      "content"
      "foot" !important;
  }

  .ps-listing-card__media {
    width: 100% !important;
    min-width: 0 !important;
    height: 170px !important;
  }
}


/* 2026-08-04 ui58: small alignment fixes for price, checkboxes, scrollbar, sun and back-to-top. */
@media (min-width: 1181px) {
  .ps-back-to-top {
    right: max(8px, calc((100vw - min(1120px, calc(100vw - 40px))) / 2 - 92px)) !important;
  }
}

.ps-price-slider__bubble {
  top: -25px !important;
  min-width: 44px !important;
  max-width: 78px !important;
  padding: 4px 6px !important;
  overflow: hidden !important;
  color: #ffffff !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.ps-price-slider [data-price-bubble-min] {
  transform: translateX(0) !important;
}

.ps-price-slider [data-price-bubble-max] {
  transform: translateX(-100%) !important;
}

.ps-price-slider:hover [data-price-bubble-min],
.ps-price-slider:focus-within [data-price-bubble-min] {
  transform: translateX(0) translateY(-2px) !important;
}

.ps-price-slider:hover [data-price-bubble-max],
.ps-price-slider:focus-within [data-price-bubble-max] {
  transform: translateX(-100%) translateY(-2px) !important;
}

.ps-filter-choice {
  min-height: 27px !important;
  align-items: center !important;
  column-gap: 9px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

.ps-filter-choice__box,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box {
  align-self: center !important;
  justify-self: center !important;
}

.ps-filter-choice__label {
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  min-height: 20px !important;
  line-height: 1.25 !important;
}

.ps-filter-choice small {
  align-self: center !important;
  line-height: 1 !important;
}

.ps-filter-choice-list--brands {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.ps-filter-choice-list--brands::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.ps-theme-toggle__icon--sun {
  color: #f5b800 !important;
  filter: drop-shadow(0 0 1.5px rgba(245, 184, 0, .45)) !important;
  stroke-width: 2.15 !important;
}

.ps-theme-toggle__icon--sun circle {
  fill: #ffd62f !important;
  stroke: #e2a600 !important;
  stroke-width: 1.2 !important;
}

.ps-theme-toggle__icon--sun path {
  stroke: #e2a600 !important;
  stroke-width: 2 !important;
}


/* 2026-08-04 ui59: offer count and removable active-filter chips. */
.ps-section-heading--results {
  margin-top: 14px;
  margin-bottom: 12px;
  align-items: flex-start;
  gap: 18px;
}

.ps-results-summary {
  min-width: 0;
  flex: 1 1 auto;
}

.ps-section-heading--results h2 {
  margin: 0;
  color: #172033;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.ps-active-filters {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}

.ps-active-filters__chips {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.ps-active-filter {
  min-height: 30px;
  padding: 4px 5px 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #ccd5e2;
  border-radius: 8px;
  background: #ffffff;
  color: #344054;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}

.ps-active-filter button {
  width: 21px;
  height: 21px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: #edf1f6;
  color: #596579;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.ps-active-filter button:hover {
  background: #dfe6ef;
  color: #172033;
}

.ps-active-filters__reset {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #256edb;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.ps-active-filters__reset:hover {
  color: #174fa8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-theme="dark"] .ps-section-heading--results h2 {
  color: #f7f8fa;
}

html[data-theme="dark"] .ps-active-filter {
  border-color: #596271;
  background: #333941;
  color: #f2f4f7;
}

html[data-theme="dark"] .ps-active-filter button {
  background: #454d59;
  color: #ffffff;
}

html[data-theme="dark"] .ps-active-filter button:hover {
  background: #566171;
}

html[data-theme="dark"] .ps-active-filters__reset {
  color: #68de68;
}

@media (max-width: 760px) {
  .ps-section-heading--results {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ps-section-heading--results h2 {
    font-size: 18px;
  }

  .ps-active-filters {
    align-items: flex-start;
    flex-direction: column;
  }

  .ps-active-filters__reset {
    margin-left: 0;
  }
}

/* 2026-08-04 ui60: exact compact Trip-style daily-price filter. */
.ps-price-filter {
  position: relative;
  overflow: visible !important;
}

.ps-price-filter__head {
  min-height: 20px;
  margin: 0 0 8px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ps-price-filter__head h3 {
  margin: 0 !important;
  color: #111827 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 800 !important;
}

.ps-price-filter__head button {
  padding: 0 !important;
  color: #1f67ff !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 11px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  cursor: pointer;
}

.ps-price-histogram {
  width: calc(100% - 18px) !important;
  height: 58px !important;
  margin: 0 9px -1px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 3px !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.ps-price-histogram i {
  flex: 1 1 0 !important;
  min-width: 2px !important;
  min-height: 2px !important;
  height: var(--ps-price-bar) !important;
  max-height: 100% !important;
  border: 0 !important;
  border-radius: 2px 2px 0 0 !important;
  background: #d3d9e2 !important;
  opacity: 1 !important;
}

.ps-price-histogram i.is-selected {
  background: #202b3d !important;
  opacity: 1 !important;
}

.ps-price-slider {
  position: relative !important;
  width: 100% !important;
  height: 28px !important;
  margin: 0 0 17px !important;
  overflow: visible !important;
}

.ps-price-slider__track,
.ps-price-slider__range {
  position: absolute !important;
  top: 9px !important;
  height: 3px !important;
  border-radius: 999px !important;
}

.ps-price-slider__track {
  left: 7px !important;
  right: 7px !important;
  background: #d6dce5 !important;
}

.ps-price-slider__range {
  background: #246df3 !important;
}

.ps-price-slider input[type="range"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none !important;
}

.ps-price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 3px !important;
  border: 0 !important;
  background: transparent !important;
}

.ps-price-slider input[type="range"]::-moz-range-track {
  height: 3px !important;
  border: 0 !important;
  background: transparent !important;
}

.ps-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 22px !important;
  height: 22px !important;
  margin-top: -9px !important;
  pointer-events: auto !important;
  border: 1.5px solid #246df3 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .16) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.ps-price-slider input[type="range"]::-moz-range-thumb {
  width: 22px !important;
  height: 22px !important;
  pointer-events: auto !important;
  border: 1.5px solid #246df3 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .16) !important;
}

.ps-price-slider__bubble {
  top: -42px !important;
  z-index: 8 !important;
  min-width: 66px !important;
  max-width: 94px !important;
  padding: 7px 8px !important;
  overflow: visible !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #292929 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.ps-price-slider__bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #292929;
  transform: translateX(-50%);
}

.ps-price-slider [data-price-bubble-min] {
  transform: translateX(0) !important;
}

.ps-price-slider [data-price-bubble-max] {
  transform: translateX(-100%) !important;
}

.ps-price-slider:has([data-price-range-min]:focus) [data-price-bubble-min],
.ps-price-slider:has([data-price-range-min]:active) [data-price-bubble-min] {
  opacity: 1 !important;
  transform: translateX(0) translateY(-2px) !important;
}

.ps-price-slider:has([data-price-range-max]:focus) [data-price-bubble-max],
.ps-price-slider:has([data-price-range-max]:active) [data-price-bubble-max] {
  opacity: 1 !important;
  transform: translateX(-100%) translateY(-2px) !important;
}

.ps-price-values {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) !important;
  gap: 7px !important;
  align-items: center !important;
}

.ps-price-values::before {
  content: none !important;
  display: none !important;
}

.ps-price-values__divider {
  width: 12px !important;
  height: 1px !important;
  margin: 7px auto 0 !important;
  align-self: center !important;
  background: #c4ccd8 !important;
}

.ps-price-values label {
  position: relative !important;
  min-width: 0 !important;
  display: block !important;
}

.ps-price-values label > span:first-child {
  position: absolute !important;
  top: -6px !important;
  left: 8px !important;
  z-index: 2 !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 0 4px !important;
  color: #768196 !important;
  background: #ffffff !important;
  font-size: 10px !important;
  line-height: 12px !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

.ps-price-value {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  height: 38px !important;
  padding: 7px 9px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1px !important;
  border: 1px solid #cfd7e3 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.ps-price-value input[type="text"] {
  min-width: 0 !important;
  width: auto !important;
  max-width: calc(100% - 12px) !important;
  height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #16345f !important;
  font-size: 13px !important;
  line-height: 22px !important;
  font-weight: 500 !important;
}

.ps-price-value b {
  flex: 0 0 auto !important;
  margin-left: 0 !important;
  color: #16345f !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
}

html[data-theme="dark"] .ps-price-filter__head h3 {
  color: #ffffff !important;
}

html[data-theme="dark"] .ps-price-filter__head button {
  color: #68de68 !important;
}

html[data-theme="dark"] .ps-price-histogram i {
  background: #606975 !important;
}

html[data-theme="dark"] .ps-price-histogram i.is-selected {
  background: #f0f3f7 !important;
}

html[data-theme="dark"] .ps-price-slider__track {
  background: #555e69 !important;
}

html[data-theme="dark"] .ps-price-slider__range {
  background: #68de68 !important;
}

html[data-theme="dark"] .ps-price-slider input[type="range"]::-webkit-slider-thumb,
html[data-theme="dark"] .ps-price-slider input[type="range"]::-moz-range-thumb {
  border-color: #68de68 !important;
  background: #ffffff !important;
}

html[data-theme="dark"] .ps-price-values label > span:first-child {
  color: #b7c0cc !important;
  background: #2f343b !important;
}

html[data-theme="dark"] .ps-price-value {
  border-color: #596371 !important;
  background: #2f343b !important;
}

html[data-theme="dark"] .ps-price-value input[type="text"],
html[data-theme="dark"] .ps-price-value b {
  color: #ffffff !important;
}

/* 2026-08-03 ui61: inline active-filter reset + exact provided class icons */
.ps-active-filters {
  flex-wrap: wrap;
  gap: 8px 10px;
}

.ps-active-filters__reset {
  margin-left: 0;
  padding: 5px 2px;
}

@media (max-width: 760px) {
  .ps-active-filters {
    flex-direction: row;
    align-items: center;
  }
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon {
  width: 56px;
  height: 28px;
  flex: 0 0 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img {
  width: auto;
  max-width: 56px;
  max-height: 28px;
  height: auto;
  object-fit: contain;
}

/* 2026-08-04 ui62: multi-select facets, inline reset, new class icons, cleaner typography. */
html[lang="ru"] body,
html[lang="en"] body,
html[lang="ru"] button,
html[lang="en"] button,
html[lang="ru"] input,
html[lang="en"] input,
html[lang="ru"] select,
html[lang="en"] select,
html[lang="ru"] textarea,
html[lang="en"] textarea {
  font-family: Manrope, "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

html[lang="ru"] .ps-brand__wordmark,
html[lang="en"] .ps-brand__wordmark,
html[lang="ru"] .ps-market-hero h1,
html[lang="en"] .ps-market-hero h1 {
  font-family: "Evolventa", "EvolventaRegular", "Century Gothic", Manrope, Arial, sans-serif !important;
}

html[lang="ru"] .ps-market-hero__benefits,
html[lang="en"] .ps-market-hero__benefits,
html[lang="ru"] .ps-nav,
html[lang="en"] .ps-nav,
html[lang="ru"] .ps-region-menu summary,
html[lang="en"] .ps-region-menu summary {
  font-family: Manrope, "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.ps-sidebar-actions {
  justify-content: flex-start !important;
}

.ps-sidebar-actions a {
  color: #256edb !important;
  font-weight: 700 !important;
}

.ps-filter-choice__box,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 5px !important;
  background: #fff !important;
}

.ps-filter-choice__box::before,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box::before {
  content: none !important;
  display: none !important;
}

.ps-filter-choice__box::after,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 9px !important;
  height: 5px !important;
  margin-left: -4.5px !important;
  margin-top: -4px !important;
  border: 0 !important;
  border-left: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0 !important;
  transform: rotate(-45deg) !important;
}

.ps-filter-choice input:checked + .ps-filter-choice__box {
  border-color: #256edb !important;
  background: #256edb !important;
}

.ps-filter-choice input:checked + .ps-filter-choice__box::after {
  opacity: 1 !important;
}

html[data-theme="dark"] .ps-filter-choice input:checked + .ps-filter-choice__box {
  border-color: #68de68 !important;
  background: #68de68 !important;
}

.ps-active-filters {
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
}

.ps-active-filters__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

.ps-active-filters__reset {
  margin-left: 0 !important;
  color: #256edb !important;
  font-weight: 700 !important;
}

.ps-class-block--catalog .ps-class-tabs button,
.ps-mobile-class-tabs button {
  position: relative !important;
}

.ps-class-block--catalog .ps-class-tabs button.is-selected,
.ps-mobile-class-tabs button.is-selected {
  border-color: #256edb !important;
  box-shadow: 0 0 0 2px rgba(37, 110, 219, .16) !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected {
  border-color: #68de68 !important;
  box-shadow: 0 0 0 2px rgba(104, 222, 104, .18) !important;
}

.ps-class-block--catalog .ps-class-tabs button.is-selected::after,
.ps-mobile-class-tabs button.is-selected::after {
  content: "✓" !important;
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px !important;
  background: #256edb !important;
  color: #ffffff !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected::after,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected::after {
  background: #68de68 !important;
  color: #ffffff !important;
}

.ps-class-block--catalog .ps-class-tabs__icon {
  width: 74px !important;
  height: 34px !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img,
.ps-mobile-class-tabs__icon {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.ps-mobile-class-tabs__icon {
  width: 66px !important;
  height: 30px !important;
}


/* 2026-08-04 ui63: locale button, no image frame, chip labels without prefixes, premium icon + checkbox alignment tweaks. */
.ps-listing-card__media {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html[data-theme="dark"] .ps-listing-card__media {
  background: transparent !important;
}

.ps-listing-card__media img {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
}

.ps-locale-trigger {
  min-height: 44px !important;
  padding: 5px 12px 5px 9px !important;
  gap: 9px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #202634 0%, #151b25 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 18px rgba(8, 14, 24, .20) !important;
}

.ps-locale-trigger__flag {
  flex: 0 0 auto !important;
  width: 20px !important;
  height: 14px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.18) !important;
}

.ps-flag--ru {
  background: linear-gradient(180deg, #ffffff 0 33.333%, #2d69e0 33.333% 66.666%, #d54f54 66.666% 100%) !important;
}

.ps-flag--th {
  background: linear-gradient(180deg, #d84a4a 0 20%, #ffffff 20% 34%, #2847ad 34% 66%, #ffffff 66% 80%, #d84a4a 80% 100%) !important;
}

.ps-flag--en {
  background:
    linear-gradient(90deg, transparent 0 42%, #c83e43 42% 58%, transparent 58% 100%),
    linear-gradient(180deg, transparent 0 36%, #c83e43 36% 64%, transparent 64% 100%),
    linear-gradient(90deg, transparent 0 37%, #ffffff 37% 63%, transparent 63% 100%),
    linear-gradient(180deg, transparent 0 30%, #ffffff 30% 70%, transparent 70% 100%),
    #1c3d9d !important;
}

.ps-locale-trigger__text {
  min-width: 0 !important;
  gap: 0 !important;
  color: #ffffff !important;
  line-height: 1.05 !important;
}

.ps-locale-trigger__text b {
  font-size: 12px !important;
  letter-spacing: .02em !important;
  color: #ffffff !important;
}

.ps-locale-trigger__text small {
  font-size: 10px !important;
  color: rgba(255,255,255,.72) !important;
}

.ps-locale-trigger > svg {
  width: 10px !important;
  height: 10px !important;
  stroke: rgba(255,255,255,.88) !important;
  fill: none !important;
  stroke-width: 1.6 !important;
  margin-left: 1px !important;
}

.ps-locale-trigger > svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.6 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html[data-theme="dark"] .ps-locale-trigger {
  border-color: rgba(255,255,255,.12) !important;
  background: linear-gradient(180deg, #1c2430 0%, #141c27 100%) !important;
}

.ps-filter-choice-list,
.ps-filter-choice-list--brands {
  overflow-x: hidden !important;
}

.ps-filter-choice {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 12px !important;
  min-height: 28px !important;
}

.ps-filter-choice__box,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
}

.ps-filter-choice__box::after,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box::after {
  left: 50% !important;
  top: 50% !important;
  width: 9px !important;
  height: 5px !important;
  margin: -4px 0 0 -4px !important;
}

.ps-filter-choice__label {
  display: block !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.ps-filter-choice small {
  align-self: center !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.ps-active-filter__label {
  white-space: normal !important;
}

.ps-active-filters__reset {
  align-self: center !important;
  text-decoration: none !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img,
.ps-mobile-class-tabs__icon {
  object-position: center center !important;
}


/* 2026-08-04 ui64: final panel.zip alignment and filter layout fixes. */
.ps-section-heading--results {
  display: block !important;
}

.ps-results-summary,
.ps-active-filters,
.ps-active-filters__chips {
  width: 100% !important;
  min-width: 0 !important;
}

.ps-active-filters {
  display: block !important;
}

.ps-active-filters__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  align-content: flex-start !important;
  gap: 10px 12px !important;
}

.ps-active-filter {
  flex: 0 0 auto !important;
  max-width: 100% !important;
}

.ps-active-filter__label {
  white-space: nowrap !important;
}

.ps-active-filters__reset {
  flex: 0 0 auto !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 4px 2px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #256edb !important;
  order: 999 !important;
}

.ps-active-filters__reset::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7h8l-.6 12H8.6L8 7Zm2-3h4l1 1h4v2H5V5h4l1-1Zm1 6v6h2v-6h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7h8l-.6 12H8.6L8 7Zm2-3h4l1 1h4v2H5V5h4l1-1Zm1 6v6h2v-6h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ps-sidebar-group + .ps-sidebar-group {
  position: relative !important;
  border-top: 0 !important;
  border-radius: 0 !important;
}

.ps-sidebar-group + .ps-sidebar-group::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 1px !important;
  background: #d6dce5 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .ps-sidebar-group + .ps-sidebar-group::before {
  background: #8b8f95 !important;
}

.ps-filter-choice-list,
.ps-filter-choice-list--brands {
  gap: 8px !important;
}

.ps-filter-choice {
  min-height: 30px !important;
  padding: 2px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ps-filter-choice input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ps-filter-choice__box,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box {
  position: relative !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  flex: 0 0 22px !important;
  margin: 0 !important;
  align-self: center !important;
  border-radius: 5px !important;
}

.ps-filter-choice__box::before,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box::before {
  content: none !important;
  display: none !important;
}

.ps-filter-choice__box::after,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 13px !important;
  height: 10px !important;
  margin: 0 !important;
  border: 0 !important;
  background: #ffffff !important;
  clip-path: polygon(0 45%, 17% 27%, 42% 53%, 84% 4%, 100% 20%, 43% 92%) !important;
  opacity: 0 !important;
  transform: translate(-50%, -50%) !important;
}

.ps-filter-choice input:checked + .ps-filter-choice__box::after {
  opacity: 1 !important;
}

.ps-filter-choice__label {
  min-width: 0 !important;
  min-height: 22px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
}

.ps-filter-choice small {
  flex: 0 0 auto !important;
  min-width: 16px !important;
  margin: 0 0 0 auto !important;
  align-self: center !important;
  line-height: 1 !important;
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img[src$="premium.svg"],
.ps-mobile-class-tabs img[src$="premium.svg"] {
  width: 70px !important;
  max-width: 70px !important;
  height: 30px !important;
  max-height: 30px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.ps-back-to-top {
  top: auto !important;
  right: 24px !important;
  bottom: 24px !important;
}

@media (max-width: 760px) {
  .ps-active-filters__chips {
    gap: 8px !important;
  }

  .ps-active-filters__reset {
    width: auto !important;
  }
}


/* 2026-08-04 ui65: compact sidebar, hover states, selected classes, locale control and translated filters. */
@media (min-width: 1181px) {
  .ps-sidebar-filters {
    height: fit-content !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    height: fit-content !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 82px) - 18px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

.ps-market .ps-filter-choice,
.ps-market .ps-class-tabs button,
.ps-market .ps-mobile-class-tabs button,
.ps-market .ps-active-filter,
.ps-market .ps-custom-select__trigger,
.ps-market [data-date-range-trigger] {
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

html[data-theme="light"] .ps-market .ps-filter-choice:hover,
html[data-theme="light"] .ps-market .ps-class-tabs button:hover,
html[data-theme="light"] .ps-market .ps-mobile-class-tabs button:hover,
html[data-theme="light"] .ps-market .ps-active-filter:hover,
html[data-theme="light"] .ps-market .ps-custom-select__trigger:hover,
html[data-theme="light"] .ps-market [data-date-range-trigger]:hover {
  background-color: #eef6ff !important;
}

html[data-theme="dark"] .ps-market .ps-filter-choice:hover,
html[data-theme="dark"] .ps-market .ps-class-tabs button:hover,
html[data-theme="dark"] .ps-market .ps-mobile-class-tabs button:hover,
html[data-theme="dark"] .ps-market .ps-active-filter:hover,
html[data-theme="dark"] .ps-market .ps-custom-select__trigger:hover,
html[data-theme="dark"] .ps-market [data-date-range-trigger]:hover {
  background-color: rgba(104, 222, 104, .10) !important;
}

.ps-listing-card {
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease !important;
}

.ps-listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(25, 42, 66, .16) !important;
}

html[data-theme="dark"] .ps-listing-card:hover {
  border-color: rgba(104, 222, 104, .42) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .34) !important;
}

.ps-class-block--catalog .ps-class-tabs button.is-selected,
.ps-mobile-class-tabs button.is-selected {
  border-color: #256edb !important;
  background: #eef6ff !important;
  box-shadow: 0 0 0 2px rgba(37, 110, 219, .14) !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected {
  border-color: #68de68 !important;
  background: rgba(104, 222, 104, .10) !important;
  box-shadow: 0 0 0 2px rgba(104, 222, 104, .16) !important;
}

.ps-class-block--catalog .ps-class-tabs button.is-selected::after,
.ps-mobile-class-tabs button.is-selected::after {
  content: "✓" !important;
  position: absolute !important;
  top: 7px !important;
  right: 7px !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px !important;
  background: #256edb !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected::after,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected::after {
  background: #68de68 !important;
  color: #173117 !important;
}

.ps-filter-choice {
  grid-template-columns: 18px minmax(0, 1fr) auto !important;
  min-height: 26px !important;
  column-gap: 9px !important;
}

.ps-filter-choice__box,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  flex: 0 0 17px !important;
  border-radius: 4px !important;
}

.ps-filter-choice__box::after,
.ps-sidebar-group input[type="checkbox"] + .ps-filter-choice__box::after {
  width: 11px !important;
  height: 8px !important;
}

.ps-filter-choice__label {
  min-height: 17px !important;
  line-height: 17px !important;
}

.ps-active-filters__reset::before {
  width: 15px !important;
  height: 15px !important;
  flex-basis: 15px !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-1 11H8L7 9Zm3 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-1 11H8L7 9Zm3 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.ps-locale-trigger {
  min-width: 76px !important;
  min-height: 36px !important;
  padding: 6px 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid #d7dee9 !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  color: #192235 !important;
  box-shadow: 0 4px 12px rgba(17, 31, 50, .10) !important;
}

.ps-locale-trigger:hover {
  border-color: #b9c7da !important;
  background: #f6f9fd !important;
}

.ps-locale-trigger__flag {
  width: 20px !important;
  height: 14px !important;
  border-radius: 4px !important;
  border-color: #d6dce5 !important;
}

.ps-locale-trigger__divider {
  width: 1px;
  height: 18px;
  flex: 0 0 1px;
  background: #d8dee8;
}

.ps-locale-trigger__currency {
  color: #192235 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
}

html[data-theme="dark"] .ps-locale-trigger {
  border-color: #d7dee9 !important;
  background: #ffffff !important;
  color: #192235 !important;
}

.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img[src*="premium.svg"],
.ps-mobile-class-tabs img[src*="premium.svg"] {
  width: 74px !important;
  max-width: 74px !important;
  height: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  object-position: left center !important;
}


/* 2026-08-04 ui66: compact sticky filters, category toggle states, system theme, footer links and full-card booking. */
@media (min-width: 1181px) {
  .ps-market-layout {
    align-items: start !important;
  }

  .ps-sidebar-filters {
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    block-size: max-content !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .ps-filter-choice-list--brands {
    max-height: 260px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
  }
}

.ps-class-block--catalog .ps-class-tabs button,
.ps-mobile-class-tabs button {
  overflow: visible !important;
}

html[data-theme="light"] .ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="light"] .ps-mobile-class-tabs button.is-selected {
  border: 2px solid #256edb !important;
  outline: 2px solid rgba(37, 110, 219, .14) !important;
  outline-offset: 0 !important;
  background: #eef6ff !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected {
  border: 2px solid #68de68 !important;
  outline: 2px solid rgba(104, 222, 104, .16) !important;
  outline-offset: 0 !important;
  background: rgba(104, 222, 104, .10) !important;
}

.ps-class-block--catalog .ps-class-tabs button.is-selected::after,
.ps-mobile-class-tabs button.is-selected::after {
  top: 6px !important;
  right: 6px !important;
  z-index: 2 !important;
}

html[data-theme="light"] .ps-search__field:hover,
html[data-theme="light"] .ps-search__field:hover select,
html[data-theme="light"] .ps-search__field:hover .ps-date-range-trigger {
  background-color: #eef6ff !important;
}

html[data-theme="dark"] .ps-search__field:hover,
html[data-theme="dark"] .ps-search__field:hover select,
html[data-theme="dark"] .ps-search__field:hover .ps-date-range-trigger {
  background-color: rgba(104, 222, 104, .10) !important;
}

.ps-search__field,
.ps-search__field select,
.ps-date-range-trigger {
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

html[data-theme="light"] .ps-locale-trigger {
  border-color: #d7dee9 !important;
  background: #ffffff !important;
  color: #192235 !important;
}

html[data-theme="dark"] .ps-locale-trigger {
  border-color: #46515f !important;
  background: linear-gradient(180deg, #252d39 0%, #171e28 100%) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 18px rgba(0,0,0,.24) !important;
}

html[data-theme="dark"] .ps-locale-trigger:hover {
  border-color: rgba(104, 222, 104, .58) !important;
  background: linear-gradient(180deg, #2b3a35 0%, #1c2924 100%) !important;
}

html[data-theme="dark"] .ps-locale-trigger__divider {
  background: #4b5665 !important;
}

html[data-theme="dark"] .ps-locale-trigger__currency {
  color: #ffffff !important;
}

.ps-listing-card[data-card-booking-url] {
  cursor: pointer;
}

.ps-listing-card[data-card-booking-url]:focus-visible {
  outline: 3px solid #256edb;
  outline-offset: 3px;
}

html[data-theme="dark"] .ps-listing-card[data-card-booking-url]:focus-visible {
  outline-color: #68de68;
}


/* 2026-08-04 ui67: unified dark date hover, green reset links and larger class cards. */
html[data-theme="dark"] .ps-market .ps-search__field:hover {
  background-color: #333f33 !important;
}

html[data-theme="dark"] .ps-market .ps-search__field:hover select,
html[data-theme="dark"] .ps-market .ps-search__field:hover .ps-date-range-trigger {
  background-color: transparent !important;
}

html[data-theme="dark"] .ps-sidebar-actions a,
html[data-theme="dark"] .ps-active-filters__reset {
  color: #68de68 !important;
}

@media (min-width: 901px) {
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button {
    min-height: 156px !important;
    padding: 20px 22px !important;
    gap: 14px !important;
    border-radius: 24px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong {
    font-size: 25px !important;
    line-height: 1.05 !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon {
    width: 116px !important;
    height: 66px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img[src*="premium.svg"] {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    object-position: left center !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small {
    min-width: 48px !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 25px !important;
    box-shadow: inset 0 0 0 2px rgba(102, 112, 128, .35) !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .16) !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    min-height: 34px !important;
    padding: 5px 12px !important;
    border-radius: 7px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button {
    min-height: 132px !important;
    padding: 16px 17px !important;
    border-radius: 20px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong {
    font-size: 20px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon {
    width: 92px !important;
    height: 52px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small {
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
  }
}

/* 2026-08-04 ui68: multi-class filters, refined listing cards, shown progress and search border fixes. */
.ps-category-hidden-fields {
  display: none !important;
}

.ps-show-more-wrap {
  margin-top: 34px !important;
  gap: 10px !important;
}

.ps-show-more-wrap small {
  color: #5f6b82 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.ps-show-more-progress {
  width: min(390px, 100%) !important;
  height: 4px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: #dde2ea !important;
}

.ps-show-more-progress > span {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: #3b4352 !important;
  transition: width .18s ease !important;
}

html[data-theme="dark"] .ps-show-more-wrap small {
  color: #aeb8ca !important;
}

html[data-theme="dark"] .ps-show-more-progress {
  background: rgba(255,255,255,.12) !important;
}

html[data-theme="dark"] .ps-show-more-progress > span {
  background: #8b96aa !important;
}

.ps-market .ps-search__bar--find {
  overflow: hidden !important;
  border-radius: 18px !important;
}

.ps-market .ps-search__field:first-child {
  border-top-left-radius: 18px !important;
  border-bottom-left-radius: 18px !important;
}

.ps-market .ps-search__field:last-of-type {
  border-right: 0 !important;
}

html[data-theme="dark"] .ps-market .ps-search__bar--find {
  border-color: #7a7670 !important;
  background: #2d2d2d !important;
}

html[data-theme="dark"] .ps-market .ps-search__field {
  background: #2d2d2d !important;
}

@media (min-width: 901px) {
  .ps-listing-card {
    grid-template-columns: 172px minmax(0, 1fr) 260px !important;
    gap: 26px !important;
    padding: 18px 20px !important;
    border-radius: 18px !important;
    align-items: center !important;
  }

  .ps-listing-card__media {
    width: 172px !important;
    min-width: 172px !important;
    height: 118px !important;
    min-height: 118px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ps-listing-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .ps-listing-card__content {
    gap: 10px !important;
    align-self: stretch !important;
    display: grid !important;
    align-content: center !important;
  }

  .ps-listing-card__head {
    align-items: start !important;
    gap: 10px !important;
  }

  .ps-listing-card__title-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
  }

  .ps-listing-card__head h3 {
    margin: 0 !important;
    color: #20332e !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .ps-listing-card__year {
    color: #7b879b !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  .ps-listing-card__category {
    margin: 2px 0 0 !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .ps-listing-card__meta {
    gap: 18px !important;
    color: #475467 !important;
    font-size: 15px !important;
  }

  .ps-listing-card__meta span {
    gap: 8px !important;
  }

  .ps-listing-card__badges {
    gap: 9px !important;
  }

  .ps-listing-card__badges > span,
  .ps-listing-card__badges > span.is-green,
  .ps-listing-card__badges > span.is-aqua,
  .ps-listing-card__badges > span.is-purple {
    min-height: 33px !important;
    padding: 6px 12px !important;
    color: #576273 !important;
    border: 1px solid #d4dbe6 !important;
    background: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  .ps-listing-card__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 18px !important;
    color: #4f5d73 !important;
  }

  .ps-listing-card__foot {
    min-height: 100% !important;
    padding-left: 22px !important;
    border-left: 1px solid #dde3eb !important;
    align-self: stretch !important;
    justify-content: space-between !important;
  }

  .ps-listing-card__price {
    align-items: flex-end !important;
    text-align: right !important;
    gap: 6px !important;
  }

  .ps-listing-card__price strong {
    color: #174536 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  .ps-listing-card__price span,
  .ps-listing-card__price small {
    color: #7a8498 !important;
    font-size: 14px !important;
  }

  .ps-listing-card__details {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck {
    margin: 18px 0 20px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    border: 0 !important;
    background: transparent !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 148px !important;
    padding: 18px 18px 16px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto 1fr auto !important;
    grid-template-areas:
      "title title"
      "icon icon"
      "icon count" !important;
    align-items: start !important;
    gap: 8px !important;
    border: 1px solid #c8d2df !important;
    border-radius: 24px !important;
    background: #f7f9fc !important;
    box-shadow: none !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button::after,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button::after {
    display: none !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button:hover,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button:hover {
    border-color: #9fb3ce !important;
    background: #f1f6ff !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    grid-area: title !important;
    display: block !important;
    color: #f8fafc !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    text-align: left !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon {
    grid-area: icon !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    width: 104px !important;
    height: 62px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: left bottom !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    grid-area: count !important;
    align-self: end !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    width: 44px !important;
    height: 44px !important;
    color: #8e97ab !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.10) !important;
    box-shadow: inset 0 0 0 2px rgba(214,224,238,.85) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
  }

  html[data-theme="light"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button,
  html[data-theme="light"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    background: #ffffff !important;
  }

  html[data-theme="light"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong,
  html[data-theme="light"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    color: #20332e !important;
  }

  html[data-theme="dark"] .ps-listing-card {
    background: #23262d !important;
    border-color: #3b4350 !important;
  }

  html[data-theme="dark"] .ps-listing-card__head h3 {
    color: #f3f5f8 !important;
  }

  html[data-theme="dark"] .ps-listing-card__year,
  html[data-theme="dark"] .ps-listing-card__category,
  html[data-theme="dark"] .ps-listing-card__meta,
  html[data-theme="dark"] .ps-listing-card__benefits,
  html[data-theme="dark"] .ps-listing-card__price span,
  html[data-theme="dark"] .ps-listing-card__price small {
    color: #c0c8d5 !important;
  }

  html[data-theme="dark"] .ps-listing-card__badges > span,
  html[data-theme="dark"] .ps-listing-card__badges > span.is-green,
  html[data-theme="dark"] .ps-listing-card__badges > span.is-aqua,
  html[data-theme="dark"] .ps-listing-card__badges > span.is-purple {
    color: #e9edf4 !important;
    border-color: #505866 !important;
    background: #2b313b !important;
  }

  html[data-theme="dark"] .ps-listing-card__foot {
    border-left-color: #434c5b !important;
  }

  html[data-theme="dark"] .ps-listing-card__price strong {
    color: #6ce17a !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button,
  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    border-color: #4b596c !important;
    background: linear-gradient(180deg, #2d3440 0%, #252b35 100%) !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button:hover,
  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button:hover {
    border-color: #5f7089 !important;
    background: linear-gradient(180deg, #313a47 0%, #29303a 100%) !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong,
  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    color: #f8fafc !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img,
  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon img {
    filter: brightness(0) invert(1) opacity(.98) !important;
  }

  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small,
  html[data-theme="dark"] .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    color: #d8dde8 !important;
    background: rgba(255,255,255,.04) !important;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.12) !important;
  }
}

.ps-class-block--catalog .ps-class-tabs button.is-selected,
.ps-mobile-class-tabs button.is-selected {
  border-color: #2f6fe4 !important;
  background: #f1f6ff !important;
  box-shadow: 0 0 0 3px rgba(47,111,228,.16) !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected {
  border-color: #2f6fe4 !important;
  background: linear-gradient(180deg, #2c3440 0%, #252d37 100%) !important;
  box-shadow: 0 0 0 3px rgba(47,111,228,.22) !important;
}

.ps-mobile-class-tabs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.ps-mobile-class-tabs button {
  min-height: 118px !important;
  padding: 14px !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-rows: auto 1fr auto !important;
  align-items: start !important;
  gap: 8px !important;
  border: 1px solid #ccd5e2 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  text-align: left !important;
}

.ps-mobile-class-tabs button > span {
  font-size: 20px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
}

.ps-mobile-class-tabs__icon {
  width: 92px !important;
  height: 52px !important;
  object-fit: contain !important;
  object-position: left bottom !important;
}

.ps-mobile-class-tabs button small {
  justify-self: end !important;
  align-self: end !important;
  min-width: 40px !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  color: #8e97ab !important;
  box-shadow: inset 0 0 0 2px rgba(214,224,238,.85) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] .ps-mobile-class-tabs button {
  border-color: #4b596c !important;
  background: linear-gradient(180deg, #2d3440 0%, #252b35 100%) !important;
}

html[data-theme="dark"] .ps-mobile-class-tabs button > span {
  color: #f8fafc !important;
}

html[data-theme="dark"] .ps-mobile-class-tabs__icon {
  filter: brightness(0) invert(1) opacity(.98) !important;
}

html[data-theme="dark"] .ps-mobile-class-tabs button small {
  color: #d8dde8 !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12) !important;
}

@media (max-width: 1200px) and (min-width: 901px) {
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    min-height: 132px !important;
  }
}

@media (max-width: 980px) {
  .ps-listing-card {
    padding: 16px !important;
    gap: 14px !important;
  }

  .ps-listing-card__title-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  .ps-listing-card__head h3 {
    white-space: normal !important;
  }

  .ps-listing-card__year {
    color: #7b879b !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  .ps-listing-card__category {
    margin-top: 2px !important;
  }

  .ps-listing-card__foot {
    border-top: 1px solid #dde3eb !important;
    padding-top: 14px !important;
  }

  html[data-theme="dark"] .ps-listing-card__foot {
    border-top-color: #434c5b !important;
  }
}


/* 2026-08-04 ui69: repair class cards and vehicle card layout; green dark selection. */
.ps-class-block--catalog .ps-class-tabs button,
.ps-mobile-class-tabs button {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

@media (min-width: 901px) {
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    min-height: 148px !important;
    padding: 16px 16px 14px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto 1fr !important;
    grid-template-areas: "title title" "icon count" !important;
    align-items: start !important;
    gap: 10px 8px !important;
    border-radius: 22px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    grid-area: title !important;
    align-self: start !important;
    justify-self: start !important;
    margin: 0 !important;
    max-width: 100% !important;
    font-size: 19px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon {
    grid-area: icon !important;
    align-self: end !important;
    justify-self: start !important;
    width: 96px !important;
    height: 54px !important;
    margin: 0 !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    grid-area: count !important;
    align-self: end !important;
    justify-self: end !important;
    position: static !important;
    margin: 0 !important;
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    z-index: 1 !important;
  }

  .ps-listing-card {
    grid-template-columns: 170px minmax(0, 1fr) 214px !important;
    gap: 22px !important;
    padding: 18px !important;
    align-items: center !important;
  }

  .ps-listing-card__media {
    width: 170px !important;
    min-width: 170px !important;
    height: 110px !important;
    min-height: 110px !important;
  }

  .ps-listing-card__content {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .ps-listing-card__content > * {
    width: 100% !important;
    margin: 0 !important;
  }

  .ps-listing-card__head {
    display: block !important;
    min-width: 0 !important;
  }

  .ps-listing-card__head > div {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }

  .ps-listing-card__title-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  .ps-listing-card__head h3 {
    margin: 0 !important;
    font-size: 19px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .ps-listing-card__year {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .ps-listing-card__category {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .ps-listing-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 16px !important;
    font-size: 14px !important;
  }

  .ps-listing-card__badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    position: static !important;
  }

  .ps-listing-card__badges > span,
  .ps-listing-card__badges > span.is-green,
  .ps-listing-card__badges > span.is-aqua,
  .ps-listing-card__badges > span.is-purple {
    position: static !important;
    max-width: 100% !important;
    min-height: 30px !important;
    padding: 5px 11px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
  }

  .ps-listing-card__benefits {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 16px !important;
    margin-top: 0 !important;
  }

  .ps-listing-card__benefits span {
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .ps-listing-card__foot {
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 16px !important;
    padding-left: 20px !important;
  }

  .ps-listing-card__price {
    align-items: flex-end !important;
    text-align: right !important;
    gap: 6px !important;
  }

  .ps-listing-card__price strong {
    font-size: 26px !important;
  }

  .ps-listing-card__price span,
  .ps-listing-card__price small {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .ps-listing-card__details {
    width: 100% !important;
    min-height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

.ps-mobile-class-tabs button {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto 1fr !important;
  grid-template-areas: "title title" "icon count" !important;
  gap: 10px 8px !important;
}

.ps-mobile-class-tabs button > span {
  grid-area: title !important;
  align-self: start !important;
  justify-self: start !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.ps-mobile-class-tabs__icon {
  grid-area: icon !important;
  align-self: end !important;
  justify-self: start !important;
}

.ps-mobile-class-tabs button small {
  grid-area: count !important;
  align-self: end !important;
  justify-self: end !important;
  position: static !important;
  margin: 0 !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected {
  border-color: #68de68 !important;
  box-shadow: 0 0 0 3px rgba(104, 222, 104, .18) !important;
}


/* 2026-08-04 ui70: restore compact class cards and reduce vehicle icons. */
@media (min-width: 901px) {
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    min-height: 122px !important;
    padding: 13px 14px 12px !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    grid-template-areas: "title title" "icon count" !important;
    align-items: start !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
    border-radius: 18px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    font-size: 17px !important;
    line-height: 1.1 !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon {
    align-self: end !important;
    width: 76px !important;
    height: 40px !important;
    max-width: 76px !important;
    max-height: 40px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon img,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img[src*="premium.svg"],
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon img[src*="premium.svg"] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: left bottom !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    align-self: end !important;
    justify-self: end !important;
    min-width: 34px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }
}

.ps-mobile-class-tabs button {
  min-height: 108px !important;
  padding: 12px 13px !important;
  grid-template-columns: minmax(0, 1fr) 34px !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  grid-template-areas: "title title" "icon count" !important;
  border-radius: 18px !important;
  column-gap: 8px !important;
  row-gap: 8px !important;
}

.ps-mobile-class-tabs button > span {
  font-size: 17px !important;
  line-height: 1.1 !important;
}

.ps-mobile-class-tabs__icon,
.ps-mobile-class-tabs img[src*="premium.svg"] {
  align-self: end !important;
  width: 76px !important;
  max-width: 76px !important;
  height: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: left bottom !important;
}

.ps-mobile-class-tabs button small {
  align-self: end !important;
  justify-self: end !important;
  min-width: 34px !important;
  width: 34px !important;
  height: 34px !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

html[data-theme="dark"] .ps-class-block--catalog .ps-class-tabs button.is-selected,
html[data-theme="dark"] .ps-mobile-class-tabs button.is-selected {
  border-color: #68de68 !important;
  outline-color: rgba(104, 222, 104, .20) !important;
  box-shadow: 0 0 0 3px rgba(104, 222, 104, .18) !important;
}


/* 2026-08-04 ui71: make class cards and icons smaller, reduce price slider handles. */
@media (min-width: 901px) {
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    gap: 10px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    min-height: 108px !important;
    padding: 11px 12px 10px !important;
    grid-template-columns: minmax(0, 1fr) 30px !important;
    border-radius: 16px !important;
    column-gap: 6px !important;
    row-gap: 6px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    font-size: 15px !important;
    line-height: 1.05 !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon {
    width: 64px !important;
    height: 34px !important;
    max-width: 64px !important;
    max-height: 34px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    min-width: 30px !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
  }
}

.ps-mobile-class-tabs {
  gap: 10px !important;
}

.ps-mobile-class-tabs button {
  min-height: 96px !important;
  padding: 10px 11px !important;
  grid-template-columns: minmax(0, 1fr) 30px !important;
  border-radius: 16px !important;
  column-gap: 6px !important;
  row-gap: 6px !important;
}

.ps-mobile-class-tabs button > span {
  font-size: 15px !important;
  line-height: 1.05 !important;
}

.ps-mobile-class-tabs__icon,
.ps-mobile-class-tabs img[src*="premium.svg"] {
  width: 64px !important;
  max-width: 64px !important;
  height: 34px !important;
  max-height: 34px !important;
}

.ps-mobile-class-tabs button small {
  min-width: 30px !important;
  width: 30px !important;
  height: 30px !important;
  font-size: 13px !important;
}

.ps-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 17px !important;
  height: 17px !important;
}

.ps-price-slider input[type="range"]::-moz-range-thumb {
  width: 17px !important;
  height: 17px !important;
}


/* 2026-08-07 ui72: compact class cards, working search popovers, partner CTA and contact icons. */
.ps-market .ps-search__frame,
.ps-market .ps-search__bar--find {
  overflow: visible !important;
}

.ps-market .ps-search__bar--find {
  isolation: isolate;
}

.ps-market .ps-custom-select__menu,
.ps-market .ps-date-range-popover {
  z-index: 1300 !important;
}

@media (min-width: 901px) {
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    gap: 8px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    min-height: 92px !important;
    padding: 9px 10px 8px !important;
    grid-template-rows: auto 1fr !important;
    row-gap: 2px !important;
    border-radius: 14px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon {
    width: 60px !important;
    height: 31px !important;
    max-width: 60px !important;
    max-height: 31px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img[src*="premium.svg"],
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs__icon img[src*="premium.svg"] {
    width: 70px !important;
    max-width: 70px !important;
    height: 34px !important;
    max-height: 34px !important;
  }
}

.ps-partner-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: #78e470;
  color: #102417 !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 9px 26px rgba(64, 186, 83, .28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ps-partner-cta:hover {
  transform: translateY(-1px);
  background: #8bed82;
  box-shadow: 0 12px 30px rgba(64, 186, 83, .36);
}

.ps-contact-hours {
  margin-top: 10px !important;
  font-size: 17px !important;
  font-weight: 600;
  opacity: .9;
}

.ps-contact-grid article > h2 {
  font-size: 20px !important;
}

.ps-contact-grid article > p {
  font-size: 13px !important;
}

.ps-contact-phone {
  margin-top: 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #24772d !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-decoration: none;
}

.ps-contact-phone svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.ps-contact-socials {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ps-contact-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7ddd8;
  border-radius: 50%;
  background: #fff;
  color: #24772d !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.ps-contact-socials a:hover {
  transform: translateY(-2px);
  border-color: #78e470;
  background: #f1fff0;
}

.ps-contact-socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

html[data-theme="dark"] .ps-contact-socials a {
  border-color: #555d57;
  background: #252725;
  color: #78e470 !important;
}

@media (max-width: 900px) {
  .ps-partner-cta {
    order: 2;
    min-height: 36px;
    padding: 0 11px;
    font-size: 11px;
    white-space: nowrap;
  }

  .ps-menu-button { order: 3; }
  .ps-theme-toggle { order: 4; }
  .ps-locale-trigger { order: 5; }

  .ps-mobile-class-tabs button {
    min-height: 88px !important;
    padding: 8px 10px !important;
    row-gap: 2px !important;
  }

  .ps-mobile-class-tabs__icon {
    width: 58px !important;
    max-width: 58px !important;
    height: 30px !important;
    max-height: 30px !important;
  }

  .ps-mobile-class-tabs img[src*="premium.svg"] {
    width: 68px !important;
    max-width: 68px !important;
    height: 34px !important;
    max-height: 34px !important;
  }
}

@media (max-width: 520px) {
  .ps-partner-cta {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* 2026-08-07 ui73: equal class icons, premium partner CTA, sticky search interactions, details modal. */
.ps-market .ps-search__frame {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.ps-market .ps-search__bar--find {
  border-radius: 16px !important;
  overflow: visible !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08) !important;
}

.ps-market .ps-search__field:first-child {
  border-top-left-radius: 16px !important;
  border-bottom-left-radius: 16px !important;
}

.ps-market .ps-search__submit-main {
  border-radius: 14px !important;
}

.ps-class-block--catalog .ps-class-tabs button,
.ps-mobile-class-tabs button {
  border-radius: 12px !important;
  overflow: visible !important;
}

.ps-class-block--catalog .ps-class-tabs strong,
.ps-mobile-class-tabs button > span {
  line-height: 1.14 !important;
  padding-top: 2px !important;
  overflow: visible !important;
}

.ps-class-block--catalog .ps-class-tabs__icon,
.ps-mobile-class-tabs__icon {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  width: 72px !important;
  max-width: 72px !important;
  height: 38px !important;
  max-height: 38px !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img,
.ps-mobile-class-tabs__icon {
  width: 72px !important;
  max-width: 72px !important;
  height: 38px !important;
  max-height: 38px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

@media (min-width: 901px) {
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs {
    gap: 10px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs button,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs button {
    min-height: 102px !important;
    padding: 12px 14px !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    grid-template-rows: auto 1fr !important;
    row-gap: 4px !important;
    column-gap: 8px !important;
    border-radius: 12px !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs strong,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs strong {
    font-size: 15px !important;
    line-height: 1.12 !important;
  }

  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs small,
  .ps-market-results > .ps-class-block--catalog.ps-class-block--desktop.is-stuck .ps-class-tabs small {
    min-width: 34px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
  }
}

.ps-mobile-class-tabs {
  gap: 8px !important;
}

.ps-mobile-class-tabs button {
  min-height: 84px !important;
  padding: 12px 13px !important;
  grid-template-columns: minmax(0, 1fr) 32px !important;
  row-gap: 4px !important;
  column-gap: 8px !important;
  border-radius: 12px !important;
}

.ps-mobile-class-tabs button > span {
  font-size: 14px !important;
}

.ps-mobile-class-tabs button small {
  min-width: 32px !important;
  width: 32px !important;
  height: 32px !important;
  font-size: 13px !important;
}

.ps-partner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.ps-partner-cta--desktop {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 46%, #334155 100%);
  color: #f8fafc !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .22), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.ps-partner-cta--desktop::before,
.ps-partner-cta--menu::before {
  content: "✦";
  font-size: 14px;
  color: #fbbf24;
}

.ps-partner-cta--desktop:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .26), inset 0 1px 0 rgba(255,255,255,.22);
  filter: brightness(1.04);
}

.ps-partner-cta--menu {
  display: none;
}

@media (max-width: 900px) {
  .ps-partner-cta--desktop {
    display: none !important;
  }

  .ps-partner-cta--menu {
    display: flex !important;
    width: 100%;
    margin: 0 0 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #f8fafc !important;
    font-weight: 800;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .16);
  }
}

.ps-vehicle-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
}

.ps-vehicle-modal[hidden] {
  display: none !important;
}

.ps-vehicle-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .54);
}

.ps-vehicle-modal__dialog {
  position: relative;
  width: min(1220px, calc(100vw - 24px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 28px;
  background: #f4f6fb;
  box-shadow: 0 32px 80px rgba(15, 23, 42, .34);
}

.ps-vehicle-modal__close {
  position: sticky;
  top: 16px;
  left: calc(100% - 64px);
  z-index: 3;
  margin: 16px 16px -58px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d0d7e2;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #111827;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.ps-vehicle-modal__body {
  padding: 0;
  background: transparent;
}

.ps-vehicle-modal__content {
  padding: 0;
}

.ps-vehicle-modal__content .ps-stage {
  min-height: auto;
  padding: 0;
  background: transparent !important;
}

.ps-vehicle-modal__content .ps-stage__shade {
  display: none;
}

.ps-vehicle-modal__page,
.ps-vehicle-modal__content .ps-stage__inner {
  max-width: none;
  width: 100%;
  padding: 22px;
}

.ps-vehicle-modal__content .ps-steps {
  margin: 0 0 16px;
}

.ps-vehicle-modal__content .ps-product-panel,
.ps-vehicle-modal__content .ps-booking-shell {
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .08);
}

.ps-vehicle-modal__content .ps-panel-actions {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  background: linear-gradient(180deg, #f4f6fb 0%, #f4f6fb 74%, rgba(244,246,251,0) 100%);
}

.ps-vehicle-modal__content .ps-panel-actions a:last-child {
  display: none;
}

.ps-vehicle-modal__content .ps-panel-actions a:first-child {
  font-weight: 700;
}

.ps-vehicle-modal__status {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 42px;
  color: #334155;
  font-size: 18px;
  text-align: center;
}

.ps-vehicle-modal__status--error {
  color: #b91c1c;
}

body.ps-vehicle-modal-open {
  overflow: hidden;
}

html[data-theme="dark"] .ps-vehicle-modal__dialog {
  background: #0f1623;
}

html[data-theme="dark"] .ps-vehicle-modal__close {
  border-color: rgba(255,255,255,.16);
  background: rgba(24, 32, 48, .92);
  color: #f8fafc;
}

html[data-theme="dark"] .ps-vehicle-modal__content .ps-panel-actions {
  background: linear-gradient(180deg, #0f1623 0%, #0f1623 74%, rgba(15,22,35,0) 100%);
}

html[data-theme="dark"] .ps-vehicle-modal__body {
  background: transparent;
}

html[data-theme="dark"] .ps-vehicle-modal__status {
  color: #dbe4f0;
}

html[data-theme="dark"] .ps-vehicle-modal__status--error {
  color: #fca5a5;
}

@media (max-width: 900px) {
  .ps-vehicle-modal {
    padding: 8px;
  }

  .ps-vehicle-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 16px);
    border-radius: 22px;
  }

  .ps-vehicle-modal__close {
    top: 10px;
    margin: 10px 10px -52px auto;
  }

  .ps-vehicle-modal__page,
  .ps-vehicle-modal__content .ps-stage__inner {
    padding: 14px;
  }

  .ps-vehicle-modal__content .ps-product-panel,
  .ps-vehicle-modal__content .ps-booking-shell {
    border-radius: 18px;
  }
}

/* 2026-08-07 ui74: stable sticky search opening, equal class icon scale and inline vehicle details. */
.ps-partner-cta--desktop:hover,
.ps-partner-cta--desktop:focus-visible {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 46%, #334155 100%) !important;
  color: #f8fafc !important;
}

.ps-partner-cta--menu:hover,
.ps-partner-cta--menu:focus-visible {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
  color: #f8fafc !important;
}

/* Normalize the perceived car size, not only the SVG canvas size. */
.ps-class-block--catalog .ps-class-tabs__icon img,
.ps-mobile-class-tabs__icon {
  transform-origin: left center !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img[src*="premium.svg"],
.ps-mobile-class-tabs__icon[src*="premium.svg"] {
  transform: scale(1.16) !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img[src*="econom.svg"],
.ps-mobile-class-tabs__icon[src*="econom.svg"] {
  transform: scale(1.08) !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img[src*="comfort.svg"],
.ps-mobile-class-tabs__icon[src*="comfort.svg"] {
  transform: scale(1.03) !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img[src*="jeeps.svg"],
.ps-mobile-class-tabs__icon[src*="jeeps.svg"],
.ps-class-block--catalog .ps-class-tabs__icon img[src*="minibus.svg"],
.ps-mobile-class-tabs__icon[src*="minibus.svg"] {
  transform: scale(1) !important;
}

.ps-vehicle-modal__body {
  min-height: 0;
  overflow: auto;
  background: #f3f4f6;
}

.ps-vehicle-modal__content {
  min-height: 100%;
  padding: 24px;
}

.ps-vehicle-modal__content .ps-product-panel {
  width: min(930px, 100%);
  margin: 0 auto;
  box-shadow: none;
}

.ps-vehicle-modal__status {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: #667085;
  font-size: 16px;
  font-weight: 700;
}

.ps-vehicle-modal__status--error {
  color: #b42318;
}

html[data-theme="dark"] .ps-vehicle-modal__body {
  background: #191b20;
}

html[data-theme="dark"] .ps-vehicle-modal__status {
  color: #d0d5dd;
}

html[data-theme="dark"] .ps-vehicle-modal__status--error {
  color: #fda29b;
}

@media (max-width: 767px) {
  .ps-vehicle-modal__content {
    padding: 10px;
  }
}

/* 2026-08-07 ui76: reference-style vehicle details modal. */
.ps-vehicle-modal {
  padding: 10px !important;
}

.ps-vehicle-modal__dialog {
  width: min(1040px, calc(100vw - 20px)) !important;
  max-height: calc(100vh - 20px) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28) !important;
}

.ps-vehicle-modal__close {
  position: sticky !important;
  top: 12px !important;
  left: calc(100% - 56px) !important;
  width: 38px !important;
  height: 38px !important;
  margin: 12px 12px -50px auto !important;
  border-color: #d9dee7 !important;
  background: rgba(255, 255, 255, .96) !important;
  color: #2f3746 !important;
  font-size: 23px !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .06) !important;
}

.ps-vehicle-modal__content {
  min-height: 500px;
  padding: 0 !important;
}

.ps-ref-detail {
  color: #30394a;
  background: #fff;
  font-family: Manrope, "Noto Sans Thai", system-ui, sans-serif;
}

.ps-ref-detail__topbar {
  min-height: 58px;
  padding: 0 64px 0 18px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e4e8ef;
}

.ps-ref-detail__back {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #364052;
  cursor: pointer;
}

.ps-ref-detail__back svg {
  width: 22px;
  height: 22px;
}

.ps-ref-detail__topbar .ps-steps {
  width: 100% !important;
  max-width: none !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 0 !important;
  gap: 7px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-ref-detail__topbar .ps-steps span {
  flex: 0 0 auto;
  gap: 5px;
  font-size: 11px !important;
  color: #8a93a3;
}

.ps-ref-detail__topbar .ps-steps span i {
  width: 18px !important;
  height: 18px !important;
  border-color: #9ba4b3 !important;
  background: #fff !important;
  font-size: 8px !important;
}

.ps-ref-detail__topbar .ps-steps span.is-active {
  color: #20b88d !important;
  font-weight: 700 !important;
}

.ps-ref-detail__topbar .ps-steps span.is-active i {
  border-color: #20b88d !important;
  color: #20b88d !important;
  background: #fff !important;
}

.ps-ref-detail__topbar .ps-steps b {
  flex: 1 1 64px;
  max-width: 135px;
  min-width: 32px;
  height: 1px !important;
  background: #c9ced7 !important;
}

.ps-ref-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
  gap: 28px;
  padding: 18px 28px 34px;
  align-items: start;
}

.ps-ref-detail__main {
  min-width: 0;
}

.ps-ref-detail__title-row {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ps-ref-detail__title-row h1 {
  margin: 0 0 7px;
  color: #30394a;
  font-size: 31px;
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: -.025em;
}

.ps-ref-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ps-ref-detail__badges span {
  min-height: 24px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #7bb7ff;
  border-radius: 7px;
  background: #fff;
  color: #344154;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.15;
}

.ps-ref-detail__badges .is-mint {
  border-color: #84e6cc;
  background: #bdf7e6;
  color: #1e5b50;
}

.ps-ref-detail__badges .is-green {
  border-color: #89ddbc;
}

.ps-ref-detail__actions {
  display: flex;
  gap: 6px;
}

.ps-ref-detail__actions button {
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: #f4f5f7;
  color: #9ba2ad;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.ps-ref-detail__actions button:hover,
.ps-ref-detail__actions button.is-active {
  color: #ff4b5f;
  background: #fff0f2;
  transform: translateY(-1px);
}

.ps-ref-detail__actions button[data-vehicle-share].is-active {
  color: #20b88d;
  background: #e7fbf5;
}

.ps-ref-detail__actions svg {
  width: 21px;
  height: 21px;
}

.ps-ref-gallery {
  margin-top: 8px;
}

.ps-ref-gallery__main {
  position: relative;
  height: 310px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.ps-ref-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-ref-gallery__placeholder {
  font-size: 84px;
  opacity: .35;
}

.ps-ref-gallery__thumbs {
  margin-top: 8px;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ps-ref-gallery__thumbs button {
  flex: 0 0 73px;
  width: 73px;
  height: 50px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.ps-ref-gallery__thumbs button.is-active {
  border-color: #111827;
}

.ps-ref-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.ps-ref-features {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ps-ref-features article {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  text-align: center;
}

.ps-ref-feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #374151;
  font-size: 27px;
  line-height: 1;
}

.ps-ref-features b {
  color: #30394a;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 750;
}

.ps-ref-features small {
  color: #87909f;
  font-size: 8px;
  line-height: 1.1;
}

.ps-ref-specs {
  margin-top: 28px;
}

.ps-ref-specs h2 {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #30394a;
  font-size: 19px;
  font-weight: 750;
}

.ps-ref-specs h2 span {
  font-size: 14px;
}

.ps-ref-specs dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
}

.ps-ref-specs dl div {
  min-height: 51px;
  padding: 5px 0 9px;
}

.ps-ref-specs dt {
  color: #30394a;
  font-size: 11px;
  font-weight: 750;
}

.ps-ref-specs dd {
  margin: 4px 0 0;
  color: #778191;
  font-size: 11px;
  line-height: 1.25;
}

.ps-ref-detail__aside {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 9px;
}

.ps-ref-price-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.ps-ref-price-head section,
.ps-ref-breakdown,
.ps-ref-payment-summary {
  border-radius: 10px;
  background: #f3f4f6;
}

.ps-ref-price-head section {
  min-height: 106px;
  padding: 13px 14px;
}

.ps-ref-price-head span,
.ps-ref-breakdown span,
.ps-ref-payment-summary span {
  color: #394355;
}

.ps-ref-price-head section > span {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
}

.ps-ref-price-head strong {
  display: block;
  color: #30394a;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 750;
}

.ps-ref-price-head .is-accent strong {
  color: #ff8500;
}

.ps-ref-price-head small {
  display: block;
  margin-top: 8px;
  color: #8992a0;
  font-size: 10px;
}

.ps-ref-breakdown {
  padding: 15px 16px;
}

.ps-ref-breakdown > div {
  padding: 4px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
}

.ps-ref-breakdown b {
  flex: 0 0 auto;
  color: #30394a;
  font-size: 12px;
  font-weight: 750;
}

.ps-ref-breakdown hr {
  height: 1px;
  margin: 10px 0;
  border: 0;
  background: #4c5565;
}

.ps-ref-breakdown__total {
  align-items: center;
  font-weight: 800;
}

.ps-ref-breakdown__total b {
  padding: 2px 6px;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
}

.ps-ref-continue {
  min-height: 54px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #20be95;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background .16s ease, transform .16s ease;
}

.ps-ref-continue:hover {
  background: #18a984;
  transform: translateY(-1px);
}

.ps-ref-payment-summary {
  padding: 14px 16px;
  display: grid;
  gap: 15px;
}

.ps-ref-payment-summary > div {
  position: relative;
  padding-right: 100px;
}

.ps-ref-payment-summary span {
  display: block;
  font-size: 12px;
  font-weight: 750;
}

.ps-ref-payment-summary b {
  position: absolute;
  top: 0;
  right: 0;
  color: #30394a;
  font-size: 12px;
}

.ps-ref-payment-summary small {
  display: block;
  margin-top: 4px;
  color: #475264;
  font-size: 10px;
  line-height: 1.25;
}

html[data-theme="dark"] .ps-ref-detail,
html[data-theme="dark"] .ps-vehicle-modal__dialog {
  background: #fff !important;
  color: #30394a !important;
}

html[data-theme="dark"] .ps-ref-detail :where(h1, h2, b, strong, dt, dd, span, small) {
  color: inherit;
}

@media (max-width: 900px) {
  .ps-vehicle-modal {
    padding: 0 !important;
  }

  .ps-vehicle-modal__dialog {
    width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
  }

  .ps-vehicle-modal__close {
    top: 10px !important;
    right: 10px !important;
  }

  .ps-ref-detail__layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px 16px 30px;
  }

  .ps-ref-detail__aside {
    position: static;
    order: -1;
  }

  .ps-ref-detail__title-row h1 {
    font-size: 26px;
  }

  .ps-ref-gallery__main {
    height: 280px;
  }

  .ps-ref-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ps-ref-detail__topbar {
    padding-left: 8px;
    padding-right: 52px;
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .ps-ref-detail__topbar .ps-steps {
    gap: 4px !important;
  }

  .ps-ref-detail__topbar .ps-steps span {
    font-size: 8px !important;
  }

  .ps-ref-detail__topbar .ps-steps b {
    min-width: 8px;
  }

  .ps-ref-detail__layout {
    padding: 12px 12px 26px;
  }

  .ps-ref-detail__title-row {
    align-items: flex-start;
  }

  .ps-ref-detail__title-row h1 {
    font-size: 23px;
  }

  .ps-ref-gallery__main {
    height: 220px;
  }

  .ps-ref-gallery__thumbs button {
    flex-basis: 62px;
    width: 62px;
    height: 44px;
  }

  .ps-ref-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-ref-specs dl {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .ps-ref-price-head {
    grid-template-columns: 1fr 1fr;
  }

  .ps-ref-price-head strong {
    font-size: 22px;
  }
}

/* 2026-08-07 ui77: booking-style modal close to approved reference. */
.ps-vehicle-modal__close {
  display: none !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img[src*="comfort.svg"],
.ps-mobile-class-tabs__icon[src*="comfort.svg"] {
  transform: scale(1.08) !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img[src*="minibus.svg"],
.ps-mobile-class-tabs__icon[src*="minibus.svg"] {
  transform: scale(1.08) !important;
}

.ps-booking-preview {
  color: #323b4d;
  background: #fff;
  font-family: Manrope, "Noto Sans Thai", system-ui, sans-serif;
}

.ps-booking-preview__header {
  min-height: 78px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(240px, auto) 48px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #e4e8ef;
}

.ps-booking-preview__nav {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #4b5565;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.ps-booking-preview__nav svg {
  width: 24px;
  height: 24px;
}

.ps-booking-preview__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.ps-booking-preview__title h1 {
  margin: 0;
  color: #243247;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
}

.ps-booking-preview__title span,
.ps-booking-preview__dates {
  color: #1f2937;
  font-size: 20px;
  font-weight: 700;
}

.ps-booking-preview__dates {
  text-align: center;
  white-space: nowrap;
}

.ps-booking-preview__layout {
  padding: 20px 28px 30px;
}

.ps-booking-preview__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  gap: 28px;
  align-items: start;
}

.ps-booking-preview__gallery {
  min-width: 0;
}

.ps-booking-preview__photo {
  height: 318px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.ps-booking-preview__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-booking-preview__placeholder {
  font-size: 90px;
  opacity: .35;
}

.ps-booking-preview__thumbs {
  margin-top: 8px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
}

.ps-booking-preview__thumbs button {
  flex: 0 0 72px;
  width: 72px;
  height: 46px;
  padding: 2px;
  border: 1px solid #d6dce6;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.ps-booking-preview__thumbs button.is-active {
  border-color: #202737;
}

.ps-booking-preview__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.ps-booking-preview__summary {
  display: grid;
  gap: 12px;
  align-content: start;
}

.ps-booking-preview__costs {
  padding: 16px 18px 14px;
  border-radius: 10px;
  background: #f3f4f6;
}

.ps-booking-preview__costs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
  color: #485366;
  font-size: 14px;
}

.ps-booking-preview__costs b {
  flex: 0 0 auto;
  color: #263447;
  font-size: 14px;
  font-weight: 800;
}

.ps-booking-preview__costs hr {
  height: 1px;
  margin: 12px 0;
  border: 0;
  background: #4f5c6c;
}

.ps-booking-preview__costs .is-total {
  align-items: center;
  color: #263447;
  font-size: 16px;
  font-weight: 800;
}

.ps-booking-preview__costs .is-total b {
  padding: 2px 8px;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
}

.ps-booking-preview__continue {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #27c39b;
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}

.ps-booking-preview__continue:hover {
  background: #18a984;
}

.ps-booking-preview__specs {
  margin-top: 18px;
}

.ps-booking-preview__specs h2 {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 18px;
  font-weight: 800;
}

.ps-booking-preview__specs dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.ps-booking-preview__specs dl div {
  min-height: 58px;
  padding: 5px 0;
}

.ps-booking-preview__specs dt {
  color: #354254;
  font-size: 15px;
  font-weight: 800;
}

.ps-booking-preview__specs dd {
  margin: 6px 0 0;
  color: #6b7382;
  font-size: 15px;
  line-height: 1.22;
}

.ps-booking-preview__insurance {
  margin-top: 18px;
  border: 1px solid #edf0f4;
  background: #fff;
}

.ps-booking-preview__insurance-head,
.ps-booking-preview__insurance-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(110px, 1fr));
}

.ps-booking-preview__insurance-head > div,
.ps-booking-preview__insurance-row > div {
  min-width: 0;
  padding: 14px 12px;
  border-right: 1px solid #eceff4;
}

.ps-booking-preview__insurance-head > div:last-child,
.ps-booking-preview__insurance-row > div:last-child {
  border-right: 0;
}

.ps-booking-preview__insurance-head {
  border-top: 1px solid #eceff4;
  border-bottom: 1px solid #eceff4;
}

.ps-booking-preview__insurance-head strong {
  display: block;
  color: #434d5f;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.ps-booking-preview__insurance-head small {
  display: block;
  margin-top: 4px;
  color: #b6bcc7;
  font-size: 10px;
  line-height: 1.2;
}

.ps-booking-preview__insurance-row {
  border-bottom: 1px solid #eceff4;
}

.ps-booking-preview__insurance-row:last-child {
  border-bottom: 0;
}

.ps-booking-preview__insurance-row > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  color: #7a818e;
  font-size: 14px;
}

.ps-booking-preview__insurance-row > div:not(:first-child) {
  align-items: center;
  text-align: center;
}

.ps-booking-preview__insurance-row strong {
  color: #404a5c;
  font-size: 14px;
  font-weight: 800;
}

.ps-booking-preview__insurance-row small {
  color: #7d8593;
  font-size: 11px;
  line-height: 1.3;
}

.ps-booking-preview__insurance-row b {
  color: #242d40;
  font-size: 16px;
  font-weight: 800;
}

.ps-booking-preview__insurance-row .is-positive,
.ps-booking-preview__insurance-row .is-negative {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.ps-booking-preview__insurance-row .is-positive {
  color: #5ad85d;
}

.ps-booking-preview__insurance-row .is-positive.is-soft {
  color: #b7e9ad;
}

.ps-booking-preview__insurance-row .is-negative {
  color: #ff7d87;
}

html[data-theme="dark"] .ps-booking-preview,
html[data-theme="dark"] .ps-vehicle-modal__dialog {
  background: #fff !important;
  color: #323b4d !important;
}

@media (max-width: 980px) {
  .ps-booking-preview__header {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
  }

  .ps-booking-preview__dates {
    grid-column: 1 / -1;
    order: 3;
    padding-bottom: 12px;
    font-size: 17px;
  }

  .ps-booking-preview__layout {
    padding: 16px;
  }

  .ps-booking-preview__hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ps-booking-preview__summary {
    order: -1;
  }

  .ps-booking-preview__specs dl {
    column-gap: 24px;
  }

  .ps-booking-preview__insurance-head,
  .ps-booking-preview__insurance-row {
    grid-template-columns: minmax(190px, 1.5fr) repeat(4, minmax(90px, 1fr));
  }
}

@media (max-width: 760px) {
  .ps-booking-preview__title h1 {
    font-size: 24px;
  }

  .ps-booking-preview__title span,
  .ps-booking-preview__dates {
    font-size: 16px;
  }

  .ps-booking-preview__photo {
    height: 270px;
  }

  .ps-booking-preview__specs dl {
    grid-template-columns: 1fr;
  }

  .ps-booking-preview__insurance {
    overflow-x: auto;
  }

  .ps-booking-preview__insurance-head,
  .ps-booking-preview__insurance-row {
    min-width: 760px;
  }
}


/* 2026-08-09 ui80: richer catalogue cards, vehicle facets and compact booking modal. */
.ps-filter-choice__label [data-price-thb] { font: inherit; }

.ps-listing-card--catalog {
  display: grid !important;
  grid-template-columns: 170px minmax(0, 1fr) 220px !important;
  gap: 18px !important;
  min-height: 174px !important;
  padding: 16px 18px !important;
  align-items: stretch !important;
  border: 1px solid rgba(34, 197, 94, .32) !important;
  border-radius: 18px !important;
  background: #fff !important;
  overflow: hidden;
}

.ps-listing-card--catalog .ps-listing-card__media {
  width: 100% !important;
  height: 140px !important;
  min-height: 140px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  background: #f2f4f7 !important;
  overflow: hidden;
}

.ps-listing-card--catalog .ps-listing-card__media img {
  width: 100% !important;
  height: 100% !important;
  padding: 8px !important;
  object-fit: contain !important;
}

.ps-listing-card--catalog .ps-listing-card__content {
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 0 !important;
}

.ps-listing-card--catalog .ps-listing-card__head { margin: 0 !important; }
.ps-listing-card--catalog .ps-listing-card__title-row {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap;
  gap: 10px !important;
}
.ps-listing-card--catalog .ps-listing-card__head h3 {
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
}
.ps-listing-card--catalog .ps-listing-card__year {
  color: #667085 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.ps-listing-card--catalog .ps-listing-card__category {
  margin: 4px 0 0 !important;
  color: #7b8494 !important;
  font-size: 13px !important;
}

.ps-listing-card--catalog .ps-listing-card__meta,
.ps-listing-card--catalog .ps-listing-card__benefits {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 16px !important;
  margin: 0 !important;
}
.ps-listing-card--catalog .ps-listing-card__meta span,
.ps-listing-card--catalog .ps-listing-card__benefits span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #475467 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}
.ps-listing-card--catalog .ps-listing-card__meta svg,
.ps-listing-card--catalog .ps-listing-card__benefits svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-listing-card--catalog .ps-listing-card__badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
}
.ps-listing-card--catalog .ps-listing-card__badges > span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 5px 9px !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #344054 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.ps-listing-card--catalog .ps-listing-card__badges > span.is-green {
  border-color: #b7ebc4 !important;
  background: #effcf3 !important;
  color: #157a34 !important;
}
.ps-listing-card--catalog .ps-listing-card__badges > span.is-aqua {
  border-color: #a5e9e5 !important;
  background: #edfffd !important;
  color: #0f766e !important;
}
.ps-listing-card--catalog .ps-listing-card__badges > span.is-purple {
  border-color: #ddd6fe !important;
  background: #f5f3ff !important;
  color: #6d28d9 !important;
}

.ps-listing-card--catalog .ps-listing-card__foot {
  margin: 0 !important;
  padding: 0 0 0 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 16px !important;
  border-left: 1px solid #e5e7eb !important;
}
.ps-listing-card--catalog .ps-listing-card__price { text-align: right !important; }
.ps-listing-card--catalog .ps-listing-card__price strong {
  display: block !important;
  color: #16a34a !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
}
.ps-listing-card--catalog .ps-listing-card__price > span,
.ps-listing-card--catalog .ps-listing-card__price small {
  display: block !important;
  margin-top: 6px !important;
  color: #667085 !important;
  font-size: 12px !important;
}
.ps-listing-card--catalog .ps-listing-card__details {
  width: 100% !important;
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #5ee15a !important;
  color: #07140a !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.ps-listing-card--catalog .ps-listing-card__details:hover {
  background: #4ad747 !important;
  color: #07140a !important;
}

.ps-vehicle-modal__dialog {
  width: min(1180px, calc(100vw - 20px)) !important;
  max-height: calc(100vh - 20px) !important;
  border-radius: 18px !important;
  background: #fff !important;
}

.ps-booking-sheet {
  min-height: 100%;
  padding: 0 24px 34px;
  background: #fff;
  color: #202938;
  font-family: Manrope, "Noto Sans Thai", system-ui, sans-serif;
}
.ps-booking-sheet__topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #edf0f4;
}
.ps-booking-sheet__topbar .ps-steps {
  flex: 1 1 auto;
  margin: 0 !important;
}
.ps-booking-sheet__close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #c16868;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ps-booking-sheet__intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 36px;
  padding: 26px 10px 28px;
  align-items: start;
}
.ps-booking-sheet__main-photo {
  height: 300px;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e1e5eb;
  border-radius: 22px;
  background: #fff;
}
.ps-booking-sheet__main-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ps-booking-sheet__eyebrow {
  margin: 8px 0 6px;
  color: #7a5b49;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ps-booking-sheet__vehicle-head h1 {
  margin: 0;
  color: #111827;
  font-size: 48px;
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.04em;
}
.ps-booking-sheet__vehicle-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ps-booking-sheet__vehicle-tags span {
  padding: 5px 9px;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  color: #525b68;
  font-size: 11px;
}
.ps-booking-sheet__thumb-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 78px);
  gap: 10px;
}
.ps-booking-sheet__thumb-grid button {
  width: 78px;
  height: 62px;
  padding: 5px;
  border: 1px solid #e1e5eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.ps-booking-sheet__thumb-grid button.is-active {
  border-color: #44d75d;
  box-shadow: 0 0 0 2px rgba(68, 215, 93, .12);
}
.ps-booking-sheet__thumb-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-booking-sheet__columns {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 62px;
  padding: 0 10px;
  align-items: start;
}
.ps-booking-sheet__section { margin-bottom: 24px; }
.ps-booking-sheet__section h2,
.ps-booking-sheet__insurance-card h2 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ced3da;
  color: #1d2430;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 500;
}
.ps-booking-sheet__price-list { display: grid; gap: 0; }
.ps-booking-sheet__price-list > div {
  position: relative;
  padding: 11px 120px 11px 0;
  border-bottom: 1px solid #e1e5eb;
}
.ps-booking-sheet__price-list span,
.ps-booking-sheet__extra-line span {
  color: #313844;
  font-size: 13px;
}
.ps-booking-sheet__price-list strong {
  position: absolute;
  top: 11px;
  right: 0;
  color: #1b2432;
  font-size: 13px;
  font-weight: 700;
}
.ps-booking-sheet__price-list small {
  display: block;
  margin-top: 5px;
  color: #8b929d;
  font-size: 10px;
  line-height: 1.3;
}
.ps-booking-sheet__extra-line,
.ps-booking-sheet__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e1e5eb;
}
.ps-booking-sheet__extra-line b { font-size: 13px; }
.ps-booking-sheet__total {
  margin: 0 0 16px;
  border-top: 1px solid #9ca3af;
  border-bottom: 1px solid #9ca3af;
}
.ps-booking-sheet__total span { font-size: 18px; }
.ps-booking-sheet__total strong { font-size: 18px; }
.ps-booking-sheet__payment-summary {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.ps-booking-sheet__payment-summary > div {
  position: relative;
  padding-right: 95px;
}
.ps-booking-sheet__payment-summary span {
  display: block;
  color: #343b47;
  font-size: 12px;
}
.ps-booking-sheet__payment-summary strong {
  position: absolute;
  top: 0;
  right: 0;
  color: #1f2937;
  font-size: 12px;
}
.ps-booking-sheet__payment-summary small {
  display: block;
  margin-top: 4px;
  color: #9ba1ab;
  font-size: 9px;
  line-height: 1.3;
}
.ps-booking-sheet__continue,
.ps-booking-sheet__back {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.ps-booking-sheet__continue {
  border: 2px solid #4ade5a;
  color: #1c2735 !important;
}
.ps-booking-sheet__back {
  margin-top: 10px;
  border: 2px solid #f23b3b;
  color: #1c2735;
}

.ps-booking-sheet__details-list {
  margin: 0;
  display: grid;
}
.ps-booking-sheet__details-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, auto);
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #dfe3e8;
}
.ps-booking-sheet__details-list dt,
.ps-booking-sheet__details-list dd {
  margin: 0;
  color: #2f3743;
  font-size: 13px;
}
.ps-booking-sheet__details-list dd { text-align: right; }

.ps-booking-sheet__insurance-card {
  margin: 2px 0 24px;
  padding: 16px;
  border: 1px solid #d6dae0;
  border-radius: 22px;
}
.ps-booking-sheet__insurance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ps-booking-sheet__insurance-head h2 {
  flex: 1;
  margin-bottom: 4px;
  border-bottom: 0;
}
.ps-booking-sheet__insurance-head > span {
  color: #667085;
  font-size: 10px;
}
.ps-booking-sheet__insurance-options { display: grid; gap: 12px; }
.ps-booking-sheet__insurance-options > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ps-booking-sheet__insurance-options i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  border: 2px solid #b9bec7;
  border-radius: 50%;
  background: #d7dade;
}
.ps-booking-sheet__insurance-options i.is-selected,
.ps-booking-sheet__insurance-options > div:not(.is-muted) i {
  border-color: #21bf42;
  background: #5ce36d;
  box-shadow: inset 0 0 0 4px #fff;
}
.ps-booking-sheet__insurance-options strong {
  display: block;
  color: #273142;
  font-size: 13px;
}
.ps-booking-sheet__insurance-options small {
  display: block;
  margin-top: 3px;
  color: #6f7785;
  font-size: 10px;
  font-style: italic;
}
.ps-booking-sheet__insurance-options .is-muted { opacity: .55; }

.ps-booking-sheet__services { margin-bottom: 0; }
.ps-booking-sheet__service-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
}
.ps-booking-sheet__fake-check {
  width: 18px;
  height: 18px;
  border: 1.5px solid #858b95;
  border-radius: 3px;
}
.ps-booking-sheet__service-row strong {
  color: #343b46;
  font-size: 12px;
  font-weight: 500;
}
.ps-booking-sheet__service-row small {
  color: #69707c;
  font-size: 10px;
}

html[data-theme="dark"] .ps-listing-card--catalog {
  border-color: rgba(74, 222, 128, .36) !important;
  background: #20252e !important;
}
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__media { background: #34383f !important; }
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__head h3 { color: #f8fafc !important; }
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__year,
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__category,
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__meta span,
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__benefits span,
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__price > span,
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__price small { color: #c6ccd6 !important; }
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__foot { border-left-color: #3b414b !important; }
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__badges > span { background: #2c323d !important; color: #eef2f7 !important; border-color: #4a5260 !important; }
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__badges > span.is-green { background: rgba(34,197,94,.10) !important; color: #8bf0a2 !important; border-color: rgba(74,222,128,.3) !important; }
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__badges > span.is-aqua { background: rgba(45,212,191,.08) !important; color: #7be7db !important; border-color: rgba(45,212,191,.28) !important; }
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__badges > span.is-purple { background: rgba(139,92,246,.10) !important; color: #c4b5fd !important; border-color: rgba(167,139,250,.28) !important; }

html[data-theme="dark"] .ps-booking-sheet,
html[data-theme="dark"] .ps-vehicle-modal__dialog { background: #fff !important; color: #202938 !important; }
html[data-theme="dark"] .ps-booking-sheet :where(h1,h2,h3,dt,dd,strong,span,small,p) { color: inherit; }

@media (max-width: 980px) {
  .ps-listing-card--catalog { grid-template-columns: 150px minmax(0, 1fr) !important; }
  .ps-listing-card--catalog .ps-listing-card__foot {
    grid-column: 1 / -1;
    flex-direction: row !important;
    align-items: center !important;
    padding: 14px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid #e5e7eb !important;
  }
  .ps-listing-card--catalog .ps-listing-card__price { text-align: left !important; }
  .ps-listing-card--catalog .ps-listing-card__details { width: min(220px, 46%) !important; }
  .ps-booking-sheet__intro,
  .ps-booking-sheet__columns { grid-template-columns: 1fr; gap: 24px; }
  .ps-booking-sheet__price-column { order: 2; }
}

@media (max-width: 640px) {
  .ps-listing-card--catalog { grid-template-columns: 1fr !important; }
  .ps-listing-card--catalog .ps-listing-card__media { height: 190px !important; min-height: 190px !important; }
  .ps-listing-card--catalog .ps-listing-card__foot {
    grid-column: auto;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .ps-listing-card--catalog .ps-listing-card__details { width: 100% !important; }
  .ps-booking-sheet { padding: 0 14px 24px; }
  .ps-booking-sheet__intro { padding: 18px 0 22px; }
  .ps-booking-sheet__main-photo { height: 240px; }
  .ps-booking-sheet__vehicle-head h1 { font-size: 36px; }
  .ps-booking-sheet__thumb-grid { grid-template-columns: repeat(3, 64px); }
  .ps-booking-sheet__thumb-grid button { width: 64px; height: 52px; }
  .ps-booking-sheet__columns { padding: 0; }
  .ps-booking-sheet__details-list > div { grid-template-columns: 1fr auto; }
}


/* 2026-08-09 ui81: blue CTA/price, viewport-height filters, card spacing and locale-safe labels. */
.ps-listing-card--catalog {
  grid-template-columns: 192px minmax(0, 1fr) 220px !important;
  column-gap: 22px !important;
}

.ps-listing-card--catalog .ps-listing-card__media {
  width: 192px !important;
}

.ps-listing-card--catalog .ps-listing-card__content {
  padding-left: 6px !important;
}

.ps-listing-card--catalog .ps-listing-card__category {
  display: none !important;
}

.ps-listing-card--catalog .ps-listing-card__price strong,
.ps-listing-card--catalog .ps-listing-card__price [data-price-thb] {
  color: var(--ps-light-button) !important;
}

.ps-listing-card--catalog .ps-listing-card__details {
  border-color: var(--ps-light-button) !important;
  background: var(--ps-light-button) !important;
  color: #fff !important;
}

.ps-listing-card--catalog .ps-listing-card__details:hover {
  border-color: var(--ps-light-button-hover) !important;
  background: var(--ps-light-button-hover) !important;
  color: #fff !important;
}

@media (min-width: 768px) {
  .ps-sidebar-filters {
    min-height: 0 !important;
    max-height: calc(100vh - 104px) !important;
    max-height: calc(100dvh - 104px) !important;
    overflow: hidden !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    min-height: 0 !important;
    max-height: calc(100vh - 104px) !important;
    max-height: calc(100dvh - 104px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }

  .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar { width: 7px; }
  .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-track { background: transparent; }
  .ps-sidebar-filters .ps-sidebar-box::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(100, 116, 139, .35);
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .ps-listing-card--catalog {
    grid-template-columns: 176px minmax(0, 1fr) !important;
    column-gap: 20px !important;
  }

  .ps-listing-card--catalog .ps-listing-card__media {
    width: 176px !important;
  }
}

@media (max-width: 767px) {
  .ps-listing-card--catalog .ps-listing-card__media {
    width: 100% !important;
  }

  .ps-listing-card--catalog .ps-listing-card__content {
    padding-left: 0 !important;
  }
}

/* 2026-08-09 ui82: keep catalogue text clear of media and use green accents in dark theme. */
.ps-listing-card--catalog {
  column-gap: 28px !important;
}

.ps-listing-card--catalog .ps-listing-card__content {
  padding-left: 28px !important;
  box-sizing: border-box !important;
}

/* In the dark theme, text accents that are blue in the light theme become green. */
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__price strong,
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__price [data-price-thb],
html[data-theme="dark"] .ps-price-filter__head button,
html[data-theme="dark"] .ps-sidebar-actions a,
html[data-theme="dark"] .ps-active-filters__reset,
html[data-theme="dark"] .ps-active-filter__label [data-price-thb],
html[data-theme="dark"] .ps-locale-grid a:hover,
html[data-theme="dark"] .ps-locale-grid button:hover,
html[data-theme="dark"] .ps-locale-grid a.is-active,
html[data-theme="dark"] .ps-locale-grid button.is-active {
  color: #68de68 !important;
}

@media (min-width: 768px) and (max-width: 960px) {
  .ps-listing-card--catalog {
    column-gap: 24px !important;
  }

  .ps-listing-card--catalog .ps-listing-card__content {
    padding-left: 20px !important;
  }
}

@media (max-width: 767px) {
  .ps-listing-card--catalog .ps-listing-card__content {
    padding-left: 0 !important;
  }
}


/* 2026-08-09 ui83: borderless vehicle image and whole-card details modal. */
.ps-listing-card--catalog .ps-listing-card__media,
html[data-theme="dark"] .ps-listing-card--catalog .ps-listing-card__media {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.ps-listing-card--catalog .ps-listing-card__media img {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-listing-card--catalog[data-card-booking-url] {
  cursor: pointer;
}

/* 2026-08-09 ui84: move catalogue text farther right and make the booking modal full-screen on mobile. */
.ps-listing-card--catalog {
  grid-template-columns: 208px minmax(0, 1fr) 220px !important;
  column-gap: 34px !important;
}

.ps-listing-card--catalog .ps-listing-card__media {
  width: 208px !important;
  overflow: hidden !important;
}

.ps-listing-card--catalog .ps-listing-card__content {
  padding-left: 42px !important;
}

@media (min-width: 768px) and (max-width: 980px) {
  .ps-listing-card--catalog {
    grid-template-columns: 168px minmax(0, 1fr) !important;
    column-gap: 24px !important;
  }

  .ps-listing-card--catalog .ps-listing-card__media {
    width: 168px !important;
  }

  .ps-listing-card--catalog .ps-listing-card__content {
    padding-left: 24px !important;
  }
}

@media (max-width: 767px) {
  .ps-vehicle-modal {
    padding: 0 !important;
    align-items: stretch !important;
  }

  .ps-vehicle-modal__dialog {
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }

  .ps-vehicle-modal__close {
    top: max(10px, env(safe-area-inset-top, 0px)) !important;
    right: 10px !important;
    left: auto !important;
    margin: 10px 10px -50px auto !important;
  }

  .ps-vehicle-modal__body,
  .ps-vehicle-modal__content {
    min-height: 100% !important;
    height: 100% !important;
  }

  .ps-vehicle-modal__body {
    overflow: auto !important;
  }

  .ps-vehicle-modal__content {
    padding: 0 !important;
  }

  .ps-booking-sheet {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding: max(8px, env(safe-area-inset-top, 0px)) 16px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .ps-booking-sheet__topbar {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
  }

  html[data-theme="dark"] .ps-booking-sheet__topbar {
    background: #fff;
  }
}

/* 2026-08-10 ui95: reset accumulated mobile conflicts; reliable fullscreen pickers, compact cards and viewport-bound desktop filters. */
@media (min-width: 768px) {
  .ps-market-layout {
    align-items: start !important;
  }

  .ps-sidebar-filters {
    position: sticky !important;
    top: 12px !important;
    height: calc(100vh - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    overflow: hidden !important;
    align-self: start !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    height: 100% !important;
    max-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-gutter: stable;
  }

  /* Desktop filter order: vehicle type, daily price, then the rest. */
  .ps-sidebar-filters .ps-sidebar-box {
    display: flex !important;
    flex-direction: column !important;
  }
  .ps-sidebar-heading { order: 0 !important; flex: 0 0 auto; }
  .ps-sidebar-group[data-filter-group="vehicle_type"] { order: 1 !important; }
  .ps-sidebar-filters .ps-price-filter { order: 2 !important; }
  .ps-sidebar-group[data-filter-group="popular"] { order: 3 !important; }
  .ps-sidebar-group[data-filter-group="transmission"] { order: 4 !important; }
  .ps-sidebar-group[data-filter-group="brand"] { order: 5 !important; }
  .ps-sidebar-group[data-filter-group="year"] { order: 6 !important; }
  .ps-sidebar-group[data-filter-group="engine_type"] { order: 7 !important; }
  .ps-sidebar-group[data-filter-group="drive"] { order: 8 !important; }
  .ps-sidebar-group[data-filter-group="insurance_class"] { order: 9 !important; }
  .ps-sidebar-group[data-filter-group="deposit"] { order: 10 !important; }
  .ps-sidebar-actions { order: 20 !important; }
}

/* 2026-08-10 ui98: clean mobile rebuild. Previous ui85-ui96 mobile override stack removed. */
.ps-listing-card--catalog .ps-listing-card__price > span,
.ps-listing-card--catalog .ps-listing-card__price small {
  color: #8b95a7 !important;
}
.ps-header__tools--desktop { display: inline-flex; align-items: center; gap: 12px; }
.ps-nav__mobile-tools,
.ps-nav__mobile-regions,
.ps-custom-select__mobile-head,
.ps-date-range-mobile-head,
.ps-mobile-filter-apply,
.ps-mobile-vehicle-card { display: none; }

@media (max-width: 767px) {
  :root {
    --ps-mobile-bg-light: #ffffff;
    --ps-mobile-bg-dark: #07111a;
    --ps-mobile-text-light: #243247;
    --ps-mobile-text-dark: #f5f7fa;
    --ps-mobile-line-light: #e3e8ef;
    --ps-mobile-line-dark: #2d3a47;
    --ps-mobile-blue: #2b73df;
    --ps-mobile-green: #55e45d;
  }

  html.ps-mobile-picker-open,
  body.ps-mobile-picker-open,
  html.ps-filters-open,
  body.ps-filters-open,
  body.ps-menu-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  /* ---------- Header / burger ---------- */
  .ps-header__tools--desktop,
  .ps-partner-cta--desktop,
  .ps-region-menu--desktop { display: none !important; }

  .ps-header,
  .ps-home-page .ps-header {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 120 !important;
    padding: 8px 0 !important;
    transform: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
  }

  .ps-header > .ps-shell,
  .ps-home-page .ps-header > .ps-shell {
    width: calc(100% - 24px) !important;
    min-height: 38px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .ps-brand {
    width: auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #fff !important;
  }
  .ps-brand img { width: 30px !important; height: 30px !important; }
  .ps-brand__wordmark { color: #fff !important; font-size: 17px !important; letter-spacing: -.02em !important; }

  .ps-menu-button,
  .ps-home-page .ps-menu-button {
    width: 34px !important;
    height: 32px !important;
    min-width: 34px !important;
    margin-left: auto !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
    z-index: 2600 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .ps-menu-button span {
    position: absolute !important;
    left: 4px !important;
    width: 26px !important;
    height: 3px !important;
    margin: 0 !important;
    border-radius: 99px !important;
    background: #fff !important;
    transform-origin: center !important;
    transition: top .22s ease, transform .22s ease, opacity .16s ease !important;
  }
  .ps-menu-button span:nth-child(1) { top: 7px !important; }
  .ps-menu-button span:nth-child(2) { top: 15px !important; }
  .ps-menu-button span:nth-child(3) { top: 23px !important; }
  .ps-menu-button[aria-expanded="true"] {
    position: fixed !important;
    top: calc(8px + env(safe-area-inset-top, 0px)) !important;
    right: 12px !important;
    margin: 0 !important;
  }
  .ps-menu-button[aria-expanded="true"] span:nth-child(1) { top: 15px !important; transform: rotate(45deg) !important; }
  .ps-menu-button[aria-expanded="true"] span:nth-child(2) { top: 15px !important; opacity: 0 !important; }
  .ps-menu-button[aria-expanded="true"] span:nth-child(3) { top: 15px !important; transform: rotate(-45deg) !important; }

  .ps-nav,
  .ps-home-page .ps-nav {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2500 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: calc(56px + env(safe-area-inset-top, 0px)) 18px calc(22px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-y: auto !important;
    background: #07111a !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(18px) !important;
    transition: opacity .24s ease, transform .28s cubic-bezier(.22,1,.36,1), visibility 0s linear .28s !important;
  }
  .ps-nav.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    transition: opacity .24s ease, transform .28s cubic-bezier(.22,1,.36,1) !important;
  }
  body.ps-menu-open .ps-brand { visibility: hidden !important; opacity: 0 !important; }

  .ps-nav__mobile-tools {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 14px !important;
  }
  .ps-nav__mobile-tools .ps-theme-toggle {
    position: relative !important;
    width: 70px !important;
    min-width: 70px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 1px solid #354252 !important;
    border-radius: 20px !important;
    background: #111c28 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transform: none !important;
  }
  .ps-nav__mobile-tools .ps-theme-toggle__thumb {
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #fff !important;
    transform: translateX(0) !important;
    transition: transform .24s ease, background .24s ease !important;
    box-shadow: 0 2px 9px rgba(0,0,0,.24) !important;
  }
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-theme-toggle__thumb {
    transform: translateX(32px) !important;
    background: #2f59c9 !important;
  }
  .ps-nav__mobile-tools .ps-theme-toggle__icon {
    position: absolute !important;
    z-index: 3 !important;
    width: 17px !important;
    height: 17px !important;
    top: 10px !important;
    opacity: 1 !important;
  }
  .ps-nav__mobile-tools .ps-theme-toggle__icon--sun { left: 10px !important; color: #f4a600 !important; }
  .ps-nav__mobile-tools .ps-theme-toggle__icon--moon { right: 10px !important; left: auto !important; color: #fff !important; }

  .ps-nav__mobile-tools .ps-locale-trigger {
    width: 112px !important;
    min-width: 112px !important;
    height: 38px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    border: 1px solid #354252 !important;
    border-radius: 10px !important;
    background: #111c28 !important;
    color: #fff !important;
    box-shadow: none !important;
  }
  .ps-nav__mobile-tools .ps-locale-trigger__currency { color: #fff !important; }
  .ps-nav__mobile-tools .ps-locale-trigger__divider { display: block !important; background: #405064 !important; }

  .ps-nav__mobile-regions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px 20px !important;
    margin: 0 0 12px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }
  .ps-nav__mobile-regions a {
    padding: 0 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }
  .ps-partner-cta--menu {
    width: max-content !important;
    max-width: 100% !important;
    min-height: 38px !important;
    margin: 0 0 16px !important;
    padding: 0 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #62738b !important;
    border-radius: 10px !important;
    background: #26364c !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }
  .ps-nav > a:not(.ps-partner-cta--menu) {
    min-height: 54px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }

  /* ---------- Hero ---------- */
  .ps-market-hero { min-height: 160px !important; height: 160px !important; }
  .ps-market-hero__content { min-height: 160px !important; padding: 52px 12px 0 !important; display: grid !important; place-items: center !important; }
  .ps-market-hero__copy h1 {
    margin: 0 !important;
    text-align: center !important;
    font-size: clamp(27px, 8.2vw, 36px) !important;
    line-height: 1.08 !important;
    transform: translateY(5px) !important;
  }

  /* ---------- Mobile search + sticky compact bar ---------- */
  .ps-mobile-search-sticky {
    position: relative !important;
    z-index: 90 !important;
  }
  .ps-search { margin: 0 !important; position: relative !important; }
  .ps-search__frame {
    padding: 8px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .ps-search__bar--find {
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    border: 1px solid #d8dee7 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  .ps-search__field {
    min-height: 78px !important;
    padding: 14px 18px !important;
    display: grid !important;
    gap: 6px !important;
    border-bottom: 1px solid #e4e8ee !important;
  }
  .ps-search__field > span { color: #748198 !important; font-size: 12px !important; }
  .ps-custom-select__button,
  .ps-date-range-trigger {
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111827 !important;
    font-size: 16px !important;
  }
  .ps-date-range-trigger { display: flex !important; align-items: center !important; gap: 8px !important; }
  .ps-date-range-trigger strong { font-size: 16px !important; }
  .ps-date-range-trigger small { color: #8b95a7 !important; }
  .ps-search__submit-main { display: none !important; }

  .ps-mobile-filter-trigger {
    width: calc(100% - 16px) !important;
    min-height: 48px !important;
    margin: 0 8px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--ps-mobile-blue) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
  }
  html[data-theme="dark"] .ps-mobile-filter-trigger { background: var(--ps-mobile-green) !important; color: #0b160b !important; }

  .ps-mobile-search-sticky.is-stuck {
    position: sticky !important;
    top: 0 !important;
    z-index: 1800 !important;
    padding: 4px !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 94px !important;
    gap: 4px !important;
    background: #16b88c !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.18) !important;
  }
  .ps-mobile-search-sticky.is-stuck .ps-search__frame { padding: 0 !important; }
  .ps-mobile-search-sticky.is-stuck .ps-search__bar--find { border: 0 !important; border-radius: 10px !important; background: rgba(0,0,0,.08) !important; }
  .ps-mobile-search-sticky.is-stuck .ps-search__field--select { display: none !important; }
  .ps-mobile-search-sticky.is-stuck .ps-search__field--range {
    min-height: 44px !important;
    padding: 6px 12px !important;
    border: 0 !important;
  }
  .ps-mobile-search-sticky.is-stuck .ps-search__field--range > span { display: none !important; }
  .ps-mobile-search-sticky.is-stuck .ps-date-range-trigger { color: #fff !important; }
  .ps-mobile-search-sticky.is-stuck .ps-date-range-trigger small { color: rgba(255,255,255,.78) !important; }
  .ps-mobile-search-sticky.is-stuck .ps-mobile-filter-trigger {
    width: 94px !important;
    min-height: 44px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #344054 !important;
    font-size: 13px !important;
  }

  /* ---------- Full-screen location/date/filter sheets ---------- */
  body > .ps-custom-select__menu.ps-mobile-picker-portal,
  body > .ps-date-range-popover.ps-mobile-picker-portal,
  body > .ps-sidebar-filters.ps-mobile-filter-portal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    background: var(--ps-mobile-bg-light) !important;
    color: var(--ps-mobile-text-light) !important;
  }
  html[data-theme="dark"] body > .ps-custom-select__menu.ps-mobile-picker-portal,
  html[data-theme="dark"] body > .ps-date-range-popover.ps-mobile-picker-portal,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal {
    background: var(--ps-mobile-bg-dark) !important;
    color: var(--ps-mobile-text-dark) !important;
  }

  body > .ps-custom-select__menu.ps-mobile-picker-portal:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
  }
  .ps-custom-select__mobile-head,
  .ps-date-range-mobile-head,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: inherit !important;
    border-bottom: 1px solid var(--ps-mobile-line-light) !important;
  }
  html[data-theme="dark"] .ps-custom-select__mobile-head,
  html[data-theme="dark"] .ps-date-range-mobile-head,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading {
    border-color: var(--ps-mobile-line-dark) !important;
  }
  .ps-custom-select__mobile-head strong,
  .ps-date-range-mobile-head strong,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading h2 {
    margin: 0 !important;
    color: inherit !important;
    font-size: 20px !important;
    font-weight: 800 !important;
  }
  .ps-custom-select__mobile-close,
  .ps-date-range-mobile-head button,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading button {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: 30px !important;
    line-height: 1 !important;
  }
  .ps-custom-select__option {
    width: calc(100% - 32px) !important;
    min-height: 58px !important;
    margin: 0 16px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ps-mobile-line-light) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: 16px !important;
    text-align: left !important;
  }
  html[data-theme="dark"] .ps-custom-select__option { border-color: var(--ps-mobile-line-dark) !important; }
  .ps-custom-select__option.is-selected { font-weight: 800 !important; }

  body > .ps-date-range-popover.ps-mobile-picker-portal:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
  }
  .ps-date-range-calendars {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 18px 18px 150px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .ps-calendar-month,
  .ps-calendar-grid { width: 100% !important; min-width: 0 !important; }
  .ps-calendar-day,
  .ps-calendar-weekday,
  .ps-calendar-month__title { color: inherit !important; }
  html[data-theme="dark"] .ps-calendar-day:disabled,
  html[data-theme="dark"] .ps-calendar-weekday { color: #8a99aa !important; }
  .ps-calendar-day.is-in-range { background: rgba(43,115,223,.14) !important; }
  .ps-calendar-day.is-start,
  .ps-calendar-day.is-end { background: var(--ps-mobile-blue) !important; color: #fff !important; font-weight: 800 !important; }
  html[data-theme="dark"] .ps-calendar-day.is-in-range { background: rgba(85,228,93,.18) !important; }
  html[data-theme="dark"] .ps-calendar-day.is-start,
  html[data-theme="dark"] .ps-calendar-day.is-end { background: var(--ps-mobile-green) !important; color: #081208 !important; }

  .ps-date-range-footer {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 7 !important;
    margin-top: auto !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom,0px)) !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 10px !important;
    background: var(--ps-mobile-bg-light) !important;
    border-top: 1px solid var(--ps-mobile-line-light) !important;
    box-shadow: 0 -8px 22px rgba(0,0,0,.08) !important;
  }
  html[data-theme="dark"] .ps-date-range-footer { background: var(--ps-mobile-bg-dark) !important; border-color: var(--ps-mobile-line-dark) !important; }
  .ps-date-range-times { grid-column: 1 / -1 !important; display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .ps-date-range-total { margin: 0 !important; }
  .ps-date-range-footer > button {
    min-height: 46px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--ps-mobile-blue) !important;
    color: #fff !important;
    font-weight: 800 !important;
  }
  html[data-theme="dark"] .ps-date-range-footer > button { background: var(--ps-mobile-green) !important; color: #081208 !important; }

  /* ---------- Filter sheet ---------- */
  body > .ps-sidebar-filters.ps-mobile-filter-portal { display: none !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal.is-open { display: block !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-filter-backdrop { display: none !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box {
    width: 100% !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 14px 82px !important;
    display: flex !important;
    flex-direction: column !important;
    background: inherit !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading { margin: 0 -14px 10px !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-classes { order: 1 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-filter { order: 2 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal [data-filter-group="vehicle_type"] { order: 3 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal [data-filter-group="popular"] { order: 4 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal [data-filter-group="transmission"] { order: 5 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal [data-filter-group="brand"] { order: 6 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal [data-filter-group="engine_type"] { order: 7 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal [data-filter-group="drive"] { order: 8 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal [data-filter-group="insurance_class"] { order: 9 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal [data-filter-group="deposit"] { order: 10 !important; }
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions { order: 20 !important; }
  .ps-sidebar-group,
  .ps-price-filter,
  .ps-sidebar-actions {
    background: transparent !important;
    border-color: var(--ps-mobile-line-light) !important;
  }
  html[data-theme="dark"] .ps-sidebar-group,
  html[data-theme="dark"] .ps-price-filter,
  html[data-theme="dark"] .ps-sidebar-actions { border-color: var(--ps-mobile-line-dark) !important; }
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal h2,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal h3,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal label,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-filter-choice__label { color: #fff !important; }

  .ps-mobile-class-tabs {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
  }
  .ps-mobile-class-tabs button {
    min-height: 82px !important;
    padding: 9px 10px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto 1fr !important;
    gap: 4px 8px !important;
    border-radius: 14px !important;
  }
  .ps-mobile-class-tabs__icon {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 72px !important;
    max-width: 72px !important;
    height: 30px !important;
    max-height: 30px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  .ps-mobile-class-tabs button > span { grid-column: 1 / -1 !important; grid-row: 1 !important; font-size: 13px !important; font-weight: 800 !important; }
  .ps-mobile-class-tabs button > small { grid-column: 2 !important; grid-row: 2 !important; align-self: center !important; }

  .ps-sidebar-actions a {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    border: 1px solid rgba(85,228,93,.3) !important;
    border-radius: 12px !important;
    background: rgba(85,228,93,.06) !important;
    color: var(--ps-mobile-green) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }
  .ps-sidebar-actions a svg { width: 18px !important; height: 18px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
  .ps-mobile-filter-apply {
    position: fixed !important;
    right: 12px !important;
    bottom: calc(10px + env(safe-area-inset-bottom,0px)) !important;
    left: 12px !important;
    z-index: 2147483005 !important;
    width: auto !important;
    min-height: 48px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--ps-mobile-blue) !important;
    color: #fff !important;
    font-weight: 800 !important;
  }
  html[data-theme="dark"] .ps-mobile-filter-apply { background: var(--ps-mobile-green) !important; color: #081208 !important; }

  /* ---------- Catalogue ---------- */
  .ps-market-layout { display: block !important; }
  .ps-market-results { width: 100% !important; min-width: 0 !important; }
  .ps-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; }
  .ps-grid__item { width: 100% !important; min-width: 0 !important; }
  .ps-listing-card--catalog {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: block !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }
  .ps-listing-card--catalog > .ps-listing-card__media,
  .ps-listing-card--catalog > .ps-listing-card__content,
  .ps-listing-card--catalog > .ps-listing-card__foot { display: none !important; }
  .ps-mobile-vehicle-card {
    width: 100% !important;
    min-height: 0 !important;
    padding: 10px 12px 9px !important;
    display: grid !important;
    grid-template-columns: 112px minmax(0,1fr) !important;
    grid-template-areas: "photo info" "bottom bottom" !important;
    gap: 7px 12px !important;
    box-sizing: border-box !important;
  }
  .ps-mobile-vehicle-card__media {
    grid-area: photo !important;
    width: 112px !important;
    height: 86px !important;
    min-width: 112px !important;
    min-height: 86px !important;
    margin-left: -4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
  }
  .ps-mobile-vehicle-card__media img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: left center !important; }
  .ps-mobile-vehicle-card__info { grid-area: info !important; min-width: 0 !important; display: flex !important; flex-direction: column !important; gap: 5px !important; }
  .ps-mobile-vehicle-card__title { display: flex !important; align-items: baseline !important; gap: 6px !important; min-width: 0 !important; }
  .ps-mobile-vehicle-card__title strong { min-width: 0 !important; font-size: 18px !important; line-height: 1.12 !important; white-space: nowrap !important; }
  .ps-mobile-vehicle-card__title > span { flex: 0 0 auto !important; font-size: 11px !important; color: #7d899a !important; }
  .ps-mobile-vehicle-card__meta { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 5px 10px !important; min-width: 0 !important; }
  .ps-mobile-vehicle-card__meta span { display: inline-flex !important; align-items: center !important; gap: 4px !important; min-width: 0 !important; font-size: 10.5px !important; line-height: 1.15 !important; white-space: normal !important; }
  .ps-mobile-vehicle-card__meta svg { width: 14px !important; height: 14px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.7 !important; }
  .ps-mobile-vehicle-card__badges { margin-top: 3px !important; display: flex !important; flex-wrap: wrap !important; gap: 6px !important; }
  .ps-mobile-vehicle-card__badges > span { min-height: 24px !important; padding: 3px 9px !important; display: inline-flex !important; align-items: center !important; border-radius: 999px !important; font-size: 10.5px !important; }
  .ps-mobile-vehicle-card__bottom {
    grid-area: bottom !important;
    min-height: 44px !important;
    padding-top: 7px !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 68px 124px !important;
    align-items: center !important;
    gap: 7px !important;
    border-top: 1px solid rgba(148,163,184,.25) !important;
  }
  .ps-mobile-vehicle-card__total { min-width: 0 !important; display: flex !important; align-items: baseline !important; gap: 4px !important; white-space: nowrap !important; }
  .ps-mobile-vehicle-card__total > span { font-size: 12px !important; font-weight: 800 !important; }
  .ps-mobile-vehicle-card__total strong { font-size: 20px !important; line-height: 1 !important; font-weight: 900 !important; }
  .ps-mobile-vehicle-card__total small { font-size: 9px !important; color: #8b95a7 !important; }
  .ps-mobile-vehicle-card__daily { text-align: left !important; }
  .ps-mobile-vehicle-card__daily strong { display: block !important; font-size: 14px !important; line-height: 1 !important; }
  .ps-mobile-vehicle-card__daily small { display: block !important; margin-top: 3px !important; font-size: 8.5px !important; color: #8b95a7 !important; }
  .ps-mobile-vehicle-card__details {
    width: 124px !important;
    min-width: 124px !important;
    height: 40px !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    justify-self: end !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: var(--ps-mobile-blue) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }
  html[data-theme="dark"] .ps-mobile-vehicle-card__details { background: var(--ps-mobile-green) !important; color: #081208 !important; }

  /* ---------- Footer: same composition as desktop, adapted only for width ---------- */
  .ps-footer { padding: 34px 0 20px !important; }
  .ps-footer .ps-shell { width: calc(100% - 32px) !important; }
  .ps-footer__top {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 26px 18px !important;
    align-items: start !important;
  }
  .ps-footer__links { grid-column: 1 !important; }
  .ps-footer__contact { grid-column: 1 / -1 !important; align-items: start !important; justify-items: start !important; text-align: left !important; }
  .ps-footer__social-title { position: absolute !important; right: 16px !important; margin: 0 !important; }
  .ps-socials { position: absolute !important; right: 16px !important; margin-top: 28px !important; }
  .ps-footer__email { max-width: 100% !important; overflow-wrap: anywhere !important; }
  .ps-footer__bottom { margin-top: 24px !important; padding-top: 16px !important; display: grid !important; gap: 10px !important; justify-items: start !important; }
  .ps-footer__legal { display: flex !important; flex-wrap: wrap !important; gap: 8px 18px !important; }

  .ps-back-to-top { bottom: 28px !important; right: 14px !important; }
}


/* 2026-08-10 ui100: stable mobile portals, fixed burger controls and restored ui97 card geometry. */
@media (max-width: 767px) {
  /* Burger controls stay visually identical in both site themes. */
  .ps-nav__mobile-tools .ps-theme-toggle,
  html[data-theme="light"] .ps-nav__mobile-tools .ps-theme-toggle,
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-theme-toggle {
    width: 70px !important;
    min-width: 70px !important;
    height: 38px !important;
    border: 1px solid #354252 !important;
    border-radius: 20px !important;
    background: #111c28 !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  .ps-nav__mobile-tools .ps-theme-toggle__thumb,
  html[data-theme="light"] .ps-nav__mobile-tools .ps-theme-toggle__thumb,
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-theme-toggle__thumb {
    top: 3px !important;
    left: 3px !important;
    width: 30px !important;
    height: 30px !important;
    background: #2f59c9 !important;
    transform: translateX(32px) !important;
    box-shadow: 0 2px 9px rgba(0,0,0,.24) !important;
  }

  .ps-nav__mobile-tools .ps-theme-toggle__icon--sun,
  html[data-theme="light"] .ps-nav__mobile-tools .ps-theme-toggle__icon--sun,
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-theme-toggle__icon--sun {
    left: 10px !important;
    right: auto !important;
    color: #f4a600 !important;
    opacity: .45 !important;
  }

  .ps-nav__mobile-tools .ps-theme-toggle__icon--moon,
  html[data-theme="light"] .ps-nav__mobile-tools .ps-theme-toggle__icon--moon,
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-theme-toggle__icon--moon {
    right: 10px !important;
    left: auto !important;
    color: #ffffff !important;
    opacity: 1 !important;
  }

  .ps-nav__mobile-tools .ps-locale-trigger,
  html[data-theme="light"] .ps-nav__mobile-tools .ps-locale-trigger,
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-locale-trigger {
    width: 112px !important;
    min-width: 112px !important;
    height: 38px !important;
    border: 1px solid #354252 !important;
    border-radius: 10px !important;
    background: #111c28 !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  .ps-nav__mobile-tools .ps-locale-trigger__currency,
  html[data-theme="light"] .ps-nav__mobile-tools .ps-locale-trigger__currency,
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-locale-trigger__currency {
    display: inline !important;
    color: #ffffff !important;
    opacity: 1 !important;
  }

  .ps-nav__mobile-tools .ps-locale-trigger__divider,
  html[data-theme="light"] .ps-nav__mobile-tools .ps-locale-trigger__divider,
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-locale-trigger__divider {
    display: block !important;
    background: #405064 !important;
  }

  .ps-partner-cta--menu {
    margin-top: 10px !important;
  }

  /* Search card: clean rounded outline and visible separators. */
  .ps-search__bar--find,
  html[data-theme="dark"] .ps-search__bar--find {
    border-radius: 18px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 18px) !important;
  }

  .ps-search__field {
    border-bottom: 1px solid #d6dbe2 !important;
  }

  html[data-theme="dark"] .ps-search__field {
    border-bottom-color: #545454 !important;
  }

  .ps-search__field:last-of-type {
    border-bottom: 0 !important;
  }

  /* Pickup, return, rental dates and filters use one exact modal surface. */
  body > .ps-custom-select__menu.ps-mobile-picker-portal,
  body > .ps-date-range-popover.ps-mobile-picker-portal,
  body > .ps-sidebar-filters.ps-mobile-filter-portal,
  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal,
  html[data-theme="dark"] body > .ps-custom-select__menu.ps-mobile-picker-portal,
  html[data-theme="dark"] body > .ps-date-range-popover.ps-mobile-picker-portal,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal {
    background: #272727 !important;
    color: #ffffff !important;
  }

  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-group,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-filter,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-classes,
  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer {
    background: #272727 !important;
  }

  .ps-custom-select__mobile-head,
  .ps-date-range-mobile-head,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading,
  .ps-custom-select__option,
  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer {
    border-color: #4a4a4a !important;
  }

  .ps-custom-select__mobile-head,
  .ps-date-range-mobile-head,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading {
    background: #272727 !important;
  }

  .ps-custom-select__mobile-close,
  .ps-date-range-mobile-head button,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading button {
    color: #ffffff !important;
  }

  body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option {
    width: calc(100% - 32px) !important;
    margin: 0 16px !important;
    background: transparent !important;
    color: #ffffff !important;
  }

  body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option:hover,
  body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option.is-selected {
    background: #313131 !important;
  }

  /* Mobile date picker: force the calendar back to a proper seven-column layout. */
  body > .ps-date-range-popover.ps-mobile-picker-portal:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-mobile-head {
    flex: 0 0 60px !important;
    width: 100% !important;
    min-height: 60px !important;
    box-sizing: border-box !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-calendars {
    flex: 1 0 auto !important;
    width: min(100%, 420px) !important;
    max-width: 420px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 18px 18px 176px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
    box-sizing: border-box !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-month {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    display: block !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-month__head {
    width: 100% !important;
    min-height: 38px !important;
    display: grid !important;
    grid-template-columns: 36px minmax(0,1fr) 36px !important;
    align-items: center !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-month__head strong {
    min-width: 0 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-grid {
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 8px !important;
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 3px 0 !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-weekday,
  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-empty,
  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day {
    width: auto !important;
    min-width: 0 !important;
    height: 38px !important;
    display: grid !important;
    place-items: center !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-weekday {
    color: #aeb5bd !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day {
    color: #ffffff !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day:disabled {
    color: #676d74 !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-in-range {
    background: rgba(85, 228, 93, .18) !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-start,
  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-end {
    border-radius: 8px !important;
    background: #55e45d !important;
    color: #081208 !important;
    font-weight: 800 !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer {
    position: sticky !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 8 !important;
    width: 100% !important;
    margin-top: auto !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px 10px !important;
    box-sizing: border-box !important;
    border-top: 1px solid #4a4a4a !important;
    box-shadow: 0 -8px 22px rgba(0,0,0,.18) !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 8px !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times label {
    min-width: 0 !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times select,
  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-time-picker__button {
    width: 100% !important;
    min-width: 0 !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-total {
    grid-column: 1 !important;
    color: #ffffff !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer > button {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    border-radius: 10px !important;
    background: #55e45d !important;
    color: #081208 !important;
  }

  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply {
    background: #55e45d !important;
    color: #081208 !important;
  }

  /* Restore the mobile vehicle card geometry from ui97. */
  .ps-mobile-vehicle-card {
    padding: 10px 12px 8px !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    row-gap: 6px !important;
  }

  .ps-mobile-vehicle-card__media {
    width: 108px !important;
    min-width: 108px !important;
    max-width: 108px !important;
    height: 84px !important;
    min-height: 84px !important;
    max-height: 84px !important;
  }

  .ps-mobile-vehicle-card__media img {
    object-position: left center !important;
  }

  .ps-mobile-vehicle-card__info {
    min-height: 84px !important;
    gap: 4px !important;
  }

  .ps-mobile-vehicle-card__meta {
    gap: 7px !important;
  }

  .ps-mobile-vehicle-card__meta span:last-child {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  .ps-mobile-vehicle-card__badges {
    margin-top: 4px !important;
    gap: 6px !important;
  }

  .ps-mobile-vehicle-card__badges > span {
    min-height: 24px !important;
    padding: 3px 9px !important;
  }

  .ps-mobile-vehicle-card__bottom {
    min-height: 42px !important;
    padding-top: 6px !important;
    grid-template-columns: minmax(0, 1fr) 68px 128px !important;
    gap: 8px !important;
  }

  .ps-mobile-vehicle-card__total {
    grid-column: 1 !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 5px !important;
  }

  .ps-mobile-vehicle-card__total > span {
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  .ps-mobile-vehicle-card__total strong {
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  .ps-mobile-vehicle-card__total small {
    font-size: 10px !important;
  }

  .ps-mobile-vehicle-card__daily {
    grid-column: 2 !important;
    text-align: left !important;
  }

  .ps-mobile-vehicle-card__daily strong {
    font-size: 15px !important;
  }

  .ps-mobile-vehicle-card__daily small {
    font-size: 9px !important;
  }

  .ps-mobile-vehicle-card__details {
    grid-column: 3 !important;
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
    justify-self: end !important;
  }
}
/* 2026-08-10 ui101: stable compact mobile sticky bar, responsive card prices and mobile control polish. */
@media (max-width: 767px) {
  /* Burger theme control keeps one dark shell; only the active icon/thumb animates. */
  .ps-nav__mobile-tools .ps-theme-toggle,
  html[data-theme="light"] .ps-nav__mobile-tools .ps-theme-toggle,
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-theme-toggle {
    position: relative !important;
    width: 70px !important;
    min-width: 70px !important;
    height: 38px !important;
    padding: 3px !important;
    overflow: hidden !important;
    border: 1px solid #354252 !important;
    border-radius: 20px !important;
    background: #111c28 !important;
    box-shadow: none !important;
  }

  .ps-nav__mobile-tools .ps-theme-toggle__thumb,
  html[data-theme="light"] .ps-nav__mobile-tools .ps-theme-toggle__thumb,
  html[data-theme="dark"] .ps-nav__mobile-tools .ps-theme-toggle__thumb {
    top: 3px !important;
    left: 3px !important;
    width: 30px !important;
    height: 30px !important;
    transition: transform .32s cubic-bezier(.22,1,.36,1), background-color .25s ease, box-shadow .25s ease !important;
  }

  .ps-nav__mobile-tools .ps-theme-toggle[aria-pressed="false"] .ps-theme-toggle__thumb {
    background: #ffffff !important;
    transform: translateX(0) !important;
    box-shadow: 0 2px 9px rgba(0,0,0,.22) !important;
  }

  .ps-nav__mobile-tools .ps-theme-toggle[aria-pressed="true"] .ps-theme-toggle__thumb {
    background: #2f59c9 !important;
    transform: translateX(32px) !important;
    box-shadow: 0 2px 9px rgba(0,0,0,.24) !important;
  }

  .ps-nav__mobile-tools .ps-theme-toggle[aria-pressed="false"] .ps-theme-toggle__icon--sun {
    color: #f4a600 !important;
    opacity: 1 !important;
    transform: rotate(0) scale(1) !important;
  }
  .ps-nav__mobile-tools .ps-theme-toggle[aria-pressed="false"] .ps-theme-toggle__icon--moon {
    color: #ffffff !important;
    opacity: .30 !important;
    transform: scale(.82) !important;
  }
  .ps-nav__mobile-tools .ps-theme-toggle[aria-pressed="true"] .ps-theme-toggle__icon--sun {
    color: #f4a600 !important;
    opacity: .32 !important;
    transform: rotate(-28deg) scale(.82) !important;
  }
  .ps-nav__mobile-tools .ps-theme-toggle[aria-pressed="true"] .ps-theme-toggle__icon--moon {
    color: #ffffff !important;
    opacity: 1 !important;
    transform: rotate(0) scale(1) !important;
  }

  .ps-partner-cta--menu {
    margin-top: 16px !important;
  }

  /* The original search block never changes its own height while scrolling. */
  .ps-mobile-search-sticky,
  .ps-mobile-search-sticky.is-stuck {
    position: relative !important;
    top: auto !important;
    z-index: 90 !important;
    padding: 0 !important;
    display: block !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Independent compact bar: fixed overlay means no layout shift / scroll jumping. */
  .ps-mobile-sticky-compact {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1750 !important;
    height: 58px !important;
    padding: 5px 4px 4px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 96px !important;
    gap: 4px !important;
    background: #16b88c !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.18) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    transition: opacity .16s ease, transform .18s ease, visibility 0s linear .18s !important;
    box-sizing: border-box !important;
  }

  .ps-mobile-sticky-compact.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition-delay: 0s !important;
  }

  body.ps-menu-open .ps-mobile-sticky-compact,
  body.ps-mobile-picker-open .ps-mobile-sticky-compact,
  body.ps-filters-open .ps-mobile-sticky-compact,
  body.ps-locale-open .ps-mobile-sticky-compact {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .ps-mobile-sticky-compact button {
    min-width: 0 !important;
    border: 0 !important;
    font-family: inherit !important;
    cursor: pointer !important;
  }

  .ps-mobile-sticky-compact__dates {
    height: 47px !important;
    padding: 7px 14px !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 5px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #2b2b2b !important;
    color: #ffffff !important;
    text-align: left !important;
  }

  .ps-mobile-sticky-compact__dates strong {
    min-width: 0 !important;
    overflow: hidden !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .ps-mobile-sticky-compact__dates small {
    flex: 0 0 auto !important;
    color: #d3d7dc !important;
    font-size: 9px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .ps-mobile-sticky-compact__filters {
    align-self: end !important;
    height: 45px !important;
    margin-top: 2px !important;
    padding: 0 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #344054 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 750 !important;
    text-align: center !important;
  }

  .ps-mobile-sticky-compact__filters svg {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
  }

  /* Light date sheet uses light text/surfaces; ui100 dark rules must not bleed into it. */
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal {
    background: #ffffff !important;
    color: #344054 !important;
  }
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-mobile-head,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer {
    background: #ffffff !important;
    color: #344054 !important;
    border-color: #e4e7ec !important;
  }
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-month__head,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day {
    color: #344054 !important;
  }
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-weekday {
    color: #667085 !important;
  }
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day:disabled {
    color: #c3cad4 !important;
  }
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-in-range {
    background: rgba(37, 110, 219, .10) !important;
    color: #344054 !important;
  }
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-start,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-end {
    background: var(--ps-mobile-blue) !important;
    color: #ffffff !important;
  }
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times label > span,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-total span {
    color: #667085 !important;
  }
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-total strong {
    color: #111827 !important;
  }
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer > button {
    background: var(--ps-mobile-blue) !important;
    color: #ffffff !important;
  }

  /* Keep selected language/currency readable on the green dark-theme selection. */
  html[data-theme="dark"] .ps-locale-grid a.is-active,
  html[data-theme="dark"] .ps-locale-grid button.is-active,
  html[data-theme="dark"] .ps-locale-grid a:hover,
  html[data-theme="dark"] .ps-locale-grid button:hover {
    background: #68de68 !important;
    color: #102010 !important;
  }
  html[data-theme="dark"] .ps-locale-grid a.is-active b,
  html[data-theme="dark"] .ps-locale-grid a.is-active span,
  html[data-theme="dark"] .ps-locale-grid button.is-active b,
  html[data-theme="dark"] .ps-locale-grid button.is-active span,
  html[data-theme="dark"] .ps-locale-grid a:hover b,
  html[data-theme="dark"] .ps-locale-grid a:hover span,
  html[data-theme="dark"] .ps-locale-grid button:hover b,
  html[data-theme="dark"] .ps-locale-grid button:hover span {
    color: #102010 !important;
  }

  /* Mobile card: deposit owns a separate row and prices remain stable in long currencies. */
  .ps-mobile-vehicle-card {
    padding: 10px 12px 8px !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 6px 12px !important;
  }
  .ps-mobile-vehicle-card__info {
    min-width: 0 !important;
    min-height: 84px !important;
    overflow: visible !important;
  }
  .ps-mobile-vehicle-card__badges {
    margin-top: 5px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px 7px !important;
  }
  .ps-mobile-vehicle-card__deposit {
    flex: 0 0 100% !important;
    width: max-content !important;
    max-width: 100% !important;
    min-height: 20px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 5px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    white-space: nowrap !important;
  }
  .ps-mobile-vehicle-card__deposit b {
    font-size: 10px !important;
    font-weight: 600 !important;
  }
  .ps-mobile-vehicle-card__deposit [data-price-thb] {
    font-size: 10.5px !important;
    font-weight: 700 !important;
  }
  .ps-mobile-vehicle-card__badges > .is-carplay {
    min-height: 22px !important;
    padding: 2px 8px !important;
  }

  .ps-mobile-vehicle-card__bottom {
    min-height: 52px !important;
    padding-top: 7px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px 124px !important;
    align-items: center !important;
    gap: 7px !important;
  }
  .ps-mobile-vehicle-card__total {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: baseline !important;
    justify-content: start !important;
    gap: 1px 5px !important;
    white-space: normal !important;
  }
  .ps-mobile-vehicle-card__total > span {
    grid-column: 1 !important;
    grid-row: 1 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
  }
  .ps-mobile-vehicle-card__total strong {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    font-size: clamp(16px, 4.7vw, 20px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }
  .ps-mobile-vehicle-card__total small {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin-top: 2px !important;
    font-size: 8px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  .ps-mobile-vehicle-card__daily {
    min-width: 0 !important;
    overflow: hidden !important;
    text-align: left !important;
  }
  .ps-mobile-vehicle-card__daily strong {
    max-width: 100% !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .ps-mobile-vehicle-card__daily small {
    margin-top: 3px !important;
    font-size: 8px !important;
    white-space: nowrap !important;
  }
  .ps-mobile-vehicle-card__details {
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    height: 42px !important;
    min-height: 42px !important;
    justify-self: end !important;
  }
}

@media (max-width: 360px) {
  .ps-mobile-sticky-compact { grid-template-columns: minmax(0,1fr) 88px !important; }
  .ps-mobile-sticky-compact__dates strong { font-size: 13px !important; }
  .ps-mobile-sticky-compact__filters { font-size: 11px !important; }
  .ps-mobile-vehicle-card__bottom {
    grid-template-columns: minmax(0, 1fr) 56px 112px !important;
    gap: 5px !important;
  }
  .ps-mobile-vehicle-card__details {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    font-size: 12px !important;
  }
  .ps-mobile-vehicle-card__total strong { font-size: 16px !important; }
  .ps-mobile-vehicle-card__daily strong { font-size: 11px !important; }
}

/* 2026-08-10 ui102: final mobile catalogue/search corrections. */
@media (min-width: 768px) {
  /* The reset action belongs to the mobile filter sheet. On desktop it was
     stretched by the sticky sidebar and rendered as a giant trash block. */
  .ps-sidebar-filters .ps-sidebar-actions {
    display: none !important;
  }
}

/* ui116: dedicated investor page. */
.ps-investor-page {
  background: #eef2f6;
}

.ps-investor-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 126px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(85, 228, 93, 0.25), transparent 34%),
    radial-gradient(circle at 18% 96%, rgba(43, 115, 223, 0.34), transparent 38%),
    linear-gradient(135deg, #111b28 0%, #172635 54%, #10271f 100%);
}

.ps-investor-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.ps-investor-hero .ps-shell {
  position: relative;
  z-index: 1;
}

.ps-investor-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.ps-investor-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.ps-investor-breadcrumbs a:hover {
  color: #75ec7b;
}

.ps-investor-breadcrumbs strong {
  color: #fff;
  font-weight: 700;
}

.ps-investor-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ps-investor-hero > .ps-shell > p {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.75vw, 22px);
  line-height: 1.5;
}

.ps-investor-content {
  padding: 0 0 84px;
  background: #eef2f6;
}

.ps-investor-content > .ps-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 34px;
  transform: translateY(-68px);
  margin-bottom: -68px;
}

.ps-investor-lead,
.ps-investor-market,
.ps-investor-benefits,
.ps-investor-process,
.ps-investor-risk {
  border: 1px solid #d9e1ea;
  border-radius: 28px;
  box-shadow: 0 22px 65px rgba(24, 39, 56, 0.1);
}

.ps-investor-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  background: #fff;
}

.ps-investor-lead__summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 46px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 8%, rgba(85, 228, 93, 0.2), transparent 36%),
    linear-gradient(145deg, #182331 0%, #111b27 100%);
}

.ps-investor-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2771db;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ps-investor-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.ps-investor-lead__summary .ps-investor-kicker {
  color: #6ee875;
}

.ps-investor-lead__summary h2 {
  margin: 16px 0 14px;
  color: #fff;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.ps-investor-lead__summary > p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.65;
}

.ps-investor-lead__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.ps-investor-lead__metrics div {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ps-investor-lead__metrics strong,
.ps-investor-lead__metrics span {
  display: block;
}

.ps-investor-lead__metrics strong {
  color: #fff;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.15;
  white-space: nowrap;
}

.ps-investor-lead__metrics span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.35;
}

.ps-investor-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 42px;
  background: #fff;
}

.ps-investor-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ps-investor-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #263445;
  font-size: 12px;
  font-weight: 700;
}

.ps-investor-form__wide {
  grid-column: 1 / -1;
}

.ps-investor-form input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  color: #152235;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  border: 1px solid #ced8e4;
  border-radius: 12px;
  background: #f8fafc;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ps-investor-form input::placeholder {
  color: #8a96a7;
}

.ps-investor-form input:focus {
  border-color: #2b73df;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 115, 223, 0.12);
}

.ps-investor-form input[type="number"] {
  appearance: textfield;
}

.ps-investor-form input[type="number"]::-webkit-outer-spin-button,
.ps-investor-form input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.ps-investor-form > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  border: 0;
  border-radius: 13px;
  background: #2b73df;
  box-shadow: 0 12px 24px rgba(43, 115, 223, 0.22);
  transition: transform 0.18s ease, background 0.18s ease;
}

.ps-investor-form > button:hover {
  transform: translateY(-1px);
  background: #1f64c9;
}

.ps-investor-form__note {
  margin: 14px 0 0;
  color: #7b8797;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.ps-investor-form__note a {
  color: #2b73df;
}

.ps-investor-form__success,
.ps-investor-form__errors {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.ps-investor-form__success {
  color: #146424;
  border: 1px solid #a7e2b0;
  background: #ebfaee;
}

.ps-investor-form__errors,
.ps-investor-form .errorlist {
  color: #b42318;
}

.ps-investor-form .errorlist {
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  list-style: none;
}

.ps-investor-market,
.ps-investor-benefits,
.ps-investor-process {
  padding: clamp(30px, 5vw, 58px);
  background: #fff;
}

.ps-investor-section-head {
  max-width: 780px;
}

.ps-investor-section-head h2 {
  margin: 14px 0 0;
  color: #172333;
  font-size: clamp(28px, 3.7vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ps-investor-section-head > p {
  margin: 17px 0 0;
  color: #647184;
  font-size: 16px;
  line-height: 1.65;
}

.ps-investor-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: 20px;
  background: #f7f9fc;
}

.ps-investor-stats div {
  min-width: 0;
  padding: 23px;
  border-right: 1px solid #dce4ed;
  border-bottom: 1px solid #dce4ed;
}

.ps-investor-stats div:nth-child(4n) {
  border-right: 0;
}

.ps-investor-stats div:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.ps-investor-stats strong,
.ps-investor-stats span {
  display: block;
}

.ps-investor-stats strong {
  color: #2771db;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.ps-investor-stats span {
  margin-top: 10px;
  color: #687588;
  font-size: 12px;
  line-height: 1.45;
}

.ps-investor-market__copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.ps-investor-market__copy p {
  margin: 0;
  color: #445166;
  font-size: 14px;
  line-height: 1.7;
}

.ps-investor-sources {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid #dbe4ed;
  border-radius: 16px;
  background: #f8fafc;
}

.ps-investor-sources > strong {
  color: #172333;
  font-size: 13px;
}

.ps-investor-sources > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
}

.ps-investor-sources a {
  color: #2771db;
  font-size: 12px;
  text-decoration: none;
}

.ps-investor-sources a:hover {
  text-decoration: underline;
}

.ps-investor-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.ps-investor-benefits__grid article {
  min-width: 0;
  min-height: 210px;
  padding: 25px;
  border: 1px solid #dce4ed;
  border-radius: 18px;
  background: #f8fafc;
}

.ps-investor-benefits__grid article > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #2771db;
  font-size: 12px;
  font-weight: 800;
  border-radius: 11px;
  background: #e7f0ff;
}

.ps-investor-benefits__grid h3 {
  margin: 22px 0 9px;
  color: #182536;
  font-size: 18px;
  line-height: 1.25;
}

.ps-investor-benefits__grid p {
  margin: 0;
  color: #637083;
  font-size: 13px;
  line-height: 1.65;
}

.ps-investor-process ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.ps-investor-process li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 17px;
  padding: 24px 0;
  border-top: 1px solid #dce4ed;
}

.ps-investor-process li > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #162435;
  font-size: 13px;
  font-weight: 800;
  border-radius: 15px;
  background: #55e45d;
}

.ps-investor-process h3 {
  margin: 0 0 7px;
  color: #182536;
  font-size: 17px;
}

.ps-investor-process p {
  margin: 0;
  color: #637083;
  font-size: 13px;
  line-height: 1.6;
}

.ps-investor-risk {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 28px 32px;
  color: #fff;
  border-color: #263b31;
  background: #14251c;
  box-shadow: none;
}

.ps-investor-risk__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #12251a;
  font-size: 24px;
  font-weight: 900;
  border-radius: 17px;
  background: #55e45d;
}

.ps-investor-risk h2 {
  margin: 1px 0 7px;
  color: #fff;
  font-size: 20px;
}

.ps-investor-risk p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

html[data-theme="dark"] .ps-investor-page,
html[data-theme="dark"] .ps-investor-content {
  background: #1c2026;
}

html[data-theme="dark"] .ps-investor-lead,
html[data-theme="dark"] .ps-investor-market,
html[data-theme="dark"] .ps-investor-benefits,
html[data-theme="dark"] .ps-investor-process {
  border-color: #37404b;
  background: #242a32;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .ps-investor-form {
  background: #242a32;
}

html[data-theme="dark"] .ps-investor-form label,
html[data-theme="dark"] .ps-investor-section-head h2,
html[data-theme="dark"] .ps-investor-sources > strong,
html[data-theme="dark"] .ps-investor-benefits__grid h3,
html[data-theme="dark"] .ps-investor-process h3 {
  color: #f3f6fa;
}

html[data-theme="dark"] .ps-investor-form input {
  color: #f7f9fc;
  border-color: #45505e;
  background: #1c222a;
}

html[data-theme="dark"] .ps-investor-form input:focus {
  border-color: #55e45d;
  background: #202730;
  box-shadow: 0 0 0 4px rgba(85, 228, 93, 0.1);
}

html[data-theme="dark"] .ps-investor-form > button {
  color: #102116;
  background: #55e45d;
  box-shadow: 0 12px 24px rgba(85, 228, 93, 0.13);
}

html[data-theme="dark"] .ps-investor-form > button:hover {
  background: #68e970;
}

html[data-theme="dark"] .ps-investor-form__note,
html[data-theme="dark"] .ps-investor-section-head > p,
html[data-theme="dark"] .ps-investor-market__copy p,
html[data-theme="dark"] .ps-investor-benefits__grid p,
html[data-theme="dark"] .ps-investor-process p {
  color: #a9b3c0;
}

html[data-theme="dark"] .ps-investor-form__note a,
html[data-theme="dark"] .ps-investor-kicker,
html[data-theme="dark"] .ps-investor-sources a,
html[data-theme="dark"] .ps-investor-stats strong {
  color: #65e86d;
}

html[data-theme="dark"] .ps-investor-stats,
html[data-theme="dark"] .ps-investor-benefits__grid article,
html[data-theme="dark"] .ps-investor-sources {
  border-color: #3d4652;
  background: #1e242c;
}

html[data-theme="dark"] .ps-investor-stats div,
html[data-theme="dark"] .ps-investor-process li {
  border-color: #3d4652;
}

html[data-theme="dark"] .ps-investor-stats span {
  color: #a6b0bd;
}

html[data-theme="dark"] .ps-investor-benefits__grid article > span {
  color: #6dea75;
  background: #1f3a2a;
}

html[data-theme="dark"] .ps-investor-form__success {
  color: #82ee89;
  border-color: #376c42;
  background: #1d3524;
}

@media (max-width: 980px) {
  .ps-investor-lead {
    grid-template-columns: 1fr;
  }

  .ps-investor-lead__summary,
  .ps-investor-form {
    padding: 36px;
  }

  .ps-investor-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-investor-stats div:nth-child(4n) {
    border-right: 1px solid #dce4ed;
  }

  .ps-investor-stats div:nth-child(2n) {
    border-right: 0;
  }

  .ps-investor-stats div:nth-last-child(-n + 4) {
    border-bottom: 1px solid #dce4ed;
  }

  .ps-investor-stats div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  html[data-theme="dark"] .ps-investor-stats div:nth-child(4n),
  html[data-theme="dark"] .ps-investor-stats div:nth-last-child(-n + 4) {
    border-color: #3d4652;
  }

  .ps-investor-market__copy,
  .ps-investor-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ps-investor-hero {
    padding: 88px 0 96px;
  }

  .ps-investor-breadcrumbs {
    gap: 7px;
    margin-bottom: 22px;
    font-size: 11px;
  }

  .ps-investor-hero h1 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .ps-investor-hero > .ps-shell > p {
    font-size: 16px;
  }

  .ps-investor-content > .ps-shell {
    gap: 20px;
    transform: translateY(-48px);
    margin-bottom: -48px;
  }

  .ps-investor-lead,
  .ps-investor-market,
  .ps-investor-benefits,
  .ps-investor-process,
  .ps-investor-risk {
    border-radius: 20px;
  }

  .ps-investor-lead__summary,
  .ps-investor-form,
  .ps-investor-market,
  .ps-investor-benefits,
  .ps-investor-process {
    padding: 24px 20px;
  }

  .ps-investor-lead__metrics {
    gap: 9px;
    margin-top: 25px;
  }

  .ps-investor-lead__metrics strong {
    font-size: 15px;
  }

  .ps-investor-lead__metrics span {
    font-size: 9px;
  }

  .ps-investor-form__grid,
  .ps-investor-market__copy,
  .ps-investor-benefits__grid,
  .ps-investor-process ol {
    grid-template-columns: 1fr;
  }

  .ps-investor-form__wide {
    grid-column: auto;
  }

  .ps-investor-stats {
    margin-top: 28px;
  }

  .ps-investor-stats div {
    padding: 17px;
  }

  .ps-investor-stats strong {
    font-size: 22px;
  }

  .ps-investor-market__copy,
  .ps-investor-benefits__grid,
  .ps-investor-process ol {
    gap: 12px;
    margin-top: 26px;
  }

  .ps-investor-benefits__grid article {
    min-height: 0;
    padding: 20px;
  }

  .ps-investor-process li {
    padding: 18px 0;
  }

  .ps-investor-sources {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .ps-investor-risk {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 20px;
  }

  .ps-investor-risk__icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
}

/* 2026-08-11 ui121: uncropped gallery, itemized extras and Trip-style
   insurance comparison. */
.ps-booking-vehicle__main-photo,
html[data-theme="light"] .ps-booking-vehicle__main-photo,
html[data-theme="dark"] .ps-booking-vehicle__main-photo {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-booking-vehicle__main-photo img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 390px !important;
  display: block;
  object-fit: contain !important;
  object-position: center bottom !important;
}

.ps-insurance-comparison-scroll {
  width: 100%;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--booking-border-strong) transparent;
}

.ps-insurance-comparison {
  min-width: 780px;
  display: grid;
  grid-template-columns: minmax(210px, 1.15fr) repeat(var(--insurance-package-count, 4), minmax(170px, 1fr));
  border: 1px solid var(--booking-border);
  border-radius: 14px;
  background: var(--booking-surface-alt);
  overflow: hidden;
}

.ps-insurance-comparison__corner,
.ps-insurance-comparison__package,
.ps-insurance-comparison__feature,
.ps-insurance-comparison__cell {
  min-width: 0;
  border-right: 1px solid var(--booking-border);
  border-bottom: 1px solid var(--booking-border);
  background: var(--booking-surface-alt);
}

.ps-insurance-comparison > :nth-child(4n) {
  border-right: 0;
}

.ps-insurance-comparison__corner,
.ps-insurance-comparison__package {
  min-height: 174px;
  padding: 16px 14px;
}

.ps-insurance-comparison__corner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ps-insurance-comparison__corner b,
.ps-insurance-comparison__corner small {
  display: block;
}

.ps-insurance-comparison__corner b {
  color: var(--booking-text) !important;
  font-size: 13px;
  line-height: 1.3;
}

.ps-insurance-comparison__corner small {
  margin-top: 7px;
  color: var(--booking-muted) !important;
  font-size: 9px;
  line-height: 1.45;
}

.ps-insurance-comparison__package {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  cursor: pointer;
}

.ps-insurance-comparison__package > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ps-insurance-comparison__radio {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid var(--booking-border-strong);
  border-radius: 50%;
  color: transparent !important;
  font-size: 11px;
  font-weight: 900;
}

.ps-insurance-comparison__package > b {
  padding: 0 21px;
  color: var(--booking-text) !important;
  font-size: 12px;
  line-height: 1.3;
}

.ps-insurance-comparison__package > small {
  min-height: 31px;
  margin-top: 5px;
  color: var(--booking-muted) !important;
  font-size: 8px;
  line-height: 1.35;
}

.ps-insurance-comparison__package > strong {
  min-height: 31px;
  margin-top: 9px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px;
  color: var(--booking-accent) !important;
  font-size: 12px;
  line-height: 1.25;
}

.ps-insurance-comparison__package > strong span {
  color: inherit !important;
}

.ps-insurance-comparison__package > strong em {
  color: var(--booking-muted) !important;
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
}

.ps-insurance-comparison__select {
  min-height: 28px;
  margin-top: auto;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--booking-accent);
  border-radius: 8px;
  color: var(--booking-accent) !important;
  font-size: 8px;
  font-weight: 850;
}

.ps-insurance-comparison__package.is-selected .ps-insurance-comparison__radio {
  border-color: var(--booking-accent);
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
}

.ps-insurance-comparison__package.is-selected .ps-insurance-comparison__select {
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
}

.ps-insurance-comparison__feature,
.ps-insurance-comparison__cell {
  min-height: 80px;
}

.ps-insurance-comparison__feature {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ps-insurance-comparison__feature b,
.ps-insurance-comparison__feature small {
  display: block;
}

.ps-insurance-comparison__feature b {
  color: var(--booking-text) !important;
  font-size: 10px;
  line-height: 1.35;
}

.ps-insurance-comparison__feature small {
  margin-top: 4px;
  color: var(--booking-muted) !important;
  font-size: 8px;
  line-height: 1.4;
}

.ps-insurance-comparison__cell {
  padding: 8px;
  display: grid;
  place-items: center;
  border-top: 0;
  border-left: 0;
  color: var(--booking-text) !important;
  font: inherit;
  cursor: pointer;
}

.ps-insurance-comparison__cell > strong {
  color: var(--booking-text) !important;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
}

.ps-insurance-coverage {
  width: 36px;
  height: 40px;
  display: grid;
  place-items: center;
}

.ps-insurance-coverage svg {
  width: 34px;
  height: 38px;
  overflow: visible;
  color: var(--booking-success);
}

.ps-insurance-coverage svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-insurance-coverage.is-uncovered i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 2px solid color-mix(in srgb, var(--booking-danger) 55%, transparent);
  border-radius: 50%;
  color: var(--booking-danger) !important;
  font-size: 25px;
  line-height: 1;
  font-style: normal;
  font-weight: 400;
}

.ps-insurance-column-cell.is-selected {
  background: color-mix(in srgb, var(--booking-accent) 8%, var(--booking-surface)) !important;
  box-shadow: inset 2px 0 var(--booking-accent), inset -2px 0 var(--booking-accent);
}

.ps-insurance-comparison__package.is-selected {
  box-shadow: inset 2px 0 var(--booking-accent), inset -2px 0 var(--booking-accent), inset 0 2px var(--booking-accent);
}

.ps-insurance-column-cell.is-selected.is-last-row {
  box-shadow: inset 2px 0 var(--booking-accent), inset -2px 0 var(--booking-accent), inset 0 -2px var(--booking-accent);
}

.ps-insurance-comparison__feature.is-last-row,
.ps-insurance-comparison__cell.is-last-row {
  border-bottom: 0;
}

.ps-booking-total__service-lines {
  margin-top: -1px;
  border-bottom: 1px solid var(--booking-border);
}

.ps-booking-total__service-lines:empty {
  display: none;
}

.ps-booking-total__service-lines > div {
  min-height: 34px;
  padding: 7px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed var(--booking-border);
}

.ps-booking-total__service-lines span,
.ps-booking-total__service-lines b {
  color: var(--booking-muted) !important;
  font-size: 9px;
  line-height: 1.35;
}

.ps-booking-total__service-lines b {
  flex: 0 0 auto;
  color: var(--booking-text) !important;
  font-weight: 800;
  text-align: right;
}

@media (max-width: 700px) {
  .ps-booking-vehicle__main-photo,
  html[data-theme="light"] .ps-booking-vehicle__main-photo,
  html[data-theme="dark"] .ps-booking-vehicle__main-photo {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .ps-booking-vehicle__main-photo img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .ps-insurance-comparison {
    min-width: 720px;
    grid-template-columns: 190px repeat(3, 176px);
  }

  .ps-insurance-comparison__corner,
  .ps-insurance-comparison__package {
    min-height: 166px;
    padding: 13px 10px;
  }

  .ps-insurance-comparison__feature,
  .ps-insurance-comparison__cell {
    min-height: 76px;
  }
}

/* 2026-08-11 ui126: single-canvas booking layout, expanded specifications and
   an editable rental place/time overlay. */
.ps-booking-configurator {
  --booking-bg: #fff;
  --booking-surface: #fff;
  --booking-surface-alt: #f4f5f7;
}

.ps-booking-configurator,
.ps-booking-configurator .ps-vehicle-sheet__topbar,
.ps-booking-vehicle,
.ps-booking-rental-summary,
.ps-booking-configurator__layout {
  background: var(--booking-bg) !important;
}

.ps-booking-vehicle {
  padding-bottom: 22px;
  border-bottom: 0;
}

.ps-booking-specs--expanded {
  margin-top: 30px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  overflow: visible;
}

.ps-booking-specs--expanded h2 {
  margin: 0 0 8px;
  color: var(--booking-text) !important;
  font-size: 18px;
  line-height: 1.25;
}

.ps-booking-specs--expanded dl {
  padding: 0;
}

.ps-booking-rental-summary {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 30px 8px;
}

.ps-booking-rental-summary > header {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ps-booking-rental-summary h2 {
  margin: 0;
  color: var(--booking-text) !important;
  font-size: 19px;
  line-height: 1.25;
}

.ps-booking-rental-summary > header > button {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--booking-text) !important;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.ps-booking-rental-summary > header > button:hover {
  background: var(--booking-accent-soft);
  color: var(--booking-accent) !important;
}

.ps-booking-rental-summary > header svg {
  width: 21px;
  height: 21px;
}

.ps-booking-rental-summary svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-booking-rental-summary__grid {
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 13px;
  background: var(--booking-surface-alt);
}

.ps-booking-rental-summary__grid article {
  min-width: 0;
  padding: 14px 16px;
}

.ps-booking-rental-summary__grid article + article {
  border-left: 1px solid var(--booking-border);
}

.ps-booking-rental-summary__grid span,
.ps-booking-rental-summary__grid strong,
.ps-booking-rental-summary__grid time {
  display: block;
}

.ps-booking-rental-summary__grid span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--booking-muted) !important;
  font-size: 10px;
  font-weight: 750;
}

.ps-booking-rental-summary__grid span svg {
  width: 14px;
  height: 14px;
}

.ps-booking-rental-summary__grid strong {
  margin-top: 7px;
  color: var(--booking-text) !important;
  font-size: 13px;
  line-height: 1.35;
}

.ps-booking-rental-summary__grid time {
  margin-top: 5px;
  color: var(--booking-text) !important;
  font-size: 12px;
  font-weight: 650;
}

.ps-booking-configurator__layout {
  padding-top: 16px;
  padding-bottom: 10px;
}

.ps-booking-configurator__main {
  gap: 0;
}

.ps-booking-section,
.ps-booking-total,
html[data-theme="dark"] .ps-booking-section,
html[data-theme="dark"] .ps-booking-total {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-booking-section {
  padding: 28px 0;
  overflow: visible;
  border-bottom: 1px solid var(--booking-border) !important;
}

.ps-booking-section:first-child {
  padding-top: 10px;
}

.ps-booking-section:last-child {
  border-bottom: 0 !important;
}

.ps-booking-total {
  padding: 4px 0 0 22px;
  border-left: 1px solid var(--booking-border) !important;
}

.ps-booking-conditions--bottom {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.ps-booking-conditions--bottom > div {
  margin: 0;
}

.ps-rental-editor[hidden] {
  display: none !important;
}

.ps-rental-editor {
  position: fixed;
  z-index: 80;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
}

.ps-rental-editor__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 12, 18, .72);
  backdrop-filter: blur(3px);
}

.ps-rental-editor__dialog {
  position: relative;
  width: min(590px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 24px;
  overflow-y: auto;
  border: 1px solid var(--booking-border);
  border-radius: 20px;
  background: var(--booking-surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
}

.ps-rental-editor__dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ps-rental-editor__dialog > header h2 {
  margin: 0;
  color: var(--booking-text) !important;
  font-size: 20px;
}

.ps-rental-editor__dialog > header button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--booking-text) !important;
  font: inherit;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.ps-rental-editor__group {
  margin-top: 24px;
}

.ps-rental-editor__group h3 {
  margin: 0 0 12px;
  color: var(--booking-text) !important;
  font-size: 16px;
}

.ps-rental-editor__group label {
  margin-top: 10px;
  display: block;
}

.ps-rental-editor__group label > span {
  margin: 0 0 -8px 12px;
  padding: 0 5px;
  position: relative;
  z-index: 1;
  display: table;
  background: var(--booking-surface);
  color: var(--booking-muted) !important;
  font-size: 9px;
}

.ps-rental-editor__group select,
.ps-rental-editor__group input {
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--booking-border-strong);
  border-radius: 11px;
  background: var(--booking-surface);
  color: var(--booking-text) !important;
  color-scheme: light;
  font: inherit;
  font-size: 13px;
}

html[data-theme="dark"] .ps-rental-editor__group select,
html[data-theme="dark"] .ps-rental-editor__group input {
  color-scheme: dark;
}

.ps-rental-editor__apply {
  min-width: 180px;
  min-height: 52px;
  margin: 24px 0 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

html[data-theme="dark"] .ps-booking-configurator {
  --booking-bg: #272727;
  --booking-surface: #272727;
  --booking-surface-alt: #323232;
}

html[data-theme="dark"] .ps-booking-specs--expanded,
html[data-theme="dark"] .ps-booking-configurator .ps-vehicle-sheet__topbar,
html[data-theme="dark"] .ps-booking-vehicle,
html[data-theme="dark"] .ps-booking-rental-summary,
html[data-theme="dark"] .ps-booking-configurator__layout {
  background: #272727 !important;
}

@media (max-width: 900px) {
  .ps-booking-total {
    padding: 24px 0 0;
    border-top: 1px solid var(--booking-border) !important;
    border-left: 0 !important;
  }
}

@media (max-width: 700px) {
  .ps-booking-rental-summary {
    padding: 16px 12px 4px;
  }

  .ps-booking-rental-summary__grid,
  .ps-booking-conditions--bottom {
    grid-template-columns: 1fr;
  }

  .ps-booking-rental-summary__grid article + article {
    border-top: 1px solid var(--booking-border);
    border-left: 0;
  }

  .ps-booking-configurator__layout {
    padding-top: 8px;
  }

  .ps-booking-section {
    padding: 24px 2px;
  }

  .ps-rental-editor {
    padding: 0;
    align-items: end;
  }

  .ps-rental-editor__dialog {
    width: 100%;
    max-height: calc(100dvh - 18px);
    padding: 20px 16px 18px;
    border-radius: 20px 20px 0 0;
  }

  .ps-rental-editor__apply {
    width: 100%;
  }
}

/* 2026-08-11 ui122: four insurance levels with a compact Full/Super view. */
.ps-insurance-comparison-shell {
  position: relative;
  padding-top: 54px;
}

.ps-insurance-expand {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  min-height: 42px;
  padding: 0 10px 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 13px;
  background: #2878ee;
  color: #fff !important;
  box-shadow: 0 9px 24px rgba(40, 120, 238, .32), 0 0 0 3px rgba(40, 120, 238, .12);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ps-insurance-expand:hover {
  transform: translateX(2px);
  background: #0d68ec;
  box-shadow: 0 11px 30px rgba(40, 120, 238, .42), 0 0 0 4px rgba(40, 120, 238, .15);
}

.ps-insurance-expand svg {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .2);
  transition: transform .22s ease;
}

.ps-insurance-expand path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-insurance-expand.is-expanded svg {
  transform: rotate(180deg);
}

html[data-theme="dark"] .ps-insurance-expand {
  background: #4de25b;
  color: #07180c !important;
  box-shadow: 0 9px 24px rgba(77, 226, 91, .28), 0 0 0 3px rgba(77, 226, 91, .12);
}

html[data-theme="dark"] .ps-insurance-expand:hover {
  background: #5bf069;
  box-shadow: 0 11px 30px rgba(77, 226, 91, .38), 0 0 0 4px rgba(77, 226, 91, .15);
}

.ps-insurance-comparison.is-compact {
  min-width: 600px;
  grid-template-columns: minmax(210px, 1.15fr) repeat(2, minmax(180px, 1fr));
}

.ps-insurance-comparison.is-expanded {
  min-width: 960px;
  grid-template-columns: minmax(210px, 1.15fr) repeat(var(--insurance-package-count, 4), minmax(170px, 1fr));
}

.ps-insurance-comparison.is-compact [data-insurance-role="act"],
.ps-insurance-comparison.is-compact [data-insurance-role="business"] {
  display: none;
}

.ps-insurance-comparison > *,
.ps-insurance-comparison > :nth-child(4n) {
  border-right: 1px solid var(--booking-border);
}

.ps-insurance-comparison [data-insurance-role="super"] {
  border-right: 0;
}

.ps-insurance-comparison__package.is-included {
  cursor: default;
  background: color-mix(in srgb, var(--booking-success) 7%, var(--booking-surface-alt));
}

.ps-insurance-comparison__mandatory {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--booking-success);
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
}

.ps-insurance-comparison__included {
  min-height: 28px;
  margin-top: auto;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--booking-success) 52%, var(--booking-border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--booking-success) 10%, transparent);
  color: var(--booking-success) !important;
  font-size: 8px;
  font-weight: 850;
}

.ps-insurance-comparison__cell.is-included {
  cursor: default;
  background: color-mix(in srgb, var(--booking-success) 4%, var(--booking-surface-alt));
}

@media (max-width: 700px) {
  .ps-insurance-comparison-shell {
    padding-top: 58px;
  }

  .ps-insurance-expand {
    left: 0;
    right: 0;
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    font-size: 11px;
  }

  .ps-insurance-comparison.is-compact {
    min-width: 560px;
    grid-template-columns: 184px repeat(2, 188px);
  }

  .ps-insurance-comparison.is-expanded {
    min-width: 920px;
    grid-template-columns: 184px repeat(var(--insurance-package-count, 4), 184px);
  }
}

/* 2026-08-11 ui117: calmer investor-page hierarchy. */
.ps-investor-hero {
  padding: 112px 0 124px;
  background-color: #142431;
  background-image: var(--ps-hero-image);
  background-position: center 44%;
  background-size: cover;
}

.ps-investor-hero::after {
  content: none !important;
  display: none !important;
}

.ps-investor-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 34, 47, .84) 0%, rgba(13, 34, 45, .62) 47%, rgba(13, 29, 37, .44) 100%),
    linear-gradient(180deg, rgba(4, 16, 23, .12), rgba(4, 15, 20, .5));
}

.ps-investor-page-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #d9e1ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(24, 39, 56, .1);
}

.ps-investor-page-nav a {
  position: relative;
  min-width: 0;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #293649;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.ps-investor-page-nav a + a {
  border-left: 1px solid #e1e7ee;
}

.ps-investor-page-nav a::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 12px;
  left: 22px;
  height: 2px;
  border-radius: 99px;
  background: #55e45d;
  opacity: 0;
  transform: scaleX(.55);
  transition: opacity .18s ease, transform .18s ease;
}

.ps-investor-page-nav a:hover,
.ps-investor-page-nav a:focus-visible {
  color: #172333;
  background: #f7fafc;
}

.ps-investor-page-nav a:hover::after,
.ps-investor-page-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

#tourism-market,
#participation-formats,
#working-with-us,
#investor-form {
  scroll-margin-top: 24px;
}

.ps-investor-benefits__grid {
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: 20px;
  background: #dce4ed;
}

.ps-investor-benefits__grid article {
  min-height: 0;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.ps-investor-benefit-mark {
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: #55e45d;
}

.ps-investor-benefits__grid h3 {
  margin: 22px 0 10px;
  font-size: 18px;
}

.ps-investor-benefits__grid p {
  max-width: 36em;
}

.ps-investor-process ol {
  gap: 0 38px;
}

.ps-investor-process li {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 17px;
  padding: 28px 0;
}

.ps-investor-process__dot {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #55e45d;
  box-shadow: 0 0 0 1px #55e45d, 0 0 0 6px rgba(85, 228, 93, .14);
}

.ps-investor-process h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.ps-investor-lead {
  margin-top: 2px;
}

html[data-theme="dark"] .ps-investor-page-nav {
  border-color: #37404b;
  background: #242a32;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .ps-investor-page-nav a {
  color: #e7ebf0;
}

html[data-theme="dark"] .ps-investor-page-nav a + a {
  border-left-color: #3d4652;
}

html[data-theme="dark"] .ps-investor-page-nav a:hover,
html[data-theme="dark"] .ps-investor-page-nav a:focus-visible {
  color: #fff;
  background: #2b323c;
}

html[data-theme="dark"] .ps-investor-benefits__grid {
  border-color: #3d4652;
  background: #3d4652;
}

html[data-theme="dark"] .ps-investor-benefits__grid article {
  background: #242a32;
}

html[data-theme="dark"] .ps-investor-process__dot {
  border-color: #242a32;
}

@media (max-width: 980px) {
  .ps-investor-page-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-investor-page-nav a:nth-child(3) {
    border-left: 0;
  }

  .ps-investor-page-nav a:nth-child(n + 3) {
    border-top: 1px solid #e1e7ee;
  }

  html[data-theme="dark"] .ps-investor-page-nav a:nth-child(n + 3) {
    border-top-color: #3d4652;
  }

  .ps-investor-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ps-investor-hero {
    padding: 88px 0 90px;
  }

  .ps-investor-page-nav {
    border-radius: 16px;
  }

  .ps-investor-page-nav a {
    min-height: 66px;
    padding: 15px 12px 18px;
    font-size: 11px;
  }

  .ps-investor-page-nav a::after {
    right: 14px;
    bottom: 10px;
    left: 14px;
  }

  .ps-investor-benefits__grid,
  .ps-investor-process ol {
    grid-template-columns: 1fr;
  }

  .ps-investor-benefits__grid article {
    padding: 24px 20px;
  }

  .ps-investor-process li {
    padding: 22px 0;
  }
}

@media (max-width: 767px) {
  /* Compact sticky search bar: use the requested green and keep the filter
     control a touch lower than the date control. */
  .ps-mobile-sticky-compact {
    background: #55e45d !important;
  }

  .ps-mobile-sticky-compact__filters {
    color: #111827 !important;
    transform: translateY(2px) !important;
  }

  .ps-mobile-sticky-compact__filters svg {
    color: #111827 !important;
    stroke: currentColor !important;
  }

  .ps-mobile-filter-trigger {
    margin: 7px 8px 12px !important;
  }

  html[data-theme="dark"] .ps-mobile-filter-trigger svg {
    color: #081208 !important;
    stroke: #081208 !important;
  }

  /* Pickup, return, rental dates and filters intentionally open on the exact
     same dark fullscreen surface in both light and dark site themes. */
  body > .ps-custom-select__menu.ps-mobile-picker-portal,
  body > .ps-date-range-popover.ps-mobile-picker-portal,
  body > .ps-sidebar-filters.ps-mobile-filter-portal,
  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal,
  html[data-theme="dark"] body > .ps-custom-select__menu.ps-mobile-picker-portal,
  html[data-theme="dark"] body > .ps-date-range-popover.ps-mobile-picker-portal,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal {
    background: #272727 !important;
    color: #ffffff !important;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__mobile-head,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-mobile-head,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-group,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-filter,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-classes {
    background: #272727 !important;
    color: #ffffff !important;
    border-color: #4a4a4a !important;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__mobile-head,
  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-mobile-head,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-month__head,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times label,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-total,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal h2,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal h3,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal label,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-filter-choice__label,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-filter__head,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-values label > span {
    color: #ffffff !important;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option:hover,
  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option.is-selected {
    background: #313131 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-weekday {
    color: #aeb5bd !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day:disabled {
    color: #676d74 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-in-range {
    background: rgba(85, 228, 93, .18) !important;
    color: #ffffff !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-start,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-end,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer > button,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply {
    background: #55e45d !important;
    color: #081208 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times label > span,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-total span {
    color: #aeb5bd !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-total strong {
    color: #ffffff !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times select,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-time-picker__button,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-value,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-value input {
    border-color: #4a4a4a !important;
    background: #313131 !important;
    color: #ffffff !important;
  }

  /* One authoritative mobile card layout. It removes inherited min-heights,
     keeps every row content-sized and gives Deposit/CarPlay desktop-like chips. */
  .ps-grid__item,
  .ps-listing-card--catalog,
  .ps-listing-card--catalog .ps-mobile-vehicle-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-self: start !important;
  }

  .ps-listing-card--catalog {
    overflow: hidden !important;
  }

  .ps-listing-card--catalog .ps-mobile-vehicle-card {
    padding: 12px !important;
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    grid-template-areas: "photo info" "bottom bottom" !important;
    column-gap: 12px !important;
    row-gap: 9px !important;
  }

  .ps-mobile-vehicle-card__media {
    width: 108px !important;
    min-width: 108px !important;
    max-width: 108px !important;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    background: #f4f5f7 !important;
  }

  html[data-theme="dark"] .ps-mobile-vehicle-card__media {
    background: #3b3b3b !important;
  }

  .ps-mobile-vehicle-card__media img,
  .ps-mobile-vehicle-card__media .ps-vehicle-placeholder {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .ps-mobile-vehicle-card__info {
    min-width: 0 !important;
    min-height: 88px !important;
    height: auto !important;
    gap: 5px !important;
    overflow: visible !important;
  }

  .ps-mobile-vehicle-card__title strong {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .ps-mobile-vehicle-card__badges {
    width: 100% !important;
    margin-top: 5px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .ps-mobile-vehicle-card__badges > span,
  .ps-mobile-vehicle-card__badges > .ps-mobile-vehicle-card__deposit,
  .ps-mobile-vehicle-card__badges > .is-carplay {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 25px !important;
    padding: 4px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    border: 1px solid #d5dae2 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    color: #344054 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  html[data-theme="dark"] .ps-mobile-vehicle-card__badges > span,
  html[data-theme="dark"] .ps-mobile-vehicle-card__badges > .ps-mobile-vehicle-card__deposit,
  html[data-theme="dark"] .ps-mobile-vehicle-card__badges > .is-carplay {
    border-color: #4a5260 !important;
    background: #2c323d !important;
    color: #eef2f7 !important;
  }

  .ps-mobile-vehicle-card__deposit b,
  .ps-mobile-vehicle-card__deposit [data-price-thb] {
    color: inherit !important;
    font-size: 10.5px !important;
    line-height: 1.1 !important;
  }

  .ps-mobile-vehicle-card__bottom {
    width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding-top: 9px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px 124px !important;
    align-items: center !important;
    gap: 7px !important;
    box-sizing: border-box !important;
  }

  .ps-mobile-vehicle-card__details {
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
}

@media (max-width: 390px) {
  .ps-listing-card--catalog .ps-mobile-vehicle-card {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    column-gap: 10px !important;
  }

  .ps-mobile-vehicle-card__media {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    height: 84px !important;
    min-height: 84px !important;
    max-height: 84px !important;
  }

  .ps-mobile-vehicle-card__bottom {
    grid-template-columns: minmax(0, 1fr) 58px 112px !important;
    gap: 5px !important;
  }

  .ps-mobile-vehicle-card__details {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
  }
}

/* 2026-08-10 ui104: one full-size mobile card, without a nested frame. */
@media (max-width: 767px) {
  .ps-grid {
    grid-auto-rows: auto !important;
    align-items: start !important;
  }

  .ps-grid__item {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
  }

  /* Restore the original article as the only card surface. */
  .ps-listing-card--catalog {
    width: 100% !important;
    height: auto !important;
    min-height: 240px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
    border: 1px solid #d7dde6 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
  }

  html[data-theme="dark"] .ps-listing-card--catalog {
    border-color: #2f684b !important;
    background: #20252e !important;
  }

  /* Fill the full outer card instead of drawing another card inside it. */
  .ps-listing-card--catalog .ps-mobile-vehicle-card {
    width: 100% !important;
    height: auto !important;
    min-height: 238px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr) !important;
    grid-template-rows: minmax(112px, auto) minmax(64px, auto) !important;
    grid-template-areas: "photo info" "bottom bottom" !important;
    column-gap: 14px !important;
    row-gap: 12px !important;
    align-items: start !important;
    align-content: space-between !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  html[data-theme="dark"] .ps-listing-card--catalog .ps-mobile-vehicle-card {
    border: 0 !important;
    background: transparent !important;
  }

  .ps-mobile-vehicle-card__media {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
    align-self: center !important;
  }

  .ps-mobile-vehicle-card__info {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 112px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    align-self: start !important;
  }

  .ps-mobile-vehicle-card__title {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 3px 7px !important;
  }

  .ps-mobile-vehicle-card__title strong {
    max-width: 100% !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .ps-mobile-vehicle-card__title > span {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .ps-mobile-vehicle-card__meta {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px 11px !important;
  }

  .ps-mobile-vehicle-card__meta span {
    max-width: 100% !important;
    overflow: visible !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .ps-mobile-vehicle-card__meta svg {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
  }

  .ps-mobile-vehicle-card__badges {
    width: 100% !important;
    margin-top: 1px !important;
    gap: 6px !important;
  }

  .ps-mobile-vehicle-card__badges > span,
  .ps-mobile-vehicle-card__badges > .ps-mobile-vehicle-card__deposit,
  .ps-mobile-vehicle-card__badges > .is-carplay {
    min-height: 28px !important;
    padding: 5px 9px !important;
    font-size: 11.5px !important;
  }

  .ps-mobile-vehicle-card__deposit b,
  .ps-mobile-vehicle-card__deposit [data-price-thb] {
    font-size: 11.5px !important;
  }

  .ps-mobile-vehicle-card__bottom {
    width: 100% !important;
    height: auto !important;
    min-height: 64px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 12px 0 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px 128px !important;
    align-items: center !important;
    gap: 8px !important;
    align-self: end !important;
    box-sizing: border-box !important;
  }

  .ps-mobile-vehicle-card__total > span {
    font-size: 11px !important;
  }

  .ps-mobile-vehicle-card__total strong {
    overflow: visible !important;
    font-size: clamp(20px, 5.4vw, 23px) !important;
    text-overflow: clip !important;
  }

  .ps-mobile-vehicle-card__total small {
    margin-top: 4px !important;
    font-size: 9.5px !important;
  }

  .ps-mobile-vehicle-card__daily {
    overflow: visible !important;
  }

  .ps-mobile-vehicle-card__daily strong {
    overflow: visible !important;
    font-size: 15px !important;
    text-overflow: clip !important;
  }

  .ps-mobile-vehicle-card__daily small {
    font-size: 9px !important;
  }

  .ps-mobile-vehicle-card__details {
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {
  .ps-listing-card--catalog {
    min-height: 232px !important;
  }

  .ps-listing-card--catalog .ps-mobile-vehicle-card {
    min-height: 230px !important;
    padding: 16px 14px !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    grid-template-rows: minmax(106px, auto) minmax(62px, auto) !important;
    column-gap: 12px !important;
    row-gap: 10px !important;
  }

  .ps-mobile-vehicle-card__media {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    height: 94px !important;
    min-height: 94px !important;
    max-height: 94px !important;
  }

  .ps-mobile-vehicle-card__info {
    min-height: 106px !important;
    gap: 6px !important;
  }

  .ps-mobile-vehicle-card__title strong {
    font-size: 18px !important;
  }

  .ps-mobile-vehicle-card__meta span,
  .ps-mobile-vehicle-card__badges > span,
  .ps-mobile-vehicle-card__deposit b,
  .ps-mobile-vehicle-card__deposit [data-price-thb] {
    font-size: 10.5px !important;
  }

  .ps-mobile-vehicle-card__bottom {
    min-height: 62px !important;
    grid-template-columns: minmax(0, 1fr) 56px 116px !important;
    gap: 6px !important;
  }

  .ps-mobile-vehicle-card__total strong {
    font-size: 19px !important;
  }

  .ps-mobile-vehicle-card__daily strong {
    font-size: 13px !important;
  }

  .ps-mobile-vehicle-card__details {
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    height: 48px !important;
    min-height: 48px !important;
    font-size: 13px !important;
  }
}

/* 2026-08-10 ui105: independent Trip-style mobile vehicle card. */
.ps-trip-card {
  display: none !important;
}

@media (max-width: 767px) {
  /* Desktop and mobile cards are now separate components. */
  .ps-grid__item > .ps-listing-card--catalog {
    display: none !important;
  }

  .ps-grid {
    grid-auto-rows: auto !important;
    align-items: start !important;
  }

  .ps-grid__item {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    align-self: start !important;
  }

  .ps-trip-card {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 14px 11px !important;
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    grid-template-areas: "media info" "bottom bottom" !important;
    column-gap: 14px !important;
    row-gap: 8px !important;
    align-items: start !important;
    overflow: hidden !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #172033 !important;
    box-shadow: 0 3px 12px rgba(16, 24, 40, .06) !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
  }

  html[data-theme="dark"] .ps-trip-card {
    border-color: #2f684b !important;
    background: #20252e !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  .ps-trip-card:focus-visible {
    outline: 2px solid #2b73df !important;
    outline-offset: 2px !important;
  }

  html[data-theme="dark"] .ps-trip-card:focus-visible {
    outline-color: #55e45d !important;
  }

  .ps-trip-card__media {
    grid-area: media !important;
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    align-self: center !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #f3f5f8 !important;
    text-decoration: none !important;
  }

  html[data-theme="dark"] .ps-trip-card__media {
    background: #3b3b3b !important;
  }

  .ps-trip-card__media img,
  .ps-trip-card__media .ps-vehicle-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .ps-trip-card__media .ps-vehicle-placeholder {
    display: grid !important;
    place-items: center !important;
  }

  .ps-trip-card__info {
    grid-area: info !important;
    min-width: 0 !important;
    min-height: 88px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 6px !important;
    align-self: center !important;
  }

  .ps-trip-card__title {
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 2px 6px !important;
  }

  .ps-trip-card__title strong {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 18px !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: -.025em !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .ps-trip-card__title > span {
    flex: 0 0 auto !important;
    color: #7d899a !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
  }

  html[data-theme="dark"] .ps-trip-card__title > span {
    color: #aeb6c3 !important;
  }

  .ps-trip-card__meta {
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 9px !important;
  }

  .ps-trip-card__meta span {
    min-width: 0 !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .ps-trip-card__meta svg {
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
  }

  .ps-trip-card__badges {
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .ps-trip-card__badges > span {
    min-width: 0 !important;
    min-height: 24px !important;
    padding: 3px 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    overflow: hidden !important;
    border: 1px solid #d2d8e2 !important;
    border-radius: 7px !important;
    background: #f7f9fc !important;
    color: #344054 !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  html[data-theme="dark"] .ps-trip-card__badges > span {
    border-color: #4a5260 !important;
    background: #2c323d !important;
    color: #eef2f7 !important;
  }

  .ps-trip-card__deposit b,
  .ps-trip-card__deposit [data-price-thb] {
    color: inherit !important;
    font: inherit !important;
    font-weight: 700 !important;
  }

  .ps-trip-card__bottom {
    grid-area: bottom !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 8px 0 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 62px 120px !important;
    align-items: center !important;
    gap: 7px !important;
    border-top: 1px solid #e1e6ed !important;
    box-sizing: border-box !important;
  }

  html[data-theme="dark"] .ps-trip-card__bottom {
    border-top-color: #3d4550 !important;
  }

  .ps-trip-card__total {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: baseline !important;
    gap: 1px 5px !important;
  }

  .ps-trip-card__total > span {
    grid-column: 1 !important;
    grid-row: 1 !important;
    color: inherit !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .ps-trip-card__total strong {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: inherit !important;
    font-size: clamp(18px, 5vw, 21px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .ps-trip-card__total small {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin-top: 2px !important;
    color: #8b95a7 !important;
    font-size: 8px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .ps-trip-card__daily {
    min-width: 0 !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  .ps-trip-card__daily strong {
    max-width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    color: inherit !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .ps-trip-card__daily small {
    margin-top: 3px !important;
    display: block !important;
    color: #8b95a7 !important;
    font-size: 8px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .ps-trip-card__details {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    justify-self: end !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #2b73df !important;
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  html[data-theme="dark"] .ps-trip-card__details {
    background: #55e45d !important;
    color: #081208 !important;
  }
}

@media (max-width: 390px) {
  .ps-trip-card {
    padding: 11px 12px 10px !important;
    grid-template-columns: 100px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    row-gap: 7px !important;
  }

  .ps-trip-card__media {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;
  }

  .ps-trip-card__info {
    min-height: 82px !important;
    gap: 5px !important;
  }

  .ps-trip-card__title strong {
    font-size: 17px !important;
  }

  .ps-trip-card__meta {
    gap: 3px 7px !important;
  }

  .ps-trip-card__meta span {
    font-size: 10px !important;
  }

  .ps-trip-card__badges > span {
    min-height: 23px !important;
    padding: 3px 6px !important;
    font-size: 9.5px !important;
  }

  .ps-trip-card__bottom {
    min-height: 48px !important;
    grid-template-columns: minmax(0, 1fr) 54px 112px !important;
    gap: 5px !important;
  }

  .ps-trip-card__total strong {
    font-size: 18px !important;
  }

  .ps-trip-card__daily strong {
    font-size: 12px !important;
  }

  .ps-trip-card__details {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    height: 40px !important;
    min-height: 40px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 350px) {
  .ps-trip-card {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    padding-inline: 10px !important;
  }

  .ps-trip-card__media {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
  }

  .ps-trip-card__bottom {
    grid-template-columns: minmax(0, 1fr) 50px 104px !important;
    gap: 4px !important;
  }

  .ps-trip-card__details {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
  }
}

/* 2026-08-10 ui106: clean mobile search outline and inset separators. */
@media (max-width: 767px) {
  .ps-market .ps-search__bar--find .ps-search__field {
    position: relative !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }

  .ps-market .ps-search__bar--find .ps-search__field--select::after {
    content: "" !important;
    position: absolute !important;
    right: 18px !important;
    bottom: 0 !important;
    left: 18px !important;
    height: 1px !important;
    background: #d6dbe2 !important;
    pointer-events: none !important;
  }

  html[data-theme="dark"] .ps-market .ps-search__bar--find .ps-search__field--select::after {
    background: #5a5a5a !important;
  }
}

/* 2026-08-10 ui107: a real light theme for every mobile search sheet. */
@media (max-width: 767px) {
  html[data-theme="light"] {
    --ps-mobile-portal-bg: #f4f7fb;
    --ps-mobile-portal-card: #ffffff;
    --ps-mobile-portal-text: #172033;
    --ps-mobile-portal-muted: #667085;
    --ps-mobile-portal-line: #dfe5ed;
    --ps-mobile-portal-blue: #2b73df;
  }

  html[data-theme="dark"] {
    --ps-mobile-portal-bg: #272727;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal {
    background: var(--ps-mobile-portal-bg) !important;
    color: var(--ps-mobile-portal-text) !important;
  }

  /* Shared light header for pickup, return, dates and filters. */
  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__mobile-head,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-mobile-head,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading {
    min-height: 58px !important;
    padding: 0 16px !important;
    background: #ffffff !important;
    color: #172033 !important;
    border-color: var(--ps-mobile-portal-line) !important;
    box-shadow: 0 3px 12px rgba(16, 24, 40, .05) !important;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__mobile-head strong,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-mobile-head strong,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading h2 {
    color: #172033 !important;
    font-size: 19px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__mobile-close,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-mobile-head button,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading button {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #eef2f7 !important;
    color: #172033 !important;
    font-size: 25px !important;
  }

  /* Pickup and return selection. */
  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option {
    width: calc(100% - 24px) !important;
    min-height: 54px !important;
    margin: 0 12px !important;
    padding: 0 14px !important;
    justify-content: space-between !important;
    border-color: var(--ps-mobile-portal-line) !important;
    background: #ffffff !important;
    color: #243047 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__mobile-head + .ps-custom-select__option {
    margin-top: 12px !important;
    border-radius: 12px 12px 0 0 !important;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option:last-child {
    margin-bottom: 12px !important;
    border-bottom: 0 !important;
    border-radius: 0 0 12px 12px !important;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option:hover,
  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option.is-selected {
    background: #eaf2ff !important;
    color: #174f9f !important;
  }

  html[data-theme="light"] body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option.is-selected::after {
    content: "✓" !important;
    color: var(--ps-mobile-portal-blue) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
  }

  /* Rental dates. */
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-calendars {
    padding: 14px 12px 176px !important;
    gap: 14px !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-month {
    padding: 12px 10px 14px !important;
    border: 1px solid var(--ps-mobile-portal-line) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 24, 40, .05) !important;
    box-sizing: border-box !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-month__head,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-month__head strong,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day {
    color: #172033 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-nav {
    border-radius: 9px !important;
    background: #eef2f7 !important;
    color: #344054 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-weekday {
    color: #7b8798 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day:disabled {
    color: #c4ccd7 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day:not(:disabled):hover {
    border-radius: 8px !important;
    background: #eef4fd !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-in-range {
    background: #e6f0ff !important;
    color: #172033 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-start,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-calendar-day.is-end {
    border-radius: 8px !important;
    background: var(--ps-mobile-portal-blue) !important;
    color: #ffffff !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer {
    background: #ffffff !important;
    color: #172033 !important;
    border-color: var(--ps-mobile-portal-line) !important;
    box-shadow: 0 -8px 22px rgba(16, 24, 40, .09) !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times label,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-total {
    color: #172033 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times label > span,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-total span {
    color: var(--ps-mobile-portal-muted) !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-total strong {
    color: #111827 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-times select,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-time-picker__button {
    min-height: 44px !important;
    border: 1px solid #d6dee9 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    color: #172033 !important;
  }

  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer > button {
    min-height: 46px !important;
    background: var(--ps-mobile-portal-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(43, 115, 223, .22) !important;
  }

  /* Filters: clean cards instead of dark flat blocks. */
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box {
    padding: 0 12px 92px !important;
    background: var(--ps-mobile-portal-bg) !important;
    color: var(--ps-mobile-portal-text) !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading {
    margin: 0 -12px 12px !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-group,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-filter,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions {
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 14px !important;
    border: 1px solid var(--ps-mobile-portal-line) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #172033 !important;
    box-shadow: 0 3px 12px rgba(16, 24, 40, .04) !important;
    box-sizing: border-box !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-group + .ps-sidebar-group::before {
    content: none !important;
    display: none !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal h2,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal h3,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal label,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-filter-choice__label,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-filter__head {
    color: #172033 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-group > h3,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-filter__head {
    margin-bottom: 12px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-classes > h3 {
    display: none !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-class-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-class-tabs button {
    min-height: 82px !important;
    padding: 9px 10px !important;
    border: 1px solid #d5deea !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: #243047 !important;
    box-shadow: none !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-class-tabs button.is-selected {
    border-color: var(--ps-mobile-portal-blue) !important;
    background: #edf4ff !important;
    box-shadow: 0 0 0 2px rgba(43, 115, 223, .12) !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-class-tabs button > span {
    color: #243047 !important;
    font-size: 13px !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-class-tabs__icon {
    width: 68px !important;
    max-width: 68px !important;
    height: 30px !important;
    max-height: 30px !important;
    filter: none !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-class-tabs button > small {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    color: #667085 !important;
    background: #ffffff !important;
    box-shadow: inset 0 0 0 2px #dbe3ee !important;
    font-size: 12px !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-filter-choice {
    min-height: 36px !important;
    padding: 5px 2px !important;
    color: #243047 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-filter-choice__box {
    border: 1px solid #b9c5d4 !important;
    background: #ffffff !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-filter-choice input:checked + .ps-filter-choice__box {
    border-color: var(--ps-mobile-portal-blue) !important;
    background: var(--ps-mobile-portal-blue) !important;
    box-shadow: 0 0 0 2px rgba(43, 115, 223, .12) !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-filter-choice small {
    color: #8490a3 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-filter__head h3 {
    color: #172033 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-filter__head button {
    color: var(--ps-mobile-portal-blue) !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-histogram i {
    background: #dbe3ee !important;
    opacity: 1 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-histogram i.is-selected {
    background: #6f9fe8 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-slider__track {
    background: #d5deea !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-slider__range {
    background: var(--ps-mobile-portal-blue) !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-slider input[type="range"]::-webkit-slider-thumb {
    border-color: var(--ps-mobile-portal-blue) !important;
    background: #ffffff !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-slider input[type="range"]::-moz-range-thumb {
    border-color: var(--ps-mobile-portal-blue) !important;
    background: #ffffff !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-values label > span:first-child {
    background: #ffffff !important;
    color: #667085 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-value {
    height: 42px !important;
    min-height: 42px !important;
    border: 1px solid #cfd8e5 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-value input,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-price-value b {
    background: transparent !important;
    color: #172033 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions a {
    min-height: 42px !important;
    border: 1px solid #cfe0fb !important;
    background: #edf4ff !important;
    color: #215fb9 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply {
    gap: 4px !important;
    background: var(--ps-mobile-portal-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 7px 20px rgba(43, 115, 223, .28) !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply b {
    color: inherit !important;
    font: inherit !important;
  }
}

/* 2026-08-10 ui108: viewport-bound desktop filters and sticky search. */
@media (min-width: 768px) {
  .ps-mobile-search-sticky {
    position: sticky !important;
    top: 0 !important;
    z-index: 1500 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 8px !important;
    background: #f2f3f5 !important;
    box-shadow: 0 10px 16px -16px rgba(15, 23, 42, .32) !important;
  }

  html[data-theme="dark"] .ps-mobile-search-sticky {
    background: #272727 !important;
    box-shadow: 0 10px 16px -16px rgba(0, 0, 0, .72) !important;
  }

  /* The wrapper owns sticky positioning; the child must not be constrained by
     its own one-row containing block. */
  .ps-market .ps-search {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
  }

  .ps-market .ps-search__bar--find .ps-search__field {
    border: 0 !important;
    border-right: 1px solid #d3dae4 !important;
    border-radius: 0 !important;
  }

  html[data-theme="dark"] .ps-market .ps-search__bar--find .ps-search__field {
    border-right-color: #666a70 !important;
  }

  .ps-market .ps-search__bar--find .ps-search__field:first-child {
    border-top-left-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
  }

  .ps-market-layout {
    align-items: start !important;
    overflow: visible !important;
  }

  .ps-sidebar-filters {
    position: sticky !important;
    top: calc(var(--ps-sticky-search-height, 78px) + 8px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    overflow: hidden !important;
    align-self: start !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    padding-bottom: 14px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-gutter: stable !important;
    box-sizing: border-box !important;
  }

  /* The reset action belongs at the real end of the scrollable filter list. */
  .ps-sidebar-filters .ps-sidebar-actions {
    order: 20 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 6px 0 0 !important;
    padding: 14px 0 0 !important;
    display: block !important;
    border-top: 1px solid #d8dfe8 !important;
    background: transparent !important;
  }

  html[data-theme="dark"] .ps-sidebar-filters .ps-sidebar-actions {
    border-top-color: #535a64 !important;
  }

  .ps-sidebar-filters .ps-sidebar-actions a {
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: 1px solid #cadcf7 !important;
    border-radius: 10px !important;
    background: #eef5ff !important;
    color: #2566c4 !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .ps-sidebar-filters .ps-sidebar-actions a svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  html[data-theme="dark"] .ps-sidebar-filters .ps-sidebar-actions a {
    border-color: rgba(104, 222, 104, .32) !important;
    background: rgba(104, 222, 104, .08) !important;
    color: #68de68 !important;
  }
}

/* 2026-08-10 ui109: one clear trash icon everywhere filters can be reset. */
.ps-sidebar-actions a svg {
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  overflow: visible !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.15 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ps-active-filters__reset {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.ps-active-filters__reset::before {
  content: "" !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  display: inline-block !important;
  background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M7 7l1 13h8l1-13M10 11v5M14 11v5'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M7 7l1 13h8l1-13M10 11v5M14 11v5'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* 2026-08-11 ui110: desktop cleanup and final mobile alignment. */
@media (min-width: 768px) {
  /* This control is created for the mobile sticky search only. */
  .ps-mobile-sticky-compact {
    display: none !important;
  }

  /* Shrink the filter surface to its content when the list is short, while
     preserving the viewport limit and independent scrolling for long lists. */
  .ps-sidebar-filters {
    height: fit-content !important;
    block-size: fit-content !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    height: fit-content !important;
    block-size: fit-content !important;
    padding-bottom: 14px !important;
  }
}

@media (max-width: 767px) {
  /* Light and dark themes keep their own sticky-bar accent. */
  html[data-theme="light"] .ps-mobile-sticky-compact {
    background: #2b73df !important;
  }

  html[data-theme="dark"] .ps-mobile-sticky-compact {
    background: #55e45d !important;
  }

  .ps-mobile-sticky-compact__filters {
    align-self: center !important;
    height: 47px !important;
    margin-top: 0 !important;
    transform: none !important;
  }

  /* Keep the apply label as three readable, evenly spaced parts. */
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply {
    gap: 5px !important;
    white-space: nowrap !important;
  }

  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply span,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply b {
    display: inline-block !important;
    line-height: 1.1 !important;
  }

  /* Give both price summaries real room and never crop the daily caption. */
  .ps-trip-card__bottom {
    min-height: 54px !important;
    grid-template-columns: minmax(0, 1fr) 72px 120px !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .ps-trip-card__total,
  .ps-trip-card__daily {
    min-width: 0 !important;
    align-self: stretch !important;
    align-content: center !important;
    overflow: visible !important;
  }

  .ps-trip-card__total strong,
  .ps-trip-card__daily strong,
  .ps-trip-card__daily small {
    max-width: none !important;
    overflow: visible !important;
    line-height: 1.15 !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .ps-trip-card__daily {
    display: grid !important;
    grid-template-rows: auto auto !important;
    justify-items: start !important;
    gap: 3px !important;
    padding-left: 2px !important;
    box-sizing: border-box !important;
  }

  .ps-trip-card__daily small {
    min-height: 10px !important;
    margin-top: 0 !important;
    display: block !important;
  }
}

@media (max-width: 390px) {
  .ps-trip-card__bottom {
    grid-template-columns: minmax(0, 1fr) 64px 112px !important;
    gap: 6px !important;
  }
}

@media (max-width: 350px) {
  .ps-trip-card__bottom {
    grid-template-columns: minmax(0, 1fr) 60px 104px !important;
    gap: 5px !important;
  }

  .ps-trip-card__total strong {
    font-size: 17px !important;
  }
}

/* 2026-08-11 ui111: bottom-anchored filter reset and two-row prices. */
@media (min-width: 768px) {
  /* The sidebar still owns its viewport-sized independent scroll area, but the
     reset action now finishes at the actual bottom instead of above a void. */
  .ps-sidebar-filters {
    height: calc(100vh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    block-size: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    height: 100% !important;
    block-size: 100% !important;
    padding-bottom: 8px !important;
  }

  .ps-sidebar-filters .ps-sidebar-actions {
    margin-top: auto !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  /* Reserve only the real fixed-footer height and anchor reset directly above
     it in both light and dark mobile sheets. */
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding-bottom: 74px !important;
  }

  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions {
    margin-top: auto !important;
    margin-bottom: 0 !important;
  }

  /* In the light theme both controls are white; the dark theme keeps its dark
     date control, while Filters remains the same clean white button. */
  html[data-theme="light"] .ps-mobile-sticky-compact__dates {
    background: #ffffff !important;
    color: #172033 !important;
  }

  html[data-theme="light"] .ps-mobile-sticky-compact__dates small {
    color: #667085 !important;
  }

  html[data-theme="light"] .ps-mobile-sticky-compact__filters,
  html[data-theme="dark"] .ps-mobile-sticky-compact__filters {
    background: #ffffff !important;
    color: #111827 !important;
  }

  html[data-theme="light"] .ps-mobile-sticky-compact__filters svg,
  html[data-theme="dark"] .ps-mobile-sticky-compact__filters svg {
    color: #111827 !important;
    stroke: currentColor !important;
  }

  /* A solid dark footer prevents the last checkbox row from showing through
     around the fixed green action. */
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    background: #55e45d !important;
    color: #081208 !important;
    box-shadow: 0 0 0 12px #272727, 0 -8px 20px rgba(0, 0, 0, .20) !important;
  }

  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply span,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-filter-apply b {
    font: inherit !important;
  }

  /* First row: labels. Second row: amounts. Rental duration stays below the
     total without shifting the daily price. */
  .ps-trip-card__bottom {
    min-height: 66px !important;
    grid-template-columns: minmax(0, 1fr) 76px 120px !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .ps-trip-card__total,
  .ps-trip-card__daily {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 12px auto auto !important;
    align-content: center !important;
    justify-items: start !important;
    gap: 4px !important;
    padding: 0 !important;
  }

  .ps-trip-card__total > span,
  .ps-trip-card__daily small {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 12px !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: 9.5px !important;
    line-height: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .ps-trip-card__total strong,
  .ps-trip-card__daily strong {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    line-height: 1.05 !important;
  }

  .ps-trip-card__total small {
    grid-column: 1 !important;
    grid-row: 3 !important;
    min-height: 9px !important;
    margin: 0 !important;
    line-height: 9px !important;
  }

  .ps-trip-card__daily strong {
    font-size: 14px !important;
  }
}

@media (max-width: 390px) {
  .ps-trip-card__bottom {
    grid-template-columns: minmax(0, 1fr) 68px 112px !important;
    gap: 6px !important;
  }
}

@media (max-width: 350px) {
  .ps-trip-card__bottom {
    grid-template-columns: minmax(0, 1fr) 62px 104px !important;
    gap: 5px !important;
  }
}

/* 2026-08-11 ui112: finished mobile pricing, compact filter ending and
   reference-style vehicle details. */
@media (max-width: 767px) {
  /* In dark mode both compact controls use the same graphite surface. */
  html[data-theme="dark"] .ps-mobile-sticky-compact__filters {
    background: #2b2b2b !important;
    color: #ffffff !important;
  }

  html[data-theme="dark"] .ps-mobile-sticky-compact__filters svg {
    color: #ffffff !important;
    stroke: currentColor !important;
  }

  /* The filter content determines its own height. The old viewport-sized box
     was the source of the empty field below Reset. */
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box {
    height: auto !important;
    min-height: 0 !important;
    block-size: auto !important;
    padding-bottom: 84px !important;
  }

  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions {
    flex: 0 0 auto !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
  }

  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-actions {
    margin-top: 24px !important;
  }

  /* Duration now sits beside “Total”; both amounts share the details-button
     accent, while the duration word remains readable in each theme. */
  .ps-trip-card__total {
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-rows: 12px auto !important;
    column-gap: 5px !important;
    row-gap: 4px !important;
  }

  .ps-trip-card__total > span {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .ps-trip-card__total small {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-height: 12px !important;
    line-height: 12px !important;
    white-space: nowrap !important;
  }

  .ps-trip-card__total small b {
    color: inherit !important;
    font: inherit !important;
    font-weight: 800 !important;
  }

  .ps-trip-card__total strong {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  html[data-theme="light"] .ps-trip-card__total small {
    color: #111827 !important;
  }

  html[data-theme="dark"] .ps-trip-card__total small {
    color: #ffffff !important;
  }

  html[data-theme="light"] .ps-trip-card__total strong,
  html[data-theme="light"] .ps-trip-card__daily strong,
  html[data-theme="light"] .ps-trip-card__total small b {
    color: #2b73df !important;
  }

  html[data-theme="dark"] .ps-trip-card__total strong,
  html[data-theme="dark"] .ps-trip-card__daily strong,
  html[data-theme="dark"] .ps-trip-card__total small b {
    color: #55e45d !important;
  }
}

/* Vehicle details load into a bounded, independently scrolling dialog. */
.ps-vehicle-modal {
  padding: 18px !important;
  align-items: flex-start !important;
}

.ps-vehicle-modal__dialog,
html[data-theme="dark"] .ps-vehicle-modal__dialog {
  width: min(1120px, calc(100vw - 36px)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100vh - 36px) !important;
  max-height: calc(100dvh - 36px) !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  color: #30394a !important;
}

.ps-vehicle-modal__body {
  max-height: calc(100vh - 36px) !important;
  max-height: calc(100dvh - 36px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

.ps-vehicle-modal__content {
  min-height: 0 !important;
}

.ps-vehicle-modal__status {
  min-height: 360px !important;
  padding: 48px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  text-align: center !important;
}

.ps-vehicle-modal__fallback {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #2b73df;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ps-ref-detail,
html[data-theme="dark"] .ps-ref-detail {
  min-height: 100%;
  background: #ffffff !important;
  color: #30394a !important;
}

.ps-ref-detail__topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 58px;
  padding: 0 12px !important;
  grid-template-columns: 34px minmax(0, 1fr) 34px !important;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
}

.ps-ref-detail__back,
.ps-ref-detail__close {
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #30394a;
  cursor: pointer;
}

.ps-ref-detail__back:hover,
.ps-ref-detail__close:hover {
  background: #f0f2f5;
}

.ps-ref-detail__back svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-ref-detail__close {
  font-size: 28px;
  line-height: 1;
}

.ps-ref-detail__layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr) !important;
  gap: 30px !important;
  padding: 22px 30px 38px !important;
}

.ps-ref-detail__title-row h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.ps-ref-detail__title-row h1 small {
  color: #8a93a3 !important;
  font-size: 14px;
  font-weight: 600;
}

.ps-ref-detail__actions button svg,
.ps-ref-feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-ref-gallery__main {
  height: 330px !important;
  border-radius: 14px;
  background: #fbfbfc;
}

.ps-ref-features {
  margin-top: 14px !important;
  padding: 12px 8px;
  border: 1px solid #e5e8ed;
  border-radius: 12px;
  background: #ffffff;
}

.ps-ref-feature-icon {
  width: 36px !important;
  height: 36px !important;
}

.ps-ref-rental,
.ps-ref-insurance,
.ps-ref-services {
  margin-top: 28px;
}

.ps-ref-rental h2,
.ps-ref-insurance h2,
.ps-ref-services h2 {
  margin: 0 0 14px;
  color: #30394a !important;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

.ps-ref-rental__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #e2e6eb;
  border-radius: 12px;
  background: #f5f6f8;
}

.ps-ref-rental__grid article {
  min-width: 0;
  padding: 14px 16px;
}

.ps-ref-rental__grid article + article {
  border-left: 1px solid #dde2e8;
}

.ps-ref-rental__grid span,
.ps-ref-rental__grid strong,
.ps-ref-rental__grid small {
  display: block;
}

.ps-ref-rental__grid span {
  margin-bottom: 6px;
  color: #7c8695 !important;
  font-size: 10px;
  font-weight: 700;
}

.ps-ref-rental__grid strong {
  color: #30394a !important;
  font-size: 12px;
  line-height: 1.3;
}

.ps-ref-rental__grid small {
  margin-top: 5px;
  color: #566174 !important;
  font-size: 11px;
}

.ps-ref-insurance__choice {
  padding: 16px 18px;
  border: 2px solid #20be95;
  border-radius: 12px;
  background: #f7f8fa;
}

.ps-ref-insurance__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-ref-insurance__shield {
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 94% 16%, 86% 70%, 50% 100%, 14% 70%, 6% 16%);
  background: #20be95;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 900;
}

.ps-ref-insurance__head strong,
.ps-ref-insurance__head small {
  display: block;
}

.ps-ref-insurance__head strong {
  color: #30394a !important;
  font-size: 13px;
}

.ps-ref-insurance__head small {
  margin-top: 3px;
  color: #20a981 !important;
  font-size: 10px;
  font-weight: 800;
}

.ps-ref-insurance__choice p {
  margin: 12px 0 8px;
  color: #414b5d;
  font-size: 11px;
}

.ps-ref-insurance__choice ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
  list-style: none;
}

.ps-ref-insurance__choice li {
  position: relative;
  padding-left: 17px;
  color: #566174;
  font-size: 10px;
  line-height: 1.3;
}

.ps-ref-insurance__choice li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #20be95;
  font-weight: 900;
}

.ps-ref-services__list {
  display: grid;
  gap: 8px;
}

.ps-ref-services__list > div {
  min-height: 48px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  background: #f3f4f6;
}

.ps-ref-services__list span {
  color: #30394a !important;
  font-size: 11px;
  font-weight: 750;
}

.ps-ref-services__list small {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 6px;
  background: #ffffff;
  color: #6e7888 !important;
  font-size: 9px;
  font-weight: 700;
}

.ps-ref-detail__aside {
  top: 72px !important;
}

.ps-ref-price-head section {
  min-width: 0;
}

.ps-ref-price-head strong {
  overflow-wrap: anywhere;
}

.ps-ref-breakdown,
.ps-ref-payment-summary,
.ps-ref-price-head section {
  border: 1px solid #eceef1;
}

@media (max-width: 900px) {
  .ps-vehicle-modal {
    padding: 0 !important;
  }

  .ps-vehicle-modal__dialog,
  html[data-theme="dark"] .ps-vehicle-modal__dialog {
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }

  .ps-vehicle-modal__body {
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
  }

  .ps-ref-detail__layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 18px 20px 34px !important;
  }

  .ps-ref-detail__aside {
    position: static !important;
    order: 0 !important;
  }
}

@media (max-width: 560px) {
  .ps-ref-detail__topbar {
    min-height: 54px;
    padding: 0 7px !important;
    grid-template-columns: 30px minmax(0, 1fr) 30px !important;
  }

  .ps-ref-detail__close,
  .ps-ref-detail__back {
    width: 30px;
    height: 30px;
  }

  .ps-ref-detail__layout {
    padding: 14px 12px 28px !important;
  }

  .ps-ref-detail__title-row h1 {
    font-size: 24px !important;
  }

  .ps-ref-detail__actions {
    flex-direction: column;
  }

  .ps-ref-gallery__main {
    height: 230px !important;
  }

  .ps-ref-features {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .ps-ref-rental__grid {
    grid-template-columns: 1fr;
  }

  .ps-ref-rental__grid article + article {
    border-top: 1px solid #dde2e8;
    border-left: 0;
  }

  .ps-ref-price-head {
    grid-template-columns: 1fr 1fr !important;
  }

  .ps-ref-price-head section {
    padding: 12px 10px;
  }

  .ps-ref-price-head strong {
    font-size: 20px !important;
  }

  .ps-ref-services__list > div {
    align-items: flex-start;
  }

  .ps-ref-specs dl {
    column-gap: 18px !important;
  }
}

/* 2026-08-11 ui113: filters use their real content height and mobile card
   prices share one baseline and one type scale. */
@media (min-width: 768px) {
  /* Clamp a long filter list to the viewport, but never stretch a short list
     or manufacture scrollable space after the reset action. */
  .ps-sidebar-filters {
    height: max-content !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    block-size: max-content !important;
    overflow: visible !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    height: max-content !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    block-size: max-content !important;
    padding-bottom: 14px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .ps-sidebar-filters .ps-sidebar-actions {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  /* The legacy bottom-sheet positioning left 16% of the viewport empty above
     the new fullscreen filter surface. The portal itself now owns scrolling. */
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box,
  html[data-theme="light"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box,
  html[data-theme="dark"] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-box {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    block-size: auto !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
  }

  /* Match the lower card inset to the upper photo inset. */
  .ps-trip-card__bottom {
    min-height: 50px !important;
    padding-top: 6px !important;
    grid-template-columns: minmax(0, 1fr) 88px 120px !important;
    align-items: center !important;
    gap: 7px !important;
  }

  .ps-trip-card__total,
  .ps-trip-card__daily {
    min-width: 0 !important;
    display: grid !important;
    grid-template-rows: 12px 22px !important;
    align-content: center !important;
    justify-items: start !important;
    row-gap: 3px !important;
  }

  .ps-trip-card__total {
    grid-template-columns: auto minmax(0, 1fr) !important;
    column-gap: 4px !important;
  }

  .ps-trip-card__total > span,
  .ps-trip-card__total small,
  .ps-trip-card__daily small {
    min-height: 12px !important;
    margin: 0 !important;
    align-self: center !important;
    font-size: 10px !important;
    line-height: 12px !important;
    white-space: nowrap !important;
  }

  .ps-trip-card__total > span {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .ps-trip-card__total small {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .ps-trip-card__daily small {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .ps-trip-card__total strong,
  .ps-trip-card__daily strong {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    font-size: 18px !important;
    line-height: 22px !important;
    font-weight: 900 !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {
  .ps-trip-card__bottom {
    min-height: 48px !important;
    grid-template-columns: minmax(0, 1fr) 82px 112px !important;
    gap: 6px !important;
  }

  .ps-trip-card__total strong,
  .ps-trip-card__daily strong {
    font-size: 17px !important;
  }
}

@media (max-width: 350px) {
  .ps-trip-card__bottom {
    grid-template-columns: minmax(0, 1fr) 76px 104px !important;
    gap: 5px !important;
  }

  .ps-trip-card__total strong,
  .ps-trip-card__daily strong {
    font-size: 16px !important;
  }
}

/* 2026-08-11 ui114: content-sized desktop filters, tighter price spacing and
   the production vehicle-details modal. */
@media (min-width: 768px) {
  .ps-sidebar-filters {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    block-size: auto !important;
    overflow: visible !important;
  }

  .ps-sidebar-filters .ps-sidebar-box {
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    block-size: auto !important;
    padding-bottom: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .ps-sidebar-filters .ps-sidebar-actions {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  .ps-trip-card__bottom {
    grid-template-columns: 105px 88px minmax(0, 1fr) !important;
  }
}

@media (max-width: 390px) {
  .ps-trip-card__bottom {
    grid-template-columns: 100px 82px minmax(0, 1fr) !important;
  }
}

@media (max-width: 350px) {
  .ps-trip-card__bottom {
    grid-template-columns: 94px 76px minmax(0, 1fr) !important;
  }
}

.ps-vehicle-sheet,
html[data-theme="dark"] .ps-vehicle-sheet {
  min-height: 100%;
  background: #ffffff !important;
  color: #20242b !important;
  font-family: Manrope, "Noto Sans Thai", system-ui, sans-serif;
}

.ps-vehicle-sheet__topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #edf0f3;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.ps-vehicle-sheet__steps {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  color: #9a9fa7;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.ps-vehicle-sheet__steps span.is-active {
  color: #30343a;
}

.ps-vehicle-sheet__steps i {
  color: #c4c8ce;
  font-size: 16px;
  font-style: normal;
}

.ps-vehicle-sheet__close {
  flex: 0 0 auto;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #d57272;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.ps-vehicle-sheet__hero,
.ps-vehicle-sheet__columns {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  gap: 48px;
}

.ps-vehicle-sheet__hero {
  padding: 14px 40px 30px;
  align-items: start;
}

.ps-vehicle-sheet__main-photo {
  height: 330px;
  padding: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d9dde2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 2px 7px rgba(16, 24, 40, .04);
  box-sizing: border-box;
}

.ps-vehicle-sheet__main-photo img,
.ps-vehicle-sheet__placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-vehicle-sheet__placeholder {
  display: grid;
  place-items: center;
  font-size: 72px;
  opacity: .35;
}

.ps-vehicle-sheet__summary {
  min-width: 0;
  padding-top: 8px;
}

.ps-vehicle-sheet__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.ps-vehicle-sheet__title-row h1 {
  margin: 0;
  color: #16191e !important;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.04em;
}

.ps-vehicle-sheet__title-row > span {
  color: #9097a2 !important;
  font-size: 13px;
  font-weight: 600;
}

.ps-vehicle-sheet__tags {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ps-vehicle-sheet__tags span {
  min-height: 25px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #dce1e7;
  border-radius: 7px;
  background: #f8f9fa;
  color: #4d5663 !important;
  font-size: 10px;
  font-weight: 650;
  box-sizing: border-box;
}

.ps-vehicle-sheet__thumbs {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 84px));
  gap: 10px;
}

.ps-vehicle-sheet__thumbs button {
  width: 84px;
  height: 64px;
  padding: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 9px;
  background: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
}

.ps-vehicle-sheet__thumbs button.is-active {
  border-color: #55d75b;
  box-shadow: 0 0 0 1px rgba(85, 215, 91, .18);
}

.ps-vehicle-sheet__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-vehicle-sheet__columns {
  padding: 0 40px 52px;
  align-items: start;
}

.ps-vehicle-sheet__cost {
  position: sticky;
  top: 82px;
  min-width: 0;
}

.ps-vehicle-sheet__details {
  min-width: 0;
}

.ps-vehicle-sheet__section + .ps-vehicle-sheet__section {
  margin-top: 22px;
}

.ps-vehicle-sheet__section h2 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cfd4da;
  color: #171a1f !important;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.025em;
}

.ps-vehicle-sheet__section--compact h2 {
  margin-bottom: 6px;
}

.ps-vehicle-sheet__price-line {
  min-height: 43px;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e1e4e8;
  color: #2e343c;
  font-size: 12px;
  box-sizing: border-box;
}

.ps-vehicle-sheet__price-line > div {
  min-width: 0;
}

.ps-vehicle-sheet__price-line span {
  color: #2e343c !important;
}

.ps-vehicle-sheet__price-line small {
  margin-top: 4px;
  display: block;
  color: #737b86 !important;
  font-size: 9px;
  line-height: 1.3;
}

.ps-vehicle-sheet__price-line strong {
  flex: 0 0 auto;
  color: #20242b !important;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ps-vehicle-sheet__total {
  min-height: 47px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #9ca3ad;
  color: #20242b;
  box-sizing: border-box;
}

.ps-vehicle-sheet__total span,
.ps-vehicle-sheet__total strong {
  color: #20242b !important;
  font-size: 15px;
  font-weight: 700;
}

.ps-vehicle-sheet__payments {
  margin-top: 13px;
  display: grid;
  gap: 14px;
}

.ps-vehicle-sheet__payments > div {
  position: relative;
  min-height: 36px;
  padding-right: 98px;
}

.ps-vehicle-sheet__payments span,
.ps-vehicle-sheet__payments strong,
.ps-vehicle-sheet__payments small {
  display: block;
}

.ps-vehicle-sheet__payments > div > span {
  color: #20242b !important;
  font-size: 11px;
}

.ps-vehicle-sheet__payments strong {
  position: absolute;
  top: 0;
  right: 0;
  color: #20242b !important;
  font-size: 11px;
  white-space: nowrap;
}

.ps-vehicle-sheet__payments small {
  margin-top: 3px;
  color: #9a9fa7 !important;
  font-size: 8px;
  line-height: 1.25;
}

.ps-vehicle-sheet__actions {
  margin-top: 18px;
  display: grid;
  gap: 9px;
}

.ps-vehicle-sheet__actions a,
.ps-vehicle-sheet__actions button {
  min-height: 42px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #ffffff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.ps-vehicle-sheet__actions a {
  border: 2px solid #55df5d;
  color: #172719 !important;
}

.ps-vehicle-sheet__actions button {
  border: 2px solid #ff3838;
  color: #2d2020;
}

.ps-vehicle-sheet__facts {
  margin: 0;
}

.ps-vehicle-sheet__facts > div {
  min-height: 42px;
  padding: 8px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, auto);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #d4d8dd;
  box-sizing: border-box;
}

.ps-vehicle-sheet__facts dt,
.ps-vehicle-sheet__facts dd {
  color: #343a43 !important;
  font-size: 11px;
  line-height: 1.25;
}

.ps-vehicle-sheet__facts dd {
  margin: 0;
  text-align: right;
}

.ps-vehicle-sheet__insurance {
  padding: 14px 16px 12px;
  border: 1px solid #ccd1d7;
  border-radius: 16px;
  background: #ffffff;
}

.ps-vehicle-sheet__insurance-option {
  min-height: 46px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ps-vehicle-sheet__insurance-option i {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 17px;
  border: 1px solid #c4cad1;
  border-radius: 50%;
  background: #e2e5e9;
  box-sizing: border-box;
}

.ps-vehicle-sheet__insurance-option.is-selected i {
  border: 2px solid #131813;
  background: #55df5d;
}

.ps-vehicle-sheet__insurance-option strong,
.ps-vehicle-sheet__insurance-option small {
  display: block;
}

.ps-vehicle-sheet__insurance-option strong {
  color: #272c33 !important;
  font-size: 12px;
  font-weight: 600;
}

.ps-vehicle-sheet__insurance-option small {
  margin-top: 3px;
  color: #5b636e !important;
  font-size: 9px;
}

.ps-vehicle-sheet__insurance-option.is-muted {
  opacity: .52;
}

.ps-vehicle-sheet__insurance p {
  margin: 3px 0 10px 27px;
  color: #343a43;
  font-size: 10px;
}

.ps-vehicle-sheet__insurance-info {
  min-height: 30px;
  margin-left: 27px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: #55df5d;
  color: #17341a !important;
  font-size: 9px;
  font-weight: 700;
}

.ps-vehicle-sheet__services {
  display: grid;
  gap: 6px;
}

.ps-vehicle-sheet__services > div {
  min-height: 34px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.ps-vehicle-sheet__services i {
  width: 18px;
  height: 18px;
  border: 1px solid #727a84;
  border-radius: 3px;
  background: #ffffff;
  box-sizing: border-box;
}

.ps-vehicle-sheet__services span {
  color: #323841 !important;
  font-size: 11px;
}

.ps-vehicle-sheet__services small {
  color: #68717d !important;
  font-size: 9px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ps-vehicle-sheet__hero,
  .ps-vehicle-sheet__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ps-vehicle-sheet__cost {
    position: static;
  }

  .ps-vehicle-sheet__hero {
    padding: 14px 22px 26px;
  }

  .ps-vehicle-sheet__columns {
    padding: 0 22px 40px;
  }

  .ps-vehicle-sheet__summary {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .ps-vehicle-sheet__topbar {
    min-height: 54px;
    padding: 0 12px;
  }

  .ps-vehicle-sheet__steps {
    gap: 5px;
    font-size: 9px;
  }

  .ps-vehicle-sheet__steps i {
    font-size: 13px;
  }

  .ps-vehicle-sheet__hero {
    padding: 10px 12px 22px;
  }

  .ps-vehicle-sheet__columns {
    padding: 0 12px 30px;
  }

  .ps-vehicle-sheet__main-photo {
    height: 230px;
    padding: 12px;
  }

  .ps-vehicle-sheet__title-row h1 {
    font-size: 28px;
  }

  .ps-vehicle-sheet__thumbs {
    margin-top: 16px;
    grid-template-columns: repeat(3, minmax(0, 72px));
    gap: 8px;
  }

  .ps-vehicle-sheet__thumbs button {
    width: 72px;
    height: 56px;
  }

  .ps-vehicle-sheet__section h2 {
    font-size: 20px;
  }

  .ps-vehicle-sheet__facts > div {
    grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
    gap: 12px;
  }
}

/* 2026-08-11 ui115: equal class-icon canvases, content-sized filters and a
   quieter filter hierarchy. */
.ps-class-block--catalog .ps-class-tabs__icon,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon,
.ps-class-block--catalog .ps-class-tabs__icon img,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img,
.ps-mobile-class-tabs .ps-mobile-class-tabs__icon,
html[data-theme] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-class-tabs .ps-mobile-class-tabs__icon {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: none !important;
  transform-origin: center !important;
}

.ps-sidebar-filters .ps-sidebar-heading h2 {
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.ps-sidebar-filters .ps-sidebar-group--choices > h3,
.ps-sidebar-filters .ps-price-filter__head h3 {
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.ps-sidebar-filters .ps-filter-choice,
.ps-sidebar-filters .ps-filter-choice__label,
.ps-sidebar-filters .ps-filter-choice__label [data-price-thb] {
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
}

.ps-sidebar-filters .ps-filter-choice small {
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
}

@media (min-width: 768px) {
  /* `min-content` prevents the sticky grid cell and its old 100vh rules from
     stretching a short list. A long list is still capped and scrolls inside. */
  html body .ps-market-layout > .ps-sidebar-filters {
    width: 100% !important;
    height: min-content !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    block-size: min-content !important;
    align-self: start !important;
    overflow: hidden !important;
  }

  html body .ps-market-layout > .ps-sidebar-filters > .ps-sidebar-box {
    width: 100% !important;
    height: min-content !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    block-size: min-content !important;
    flex: 0 0 auto !important;
    align-self: start !important;
    padding-bottom: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html body .ps-market-layout > .ps-sidebar-filters .ps-sidebar-actions {
    flex: 0 0 auto !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
  }
}

/* ui117 final cascade: these two catalogue adjustments must win over the
   earlier accumulated responsive patches. */
.ps-class-block--catalog .ps-class-tabs__icon,
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon {
  overflow: visible !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img[src*="premium.svg"],
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img[src*="premium.svg"],
.ps-mobile-class-tabs .ps-mobile-class-tabs__icon[src*="premium.svg"],
html[data-theme] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-class-tabs .ps-mobile-class-tabs__icon[src*="premium.svg"] {
  transform: scale(1.18) !important;
  transform-origin: left center !important;
}

.ps-class-block--catalog .ps-class-tabs__icon img[src*="econom.svg"],
.ps-market-results > .ps-class-block--catalog.ps-class-block--desktop .ps-class-tabs__icon img[src*="econom.svg"],
.ps-mobile-class-tabs .ps-mobile-class-tabs__icon[src*="econom.svg"],
html[data-theme] body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-mobile-class-tabs .ps-mobile-class-tabs__icon[src*="econom.svg"] {
  transform: scale(.88) !important;
  transform-origin: left center !important;
}

@media (min-width: 768px) {
  .ps-mobile-search-sticky,
  html[data-theme="dark"] .ps-mobile-search-sticky {
    padding-bottom: 0 !important;
    box-shadow: none !important;
  }

  .ps-market .ps-search__frame,
  html[data-theme="dark"] .ps-market .ps-search__frame {
    box-shadow: none !important;
  }
}

/* 2026-08-11 ui118: the investor page follows the site light-blue / dark-green
   theme rule and reuses the exact home hero treatment. */
.ps-investor-hero {
  background-color: #07100f !important;
  background-image: var(--ps-hero-image) !important;
  background-position: center 44% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.ps-investor-hero__shade {
  background:
    linear-gradient(90deg, rgba(12, 34, 47, .78) 0%, rgba(13, 34, 45, .56) 47%, rgba(13, 29, 37, .38) 100%),
    linear-gradient(180deg, rgba(4, 16, 23, .08), rgba(4, 15, 20, .42)) !important;
}

.ps-investor-page-nav a::after,
.ps-investor-benefits__grid article > .ps-investor-benefit-mark {
  background: #2b73df !important;
}

.ps-investor-lead__summary .ps-investor-kicker {
  color: #6ca5fa !important;
}

.ps-investor-benefits__grid article > .ps-investor-benefit-mark {
  display: block !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 4px !important;
  min-height: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 99px !important;
  box-shadow: none !important;
}

.ps-investor-process li > .ps-investor-process__dot {
  position: relative !important;
  display: block !important;
  place-items: initial !important;
  width: 12px !important;
  min-width: 12px !important;
  height: 12px !important;
  min-height: 12px !important;
  margin: 5px 0 0 !important;
  padding: 0 !important;
  color: transparent !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: #2b73df !important;
  box-shadow: 0 0 0 1px #2b73df, 0 0 0 6px rgba(43, 115, 223, .14) !important;
}

.ps-investor-risk__icon {
  color: #fff !important;
  background: #2b73df !important;
}

.ps-investor-risk {
  border-color: #263b57 !important;
  background: #15263e !important;
}

.ps-investor-lead__summary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #142131 !important;
  background-image: none !important;
}

.ps-investor-lead__summary > :not(.ps-investor-lead__elephant) {
  position: relative;
  z-index: 1;
}

.ps-investor-lead__elephant {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -30px;
  width: clamp(180px, 21vw, 290px);
  max-width: 52%;
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: .16;
  filter: brightness(0) invert(1);
  transform: translateY(-50%);
}

html[data-theme="dark"] .ps-investor-page-nav a::after,
html[data-theme="dark"] .ps-investor-benefits__grid article > .ps-investor-benefit-mark {
  background: #55e45d !important;
}

html[data-theme="dark"] .ps-investor-lead__summary .ps-investor-kicker {
  color: #6ee875 !important;
}

html[data-theme="dark"] .ps-investor-process li > .ps-investor-process__dot {
  border-color: #242a32 !important;
  background: #55e45d !important;
  box-shadow: 0 0 0 1px #55e45d, 0 0 0 6px rgba(85, 228, 93, .14) !important;
}

html[data-theme="dark"] .ps-investor-risk__icon {
  color: #12251a !important;
  background: #55e45d !important;
}

html[data-theme="dark"] .ps-investor-risk {
  border-color: #263b31 !important;
  background: #14251c !important;
}

html[data-theme="dark"] .ps-investor-lead__summary {
  background: #172029 !important;
  background-image: none !important;
}

/* 2026-08-11 ui120: complete vehicle booking configurator. */
.ps-vehicle-modal__dialog:has(.ps-booking-configurator) > .ps-vehicle-modal__close {
  display: none !important;
}

.ps-vehicle-modal__dialog,
html[data-theme="light"] .ps-vehicle-modal__dialog {
  background: #f3f6fa !important;
  color: #172033 !important;
}

html[data-theme="dark"] .ps-vehicle-modal__dialog {
  background: #121820 !important;
  color: #f5f7fa !important;
}

.ps-booking-configurator {
  --booking-accent: #2b73df;
  --booking-accent-soft: #eaf2ff;
  --booking-accent-contrast: #ffffff;
  --booking-bg: #f3f6fa;
  --booking-surface: #ffffff;
  --booking-surface-alt: #f7f9fc;
  --booking-text: #172033;
  --booking-muted: #68758a;
  --booking-border: #d8e0eb;
  --booking-border-strong: #b9c7d9;
  --booking-success: #159447;
  --booking-danger: #d53232;
  min-height: 100%;
  background: var(--booking-bg) !important;
  color: var(--booking-text) !important;
  font-family: Manrope, "Noto Sans Thai", system-ui, sans-serif;
}

html[data-theme="dark"] .ps-booking-configurator {
  --booking-accent: #55e45d;
  --booking-accent-soft: #1d3728;
  --booking-accent-contrast: #102015;
  --booking-bg: #121820;
  --booking-surface: #1c2530;
  --booking-surface-alt: #222d39;
  --booking-text: #f5f7fa;
  --booking-muted: #aeb9c7;
  --booking-border: #344150;
  --booking-border-strong: #526173;
  --booking-success: #55e45d;
  --booking-danger: #ff7777;
}

.ps-booking-configurator *,
.ps-booking-configurator *::before,
.ps-booking-configurator *::after {
  box-sizing: border-box;
}

.ps-booking-configurator .ps-vehicle-sheet__topbar {
  min-height: 60px;
  padding: 0 28px;
  border-bottom: 1px solid var(--booking-border);
  background: color-mix(in srgb, var(--booking-bg) 92%, transparent);
  color: var(--booking-text) !important;
  backdrop-filter: blur(16px);
}

.ps-booking-configurator .ps-vehicle-sheet__topbar > strong {
  color: var(--booking-text) !important;
  font-size: 15px;
  font-weight: 800;
}

.ps-booking-configurator .ps-vehicle-sheet__close {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--booking-border);
  border-radius: 50%;
  background: var(--booking-surface);
  color: var(--booking-text) !important;
  font-size: 24px;
  line-height: 1;
}

.ps-booking-vehicle {
  padding: 26px 30px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  gap: 34px;
  border-bottom: 1px solid var(--booking-border);
  background: var(--booking-surface);
}

.ps-booking-vehicle__media,
.ps-booking-vehicle__identity {
  min-width: 0;
}

.ps-booking-vehicle__main-photo {
  height: 330px;
  padding: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--booking-border);
  border-radius: 18px;
  background: var(--booking-surface-alt);
}

.ps-booking-vehicle__main-photo img,
.ps-booking-vehicle__main-photo .ps-vehicle-sheet__placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-booking-vehicle__thumbs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.ps-booking-vehicle__thumbs button {
  min-width: 0;
  height: 58px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid var(--booking-border);
  border-radius: 10px;
  background: var(--booking-surface-alt);
  cursor: pointer;
}

.ps-booking-vehicle__thumbs button.is-active {
  border-color: var(--booking-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--booking-accent) 18%, transparent);
}

.ps-booking-vehicle__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-booking-specs {
  margin-top: 12px;
  border: 1px solid var(--booking-border);
  border-radius: 14px;
  background: var(--booking-surface-alt);
  overflow: hidden;
}

.ps-booking-specs summary {
  min-height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--booking-text) !important;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.ps-booking-specs summary::-webkit-details-marker {
  display: none;
}

.ps-booking-specs summary i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.ps-booking-specs[open] summary i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.ps-booking-specs dl {
  margin: 0;
  padding: 0 15px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

.ps-booking-specs dl > div,
.ps-booking-conditions dl > div {
  min-height: 38px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--booking-border);
}

.ps-booking-specs dt,
.ps-booking-specs dd,
.ps-booking-conditions dt,
.ps-booking-conditions dd {
  margin: 0;
  color: var(--booking-muted) !important;
  font-size: 10px;
  line-height: 1.35;
}

.ps-booking-specs dd,
.ps-booking-conditions dd {
  color: var(--booking-text) !important;
  font-weight: 700;
  text-align: right;
}

.ps-booking-vehicle__identity {
  display: flex;
  flex-direction: column;
}

.ps-booking-vehicle__title > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
}

.ps-booking-vehicle__title h1 {
  margin: 0;
  color: var(--booking-text) !important;
  font-size: clamp(30px, 3.4vw, 43px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.045em;
}

.ps-booking-vehicle__title span,
.ps-booking-vehicle__title p {
  color: var(--booking-muted) !important;
}

.ps-booking-vehicle__title span {
  font-size: 15px;
  font-weight: 700;
}

.ps-booking-vehicle__title p {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.ps-booking-vehicle__chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ps-booking-vehicle__chips span {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--booking-border);
  border-radius: 9px;
  background: var(--booking-surface-alt);
  color: var(--booking-text) !important;
  font-size: 10px;
  font-weight: 750;
}

.ps-booking-conditions {
  margin-top: auto;
  padding-top: 28px;
}

.ps-booking-conditions h2 {
  margin: 0 0 8px;
  color: var(--booking-text) !important;
  font-size: 18px;
}

.ps-booking-conditions dl {
  margin: 0;
}

.ps-booking-configurator__layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 30px 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  align-items: start;
  gap: 22px;
}

.ps-booking-configurator__main {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.ps-booking-section,
.ps-booking-total {
  border: 1px solid var(--booking-border);
  border-radius: 18px;
  background: var(--booking-surface);
}

.ps-booking-section {
  padding: 22px;
}

.ps-booking-section > header {
  margin-bottom: 18px;
}

.ps-booking-section > header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-booking-section > header > div > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--booking-accent-soft);
  color: var(--booking-accent) !important;
  font-size: 11px;
  font-weight: 900;
}

.ps-booking-section h2 {
  margin: 0;
  color: var(--booking-text) !important;
  font-size: 20px;
  line-height: 1.2;
}

.ps-booking-section > header p {
  margin: 8px 0 0 40px;
  color: var(--booking-muted) !important;
  font-size: 11px;
  line-height: 1.45;
}

.ps-insurance-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ps-insurance-package {
  position: relative;
  min-width: 0;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--booking-border);
  border-radius: 14px;
  background: var(--booking-surface-alt);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ps-insurance-package:hover {
  transform: translateY(-1px);
  border-color: var(--booking-border-strong);
}

.ps-insurance-package.is-selected,
.ps-insurance-package:has(input:checked) {
  border-color: var(--booking-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--booking-accent) 14%, transparent);
}

.ps-insurance-package > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ps-insurance-package__check {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--booking-border-strong);
  border-radius: 50%;
  color: transparent !important;
  font-size: 12px;
  font-weight: 900;
}

.ps-insurance-package.is-selected .ps-insurance-package__check,
.ps-insurance-package:has(input:checked) .ps-insurance-package__check {
  border-color: var(--booking-accent);
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
}

.ps-insurance-package__head {
  min-height: 105px;
  padding-right: 25px;
  display: block;
}

.ps-insurance-package__head b,
.ps-insurance-package__head small,
.ps-insurance-package__head strong {
  display: block;
}

.ps-insurance-package__head b {
  color: var(--booking-text) !important;
  font-size: 13px;
  line-height: 1.25;
}

.ps-insurance-package__head small {
  min-height: 31px;
  margin-top: 5px;
  color: var(--booking-muted) !important;
  font-size: 9px;
  line-height: 1.35;
}

.ps-insurance-package__head strong {
  margin-top: 8px;
  color: var(--booking-accent) !important;
  font-size: 10px;
  line-height: 1.3;
}

.ps-insurance-package__head strong [data-price-thb] {
  color: inherit !important;
}

.ps-insurance-package__facts {
  margin: 0 -14px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--booking-border);
  border-bottom: 1px solid var(--booking-border);
}

.ps-insurance-package__facts > span,
.ps-insurance-package__facts small,
.ps-insurance-package__facts b {
  display: block;
}

.ps-insurance-package__facts small {
  color: var(--booking-muted) !important;
  font-size: 8px;
}

.ps-insurance-package__facts b {
  margin-top: 3px;
  color: var(--booking-text) !important;
  font-size: 9px;
}

.ps-insurance-package__features {
  padding-top: 10px;
  display: grid;
  gap: 6px;
}

.ps-insurance-package__features > span {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 5px;
  color: var(--booking-muted) !important;
  font-size: 8px;
  line-height: 1.3;
}

.ps-insurance-package__features i {
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.ps-insurance-package__features .is-covered i {
  color: var(--booking-success) !important;
}

.ps-insurance-package__features .is-uncovered i {
  color: var(--booking-danger) !important;
}

.ps-booking-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ps-booking-services__group {
  min-width: 0;
}

.ps-booking-services__group h3 {
  margin: 0 0 8px;
  color: var(--booking-muted) !important;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ps-booking-service {
  min-height: 54px;
  margin-top: 7px;
  padding: 9px 10px;
  border: 1px solid var(--booking-border);
  border-radius: 11px;
  background: var(--booking-surface-alt);
}

.ps-booking-service--quantity,
.ps-booking-service--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ps-booking-service b,
.ps-booking-service small {
  display: block;
}

.ps-booking-service b {
  color: var(--booking-text) !important;
  font-size: 10px;
  line-height: 1.25;
}

.ps-booking-service small {
  margin-top: 3px;
  color: var(--booking-muted) !important;
  font-size: 8px;
}

.ps-booking-service.is-selected,
.ps-booking-service--toggle:has(input:checked) {
  border-color: var(--booking-accent);
  background: var(--booking-accent-soft);
}

.ps-service-counter {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 28px 26px 28px;
  align-items: center;
  border: 1px solid var(--booking-border-strong);
  border-radius: 9px;
  overflow: hidden;
}

.ps-service-counter button,
.ps-service-counter output {
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--booking-surface);
  color: var(--booking-text) !important;
  font: inherit;
  font-size: 12px;
}

.ps-service-counter button {
  cursor: pointer;
}

.ps-service-counter output {
  border-right: 1px solid var(--booking-border);
  border-left: 1px solid var(--booking-border);
  font-weight: 800;
}

.ps-booking-service--toggle {
  position: relative;
  cursor: pointer;
}

.ps-booking-service--toggle > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ps-booking-service--toggle > i {
  width: 34px;
  height: 20px;
  flex: 0 0 34px;
  position: relative;
  border: 1px solid var(--booking-border-strong);
  border-radius: 999px;
  background: var(--booking-surface);
}

.ps-booking-service--toggle > i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--booking-muted);
  transition: transform .18s ease, background .18s ease;
}

.ps-booking-service--toggle:has(input:checked) > i {
  border-color: var(--booking-accent);
  background: var(--booking-accent);
}

.ps-booking-service--toggle:has(input:checked) > i::after {
  background: var(--booking-accent-contrast);
  transform: translateX(14px);
}

.ps-booking-total {
  position: sticky;
  top: 78px;
  padding: 22px;
}

.ps-booking-total__eyebrow,
.ps-booking-total__amount,
.ps-booking-total > small {
  display: block;
}

.ps-booking-total__eyebrow {
  color: var(--booking-muted) !important;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ps-booking-total__amount {
  margin-top: 7px;
  color: var(--booking-accent) !important;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.ps-booking-total > small {
  margin-top: 5px;
  color: var(--booking-muted) !important;
  font-size: 9px;
}

.ps-booking-total dl {
  margin: 18px 0 0;
  padding: 10px 0;
  border-top: 1px solid var(--booking-border);
  border-bottom: 1px solid var(--booking-border);
}

.ps-booking-total dl > div {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ps-booking-total dl > .ps-booking-total__delivery-subtotal {
  margin-bottom: 3px;
  border-top: 1px dashed var(--booking-border);
}

.ps-booking-total__delivery-subtotal dt,
.ps-booking-total__delivery-subtotal dd {
  color: var(--booking-text) !important;
  font-weight: 800;
}

.ps-booking-total dt,
.ps-booking-total dd {
  margin: 0;
  color: var(--booking-muted) !important;
  font-size: 10px;
}

.ps-booking-total dd {
  color: var(--booking-text) !important;
  font-weight: 800;
  text-align: right;
}

.ps-booking-total p {
  margin: 13px 0 0;
  color: var(--booking-muted) !important;
  font-size: 9px;
  line-height: 1.45;
}

.ps-booking-total__continue,
.ps-booking-total > button {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ps-booking-total__continue {
  border: 1px solid var(--booking-accent);
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
}

.ps-booking-total > button {
  min-height: 40px;
  margin-top: 8px;
  border: 1px solid var(--booking-border);
  background: transparent;
  color: var(--booking-text) !important;
}

.ps-booking-summary dt small {
  display: block;
  margin-top: 3px;
  color: #7c8798;
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .ps-booking-vehicle {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ps-booking-conditions {
    margin-top: 0;
  }

  .ps-booking-configurator__layout {
    grid-template-columns: 1fr;
  }

  .ps-booking-total {
    position: static;
  }
}

@media (max-width: 700px) {
  .ps-booking-configurator .ps-vehicle-sheet__topbar {
    min-height: 56px;
    padding: 0 14px;
  }

  .ps-booking-vehicle {
    padding: 16px 12px 20px;
  }

  .ps-booking-vehicle__main-photo {
    height: 238px;
    padding: 14px;
    border-radius: 14px;
  }

  .ps-booking-vehicle__thumbs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ps-booking-vehicle__thumbs::-webkit-scrollbar {
    display: none;
  }

  .ps-booking-vehicle__thumbs button {
    width: 66px;
    height: 50px;
    flex: 0 0 66px;
  }

  .ps-booking-specs dl {
    grid-template-columns: 1fr;
  }

  .ps-booking-vehicle__title h1 {
    font-size: 28px;
  }

  .ps-booking-configurator__layout {
    padding: 16px 10px 30px;
    gap: 14px;
  }

  .ps-booking-section,
  .ps-booking-total {
    padding: 15px;
    border-radius: 15px;
  }

  .ps-booking-section h2 {
    font-size: 17px;
  }

  .ps-booking-section > header p {
    margin-left: 0;
  }

  .ps-insurance-packages,
  .ps-booking-services {
    grid-template-columns: 1fr;
  }

  .ps-insurance-package__head {
    min-height: 92px;
  }

  .ps-insurance-package__features {
    grid-template-columns: 1fr 1fr;
  }

  .ps-booking-total__amount {
    font-size: 28px;
  }
}

@media (max-width: 680px) {
  .ps-investor-lead__elephant {
    right: -46px;
    width: 210px;
    max-width: 58%;
    opacity: .12;
  }
}

/* 2026-08-11 ui123: one continuous modal surface and a contained insurance
   comparison in both themes. */
.ps-booking-configurator__layout {
  width: 100%;
}

.ps-booking-configurator__main,
.ps-booking-section,
.ps-insurance-comparison-shell,
.ps-insurance-comparison-scroll {
  min-width: 0;
  max-width: 100%;
}

.ps-booking-section {
  position: relative;
  overflow: hidden;
}

.ps-booking-total {
  z-index: 1;
}

.ps-insurance-comparison.is-compact {
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(155px, 1.15fr) repeat(2, minmax(145px, 1fr));
}

.ps-insurance-comparison.is-expanded {
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(155px, 1.15fr) repeat(4, minmax(112px, 1fr));
}

.ps-insurance-expand {
  max-width: min(100%, 255px);
}

html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator),
html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator) .ps-vehicle-modal__body,
html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator) .ps-vehicle-modal__content,
html[data-theme="dark"] .ps-vehicle-sheet.ps-booking-configurator,
html[data-theme="dark"] .ps-booking-configurator__layout {
  background: #272727 !important;
  color: #f5f5f5 !important;
}

html[data-theme="dark"] .ps-booking-configurator {
  --booking-bg: #272727;
  --booking-surface: #2d2d2d;
  --booking-surface-alt: #323232;
  --booking-text: #f5f5f5;
  --booking-muted: #b8b8b8;
  --booking-border: #484848;
  --booking-border-strong: #626262;
}

html[data-theme="dark"] .ps-booking-configurator .ps-vehicle-sheet__topbar,
html[data-theme="dark"] .ps-booking-vehicle {
  background: #272727 !important;
}

html[data-theme="dark"] .ps-booking-configurator .ps-vehicle-sheet__topbar {
  border-bottom-color: #484848 !important;
}

html[data-theme="dark"] .ps-booking-vehicle {
  border-bottom-color: #484848 !important;
}

html[data-theme="dark"] .ps-booking-section,
html[data-theme="dark"] .ps-booking-total {
  border-color: #484848 !important;
  background: #2d2d2d !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .ps-booking-specs,
html[data-theme="dark"] .ps-booking-vehicle__chips span,
html[data-theme="dark"] .ps-booking-service,
html[data-theme="dark"] .ps-insurance-comparison,
html[data-theme="dark"] .ps-insurance-comparison__corner,
html[data-theme="dark"] .ps-insurance-comparison__package,
html[data-theme="dark"] .ps-insurance-comparison__feature,
html[data-theme="dark"] .ps-insurance-comparison__cell {
  background: #323232 !important;
}

html[data-theme="dark"] .ps-insurance-column-cell.is-selected,
html[data-theme="dark"] .ps-insurance-comparison__package.is-selected {
  background: #293a2d !important;
}

html[data-theme="dark"] .ps-insurance-comparison__package.is-included,
html[data-theme="dark"] .ps-insurance-comparison__cell.is-included {
  background: #2b352d !important;
}

html[data-theme="dark"] .ps-insurance-comparison-scroll {
  scrollbar-color: #626262 #272727;
}

html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator)::-webkit-scrollbar,
html[data-theme="dark"] .ps-vehicle-modal__body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator)::-webkit-scrollbar-track,
html[data-theme="dark"] .ps-vehicle-modal__body::-webkit-scrollbar-track {
  background: #272727;
}

html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator)::-webkit-scrollbar-thumb,
html[data-theme="dark"] .ps-vehicle-modal__body::-webkit-scrollbar-thumb {
  border: 2px solid #272727;
  border-radius: 999px;
  background: #555;
}

.ps-booking-conditions {
  margin-top: 34px;
}

@media (max-width: 900px) {
  .ps-booking-section {
    overflow: hidden;
  }

  .ps-insurance-comparison.is-expanded {
    grid-template-columns: minmax(155px, 1.15fr) repeat(4, minmax(120px, 1fr));
  }
}

@media (max-width: 700px) {
  .ps-insurance-comparison.is-compact {
    width: max-content;
    min-width: 540px;
    grid-template-columns: 170px repeat(2, 185px);
  }

  .ps-insurance-comparison.is-expanded {
    width: max-content;
    min-width: 790px;
    grid-template-columns: 170px repeat(4, 155px);
  }

  .ps-booking-conditions {
    margin-top: 24px;
  }
}

/* ui126 cascade overrides: this block intentionally follows the legacy modal
   rules that are still kept for the standalone vehicle page. */
.ps-booking-configurator {
  --booking-bg: #fff;
  --booking-surface: #fff;
  --booking-surface-alt: #f4f5f7;
}

.ps-booking-configurator,
.ps-booking-configurator .ps-vehicle-sheet__topbar,
.ps-booking-vehicle,
.ps-booking-rental-summary,
.ps-booking-configurator__layout {
  background: var(--booking-bg) !important;
}

.ps-booking-vehicle {
  padding-bottom: 22px;
  border-bottom: 0;
}

.ps-booking-specs.ps-booking-specs--expanded {
  margin-top: 30px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  overflow: visible;
}

.ps-booking-specs--expanded dl {
  padding: 0;
}

.ps-booking-configurator__layout {
  padding-top: 16px;
  padding-bottom: 10px;
}

.ps-booking-configurator__main {
  gap: 0;
}

.ps-booking-section,
.ps-booking-total,
html[data-theme="dark"] .ps-booking-section,
html[data-theme="dark"] .ps-booking-total {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-booking-section {
  padding: 28px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--booking-border) !important;
}

.ps-booking-section:first-child {
  padding-top: 10px;
}

.ps-booking-section:last-child {
  border-bottom: 0 !important;
}

.ps-booking-total {
  padding: 4px 0 0 22px;
  border-left: 1px solid var(--booking-border) !important;
}

.ps-booking-conditions.ps-booking-conditions--bottom {
  margin: 0;
  padding: 0;
}

.ps-booking-terms-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 30px 46px;
  background: var(--booking-bg);
}

.ps-booking-terms-bottom > header {
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--booking-border);
}

.ps-booking-terms-bottom > header > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--booking-accent-soft);
  color: var(--booking-accent) !important;
  font-size: 11px;
  font-weight: 900;
}

.ps-booking-terms-bottom h2 {
  margin: 0;
  color: var(--booking-text) !important;
  font-size: 20px;
}

.ps-booking-terms-bottom .ps-booking-conditions--bottom {
  margin-top: 18px;
}

html[data-theme="dark"] .ps-booking-configurator {
  --booking-bg: #272727;
  --booking-surface: #272727;
  --booking-surface-alt: #323232;
}

html[data-theme="dark"] .ps-booking-specs.ps-booking-specs--expanded,
html[data-theme="dark"] .ps-booking-configurator .ps-vehicle-sheet__topbar,
html[data-theme="dark"] .ps-booking-vehicle,
html[data-theme="dark"] .ps-booking-rental-summary,
html[data-theme="dark"] .ps-booking-configurator__layout {
  background: #272727 !important;
}

@media (max-width: 900px) {
  .ps-booking-total {
    padding: 24px 0 0;
    border-top: 1px solid var(--booking-border) !important;
    border-left: 0 !important;
  }
}

@media (max-width: 700px) {
  .ps-booking-configurator__layout {
    padding-top: 8px;
  }

  .ps-booking-section {
    padding: 24px 2px;
  }

  .ps-booking-conditions.ps-booking-conditions--bottom {
    margin: 0;
  }

  .ps-booking-terms-bottom {
    padding: 8px 12px 30px;
  }

  .ps-booking-terms-bottom .ps-booking-conditions--bottom {
    margin-top: 14px;
  }
}

/* 2026-08-12 ui127: compact rental summary, plain section titles, insurance
   help dialogs and a clearly separated estimate card. */
.ps-booking-rental-summary {
  padding-top: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--booking-border);
}

.ps-booking-rental-summary > header {
  justify-content: flex-start;
  gap: 5px;
  margin-bottom: 10px;
}

.ps-booking-rental-summary > header > button {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
}

.ps-booking-rental-summary > header svg {
  width: 18px;
  height: 18px;
}

.ps-booking-rental-summary__grid {
  width: min(440px, 100%);
  max-width: 440px;
}

.ps-booking-rental-summary__grid article {
  padding: 11px 14px 12px;
}

.ps-booking-rental-summary__grid span {
  color: var(--booking-text) !important;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.ps-booking-rental-summary__grid strong {
  margin-top: 5px;
  font-size: 12px;
}

.ps-booking-rental-summary__grid time {
  margin-top: 4px;
  font-size: 11px;
}

.ps-booking-section > header.ps-booking-section__plain {
  margin-bottom: 16px;
  display: block;
}

.ps-booking-section__plain h2 {
  font-size: 22px;
  font-weight: 850;
}

.ps-insurance-comparison__name {
  min-width: 0;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  color: var(--booking-text) !important;
  text-align: center;
}

.ps-insurance-comparison__name > b {
  min-width: 0;
  color: var(--booking-text) !important;
  font-size: 12px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.ps-insurance-info-trigger {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: grid;
  place-items: center;
  border: 2px solid var(--booking-accent);
  border-radius: 50%;
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--booking-accent) 13%, transparent);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ps-insurance-info-trigger:hover,
.ps-insurance-info-trigger:focus-visible {
  outline: 0;
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--booking-accent) 20%, transparent);
}

.ps-booking-services {
  gap: 10px;
}

.ps-booking-services__group h3 {
  margin-bottom: 4px;
}

.ps-booking-service {
  min-height: 44px;
  margin-top: 5px;
  padding: 6px 9px;
  border-radius: 10px;
}

.ps-booking-service b {
  font-size: 9px;
}

.ps-booking-service small {
  margin-top: 2px;
  font-size: 7.5px;
}

.ps-service-counter {
  grid-template-columns: 25px 23px 25px;
  border-radius: 8px;
}

.ps-service-counter button,
.ps-service-counter output {
  height: 26px;
  font-size: 11px;
}

.ps-booking-service--toggle > i {
  width: 30px;
  height: 18px;
  flex-basis: 30px;
}

.ps-booking-service--toggle > i::after {
  width: 12px;
  height: 12px;
}

.ps-booking-service--toggle:has(input:checked) > i::after {
  transform: translateX(12px);
}

.ps-booking-total,
html[data-theme="dark"] .ps-booking-total {
  padding: 20px !important;
  border: 1px solid var(--booking-border) !important;
  border-radius: 18px !important;
  background: var(--booking-surface-alt) !important;
  box-shadow: 0 14px 32px color-mix(in srgb, #0d1b2a 11%, transparent) !important;
}

.ps-insurance-info-modal[hidden] {
  display: none !important;
}

.ps-insurance-info-modal {
  position: fixed;
  z-index: 95;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
}

.ps-insurance-info-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 12, 18, .7);
  backdrop-filter: blur(3px);
}

.ps-insurance-info-modal__dialog {
  position: relative;
  width: min(430px, 100%);
  padding: 22px;
  border: 1px solid var(--booking-border);
  border-radius: 18px;
  background: var(--booking-surface);
  color: var(--booking-text) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.ps-insurance-info-modal__dialog > header {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
}

.ps-insurance-info-modal__dialog > header > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
  font-size: 14px;
  font-weight: 950;
}

.ps-insurance-info-modal__dialog h2 {
  margin: 0;
  color: var(--booking-text) !important;
  font-size: 18px;
  line-height: 1.25;
}

.ps-insurance-info-modal__dialog > header > button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--booking-border);
  border-radius: 50%;
  background: transparent;
  color: var(--booking-text) !important;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}

.ps-insurance-info-modal__dialog p {
  margin: 18px 0 0;
  color: var(--booking-muted) !important;
  font-size: 13px;
  line-height: 1.6;
}

.ps-insurance-info-modal__action {
  width: 100%;
  min-height: 42px;
  margin-top: 20px;
  border: 1px solid var(--booking-accent);
  border-radius: 11px;
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

html[data-theme="dark"] .ps-insurance-info-modal__dialog {
  background: #323232;
}

@media (max-width: 900px) {
  .ps-booking-total,
  html[data-theme="dark"] .ps-booking-total {
    padding: 18px !important;
    border: 1px solid var(--booking-border) !important;
  }
}

@media (max-width: 700px) {
  .ps-booking-rental-summary {
    padding: 16px 12px 22px;
  }

  .ps-booking-rental-summary h2 {
    font-size: 17px;
  }

  .ps-booking-rental-summary__grid {
    width: 100%;
  }

  .ps-booking-rental-summary__grid article {
    padding: 10px 11px 11px;
  }

  .ps-booking-section__plain h2 {
    font-size: 18px;
  }

  .ps-insurance-comparison__name {
    padding: 0 18px;
  }

  .ps-booking-services {
    gap: 8px;
  }

  .ps-insurance-info-modal {
    padding: 12px;
  }

  .ps-insurance-info-modal__dialog {
    padding: 18px;
    border-radius: 16px;
  }
}

/* 2026-08-12 ui128: Trip-style vertical insurance cards with the detailed
   comparison available only on demand. */
.ps-insurance-cards {
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-insurance-card {
  position: relative;
  order: 3;
  min-width: 0;
  padding: 15px 16px 14px;
  display: block;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--booking-surface-alt);
  color: var(--booking-text) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--booking-border) 72%, transparent);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ps-insurance-card[data-insurance-role="super"] {
  order: 1;
}

.ps-insurance-card[data-insurance-role="full"] {
  order: 2;
}

.ps-insurance-card[data-insurance-role="business"] {
  order: 3;
}

.ps-insurance-card[data-insurance-role="act"] {
  order: 4;
}

.ps-insurance-card:not(.is-mandatory):hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--booking-accent) 48%, var(--booking-border));
}

.ps-insurance-card.is-selected,
.ps-insurance-card:has(> input:checked) {
  border-color: var(--booking-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--booking-accent) 13%, transparent);
}

.ps-insurance-card > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ps-insurance-card__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(108px, auto);
  align-items: center;
  gap: 10px;
}

.ps-insurance-card__shield {
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #8b96a7 !important;
  filter: drop-shadow(0 2px 2px rgba(19, 30, 45, .12));
}

.ps-insurance-card__shield svg {
  width: 36px;
  height: 42px;
  overflow: visible;
}

.ps-insurance-card__shield path:first-child {
  fill: color-mix(in srgb, currentColor 24%, transparent);
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.ps-insurance-card__shield path:last-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-insurance-card[data-insurance-role="super"] .ps-insurance-card__shield {
  color: #8658d6 !important;
}

.ps-insurance-card[data-insurance-role="full"] .ps-insurance-card__shield {
  color: #2674cb !important;
}

.ps-insurance-card[data-insurance-role="business"] .ps-insurance-card__shield {
  color: #efaa18 !important;
}

.ps-insurance-card[data-insurance-role="act"] .ps-insurance-card__shield {
  color: #d98d9b !important;
}

.ps-insurance-card__identity {
  min-width: 0;
}

.ps-insurance-card__recommended {
  width: max-content;
  margin: -22px 0 6px;
  padding: 2px 7px;
  display: block;
  border-radius: 999px;
  background: #22ae52;
  color: #fff !important;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.ps-insurance-card__name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ps-insurance-card__name > b {
  min-width: 0;
  color: var(--booking-text) !important;
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ps-insurance-card__name .ps-insurance-info-trigger {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  border-width: 1px;
  box-shadow: none;
  font-size: 10px;
}

.ps-insurance-card__note {
  margin-top: 4px;
  display: block;
  color: var(--booking-muted) !important;
  font-size: 9px;
  line-height: 1.35;
}

.ps-insurance-card__price {
  min-width: 108px;
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}

.ps-insurance-card__price > strong {
  color: var(--booking-text) !important;
  font-size: 13px;
  line-height: 1.15;
}

.ps-insurance-card__price > strong > span {
  color: inherit !important;
}

.ps-insurance-card__price > strong > small {
  margin-left: 3px;
  color: var(--booking-muted) !important;
  font-size: 8px;
  font-weight: 650;
}

.ps-insurance-card__select,
.ps-insurance-card__included {
  min-width: 86px;
  min-height: 29px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--booking-accent);
  border-radius: 8px;
  background: transparent;
  color: var(--booking-accent) !important;
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}

.ps-insurance-card.is-selected .ps-insurance-card__select,
.ps-insurance-card:has(> input:checked) .ps-insurance-card__select,
.ps-insurance-card__included {
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
}

.ps-insurance-card__deposit {
  width: max-content;
  max-width: 100%;
  margin-top: 11px;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  background: var(--booking-surface);
  color: var(--booking-text) !important;
  font-size: 9px;
  line-height: 1.2;
}

.ps-insurance-card__deposit span {
  color: var(--booking-muted) !important;
}

.ps-insurance-card__deposit b {
  color: var(--booking-text) !important;
  font-size: 10px;
}

.ps-insurance-card ul {
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 5px;
  list-style: none;
}

.ps-insurance-card li {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  gap: 5px;
  color: var(--booking-muted) !important;
  font-size: 9px;
  line-height: 1.3;
}

.ps-insurance-card li i {
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.ps-insurance-card li.is-covered i {
  color: #19b978 !important;
}

.ps-insurance-card li.is-uncovered i {
  color: #ef6268 !important;
}

.ps-insurance-card.is-mandatory {
  cursor: default;
  opacity: .82;
}

.ps-insurance-compare-toggle {
  width: min(520px, 100%);
  min-height: 48px;
  margin-top: 10px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  background: color-mix(in srgb, var(--booking-accent) 16%, var(--booking-surface-alt));
  color: color-mix(in srgb, var(--booking-accent) 74%, var(--booking-text)) !important;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.ps-insurance-compare-toggle:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--booking-accent) 22%, var(--booking-surface-alt));
}

.ps-insurance-compare-toggle svg {
  width: 17px;
  height: 17px;
  transition: transform .18s ease;
}

.ps-insurance-compare-toggle svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-insurance-compare-toggle.is-expanded svg {
  transform: rotate(180deg);
}

.ps-insurance-comparison-shell[data-insurance-compare-panel] {
  width: 100%;
  margin-top: 14px;
}

.ps-insurance-comparison-shell[data-insurance-compare-panel][hidden] {
  display: none !important;
}

.ps-insurance-comparison-shell[data-insurance-compare-panel] .ps-insurance-comparison-scroll {
  max-width: 100%;
}

html[data-theme="dark"] .ps-insurance-card {
  background: #323232;
  box-shadow: inset 0 0 0 1px #454545;
}

html[data-theme="dark"] .ps-insurance-card__deposit {
  background: #272727;
}

html[data-theme="dark"] .ps-insurance-card.is-selected,
html[data-theme="dark"] .ps-insurance-card:has(> input:checked) {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--booking-accent) 16%, transparent);
}

@media (max-width: 700px) {
  .ps-insurance-card {
    padding: 13px 12px 12px;
  }

  .ps-insurance-card__head {
    grid-template-columns: 36px minmax(0, 1fr) minmax(88px, auto);
    gap: 8px;
  }

  .ps-insurance-card__shield,
  .ps-insurance-card__shield svg {
    width: 32px;
    height: 37px;
  }

  .ps-insurance-card__name {
    gap: 5px;
  }

  .ps-insurance-card__name > b {
    font-size: 11px;
  }

  .ps-insurance-card__note {
    font-size: 8px;
  }

  .ps-insurance-card__price {
    min-width: 88px;
  }

  .ps-insurance-card__price > strong {
    font-size: 11px;
  }

  .ps-insurance-card__select,
  .ps-insurance-card__included {
    min-width: 78px;
    min-height: 27px;
    padding: 0 7px;
    font-size: 8px;
  }

  .ps-insurance-card li {
    font-size: 8px;
  }

  .ps-insurance-comparison.is-expanded {
    min-width: 790px;
  }
}

/* 2026-08-12 ui129: narrower booking dialog, roomier controls and modal
   insurance comparison. */
.ps-vehicle-modal__dialog:has(.ps-booking-configurator),
html[data-theme="light"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator),
html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator) {
  width: min(980px, calc(100vw - 36px)) !important;
}

.ps-booking-rental-summary {
  padding-top: 22px;
  padding-bottom: 28px;
}

.ps-booking-rental-summary h2 {
  font-size: 22px;
}

.ps-booking-rental-summary > header {
  margin-bottom: 13px;
  gap: 7px;
}

.ps-booking-rental-summary > header > button {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.ps-booking-rental-summary > header svg {
  width: 20px;
  height: 20px;
}

.ps-booking-rental-summary__grid {
  width: min(520px, 100%);
  max-width: 520px;
}

.ps-booking-rental-summary__grid article {
  padding: 14px 16px 15px;
}

.ps-booking-rental-summary__grid span {
  font-size: 12px;
}

.ps-booking-rental-summary__grid strong {
  margin-top: 6px;
  font-size: 14px;
}

.ps-booking-rental-summary__grid time {
  margin-top: 5px;
  font-size: 12px;
}

.ps-booking-section__plain h2,
.ps-booking-configurator__main .ps-booking-terms-bottom h2 {
  font-size: 23px;
}

.ps-booking-specs--expanded h2 {
  font-size: 20px;
}

.ps-booking-specs dl > div {
  min-height: 42px;
  padding: 9px 0;
}

.ps-booking-specs dt,
.ps-booking-specs dd {
  font-size: 11px;
}

.ps-insurance-cards,
.ps-insurance-compare-toggle {
  width: 100%;
  max-width: none;
}

.ps-insurance-card {
  padding: 17px 17px 16px;
}

.ps-insurance-card__head {
  grid-template-columns: 44px minmax(0, 1fr) minmax(116px, auto);
  gap: 11px;
}

.ps-insurance-card__shield,
.ps-insurance-card__shield svg {
  width: 39px;
  height: 44px;
}

.ps-insurance-card__name > b {
  font-size: 14px;
}

.ps-insurance-card__name .ps-insurance-info-trigger {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  font-size: 11px;
}

.ps-insurance-card__note {
  font-size: 10px;
}

.ps-insurance-card__price > strong {
  font-size: 14px;
}

.ps-insurance-card__select,
.ps-insurance-card__included {
  min-width: 94px;
  min-height: 32px;
  font-size: 10px;
}

.ps-insurance-card__deposit {
  margin-top: 12px;
  font-size: 10px;
}

.ps-insurance-card__deposit b {
  font-size: 11px;
}

.ps-insurance-card li {
  font-size: 10px;
}

.ps-insurance-compare-toggle {
  min-height: 52px;
  font-size: 13px;
}

.ps-booking-services {
  gap: 14px;
}

.ps-booking-services__group h3 {
  margin-bottom: 7px;
  font-size: 11px;
}

.ps-booking-service {
  min-height: 60px;
  margin-top: 7px;
  padding: 11px 12px;
  border-radius: 12px;
}

.ps-booking-service b {
  font-size: 12px;
  line-height: 1.3;
}

.ps-booking-service small {
  margin-top: 4px;
  font-size: 9.5px;
}

.ps-service-counter {
  grid-template-columns: 31px 29px 31px;
}

.ps-service-counter button,
.ps-service-counter output {
  height: 34px;
  font-size: 13px;
}

.ps-booking-service--toggle > i {
  width: 38px;
  height: 22px;
  flex-basis: 38px;
}

.ps-booking-service--toggle > i::after {
  width: 16px;
  height: 16px;
}

.ps-booking-service--toggle:has(input:checked) > i::after {
  transform: translateX(16px);
}

.ps-booking-configurator__main .ps-booking-terms-bottom {
  max-width: none;
  margin: 0;
  padding: 28px 0 8px;
  background: transparent;
}

.ps-booking-configurator__main .ps-booking-terms-bottom > header {
  padding-top: 0;
  border-top: 0;
}

.ps-booking-configurator__main .ps-booking-terms-bottom .ps-booking-conditions--bottom {
  width: 100%;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.ps-booking-configurator__main .ps-booking-conditions--bottom > div {
  min-height: 46px;
  padding: 10px 0;
}

.ps-booking-configurator__main .ps-booking-conditions--bottom dt,
.ps-booking-configurator__main .ps-booking-conditions--bottom dd {
  font-size: 12px;
}

.ps-insurance-compare-modal[hidden] {
  display: none !important;
}

.ps-insurance-info-modal {
  z-index: 99;
}

.ps-booking-section:has(.ps-insurance-compare-modal) {
  overflow: visible !important;
}

.ps-insurance-compare-modal {
  position: fixed;
  z-index: 96;
  inset: 0;
  padding: 22px;
  display: grid;
  place-items: center;
}

.ps-insurance-compare-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 12, 18, .74);
  backdrop-filter: blur(4px);
}

.ps-insurance-compare-modal__dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100dvh - 44px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid var(--booking-border);
  border-radius: 18px;
  background: var(--booking-surface);
  color: var(--booking-text) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
}

.ps-insurance-compare-modal__dialog > header {
  min-height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--booking-border);
}

.ps-insurance-compare-modal__dialog > header h2 {
  margin: 0;
  color: var(--booking-text) !important;
  font-size: 21px;
}

.ps-insurance-compare-modal__dialog > header button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--booking-border);
  border-radius: 50%;
  background: transparent;
  color: var(--booking-text) !important;
  font: inherit;
  font-size: 23px;
  cursor: pointer;
}

.ps-insurance-compare-modal .ps-insurance-comparison-shell {
  min-height: 0;
  padding: 18px;
  overflow: hidden;
}

.ps-insurance-compare-modal .ps-insurance-comparison-scroll {
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 144px);
  overflow: auto;
  overscroll-behavior: contain;
}

.ps-insurance-compare-modal .ps-insurance-comparison__corner > b,
.ps-insurance-compare-modal .ps-insurance-comparison__name > b {
  font-size: 13px;
}

.ps-insurance-compare-modal .ps-insurance-comparison__corner > small,
.ps-insurance-compare-modal .ps-insurance-comparison__package > small,
.ps-insurance-compare-modal .ps-insurance-comparison__feature > small {
  font-size: 9px;
}

.ps-insurance-compare-modal .ps-insurance-comparison__feature > b,
.ps-insurance-compare-modal .ps-insurance-comparison__cell > strong {
  font-size: 11px;
}

.ps-insurance-compare-modal .ps-insurance-comparison__feature,
.ps-insurance-compare-modal .ps-insurance-comparison__cell {
  min-height: 70px;
}

.ps-booking-total__eyebrow {
  font-size: 11px;
}

.ps-booking-total__amount {
  font-size: 32px;
}

.ps-booking-total dt,
.ps-booking-total dd {
  font-size: 11px;
}

.ps-booking-total__continue,
.ps-booking-total > button {
  font-size: 12px;
}

html[data-theme="dark"] .ps-insurance-compare-modal__dialog {
  background: #323232;
}

html[data-theme="dark"] .ps-insurance-compare-modal .ps-insurance-comparison-shell {
  background: #323232;
}

@media (max-width: 900px) {
  .ps-vehicle-modal__dialog:has(.ps-booking-configurator),
  html[data-theme="light"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator),
  html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator) {
    width: min(760px, calc(100vw - 24px)) !important;
  }

  .ps-insurance-compare-modal {
    padding: 12px;
  }

  .ps-insurance-compare-modal__dialog {
    max-height: calc(100dvh - 24px);
  }

  .ps-insurance-compare-modal .ps-insurance-comparison-scroll {
    max-height: calc(100dvh - 124px);
  }
}

@media (max-width: 700px) {
  .ps-vehicle-modal {
    padding: 0 !important;
  }

  .ps-vehicle-modal__dialog:has(.ps-booking-configurator),
  html[data-theme="light"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator),
  html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator) {
    width: 100% !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }

  .ps-booking-rental-summary h2 {
    font-size: 19px;
  }

  .ps-booking-rental-summary__grid strong {
    font-size: 12px;
  }

  .ps-booking-services {
    grid-template-columns: 1fr;
  }

  .ps-booking-service {
    min-height: 56px;
    padding: 10px 11px;
  }

  .ps-booking-service b {
    font-size: 11px;
  }

  .ps-insurance-compare-modal__dialog {
    border-radius: 14px;
  }

  .ps-insurance-compare-modal__dialog > header {
    min-height: 56px;
    padding: 0 14px;
  }

  .ps-insurance-compare-modal__dialog > header h2 {
    font-size: 18px;
  }

  .ps-insurance-compare-modal .ps-insurance-comparison-shell {
    padding: 10px;
  }
}

/* 2026-08-12 ui130: complete multilingual pickup/return locations with tariffs. */
.ps-custom-select__menu.has-location-prices {
  max-height: min(540px, calc(100vh - 130px));
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}

.ps-custom-select__option.has-location-price {
  position: relative;
  min-height: 54px;
  padding: 8px 12px;
  justify-content: space-between;
  gap: 16px;
}

.ps-custom-select__option-name {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.ps-custom-select__option-meta {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #667085;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
}

.ps-custom-select__option-meta b {
  color: #344054;
  font-size: 11px;
  font-weight: 700;
}

.ps-custom-select__option-meta em {
  color: #8a94a6;
  font-size: 9px;
  font-style: normal;
}

.ps-custom-select__option.has-location-price.is-selected::after {
  content: none !important;
}

@media (min-width: 768px) {
  .ps-custom-select__menu.has-location-prices {
    left: -12px;
    right: auto;
    width: 350px;
    padding: 7px;
  }
}

html[data-theme="dark"] .ps-custom-select__option-meta,
html[data-theme="dark"] .ps-custom-select__option-meta b {
  color: #d1d5db;
}

html[data-theme="dark"] .ps-custom-select__option-meta em {
  color: #98a2b3;
}

.ps-rental-location-picker {
  position: relative;
  width: 100%;
}

.ps-rental-location-picker > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ps-rental-location-picker__toggle {
  width: 100%;
  min-height: 48px;
  padding: 8px 42px 8px 14px;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.ps-rental-location-picker__toggle > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-rental-location-picker__toggle svg {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 6px;
  transform: translateY(-50%);
  transition: transform .18s ease;
}

.ps-rental-location-picker.is-open .ps-rental-location-picker__toggle svg {
  transform: translateY(-50%) rotate(180deg);
}

.ps-rental-location-picker__menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 20;
  max-height: min(360px, calc(100dvh - 210px));
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, .16);
  scrollbar-width: thin;
}

.ps-rental-location-picker__menu[hidden] {
  display: none !important;
}

.ps-rental-location-picker__menu > button {
  width: 100%;
  min-height: 48px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #172033;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ps-rental-location-picker__menu > button:hover,
.ps-rental-location-picker__menu > button.is-selected {
  background: #edf4ff;
}

.ps-rental-location-picker__menu > button > span {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.ps-rental-location-picker__menu > button > small {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #667085;
  line-height: 1.15;
  white-space: nowrap;
}

.ps-rental-location-picker__menu > button > small b {
  font-size: 10px;
  font-weight: 700;
}

.ps-rental-location-picker__menu > button > small em {
  color: #8a94a6;
  font-size: 8px;
  font-style: normal;
}

html[data-theme="dark"] .ps-rental-location-picker__toggle,
html[data-theme="dark"] .ps-rental-location-picker__menu {
  border-color: #475467;
  background: #272727;
  color: #f5f7fa;
}

html[data-theme="dark"] .ps-rental-location-picker__menu > button {
  color: #f5f7fa;
}

html[data-theme="dark"] .ps-rental-location-picker__menu > button:hover,
html[data-theme="dark"] .ps-rental-location-picker__menu > button.is-selected {
  background: #343d48;
}

html[data-theme="dark"] .ps-rental-location-picker__menu > button > small,
html[data-theme="dark"] .ps-rental-location-picker__menu > button > small b {
  color: #d0d5dd;
}

html[data-theme="dark"] .ps-rental-location-picker__menu > button > small em {
  color: #98a2b3;
}

@media (max-width: 767px) {
  body > .ps-custom-select__menu.ps-mobile-picker-portal.has-location-prices {
    max-height: 100dvh !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
  }

  body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option.has-location-price {
    min-height: 58px !important;
    padding-right: 14px !important;
  }

  body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option-name {
    font-size: 14px !important;
  }

  body > .ps-custom-select__menu.ps-mobile-picker-portal .ps-custom-select__option-meta {
    margin-left: auto;
  }

  .ps-rental-location-picker__menu {
    max-height: min(310px, calc(100dvh - 230px));
  }
}

/* 2026-08-12 ui133: fixed rental dates, stronger summary and final total. */
.ps-booking-rental-summary {
  padding-top: 22px !important;
}

.ps-booking-rental-summary > header {
  justify-content: flex-start !important;
  gap: 7px !important;
}

.ps-booking-rental-summary h2 {
  font-size: 23px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: -.025em;
}

.ps-booking-rental-summary > header > button {
  width: 32px !important;
  height: 32px !important;
}

.ps-booking-rental-summary > header svg {
  width: 22px !important;
  height: 22px !important;
}

.ps-booking-rental-summary__grid {
  width: min(760px, 100%);
  max-width: 760px !important;
}

.ps-booking-rental-summary__grid article {
  min-height: 104px;
  padding: 16px 18px !important;
}

.ps-booking-rental-summary__grid span {
  font-size: 12px !important;
  font-weight: 850 !important;
}

.ps-booking-rental-summary__grid strong {
  margin-top: 6px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
}

.ps-booking-rental-summary__grid time {
  margin-top: 6px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

.ps-insurance-section__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.ps-insurance-section__header .ps-insurance-compare-toggle {
  width: auto !important;
  min-height: 42px !important;
  margin: 0 0 0 auto !important;
  padding: 0 18px !important;
  flex: 0 0 auto;
  border: 1px solid var(--booking-accent) !important;
  border-radius: 11px !important;
  background: var(--booking-accent-soft) !important;
  color: var(--booking-accent) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

.ps-booking-configurator__layout {
  grid-template-columns: minmax(0, 1fr) 330px !important;
}

.ps-booking-total,
html[data-theme="dark"] .ps-booking-total {
  padding: 28px !important;
  border: 1px solid var(--booking-border) !important;
  border-radius: 20px !important;
  background: var(--booking-surface-alt) !important;
  box-shadow: 0 16px 38px color-mix(in srgb, #0d1b2a 13%, transparent) !important;
}

.ps-booking-total__eyebrow {
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
}

.ps-booking-total__amount {
  margin-top: 8px !important;
  font-size: 36px !important;
  line-height: 1 !important;
}

.ps-booking-total > .ps-booking-total__days {
  margin-top: 8px !important;
  color: var(--booking-text) !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
}

.ps-booking-total dl {
  margin-top: 20px !important;
  padding: 13px 0 !important;
}

.ps-booking-total dl > div {
  min-height: 38px !important;
}

.ps-booking-total dt,
.ps-booking-total dd {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.ps-booking-total__continue {
  min-height: 54px !important;
  margin-top: 18px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.ps-rental-editor__date {
  margin: -5px 0 14px !important;
  color: var(--booking-text) !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 850 !important;
}

.ps-rental-time-field {
  margin-top: 14px !important;
}

.ps-rental-time-field .ps-rental-time-select {
  width: 100% !important;
  min-height: 54px !important;
  padding: 10px 14px !important;
}

.ps-booking-configurator .ps-vehicle-sheet__close,
.ps-rental-editor__dialog > header button,
.ps-insurance-compare-modal__dialog > header button {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 3px 5px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--booking-text) !important;
  font-size: 31px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

@media (max-width: 900px) {
  .ps-booking-configurator__layout {
    grid-template-columns: 1fr !important;
  }

  .ps-booking-total,
  html[data-theme="dark"] .ps-booking-total {
    width: 100% !important;
    padding: 24px !important;
  }
}

@media (max-width: 700px) {
  .ps-booking-rental-summary h2 {
    font-size: 21px !important;
  }

  .ps-booking-rental-summary__grid article {
    min-height: 94px;
    padding: 14px 16px !important;
  }

  .ps-insurance-section__header {
    align-items: flex-start !important;
  }

  .ps-insurance-section__header .ps-insurance-compare-toggle {
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
  }
}
/* 2026-08-12 ui134: localized specs and final booking layout polish. */
.ps-search__field-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ps-search-help {
  width: 15px;
  height: 15px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
  border: 1px solid #98a2b3;
  border-radius: 50%;
  color: #667085;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  cursor: help;
}

.ps-search-help::after {
  content: attr(data-tooltip);
  width: 310px;
  max-width: min(310px, calc(100vw - 28px));
  padding: 11px 13px;
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  z-index: 90;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 24, 40, .18);
  color: #172033;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.ps-search-help:hover::after,
.ps-search-help:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.ps-search__field:first-child .ps-search-help::after {
  left: -8px;
  transform: translate(0, 3px);
}

.ps-search__field:first-child .ps-search-help:hover::after,
.ps-search__field:first-child .ps-search-help:focus-visible::after {
  transform: translate(0, 0);
}

html[data-theme="dark"] .ps-search-help {
  border-color: #8d98a8;
  color: #aeb7c4;
}

html[data-theme="dark"] .ps-search-help::after {
  border-color: #475467;
  background: #272727;
  color: #f5f7fa;
}

.ps-rental-location-picker__toggle,
.ps-rental-time-picker__toggle {
  font-size: 14px !important;
  font-weight: 800 !important;
}

.ps-rental-location-picker__menu {
  position: fixed !important;
  inset: auto !important;
  z-index: 90 !important;
  max-height: 310px;
}

.ps-rental-location-picker__menu > button > span {
  font-size: 14px !important;
  font-weight: 800 !important;
}

.ps-rental-location-picker__menu > button > small b {
  font-size: 11px !important;
  font-weight: 850 !important;
}

.ps-rental-time-picker {
  position: relative;
  width: 100%;
}

.ps-rental-time-picker > select {
  width: 1px !important;
  height: 1px !important;
  position: absolute !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ps-rental-time-picker__toggle {
  width: 100%;
  min-height: 54px;
  padding: 9px 44px 9px 14px;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: #172033;
  text-align: left;
  cursor: pointer;
}

.ps-rental-time-picker__toggle svg {
  width: 10px;
  height: 6px;
  position: absolute;
  top: 50%;
  right: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transform: translateY(-50%);
  transition: transform .18s ease;
}

.ps-rental-time-picker.is-open .ps-rental-time-picker__toggle svg {
  transform: translateY(-50%) rotate(180deg);
}

.ps-rental-time-picker__menu {
  position: fixed;
  inset: auto;
  z-index: 90;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, .2);
  scrollbar-width: thin;
}

.ps-rental-time-picker__menu[hidden] {
  display: none !important;
}

.ps-rental-time-picker__menu > button {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  display: block;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.ps-rental-time-picker__menu > button:hover,
.ps-rental-time-picker__menu > button.is-selected {
  background: #e8f1ff;
  color: #246dd8;
}

html[data-theme="dark"] .ps-rental-time-picker__toggle,
html[data-theme="dark"] .ps-rental-time-picker__menu {
  border-color: #475467;
  background: #272727;
  color: #f5f7fa;
}

html[data-theme="dark"] .ps-rental-time-picker__menu > button {
  color: #f5f7fa;
}

html[data-theme="dark"] .ps-rental-time-picker__menu > button:hover,
html[data-theme="dark"] .ps-rental-time-picker__menu > button.is-selected {
  background: #343d48;
  color: #55e46a;
}

.ps-booking-rental-summary__grid {
  width: min(620px, 100%) !important;
  max-width: 620px !important;
}

.ps-booking-rental-summary__grid article {
  min-height: 108px !important;
  padding: 17px 19px !important;
}

.ps-booking-rental-summary__grid span {
  font-size: 13px !important;
}

.ps-booking-rental-summary__grid strong {
  font-size: 16px !important;
}

.ps-booking-rental-summary__grid time {
  font-size: 14px !important;
}

.ps-booking-configurator__layout {
  grid-template-columns: minmax(0, 1fr) 380px !important;
}

.ps-booking-total,
html[data-theme="dark"] .ps-booking-total {
  padding: 32px !important;
}

.ps-booking-total__eyebrow {
  font-size: 13px !important;
}

.ps-booking-total__amount {
  font-size: 39px !important;
}

.ps-booking-total > .ps-booking-total__days {
  font-size: 14px !important;
}

.ps-booking-total dl > div {
  min-height: 42px !important;
}

.ps-booking-total dt,
.ps-booking-total dd,
.ps-booking-total__service-lines span,
.ps-booking-total__service-lines b {
  font-size: 13px !important;
  font-weight: 800 !important;
}

.ps-booking-total__continue {
  min-height: 58px !important;
  font-size: 15px !important;
}

.ps-booking-terms-bottom > header h2 {
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

.ps-booking-configurator__main .ps-booking-terms-bottom .ps-booking-conditions--bottom {
  width: min(620px, 100%) !important;
  max-width: 620px !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.ps-booking-configurator__main .ps-booking-conditions--bottom > div {
  min-height: 52px !important;
  padding: 11px 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 22px !important;
}

.ps-booking-configurator__main .ps-booking-conditions--bottom dt,
.ps-booking-configurator__main .ps-booking-conditions--bottom dd {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.ps-booking-configurator__main .ps-booking-conditions--bottom dt {
  font-weight: 650 !important;
}

.ps-booking-configurator__main .ps-booking-conditions--bottom dd {
  font-weight: 850 !important;
  text-align: right !important;
}

@media (max-width: 900px) {
  .ps-booking-configurator__layout {
    grid-template-columns: 1fr !important;
  }

  .ps-booking-total,
  html[data-theme="dark"] .ps-booking-total {
    width: 100% !important;
    padding: 26px !important;
  }
}

@media (max-width: 700px) {
  .ps-search-help::after {
    left: -12px;
    transform: translate(0, 3px);
  }

  .ps-search-help:hover::after,
  .ps-search-help:focus-visible::after {
    transform: translate(0, 0);
  }

  .ps-booking-rental-summary__grid {
    width: 100% !important;
  }

  .ps-booking-rental-summary__grid article {
    min-height: 100px !important;
    padding: 15px 16px !important;
  }

  .ps-booking-configurator__main .ps-booking-terms-bottom .ps-booking-conditions--bottom {
    width: 100% !important;
  }
}

/* 2026-08-12 ui135: align the estimate with the rental summary. */
.ps-booking-configurator__layout {
  grid-template-columns: minmax(0, 1fr) 420px !important;
  gap: 12px !important;
}

.ps-booking-configurator__main > .ps-booking-rental-summary {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 28px !important;
  background: transparent !important;
}

.ps-booking-configurator__main > .ps-booking-rental-summary .ps-booking-rental-summary__grid {
  width: min(440px, 100%) !important;
  max-width: 440px !important;
}

.ps-booking-total {
  align-self: start;
}

@media (max-width: 900px) {
  .ps-booking-configurator__layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .ps-booking-configurator__main > .ps-booking-rental-summary .ps-booking-rental-summary__grid {
    width: 100% !important;
    max-width: none !important;
  }
}

/* 2026-08-12 ui136: grouped booking panels, balanced columns and a full
   four-package insurance comparison. */
.ps-booking-configurator__layout {
  grid-template-columns: minmax(0, 1fr) 410px !important;
  gap: 32px !important;
  align-items: start !important;
}

.ps-booking-configurator__main {
  gap: 20px !important;
}

.ps-booking-configurator__main > .ps-booking-rental-summary,
.ps-booking-configurator__main > .ps-booking-section,
html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-rental-summary,
html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px !important;
  overflow: visible !important;
  border: 1px solid var(--booking-border) !important;
  border-radius: 20px !important;
  background: var(--booking-surface-alt) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07) !important;
}

html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-rental-summary,
html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-section {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2) !important;
}

.ps-booking-configurator__main > .ps-booking-rental-summary > header {
  margin-bottom: 16px !important;
}

.ps-booking-configurator__main > .ps-booking-rental-summary h2 {
  font-size: 24px !important;
  font-weight: 900 !important;
}

.ps-booking-configurator__main > .ps-booking-rental-summary .ps-booking-rental-summary__grid {
  width: 100% !important;
  max-width: none !important;
}

.ps-booking-rental-summary__grid article,
html[data-theme="dark"] .ps-booking-rental-summary__grid article {
  min-height: 116px !important;
  padding: 18px 20px !important;
  background: var(--booking-surface) !important;
}

.ps-booking-rental-summary__grid span {
  font-size: 13px !important;
  font-weight: 850 !important;
}

.ps-booking-rental-summary__grid strong {
  margin-top: 7px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.ps-booking-rental-summary__grid time {
  margin-top: 6px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.ps-booking-section > header.ps-booking-section__plain {
  margin-bottom: 18px !important;
}

.ps-booking-section__plain h2,
.ps-booking-configurator__main .ps-booking-terms-bottom h2 {
  font-size: 24px !important;
  font-weight: 900 !important;
}

.ps-insurance-card,
.ps-booking-service,
html[data-theme="dark"] .ps-insurance-card,
html[data-theme="dark"] .ps-booking-service {
  background: var(--booking-surface) !important;
}

.ps-booking-specs--expanded {
  margin-top: 22px !important;
  padding: 20px 22px 18px !important;
  overflow: hidden !important;
  border: 1px solid var(--booking-border) !important;
  border-radius: 18px !important;
  background: var(--booking-surface-alt) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06) !important;
}

html[data-theme="dark"] .ps-booking-specs--expanded {
  background: var(--booking-surface-alt) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18) !important;
}

.ps-booking-specs--expanded h2 {
  margin: 0 0 10px !important;
}

.ps-booking-specs__toggle {
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--booking-text) !important;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  pointer-events: none;
}

.ps-booking-specs__toggle svg {
  width: 20px;
  height: 20px;
  display: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.ps-booking-specs__panel[hidden] {
  display: none !important;
}

.ps-booking-specs--expanded dl {
  gap: 0 22px !important;
}

.ps-booking-specs--expanded dl > div {
  min-height: 48px !important;
  padding: 11px 0 !important;
}

.ps-booking-specs--expanded dt,
.ps-booking-specs--expanded dd {
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.ps-booking-specs--expanded dt {
  font-weight: 700 !important;
}

.ps-booking-specs--expanded dd {
  font-weight: 900 !important;
}

.ps-booking-configurator__main .ps-booking-terms-bottom .ps-booking-conditions--bottom {
  width: 100% !important;
  max-width: none !important;
  margin-top: 10px !important;
}

.ps-booking-configurator__main .ps-booking-conditions--bottom > div {
  min-height: 40px !important;
  padding: 6px 0 !important;
  gap: 18px !important;
}

.ps-booking-configurator__main .ps-booking-conditions--bottom dt,
.ps-booking-configurator__main .ps-booking-conditions--bottom dd {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.ps-insurance-compare-modal {
  padding: 24px !important;
}

.ps-insurance-compare-modal__dialog {
  width: min(1180px, 100%) !important;
  border-radius: 22px !important;
}

.ps-insurance-compare-modal__dialog > header {
  min-height: 72px !important;
  padding: 0 26px !important;
}

.ps-insurance-compare-modal__dialog > header h2 {
  font-size: 24px !important;
  font-weight: 900 !important;
}

.ps-insurance-compare-modal__dialog > header button {
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison-shell {
  padding: 22px !important;
  background: var(--booking-surface) !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison-scroll {
  padding: 0 !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison.is-expanded {
  min-width: 1080px !important;
  grid-template-columns: minmax(250px, 1.3fr) repeat(4, minmax(185px, 1fr)) !important;
  border-radius: 16px !important;
  background: var(--booking-surface) !important;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .08);
}

.ps-insurance-compare-modal .ps-insurance-comparison > * {
  border-right: 1px solid var(--booking-border) !important;
  border-bottom: 1px solid var(--booking-border) !important;
  background: var(--booking-surface) !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison > :nth-child(5n) {
  border-right: 0 !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__corner,
.ps-insurance-compare-modal .ps-insurance-comparison__package {
  min-height: 190px !important;
  padding: 22px 18px !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__corner,
.ps-insurance-compare-modal .ps-insurance-comparison__feature {
  background: var(--booking-surface-alt) !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__corner > b,
.ps-insurance-compare-modal .ps-insurance-comparison__name > b {
  font-size: 15px !important;
  font-weight: 900 !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__corner > small,
.ps-insurance-compare-modal .ps-insurance-comparison__package > small,
.ps-insurance-compare-modal .ps-insurance-comparison__feature > small {
  font-size: 10px !important;
  line-height: 1.45 !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__package > strong {
  font-size: 14px !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__select,
.ps-insurance-compare-modal .ps-insurance-comparison__included {
  min-height: 34px !important;
  padding: 0 13px !important;
  font-size: 10px !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__feature,
.ps-insurance-compare-modal .ps-insurance-comparison__cell {
  min-height: 82px !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__feature {
  padding: 14px 18px !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__feature > b,
.ps-insurance-compare-modal .ps-insurance-comparison__cell > strong {
  font-size: 12px !important;
  font-weight: 850 !important;
}

.ps-insurance-compare-modal .ps-insurance-column-cell.is-selected {
  background: color-mix(in srgb, var(--booking-accent) 9%, var(--booking-surface)) !important;
}

.ps-insurance-compare-modal .ps-insurance-comparison__package.is-included,
.ps-insurance-compare-modal .ps-insurance-comparison__cell.is-included {
  background: color-mix(in srgb, var(--booking-success) 7%, var(--booking-surface)) !important;
}

@media (max-width: 900px) {
  .ps-booking-configurator__layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .ps-booking-configurator__main > .ps-booking-rental-summary,
  .ps-booking-configurator__main > .ps-booking-section,
  html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-rental-summary,
  html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-section {
    padding: 22px !important;
  }
}

@media (max-width: 700px) {
  .ps-booking-specs--expanded {
    padding: 0 !important;
    border-radius: 14px !important;
  }

  .ps-booking-specs--expanded h2 {
    margin: 0 !important;
  }

  .ps-booking-specs__toggle {
    min-height: 56px;
    padding: 0 16px;
    font-size: 18px;
    pointer-events: auto;
    cursor: pointer;
  }

  .ps-booking-specs__toggle svg {
    display: block;
  }

  .ps-booking-specs.is-open .ps-booking-specs__toggle svg {
    transform: rotate(180deg);
  }

  .ps-booking-specs__panel {
    padding: 0 16px 14px;
    border-top: 1px solid var(--booking-border);
  }

  .ps-booking-specs--expanded dl {
    grid-template-columns: 1fr !important;
  }

  .ps-booking-specs--expanded dl > div {
    min-height: 44px !important;
    padding: 9px 0 !important;
  }

  .ps-booking-specs--expanded dt,
  .ps-booking-specs--expanded dd {
    font-size: 12px !important;
  }

  .ps-booking-configurator__main > .ps-booking-rental-summary,
  .ps-booking-configurator__main > .ps-booking-section,
  html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-rental-summary,
  html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-section {
    padding: 18px !important;
    border-radius: 16px !important;
  }

  .ps-booking-configurator__main > .ps-booking-rental-summary h2,
  .ps-booking-section__plain h2,
  .ps-booking-configurator__main .ps-booking-terms-bottom h2 {
    font-size: 20px !important;
  }

  .ps-booking-rental-summary__grid article {
    min-height: 98px !important;
    padding: 14px !important;
  }

  .ps-booking-rental-summary__grid strong {
    font-size: 14px !important;
  }

  .ps-booking-rental-summary__grid time {
    font-size: 12px !important;
  }

  .ps-insurance-compare-modal {
    padding: 10px !important;
  }

  .ps-insurance-compare-modal__dialog {
    max-height: calc(100dvh - 20px) !important;
    border-radius: 18px !important;
  }

  .ps-insurance-compare-modal__dialog > header {
    min-height: 62px !important;
    padding: 0 18px !important;
  }

  .ps-insurance-compare-modal__dialog > header h2 {
    font-size: 20px !important;
  }

  .ps-insurance-compare-modal .ps-insurance-comparison-shell {
    padding: 14px !important;
  }

  .ps-insurance-compare-modal .ps-insurance-comparison.is-expanded {
    min-width: 930px !important;
    grid-template-columns: 210px repeat(4, 180px) !important;
  }
}

/* 2026-08-14 ui137: scroll-contained filters, compact vehicle header,
   two-step booking navigation and live availability refresh. */
@media (min-width: 768px) {
  html body .ps-market-layout > .ps-sidebar-filters {
    height: calc(100vh - var(--ps-sticky-search-height, 78px) - 16px) !important;
    height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 16px) !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--ps-sticky-search-height, 78px) - 16px) !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 16px) !important;
    block-size: auto !important;
    overflow: hidden !important;
  }

  html body .ps-market-layout > .ps-sidebar-filters > .ps-sidebar-box {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    block-size: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-gutter: stable !important;
  }
}

.ps-booking-configurator .ps-vehicle-sheet__topbar,
.ps-booking-page-flow {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
}

.ps-booking-flow {
  width: min(620px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: max-content minmax(48px, 1fr) max-content;
  align-items: center;
  gap: 12px;
}

.ps-booking-flow strong,
.ps-booking-flow span {
  color: var(--booking-muted, #7b8492) !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 750;
  white-space: nowrap;
}

.ps-booking-flow .is-active {
  color: var(--booking-text, #172033) !important;
  font-weight: 900;
}

.ps-booking-flow i {
  width: 100%;
  height: 1px;
  display: block;
  background: var(--booking-border, #d8e0eb);
}

.ps-booking-flow__back,
.ps-booking-page-flow__close {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--booking-text, #172033) !important;
  font: inherit;
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none !important;
  cursor: pointer;
}

.ps-booking-flow__back:hover,
.ps-booking-page-flow__close:hover {
  background: var(--booking-surface-alt, #f4f5f7);
}

.ps-booking-configurator .ps-vehicle-sheet__close {
  justify-self: end;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  font-weight: 800 !important;
}

.ps-booking-vehicle {
  align-items: start !important;
  padding-bottom: 24px !important;
}

.ps-booking-vehicle__media,
.ps-booking-vehicle__identity {
  align-self: start !important;
}

.ps-booking-specs--expanded {
  margin-top: 18px !important;
  padding: 0 !important;
  border-radius: 16px !important;
}

.ps-booking-specs--expanded h2 {
  margin: 0 !important;
}

.ps-booking-specs__toggle {
  min-height: 62px;
  padding: 0 20px;
  font-size: 20px;
  pointer-events: auto !important;
  cursor: pointer;
}

.ps-booking-specs__toggle svg {
  display: block !important;
}

.ps-booking-specs.is-open .ps-booking-specs__toggle svg {
  transform: rotate(180deg);
}

.ps-booking-specs__panel {
  padding: 0 20px 16px;
  border-top: 1px solid var(--booking-border);
}

.ps-booking-page-flow {
  min-height: 62px;
  margin: -10px -8px 22px;
  padding: 0 4px;
  border-bottom: 1px solid var(--ps-line, #dce2e9);
}

.ps-booking-page-flow .ps-booking-flow {
  --booking-text: #172033;
  --booking-muted: #8a94a3;
  --booking-border: #d8e0eb;
}

html[data-theme="dark"] .ps-booking-page-flow .ps-booking-flow {
  --booking-text: #f5f7fa;
  --booking-muted: #98a3b2;
  --booking-border: #454e59;
}

html[data-theme="dark"] .ps-booking-page-flow__close,
html[data-theme="dark"] .ps-booking-page-flow .ps-booking-flow__back {
  color: #f5f7fa !important;
}

.ps-vehicle-modal__content > .ps-booking-shell {
  width: min(930px, 100%) !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .ps-vehicle-modal__content > .ps-booking-shell {
  background: #272727 !important;
}

.ps-availability-refresh {
  position: fixed;
  z-index: 5000;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
}

.ps-availability-refresh[hidden] {
  display: none !important;
}

.ps-availability-refresh__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(11, 17, 27, .66);
  backdrop-filter: blur(2px);
}

.ps-availability-refresh__dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid #d8e0eb;
  border-radius: 18px;
  background: #fff;
  color: #172033;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
}

.ps-availability-refresh__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e23535;
  color: #fff !important;
  font-size: 20px;
  font-weight: 950;
}

.ps-availability-refresh h2 {
  margin: 0;
  color: inherit !important;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 900;
}

.ps-availability-refresh p {
  margin: 9px 0 20px;
  color: #5e6878 !important;
  font-size: 14px;
  line-height: 1.45;
}

.ps-availability-refresh [data-availability-refresh-button] {
  min-height: 46px;
  padding: 0 20px;
  float: right;
  border: 0;
  border-radius: 10px;
  background: #2b73df;
  color: #fff !important;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

html[data-theme="dark"] .ps-availability-refresh__dialog {
  border-color: #484848;
  background: #272727;
  color: #f5f5f5;
}

html[data-theme="dark"] .ps-availability-refresh p {
  color: #b8b8b8 !important;
}

html[data-theme="dark"] .ps-availability-refresh [data-availability-refresh-button] {
  background: #55e45d;
  color: #102015 !important;
}

body.ps-availability-refresh-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .ps-booking-configurator .ps-vehicle-sheet__topbar,
  .ps-booking-page-flow {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .ps-booking-flow {
    grid-template-columns: max-content minmax(20px, 1fr) max-content;
    gap: 7px;
  }

  .ps-booking-flow strong,
  .ps-booking-flow span {
    font-size: 10px;
  }

  .ps-booking-flow__back,
  .ps-booking-page-flow__close {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }

  .ps-booking-vehicle {
    padding-bottom: 18px !important;
  }

  .ps-booking-specs__toggle {
    min-height: 54px;
    padding: 0 15px;
    font-size: 17px;
  }

  .ps-booking-specs__panel {
    padding: 0 15px 12px;
  }

  .ps-availability-refresh__dialog {
    padding: 22px 18px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }

  .ps-availability-refresh__icon {
    width: 29px;
    height: 29px;
    font-size: 17px;
  }

  .ps-availability-refresh h2 {
    font-size: 18px;
  }

  .ps-availability-refresh [data-availability-refresh-button] {
    width: 100%;
    float: none;
  }
}

/* ui138 final cascade guard: these rules intentionally follow all legacy UI patches. */
@media (min-width: 768px) {
  html body .ps-market-layout > .ps-sidebar-filters {
    height: var(--ps-sidebar-available-height, calc(100dvh - var(--ps-sticky-search-height, 78px) - 16px)) !important;
    max-height: var(--ps-sidebar-available-height, calc(100dvh - var(--ps-sticky-search-height, 78px) - 16px)) !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  html body .ps-market-layout > .ps-sidebar-filters > .ps-sidebar-box {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }
}

.ps-booking-flow__back svg {
  width: 21px !important;
  height: 21px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-vehicle-modal__content > .ps-booking-shell {
  width: 100% !important;
  max-width: none !important;
  color: var(--booking-client-text) !important;
  background: var(--booking-client-surface) !important;
}

.ps-booking-layout--details {
  grid-template-columns: minmax(0, 1fr) 330px !important;
  gap: 34px !important;
}

html[data-theme="dark"] .ps-vehicle-modal__content > .ps-booking-shell {
  background: #272727 !important;
}

@media (max-width: 960px) {
  .ps-booking-layout--details {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

/* 2026-08-14 ui139: quote-safe client step, compact specs and dependent insurance. */
.ps-vehicle-modal__dialog:has(.ps-booking-configurator),
.ps-vehicle-modal__dialog:has(.ps-booking-shell) {
  width: min(980px, calc(100vw - 36px)) !important;
}

.ps-booking-configurator,
.ps-vehicle-modal__content > .ps-booking-shell {
  width: min(980px, 100%) !important;
  max-width: 980px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.ps-booking-flow a {
  color: var(--booking-muted, #7b8492) !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.ps-booking-flow a:hover {
  color: var(--booking-text, #172033) !important;
}

.ps-booking-specs__preview {
  margin: 0;
  padding: 4px 18px 17px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.ps-booking-specs__preview > div {
  min-width: 0;
  min-height: 38px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--booking-border);
}

.ps-booking-specs__preview dt {
  color: var(--booking-muted) !important;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 750;
}

.ps-booking-specs__preview dd {
  margin: 0;
  color: var(--booking-text) !important;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  text-align: right;
}

.ps-booking-specs.is-open .ps-booking-specs__preview {
  display: none;
}

.ps-insurance-card.is-base,
.ps-insurance-card.is-mandatory {
  cursor: default !important;
}

.ps-insurance-card.is-base > input,
.ps-insurance-card.is-mandatory > input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ps-insurance-card.is-base.is-selected {
  border-color: var(--booking-accent) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--booking-accent) 16%, transparent) !important;
}

.ps-booking-layout--details {
  grid-template-columns: minmax(0, 1fr) 306px !important;
  gap: 28px !important;
}

.ps-booking-client-card--route {
  padding: 26px !important;
}

.ps-booking-route-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ps-booking-route-column {
  min-width: 0;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 13px;
  border: 1px solid var(--booking-client-border);
  border-radius: 16px;
  background: var(--booking-client-surface);
}

.ps-booking-route-column h2 {
  margin: 0;
  color: var(--booking-client-text) !important;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
}

.ps-booking-route-column time {
  margin-top: -7px;
  color: var(--booking-client-text) !important;
  font-size: 14px;
  font-weight: 850;
}

.ps-booking-route-column label {
  min-width: 0;
}

.ps-booking-route-column select,
.ps-booking-route-column input {
  width: 100%;
  min-width: 0;
}

.ps-map-place-field {
  position: relative;
  display: block !important;
  margin: 0 !important;
}

.ps-map-place-field .ps-control {
  padding-right: 132px !important;
}

.ps-map-place-field > button {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 34px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: #e9f2ff;
  color: #1765d1 !important;
  font-size: 10px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.ps-map-picker[hidden] {
  display: none !important;
}

.ps-map-picker {
  --map-picker-bg: #fff;
  --map-picker-soft: #f4f6f9;
  --map-picker-border: #d8e0eb;
  --map-picker-text: #172033;
  --map-picker-muted: #667085;
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: grid;
  place-items: center;
  padding: 22px;
}

.ps-map-picker__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 14, 25, .72);
  backdrop-filter: blur(5px);
}

.ps-map-picker > section {
  position: relative;
  width: min(1080px, calc(100vw - 48px));
  max-height: calc(100dvh - 32px);
  padding: 26px;
  display: grid;
  gap: 18px;
  overflow: auto;
  border: 1px solid var(--map-picker-border);
  border-radius: 22px;
  background: var(--map-picker-bg);
  color: var(--map-picker-text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.ps-map-picker header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ps-map-picker header h2 {
  margin: 0;
  color: var(--map-picker-text) !important;
  font-size: 24px;
  line-height: 1.2;
}

.ps-map-picker header p {
  margin: 6px 0 0;
  color: var(--map-picker-muted) !important;
  font-size: 13px;
  line-height: 1.45;
}

.ps-map-picker header > button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 0;
  background: transparent;
  color: var(--map-picker-text);
  font-size: 26px;
  font-weight: 800;
  cursor: pointer;
}

.ps-map-picker__search {
  min-height: 52px;
}

.ps-map-picker__search > *,
.ps-map-picker__search gmp-place-autocomplete,
.ps-map-picker__search input {
  width: 100%;
  min-height: 52px;
  color-scheme: light;
}

.ps-map-picker__search > input {
  padding: 0 15px;
  border: 1px solid var(--map-picker-border);
  border-radius: 12px;
  background: var(--map-picker-bg);
  color: var(--map-picker-text);
  font: inherit;
  font-weight: 750;
}

.ps-map-picker__canvas {
  width: 100%;
  height: clamp(420px, 52dvh, 560px);
  overflow: hidden;
  border: 1px solid var(--map-picker-border);
  border-radius: 16px;
  background: var(--map-picker-soft);
}

.ps-map-picker__selection {
  padding: 13px 15px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--map-picker-border);
  border-radius: 12px;
  background: var(--map-picker-soft);
}

.ps-map-picker__selection span {
  color: var(--map-picker-muted) !important;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ps-map-picker__selection strong {
  color: var(--map-picker-text) !important;
  font-size: 14px;
  line-height: 1.4;
}

.ps-map-picker__status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 11px;
  background: #fff1f2;
  color: #b42318 !important;
  font-size: 13px;
  font-weight: 750;
}

.ps-map-picker footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 9px;
}

.ps-map-picker footer button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--map-picker-border);
  border-radius: 11px;
  background: var(--map-picker-bg);
  color: var(--map-picker-text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ps-map-picker footer [data-map-picker-confirm] {
  border-color: #2f76e5;
  background: #2f76e5;
  color: #fff;
}

.ps-map-picker footer [data-map-picker-confirm]:disabled {
  opacity: .45;
  cursor: not-allowed;
}

body.ps-map-picker-open {
  overflow: hidden;
}

.ps-phone-label {
  min-width: 0;
}

.ps-phone-field {
  min-height: 52px;
  display: grid !important;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: stretch;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--booking-client-border);
  border-radius: 12px;
  background: var(--booking-client-surface);
}

.ps-phone-field > button {
  min-width: 0;
  padding: 6px 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 5px;
  border: 0;
  border-right: 1px solid var(--booking-client-border);
  background: transparent;
  color: var(--booking-client-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ps-phone-field > button small {
  overflow: hidden;
  color: var(--booking-client-muted) !important;
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-phone-field > button b {
  color: var(--booking-client-text) !important;
  font-size: 13px;
  font-weight: 900;
}

.ps-phone-field > .ps-control {
  min-height: 50px !important;
  padding: 0 13px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ps-phone-country-dialog {
  position: fixed;
  z-index: 5200;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
}

.ps-phone-country-dialog[hidden] {
  display: none !important;
}

.ps-phone-country-dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 16, 25, .68);
  backdrop-filter: blur(2px);
}

.ps-phone-country-dialog > section {
  position: relative;
  width: min(430px, 100%);
  max-height: min(720px, calc(100dvh - 40px));
  padding: 18px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
  border: 1px solid var(--booking-client-border, #d8e0eb);
  border-radius: 20px;
  background: var(--booking-client-surface, #fff);
  color: var(--booking-client-text, #172033);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.ps-phone-country-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ps-phone-country-dialog h2 {
  margin: 0;
  color: inherit !important;
  font-size: 21px;
  font-weight: 950;
}

.ps-phone-country-dialog header button {
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
}

.ps-phone-country-search span {
  display: block;
  margin-bottom: 6px;
  color: var(--booking-client-muted, #667085) !important;
  font-size: 11px;
  font-weight: 800;
}

.ps-phone-country-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--booking-client-border, #d8e0eb);
  border-radius: 11px;
  background: var(--booking-client-surface, #fff);
  color: inherit;
  font: inherit;
  font-weight: 750;
}

.ps-phone-country-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--booking-client-border, #d8e0eb);
  border-radius: 12px;
}

.ps-phone-country-list button {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--booking-client-border, #d8e0eb);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.ps-phone-country-list button:last-child {
  border-bottom: 0;
}

.ps-phone-country-list button b {
  font-size: 12px;
}

.ps-phone-country-list button i {
  color: transparent;
  font-style: normal;
  font-weight: 950;
}

.ps-phone-country-list button.is-selected {
  background: var(--booking-client-soft, #f4f6f9);
}

.ps-phone-country-list button.is-selected i {
  color: #19b979;
}

.ps-phone-country-dialog__done {
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  background: #dcecff;
  color: #1458a8;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

body.ps-phone-country-open {
  overflow: hidden;
}

html[data-theme="dark"] .ps-phone-country-dialog > section {
  --booking-client-text: #f5f5f5;
  --booking-client-muted: #b8b8b8;
  --booking-client-border: #484848;
  --booking-client-surface: #272727;
  --booking-client-soft: #303030;
}

html[data-theme="dark"] .ps-map-place-field > button {
  background: #354151;
  color: #7db1ff !important;
}

html[data-theme="dark"] .ps-map-picker {
  --map-picker-bg: #272727;
  --map-picker-soft: #303030;
  --map-picker-border: #4b4b4b;
  --map-picker-text: #f6f6f6;
  --map-picker-muted: #b8b8b8;
}

html[data-theme="dark"] .ps-map-picker__search > *,
html[data-theme="dark"] .ps-map-picker__search gmp-place-autocomplete,
html[data-theme="dark"] .ps-map-picker__search input {
  color-scheme: dark;
}

html[data-theme="dark"] .ps-map-picker footer [data-map-picker-confirm] {
  border-color: #4de35d;
  background: #4de35d;
  color: #071409;
}

.ps-booking-summary--client [data-client-route-fees][hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .ps-booking-layout--details {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .ps-map-picker {
    padding: 0;
    place-items: stretch;
  }

  .ps-map-picker > section {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    padding: 0;
    gap: 0;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ps-map-picker header {
    min-height: 62px;
    padding: max(12px, env(safe-area-inset-top)) 14px 10px;
    align-items: center;
    background: var(--map-picker-bg);
    z-index: 2;
  }

  .ps-map-picker header > div {
    min-width: 0;
  }

  .ps-map-picker header > button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .ps-map-picker header h2 {
    font-size: 20px;
  }

  .ps-map-picker header p {
    display: none;
  }

  .ps-map-picker__search {
    min-height: 50px;
    margin: 0 14px 10px;
  }

  .ps-map-picker__search > *,
  .ps-map-picker__search gmp-place-autocomplete,
  .ps-map-picker__search input {
    min-height: 50px;
  }

  .ps-map-picker__canvas {
    height: auto;
    min-height: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .ps-map-picker__selection {
    max-height: 82px;
    margin: 10px 14px 0;
    padding: 10px 12px;
    overflow: auto;
  }

  .ps-map-picker__selection strong {
    font-size: 13px;
    line-height: 1.3;
  }

  .ps-map-picker__status {
    margin: 8px 14px 0;
  }

  .ps-map-picker footer {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 8px;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    background: var(--map-picker-bg);
  }

  .ps-map-picker footer > span,
  .ps-map-picker footer [data-map-picker-close] {
    display: none;
  }

  .ps-map-picker footer [data-map-picker-geolocate] {
    grid-column: auto;
  }

  .ps-map-picker footer button {
    min-height: 50px;
    padding-inline: 10px;
  }

  .ps-map-place-field .ps-control {
    padding-right: 118px !important;
  }

  .ps-map-place-field > button {
    font-size: 9px;
  }

  .ps-vehicle-modal__dialog:has(.ps-booking-configurator),
  .ps-vehicle-modal__dialog:has(.ps-booking-shell) {
    width: 100% !important;
  }

  .ps-booking-flow a {
    font-size: 10px;
  }

  .ps-booking-specs__preview {
    padding: 2px 14px 13px;
    grid-template-columns: 1fr;
  }

  .ps-booking-specs__preview > div {
    min-height: 34px;
    padding: 6px 0;
  }

  .ps-booking-route-columns {
    grid-template-columns: 1fr;
  }

  .ps-booking-client-card--route {
    padding: 17px !important;
  }

  .ps-booking-route-column {
    padding: 15px;
  }

  .ps-phone-field {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .ps-phone-field > button {
    padding-right: 8px;
    padding-left: 8px;
  }

  .ps-phone-field > button small {
    display: none;
  }

  .ps-phone-country-dialog {
    align-items: end;
    padding: 0;
  }

  .ps-phone-country-dialog > section {
    width: 100%;
    max-height: min(800px, calc(100dvh - 12px));
    border-radius: 20px 20px 0 0;
  }
}

/* ui140 final cascade guard. */
.ps-booking-specs__toggle:disabled {
  opacity: 1 !important;
}

.ps-booking-specs--expanded dl > div {
  min-height: 51px !important;
}

.ps-booking-specs--expanded dt,
.ps-booking-specs--expanded dd {
  font-size: 14px !important;
}

.ps-booking-layout--details {
  grid-template-columns: minmax(0, 604px) 326px !important;
  gap: 42px !important;
  justify-content: center !important;
}

.ps-booking-client-card {
  background: #f3f5f8 !important;
}

.ps-booking-client-card--route {
  padding: 26px !important;
}

.ps-booking-route-columns {
  gap: 14px !important;
}

.ps-booking-route-column {
  padding: 18px !important;
  background: #fff !important;
}

.ps-phone-field {
  grid-template-columns: 118px minmax(0, 1fr) !important;
}

.ps-phone-field > button {
  padding-right: 9px !important;
  padding-left: 9px !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
}

.ps-phone-field > .ps-control {
  min-width: 0 !important;
  padding-right: 12px !important;
  padding-left: 12px !important;
  font-size: 14px !important;
}

.ps-booking-summary--client {
  width: 326px !important;
  padding: 26px !important;
  border-radius: 22px !important;
  background: #f3f5f8 !important;
}

.ps-booking-summary--client .ps-booking-summary__total {
  margin: 0 !important;
  padding: 0 0 20px !important;
  border-bottom: 1px solid var(--booking-client-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.ps-booking-summary--client .ps-booking-summary__total strong {
  font-size: 39px !important;
  line-height: 1.05 !important;
}

.ps-booking-summary--client .ps-booking-summary__total small {
  color: var(--booking-client-text) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.ps-booking-summary--client dl {
  padding: 17px 0 !important;
}

.ps-booking-summary--client dl div {
  padding: 11px 0 !important;
  font-size: 14px !important;
}

.ps-booking-summary--client .ps-booking-submit {
  min-height: 58px !important;
  font-size: 16px !important;
}

html[data-theme="dark"] .ps-booking-client-card,
html[data-theme="dark"] .ps-booking-summary--client {
  background: #303030 !important;
}

html[data-theme="dark"] .ps-booking-route-column {
  background: #272727 !important;
}

@media (min-width: 701px) {
  .ps-booking-specs__toggle {
    pointer-events: none !important;
    cursor: default !important;
  }

  .ps-booking-specs__toggle svg {
    display: none !important;
  }

  .ps-booking-specs__panel {
    display: block !important;
  }
}

@media (max-width: 960px) {
  .ps-booking-layout--details {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  .ps-booking-summary--client {
    width: 100% !important;
  }
}

@media (max-width: 700px) {
  .ps-booking-specs__toggle {
    pointer-events: auto !important;
  }

  .ps-booking-specs__toggle svg {
    display: block !important;
  }

  .ps-booking-specs__panel[hidden] {
    display: none !important;
  }

  .ps-booking-specs--expanded dl {
    grid-template-columns: 1fr !important;
  }

  .ps-booking-specs--expanded dt,
  .ps-booking-specs--expanded dd {
    font-size: 13px !important;
  }

  .ps-booking-client-card--route {
    padding: 17px !important;
  }

  .ps-booking-route-columns {
    grid-template-columns: 1fr !important;
  }

  .ps-booking-route-column {
    padding: 15px !important;
  }

  .ps-phone-field {
    grid-template-columns: 108px minmax(0, 1fr) !important;
  }

  .ps-phone-field > button small {
    display: none !important;
  }

  .ps-booking-summary--client {
    padding: 22px !important;
  }

  .ps-booking-summary--client .ps-booking-summary__total strong {
    font-size: 35px !important;
  }
}

/* ui141 final cascade guard: shared modal chrome and compact booking details. */
.ps-booking-configurator .ps-vehicle-sheet__topbar,
.ps-booking-page-flow {
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  grid-template-columns: 30px minmax(0, 1fr) 30px !important;
  gap: 10px !important;
  border-bottom: 1px solid var(--booking-border, #d8e0eb) !important;
  background: var(--booking-surface, #fff) !important;
}

.ps-booking-flow { width: min(590px, 100%) !important; gap: 10px !important; }
.ps-booking-page-flow { margin: -24px -28px 22px !important; }
.ps-booking-flow strong,
.ps-booking-flow a,
.ps-booking-flow span { font-size: 12px !important; line-height: 1.15 !important; font-weight: 800 !important; }
.ps-booking-flow .is-active { font-weight: 950 !important; }

.ps-booking-flow__back,
.ps-booking-page-flow__close,
.ps-booking-configurator .ps-vehicle-sheet__close {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-booking-flow__back:hover,
.ps-booking-flow__back:focus-visible,
.ps-booking-page-flow__close:hover,
.ps-booking-page-flow__close:focus-visible,
.ps-booking-configurator .ps-vehicle-sheet__close:hover,
.ps-booking-configurator .ps-vehicle-sheet__close:focus-visible {
  background: transparent !important;
  color: var(--booking-accent, #2b73df) !important;
}

.ps-booking-flow__back svg { width: 18px !important; height: 18px !important; stroke-width: 2.15 !important; }
.ps-booking-page-flow__close,
.ps-booking-configurator .ps-vehicle-sheet__close { font-size: 23px !important; line-height: 1 !important; font-weight: 950 !important; }

.ps-client-select__toggle i,
.ps-phone-field > button i {
  width: 18px !important;
  height: 18px !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 18px;
  color: currentColor !important;
  font-style: normal;
  transform: none !important;
}

.ps-client-select__toggle i svg,
.ps-phone-field > button i svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.ps-client-select.is-open .ps-client-select__toggle i svg { transform: rotate(180deg); }
.ps-rental-location-picker__toggle svg,
.ps-rental-time-picker__toggle svg {
  width: 17px !important;
  height: 17px !important;
  overflow: visible;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  transform-origin: center !important;
}
.ps-rental-location-picker__toggle svg path,
.ps-rental-time-picker__toggle svg path { vector-effect: non-scaling-stroke; }

.ps-phone-field > button small {
  display: block !important;
  color: var(--booking-client-text) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ps-booking-specs--expanded { margin-top: 14px !important; }
.ps-booking-specs--expanded .ps-booking-specs__toggle { min-height: 50px !important; padding: 0 16px !important; font-size: 18px !important; }
.ps-booking-specs--expanded .ps-booking-specs__panel { padding: 0 16px 10px !important; }
.ps-booking-specs--expanded dl { gap: 0 18px !important; }
.ps-booking-specs--expanded dl > div { min-height: 39px !important; padding: 6px 0 !important; gap: 8px !important; }
.ps-booking-specs--expanded dt,
.ps-booking-specs--expanded dd { font-size: 12px !important; line-height: 1.22 !important; }

.ps-booking-layout--details {
  grid-template-columns: minmax(0, 480px) minmax(0, 410px) !important;
  gap: 30px !important;
  align-items: start !important;
  justify-content: center !important;
}
.ps-booking-layout--details .ps-booking-client-form { min-width: 0 !important; }
.ps-booking-summary--client { width: 410px !important; padding: 30px 32px !important; border-radius: 22px !important; }
.ps-booking-summary--client .ps-booking-summary__total { padding: 0 0 22px !important; }
.ps-booking-summary--client .ps-booking-summary__total > span {
  display: block !important;
  color: var(--booking-client-muted) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.ps-booking-summary--client .ps-booking-summary__total strong,
.ps-booking-summary--client .ps-booking-summary__total strong > span,
.ps-booking-summary--client .ps-booking-summary__total [data-client-booking-total] {
  display: block !important;
  margin: 5px 0 7px !important;
  color: #2b73df !important;
  font-size: 40px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -.035em;
}
.ps-booking-summary--client .ps-booking-summary__total small { display: block !important; font-size: 14px !important; line-height: 1.2 !important; font-weight: 950 !important; }
.ps-booking-summary--client dl { margin: 0 !important; padding: 17px 0 !important; }
.ps-booking-summary--client dl div { min-height: 43px !important; padding: 10px 0 !important; align-items: center !important; font-size: 13px !important; }
.ps-booking-summary--client dl dt { line-height: 1.25 !important; font-weight: 750 !important; }
.ps-booking-summary--client dl dd,
.ps-booking-summary--client dl dd span { font-size: 13px !important; font-weight: 950 !important; }
.ps-booking-summary--client .ps-booking-submit { min-height: 58px !important; margin-top: 2px !important; font-size: 16px !important; }

.ps-booking-client-card__heading h1 { font-size: 27px !important; line-height: 1.08 !important; font-weight: 950 !important; }
.ps-booking-document-actions { gap: 12px !important; }
.ps-booking-document-actions button { min-height: 48px !important; padding: 0 14px !important; font-size: 13px !important; line-height: 1.15 !important; }
.ps-booking-document-panel .ps-form-grid { margin-top: 14px !important; gap: 12px !important; }
.ps-booking-document-panel .ps-form-control-only { display: block !important; }
.ps-booking-document-panel .ps-control { min-height: 52px !important; }

.ps-vehicle-modal__status--elephant {
  min-height: min(540px, calc(100dvh - 80px));
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--booking-surface, #fff);
  color: var(--booking-text, #172033);
}
.ps-vehicle-modal__status--elephant img { width: 92px; height: 76px; display: block; object-fit: contain; animation: ps-elephant-loader 1.25s ease-in-out infinite; }
.ps-vehicle-modal__status--elephant strong { font-size: 16px; font-weight: 900; }
.ps-booking-vehicle img { opacity: 1 !important; transition: none !important; }
@keyframes ps-elephant-loader {
  0%, 100% { opacity: .48; transform: translateY(0) scale(.98); }
  50% { opacity: 1; transform: translateY(-4px) scale(1.02); }
}

html[data-theme="dark"] .ps-booking-configurator .ps-vehicle-sheet__topbar,
html[data-theme="dark"] .ps-booking-page-flow,
html[data-theme="dark"] .ps-vehicle-modal__status--elephant {
  --booking-surface: #272727;
  --booking-text: #f5f5f5;
  --booking-muted: #b8b8b8;
  --booking-border: #484848;
  background: #272727 !important;
  color: #f5f5f5 !important;
}
html[data-theme="dark"] .ps-vehicle-modal__status--elephant img { filter: invert(1); }
html[data-theme="dark"] .ps-booking-summary--client .ps-booking-summary__total strong,
html[data-theme="dark"] .ps-booking-summary--client .ps-booking-summary__total strong > span,
html[data-theme="dark"] .ps-booking-summary--client .ps-booking-summary__total [data-client-booking-total] { color: #55e45d !important; }

@media (max-width: 960px) {
  .ps-booking-layout--details { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .ps-booking-summary--client { width: 100% !important; }
}

@media (max-width: 700px) {
  .ps-booking-configurator .ps-vehicle-sheet__topbar,
  .ps-booking-page-flow {
    min-height: 50px !important;
    padding: 0 12px !important;
    grid-template-columns: 28px minmax(0, 1fr) 28px !important;
    gap: 6px !important;
  }
  .ps-booking-flow { gap: 6px !important; }
  .ps-booking-page-flow { margin: -12px -12px 16px !important; }
  .ps-booking-flow strong,
  .ps-booking-flow a,
  .ps-booking-flow span { font-size: 10px !important; }
  .ps-booking-specs--expanded .ps-booking-specs__toggle { min-height: 48px !important; font-size: 17px !important; }
  .ps-booking-specs--expanded .ps-booking-specs__panel { padding: 0 14px 9px !important; }
  .ps-booking-specs--expanded dl > div { min-height: 37px !important; padding: 5px 0 !important; }
  .ps-booking-specs--expanded dt,
  .ps-booking-specs--expanded dd { font-size: 12px !important; }
  .ps-booking-summary--client { padding: 24px !important; }
  .ps-booking-summary--client .ps-booking-summary__total strong,
  .ps-booking-summary--client .ps-booking-summary__total strong > span,
  .ps-booking-summary--client .ps-booking-summary__total [data-client-booking-total] { font-size: 36px !important; }
  .ps-booking-document-actions { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ps-booking-document-actions button { min-height: 46px !important; padding: 0 10px !important; font-size: 12px !important; }
  .ps-vehicle-modal__status--elephant { min-height: calc(100dvh - 50px); }
}

/* ui142: clean booking canvas, compact soft rows and non-blocking image loading. */
html:not([data-theme="dark"]) .ps-vehicle-modal__dialog,
html:not([data-theme="dark"]) .ps-vehicle-modal__body,
html:not([data-theme="dark"]) .ps-vehicle-modal__content,
html:not([data-theme="dark"]) .ps-booking-configurator,
html:not([data-theme="dark"]) .ps-vehicle-modal__content > .ps-booking-shell,
html:not([data-theme="dark"]) .ps-booking-vehicle {
  background: #fff !important;
}

.ps-booking-configurator__main {
  gap: 0 !important;
}

.ps-booking-configurator__main > .ps-booking-rental-summary,
.ps-booking-configurator__main > .ps-booking-section,
html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-rental-summary,
html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-section {
  margin: 0 !important;
  padding: 27px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--booking-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-booking-configurator__main > .ps-booking-rental-summary:first-child {
  padding-top: 0 !important;
}

.ps-booking-configurator__main > .ps-booking-section:last-child {
  border-bottom: 0 !important;
}

html:not([data-theme="dark"]) .ps-booking-rental-summary__grid article,
html:not([data-theme="dark"]) .ps-insurance-card,
html:not([data-theme="dark"]) .ps-booking-service,
html:not([data-theme="dark"]) .ps-booking-conditions--bottom > div {
  background: #f3f4f6 !important;
}

html[data-theme="dark"] .ps-booking-rental-summary__grid article,
html[data-theme="dark"] .ps-insurance-card,
html[data-theme="dark"] .ps-booking-service,
html[data-theme="dark"] .ps-booking-conditions--bottom > div {
  background: #303030 !important;
}

.ps-booking-rental-summary__grid article,
.ps-insurance-card,
.ps-booking-service,
.ps-booking-conditions--bottom > div {
  border-color: var(--booking-border) !important;
  box-shadow: none !important;
}

.ps-booking-services,
.ps-booking-services__group {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
}

.ps-booking-service {
  min-height: 70px !important;
  padding: 13px 16px !important;
  border-radius: 11px !important;
}

.ps-booking-service b {
  font-size: 14px !important;
  font-weight: 850 !important;
}

.ps-booking-service small {
  margin-top: 3px !important;
  font-size: 11px !important;
}

.ps-service-counter {
  overflow: hidden;
  border: 1px solid var(--booking-border) !important;
  border-radius: 9px !important;
  background: var(--booking-surface, #fff) !important;
}

.ps-service-counter button,
.ps-service-counter output {
  min-width: 40px !important;
  min-height: 40px !important;
}

.ps-booking-conditions--bottom {
  display: grid !important;
  gap: 8px !important;
}

.ps-booking-configurator__main .ps-booking-conditions--bottom > div {
  min-height: 44px !important;
  padding: 10px 13px !important;
  border: 0 !important;
  border-radius: 9px !important;
}

.ps-booking-client-form {
  gap: 0 !important;
}

.ps-booking-client-card,
html[data-theme="dark"] .ps-booking-client-card {
  margin: 0 !important;
  padding: 27px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--booking-client-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-booking-client-card:first-of-type {
  padding-top: 0 !important;
}

.ps-booking-client-card:last-of-type {
  border-bottom: 0 !important;
}

html:not([data-theme="dark"]) .ps-booking-route-column,
html:not([data-theme="dark"]) .ps-booking-client-card .ps-control,
html:not([data-theme="dark"]) .ps-phone-field,
html:not([data-theme="dark"]) .ps-booking-messengers label,
html:not([data-theme="dark"]) .ps-booking-document-actions button,
html:not([data-theme="dark"]) .ps-additional-phone {
  background: #f3f4f6 !important;
}

html[data-theme="dark"] .ps-booking-route-column,
html[data-theme="dark"] .ps-booking-client-card .ps-control,
html[data-theme="dark"] .ps-phone-field,
html[data-theme="dark"] .ps-booking-messengers label,
html[data-theme="dark"] .ps-booking-document-actions button,
html[data-theme="dark"] .ps-additional-phone {
  background: #303030 !important;
}

.ps-booking-route-column,
.ps-booking-client-card .ps-control,
.ps-phone-field,
.ps-booking-messengers label,
.ps-booking-document-actions button,
.ps-additional-phone {
  box-shadow: none !important;
}

.ps-booking-summary--client {
  background: #f3f4f6 !important;
}

html[data-theme="dark"] .ps-booking-summary--client {
  background: #303030 !important;
}

.ps-consent input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
  margin: 1px 0 0 !important;
  accent-color: #2b73df !important;
}

html[data-theme="dark"] .ps-consent input[type="checkbox"] {
  accent-color: #50df59 !important;
}

.ps-control.is-invalid,
.ps-phone-field.is-invalid,
.ps-consent.is-invalid {
  border-color: #ff3b3b !important;
  box-shadow: 0 0 0 1px #ff3b3b !important;
}

.ps-consent.is-invalid {
  padding: 10px !important;
  border: 1px solid #ff3b3b !important;
  border-radius: 10px !important;
}

.ps-field-error,
.errorlist {
  display: block !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  color: #f02d2d !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  list-style: none !important;
}

.errorlist li {
  margin: 0 !important;
}

.ps-booking-submit.is-submitting {
  cursor: wait !important;
  opacity: .72 !important;
}

.ps-booking-success-modal {
  width: min(520px, calc(100% - 32px)) !important;
  margin: 70px auto !important;
  padding: 42px 34px !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .12) !important;
}

.ps-booking-success-modal h1 {
  font-size: 19px !important;
}

.ps-booking-success-modal h2 {
  margin-top: 12px !important;
  font-size: 28px !important;
}

.ps-booking-success-modal p {
  font-size: 15px !important;
}

html[data-theme="dark"] .ps-booking-success-modal {
  background: #303030 !important;
  color: #f5f5f5 !important;
}

[data-image-shimmer] {
  position: relative;
  overflow: hidden;
  background: #eceff3;
}

[data-image-shimmer]::before,
.ps-vehicle-modal__status--skeleton > i::before,
.ps-vehicle-modal__status--skeleton span::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background: linear-gradient(105deg, #eceff3 18%, #f7f8fa 42%, #e6e9ee 66%);
  background-size: 240% 100%;
  content: "";
  animation: ps-soft-shimmer 1.45s ease-in-out infinite;
}

[data-image-shimmer] img {
  position: relative;
  z-index: 2;
  opacity: 0 !important;
  transition: opacity .2s ease !important;
}

[data-image-shimmer].is-loaded {
  background: transparent;
}

[data-image-shimmer].is-loaded::before,
[data-image-shimmer].is-error::before {
  display: none;
}

[data-image-shimmer].is-loaded img {
  opacity: 1 !important;
}

[data-image-shimmer].is-error img {
  visibility: hidden;
}

.ps-vehicle-modal__status--skeleton {
  min-height: min(620px, calc(100dvh - 70px));
  padding: 54px;
  display: grid !important;
  grid-template-columns: minmax(260px, 1.2fr) minmax(240px, 1fr);
  gap: 42px;
  background: #fff !important;
}

.ps-vehicle-modal__status--skeleton > i,
.ps-vehicle-modal__status--skeleton span {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #eceff3;
}

.ps-vehicle-modal__status--skeleton > i {
  min-height: 340px;
}

.ps-vehicle-modal__status--skeleton > div {
  display: grid;
  align-content: start;
  gap: 16px;
}

.ps-vehicle-modal__status--skeleton span {
  height: 54px;
}

.ps-vehicle-modal__status--skeleton span:first-child {
  width: 78%;
  height: 72px;
}

html[data-theme="dark"] [data-image-shimmer],
html[data-theme="dark"] .ps-vehicle-modal__status--skeleton > i,
html[data-theme="dark"] .ps-vehicle-modal__status--skeleton span {
  background: #333;
}

html[data-theme="dark"] [data-image-shimmer]::before,
html[data-theme="dark"] .ps-vehicle-modal__status--skeleton > i::before,
html[data-theme="dark"] .ps-vehicle-modal__status--skeleton span::before {
  background: linear-gradient(105deg, #303030 18%, #414141 42%, #303030 66%);
  background-size: 240% 100%;
}

html[data-theme="dark"] .ps-vehicle-modal__status--skeleton {
  background: #272727 !important;
}

@keyframes ps-soft-shimmer {
  0% { background-position: 110% 0; }
  100% { background-position: -110% 0; }
}

@media (max-width: 700px) {
  .ps-booking-configurator__main > .ps-booking-rental-summary,
  .ps-booking-configurator__main > .ps-booking-section,
  html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-rental-summary,
  html[data-theme="dark"] .ps-booking-configurator__main > .ps-booking-section,
  .ps-booking-client-card,
  html[data-theme="dark"] .ps-booking-client-card {
    padding: 22px 0 !important;
  }

  .ps-booking-client-card:first-of-type,
  .ps-booking-configurator__main > .ps-booking-rental-summary:first-child {
    padding-top: 0 !important;
  }

  .ps-booking-service {
    min-height: 66px !important;
    padding: 11px 12px !important;
  }

  .ps-service-counter button,
  .ps-service-counter output {
    min-width: 36px !important;
    min-height: 38px !important;
  }

  .ps-vehicle-modal__status--skeleton {
    min-height: calc(100dvh - 50px);
    padding: 28px 18px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ps-vehicle-modal__status--skeleton > i {
    min-height: 260px;
  }

  .ps-booking-success-modal {
    margin: 42px auto !important;
    padding: 34px 20px !important;
  }
}

/* ui143: instant booking-step swap, compact phone prefix and document date picker. */
.ps-phone-field {
  grid-template-columns: 96px minmax(0, 1fr) !important;
}

.ps-phone-field > button {
  padding: 6px 7px !important;
  grid-template-columns: auto auto 14px !important;
  justify-content: start !important;
  gap: 4px !important;
}

.ps-phone-field > button small {
  min-width: 21px;
  display: block !important;
  overflow: visible !important;
  color: var(--booking-client-text) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: .025em !important;
  text-transform: uppercase;
}

.ps-phone-field > button b {
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

.ps-phone-field > button i,
.ps-phone-field > button i svg {
  width: 14px !important;
  height: 14px !important;
  flex-basis: 14px !important;
}

.ps-phone-field > .ps-control {
  min-width: 0 !important;
  width: 100% !important;
  padding-right: 10px !important;
  padding-left: 11px !important;
}

.ps-document-date-field {
  min-width: 0;
  display: block;
}

.ps-document-date-field > input[type="hidden"] {
  display: none !important;
}

.ps-document-date-field > button {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--booking-client-border);
  border-radius: 12px;
  background: #f3f4f6;
  color: var(--booking-client-muted);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.ps-document-date-field.has-value > button {
  color: var(--booking-client-text);
  font-weight: 850;
}

.ps-document-date-field > button:hover,
.ps-document-date-field > button:focus-visible {
  border-color: #2b73df;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(43, 115, 223, .12);
}

.ps-document-date-field > button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .ps-document-date-field > button {
  border-color: #484848;
  background: #303030;
  color: #aeb4bd;
}

html[data-theme="dark"] .ps-document-date-field.has-value > button {
  color: #f5f5f5;
}

html[data-theme="dark"] .ps-document-date-field > button:hover,
html[data-theme="dark"] .ps-document-date-field > button:focus-visible {
  border-color: #50df59;
  box-shadow: 0 0 0 3px rgba(80, 223, 89, .12);
}

.ps-document-date-dialog {
  position: fixed;
  z-index: 5300;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
}

.ps-document-date-dialog[hidden] {
  display: none !important;
}

.ps-document-date-dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 16, 27, .68);
  backdrop-filter: blur(2px);
}

.ps-document-date-dialog > section {
  position: relative;
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid #d7dee8;
  border-radius: 18px;
  background: #fff;
  color: #172033;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
}

.ps-document-date-dialog header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ps-document-date-dialog h2 {
  margin: 0;
  color: inherit !important;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 950;
}

.ps-document-date-dialog header button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
}

.ps-document-date-dialog__selects {
  display: grid;
  grid-template-columns: .8fr 1.35fr 1fr;
  gap: 10px;
}

.ps-document-date-dialog__selects label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.ps-document-date-dialog__selects label > span {
  color: #687386 !important;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.ps-document-date-dialog__selects select {
  width: 100%;
  min-height: 52px;
  padding: 0 34px 0 12px;
  border: 1px solid #cfd7e3;
  border-radius: 11px;
  background: #f3f4f6;
  color: #172033;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.ps-document-date-dialog__selects select:focus {
  border-color: #2b73df;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(43, 115, 223, .12);
}

.ps-document-date-dialog footer {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ps-document-date-dialog footer button {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #cfd7e3;
  border-radius: 11px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.ps-document-date-dialog footer [data-document-date-apply] {
  border-color: #2b73df;
  background: #2b73df;
  color: #fff;
}

html[data-theme="dark"] .ps-document-date-dialog > section {
  border-color: #484848;
  background: #272727;
  color: #f5f5f5;
}

html[data-theme="dark"] .ps-document-date-dialog__selects label > span {
  color: #b4b4b4 !important;
}

html[data-theme="dark"] .ps-document-date-dialog__selects select {
  border-color: #505050;
  background: #303030;
  color: #f5f5f5;
}

html[data-theme="dark"] .ps-document-date-dialog__selects select:focus {
  border-color: #50df59;
  box-shadow: 0 0 0 3px rgba(80, 223, 89, .12);
}

html[data-theme="dark"] .ps-document-date-dialog footer button {
  border-color: #505050;
  background: #303030;
  color: #f5f5f5;
}

html[data-theme="dark"] .ps-document-date-dialog footer [data-document-date-apply] {
  border-color: #50df59;
  background: #50df59;
  color: #102015;
}

body.ps-document-date-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .ps-phone-field {
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }

  .ps-phone-field > button small {
    font-size: 13px !important;
  }

  .ps-document-date-dialog {
    padding: 12px;
    align-items: end;
  }

  .ps-document-date-dialog > section {
    width: 100%;
    padding: 20px 16px 16px;
    border-radius: 18px 18px 12px 12px;
  }

  .ps-document-date-dialog__selects {
    grid-template-columns: .8fr 1.25fr 1fr;
    gap: 7px;
  }

  .ps-document-date-dialog__selects select {
    min-height: 50px;
    padding-right: 24px;
    padding-left: 9px;
    font-size: 13px;
  }
}

/* ui144: bounded booking pickers, deterministic step scroll and dark-state polish. */
.ps-booking-configurator .ps-vehicle-sheet__topbar {
  position: relative !important;
  top: auto !important;
  z-index: 2 !important;
  backdrop-filter: none !important;
}

.ps-vehicle-modal__dialog:has(.ps-booking-configurator),
.ps-vehicle-modal__dialog:has(.ps-booking-shell),
.ps-vehicle-modal__dialog:has(.ps-booking-configurator) .ps-vehicle-modal__body,
.ps-vehicle-modal__dialog:has(.ps-booking-shell) .ps-vehicle-modal__body,
.ps-vehicle-modal__dialog:has(.ps-booking-configurator) .ps-vehicle-modal__content,
.ps-vehicle-modal__dialog:has(.ps-booking-shell) .ps-vehicle-modal__content {
  background: #fff !important;
}

html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator),
html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-shell),
html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator) .ps-vehicle-modal__body,
html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-shell) .ps-vehicle-modal__body,
html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-configurator) .ps-vehicle-modal__content,
html[data-theme="dark"] .ps-vehicle-modal__dialog:has(.ps-booking-shell) .ps-vehicle-modal__content,
html[data-theme="dark"] .ps-vehicle-modal__content .ps-stage,
html[data-theme="dark"] .ps-vehicle-modal__content .ps-stage__inner {
  background: #272727 !important;
}

.ps-vehicle-modal__content .ps-stage,
.ps-vehicle-modal__content .ps-stage__inner {
  min-height: 0 !important;
  background-image: none !important;
}

.ps-insurance-card.is-selected,
.ps-insurance-card:has(> input:checked),
html[data-theme="dark"] .ps-insurance-card.is-selected,
html[data-theme="dark"] .ps-insurance-card:has(> input:checked) {
  border: 2px solid var(--booking-accent) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--booking-accent) 18%, transparent) !important;
}

.ps-service-counter output {
  border-right: 1px solid var(--booking-border) !important;
  border-left: 1px solid var(--booking-border) !important;
}

.ps-rental-editor__dialog {
  max-height: calc(100dvh - 24px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable;
}

.ps-rental-location-picker__menu,
.ps-rental-location-picker__menu.is-mobile-overlay {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable;
}

.ps-phone-field {
  grid-template-columns: 86px minmax(0, 1fr) !important;
}

.ps-phone-field > button {
  padding: 5px 6px !important;
  grid-template-columns: auto auto 12px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
}

.ps-phone-field > button small,
.ps-phone-field > button b {
  align-self: center !important;
  line-height: 1 !important;
}

.ps-phone-field > button small {
  min-width: 20px !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

.ps-phone-field > button b {
  font-size: 14px !important;
}

.ps-phone-field > button i,
.ps-phone-field > button i svg {
  width: 12px !important;
  height: 12px !important;
}

.ps-phone-field > .ps-control {
  padding-right: 8px !important;
  padding-left: 10px !important;
  font-size: 13px !important;
}

.ps-document-date-dialog > section,
.ps-document-date-dialog__selects,
.ps-document-date-dialog__selects label {
  overflow: visible !important;
}

.ps-document-date-native {
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  position: absolute !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ps-document-date-select {
  min-width: 0;
  position: relative;
}

.ps-document-date-select__toggle {
  width: 100%;
  min-height: 50px;
  padding: 0 36px 0 12px;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #cfd7e3;
  border-radius: 11px;
  background: #f3f4f6;
  color: #172033;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.ps-document-date-select__toggle i {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
}

.ps-document-date-select__toggle svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .16s ease;
}

.ps-document-date-select.is-open .ps-document-date-select__toggle svg {
  transform: rotate(180deg);
}

.ps-document-date-select__toggle:focus-visible {
  border-color: #2b73df;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(43, 115, 223, .12);
}

.ps-document-date-select__menu {
  width: 100%;
  max-height: 184px;
  padding: 5px;
  position: absolute;
  z-index: 12;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border: 1px solid #cfd7e3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .2);
}

.ps-document-date-select.is-open .ps-document-date-select__menu {
  display: block;
}

.ps-document-date-select__menu button {
  width: 100%;
  min-height: 34px;
  padding: 6px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.ps-document-date-select__menu button:hover,
.ps-document-date-select__menu button.is-selected {
  background: #e8f1ff;
  color: #246dd8;
}

html[data-theme="dark"] .ps-document-date-select__toggle,
html[data-theme="dark"] .ps-document-date-select__menu {
  border-color: #505050;
  background: #303030;
  color: #f5f5f5;
}

html[data-theme="dark"] .ps-document-date-select__toggle:focus-visible {
  border-color: #50df59;
  box-shadow: 0 0 0 3px rgba(80, 223, 89, .12);
}

html[data-theme="dark"] .ps-document-date-select__menu button {
  color: #f5f5f5;
}

html[data-theme="dark"] .ps-document-date-select__menu button:hover,
html[data-theme="dark"] .ps-document-date-select__menu button.is-selected {
  background: #3a3a3a;
  color: #55e45d;
}

@media (max-width: 700px) {
  .ps-booking-configurator .ps-vehicle-sheet__topbar,
  .ps-booking-page-flow {
    min-height: 42px !important;
    padding: 0 7px !important;
    grid-template-columns: 24px minmax(0, 1fr) 24px !important;
    gap: 4px !important;
  }

  .ps-booking-configurator .ps-vehicle-sheet__topbar {
    width: auto !important;
    margin: 0 6px !important;
  }

  .ps-booking-page-flow {
    width: auto !important;
    margin: 0 6px 12px !important;
  }

  .ps-booking-flow {
    gap: 4px !important;
  }

  .ps-booking-flow__back,
  .ps-booking-page-flow__close,
  .ps-booking-configurator .ps-vehicle-sheet__close {
    width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 !important;
  }

  .ps-booking-flow__back svg {
    width: 17px !important;
    height: 17px !important;
  }

  .ps-booking-flow strong,
  .ps-booking-flow a,
  .ps-booking-flow span {
    font-size: 9px !important;
  }

  .ps-rental-editor__dialog {
    max-height: calc(100dvh - 8px) !important;
  }

  .ps-phone-field {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }

  .ps-phone-field > button small,
  .ps-phone-field > button b {
    font-size: 13px !important;
  }

  .ps-document-date-dialog {
    padding: 12px !important;
    place-items: center !important;
  }

  .ps-document-date-dialog > section {
    width: min(520px, 100%) !important;
    border-radius: 18px !important;
  }

  .ps-document-date-select__toggle {
    min-height: 48px;
    padding-right: 30px;
    padding-left: 9px;
    font-size: 13px;
  }

  .ps-document-date-select__menu {
    max-height: 168px;
  }
}

/* ui145: identical booking steps, fixed flow chrome and downward rental time menus. */
body.ps-vehicle-modal-open .ps-vehicle-modal__dialog,
.ps-vehicle-modal__dialog.is-booking-flow {
  width: min(980px, calc(100vw - 36px)) !important;
  height: calc(100vh - 36px) !important;
  height: calc(100dvh - 36px) !important;
  min-height: 0 !important;
  max-height: calc(100vh - 36px) !important;
  max-height: calc(100dvh - 36px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable;
}

body.ps-vehicle-modal-open .ps-vehicle-modal__dialog > .ps-vehicle-modal__body,
.ps-vehicle-modal__dialog.is-booking-flow > .ps-vehicle-modal__body {
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow: visible !important;
}

body.ps-vehicle-modal-open .ps-booking-configurator,
body.ps-vehicle-modal-open .ps-vehicle-modal__content > .ps-booking-shell,
.ps-vehicle-modal__dialog.is-booking-flow .ps-booking-configurator,
.ps-vehicle-modal__dialog.is-booking-flow .ps-vehicle-modal__content > .ps-booking-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.ps-vehicle-modal__dialog.is-booking-flow .ps-booking-configurator .ps-vehicle-sheet__topbar,
.ps-vehicle-modal__dialog.is-booking-flow .ps-booking-page-flow {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  backdrop-filter: blur(12px) !important;
}

.ps-rental-time-picker__menu {
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable;
}

@media (max-width: 700px) {
  body.ps-vehicle-modal-open .ps-vehicle-modal__dialog,
  .ps-vehicle-modal__dialog.is-booking-flow {
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
}

/* ui147: compact filters, identical booking chrome and overlay pickers. */
@media (min-width: 768px) {
  html body .ps-market-layout > .ps-sidebar-filters {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    block-size: auto !important;
    align-self: start !important;
    overflow: visible !important;
  }

  html body .ps-market-layout > .ps-sidebar-filters > .ps-sidebar-box {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - var(--ps-sticky-search-height, 78px) - 8px) !important;
    block-size: auto !important;
    align-self: start !important;
    padding-bottom: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }

  .ps-listing-card--catalog .ps-listing-card__content {
    padding-left: 58px !important;
  }
}

body.ps-vehicle-modal-open .ps-vehicle-modal__dialog,
.ps-vehicle-modal__dialog.is-booking-flow,
body.ps-vehicle-modal-open .ps-vehicle-modal__body,
.ps-vehicle-modal__dialog.is-booking-flow > .ps-vehicle-modal__body {
  scrollbar-width: auto !important;
  scrollbar-color: #8d98a8 transparent !important;
}

body.ps-vehicle-modal-open .ps-vehicle-modal__dialog::-webkit-scrollbar,
.ps-vehicle-modal__dialog.is-booking-flow::-webkit-scrollbar,
body.ps-vehicle-modal-open .ps-vehicle-modal__body::-webkit-scrollbar,
.ps-vehicle-modal__dialog.is-booking-flow > .ps-vehicle-modal__body::-webkit-scrollbar {
  width: 12px !important;
}

body.ps-vehicle-modal-open .ps-vehicle-modal__dialog::-webkit-scrollbar-track,
.ps-vehicle-modal__dialog.is-booking-flow::-webkit-scrollbar-track,
body.ps-vehicle-modal-open .ps-vehicle-modal__body::-webkit-scrollbar-track,
.ps-vehicle-modal__dialog.is-booking-flow > .ps-vehicle-modal__body::-webkit-scrollbar-track {
  background: transparent !important;
}

body.ps-vehicle-modal-open .ps-vehicle-modal__dialog::-webkit-scrollbar-thumb,
.ps-vehicle-modal__dialog.is-booking-flow::-webkit-scrollbar-thumb,
body.ps-vehicle-modal-open .ps-vehicle-modal__body::-webkit-scrollbar-thumb,
.ps-vehicle-modal__dialog.is-booking-flow > .ps-vehicle-modal__body::-webkit-scrollbar-thumb {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #8d98a8;
  background-clip: padding-box;
}

.ps-vehicle-modal__dialog.is-booking-flow .ps-booking-configurator .ps-vehicle-sheet__topbar,
.ps-vehicle-modal__dialog.is-booking-flow .ps-booking-page-flow {
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 22px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  grid-template-columns: 30px minmax(0, 1fr) 30px !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid var(--booking-border, #d8e0eb) !important;
  background: var(--booking-surface, #fff) !important;
  backdrop-filter: blur(12px) !important;
}

.ps-vehicle-modal__dialog.is-booking-flow .ps-booking-page-flow {
  width: calc(100% + 56px) !important;
  margin: -24px -28px 22px !important;
}

.ps-rental-location-picker__menu > button.is-selected,
.ps-rental-time-picker__menu > button.is-selected,
.ps-client-select__menu button.is-selected,
.ps-phone-country-list button.is-selected {
  background: #e8f8ed !important;
  color: #168545 !important;
}

html[data-theme="dark"] .ps-rental-location-picker__menu > button.is-selected,
html[data-theme="dark"] .ps-rental-time-picker__menu > button.is-selected,
html[data-theme="dark"] .ps-client-select__menu button.is-selected,
html[data-theme="dark"] .ps-phone-country-list button.is-selected {
  background: #34483a !important;
  color: #55e45d !important;
}

@media (min-width: 768px) {
  .ps-info-page .ps-info-hero {
    height: 170px !important;
    min-height: 170px !important;
    padding: 50px 0 18px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .ps-info-page .ps-info-hero > .ps-shell {
    width: min(1024px, calc(100% - 64px)) !important;
  }

  .ps-info-page .ps-info__card {
    top: -24px !important;
  }
}

@media (max-width: 700px) {
  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-configurator .ps-vehicle-sheet__topbar,
  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-page-flow {
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 7px !important;
    grid-template-columns: 24px minmax(0, 1fr) 24px !important;
    gap: 4px !important;
  }
}

/* ui148: viewport-owned desktop filters and narrow branded information pages. */
@media (min-width: 768px) {
  html body .ps-market-layout > .ps-sidebar-filters {
    width: 100% !important;
    height: fit-content !important;
    min-height: 0 !important;
    max-height: var(--ps-sidebar-available-height, calc(100dvh - var(--ps-sticky-search-height, 78px) - 16px)) !important;
    block-size: fit-content !important;
    position: sticky !important;
    top: calc(var(--ps-sticky-search-height, 78px) + 8px) !important;
    align-self: start !important;
    overflow: hidden !important;
  }

  html body .ps-market-layout > .ps-sidebar-filters > .ps-sidebar-box {
    width: 100% !important;
    height: fit-content !important;
    min-height: 0 !important;
    max-height: var(--ps-sidebar-available-height, calc(100dvh - var(--ps-sticky-search-height, 78px) - 16px)) !important;
    block-size: fit-content !important;
    flex: 0 0 auto !important;
    align-self: start !important;
    padding-bottom: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-gutter: stable !important;
  }

  html body .ps-market-layout > .ps-sidebar-filters .ps-sidebar-actions {
    flex: 0 0 auto !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
  }

  .ps-info-page .ps-header > .ps-shell,
  .ps-info-page .ps-info-hero > .ps-shell,
  .ps-info-page .ps-info > .ps-shell {
    width: min(1120px, calc(100% - 48px)) !important;
  }

  .ps-info-page .ps-info-hero {
    width: 100% !important;
    height: 214px !important;
    min-height: 214px !important;
    padding: 54px 0 0 !important;
    display: grid !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .ps-info-page .ps-info-hero > .ps-shell {
    text-align: center !important;
  }

  .ps-info-page .ps-info-hero p {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .ps-info-page .ps-info__card {
    top: -24px !important;
  }
}

.ps-info-page .ps-info {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ps-info-page .ps-info-elephant {
  display: none;
}

.ps-info-page .ps-info__card {
  z-index: 1;
}

@media (min-width: 768px) {
  .ps-info-page .ps-info-elephant {
    width: min(82vw, 1050px);
    position: absolute;
    top: 24px;
    left: clamp(-560px, -38vw, -300px);
    z-index: 0;
    display: block;
    pointer-events: none;
    user-select: none;
  }

  .ps-info-page .ps-info-elephant img {
    width: 100%;
    height: auto;
    display: block;
    opacity: .065;
    filter: grayscale(1) brightness(0) contrast(.82);
  }

  html[data-theme="dark"] .ps-info-page .ps-info-elephant img {
    opacity: .047;
    filter: grayscale(1) brightness(0) invert(1) contrast(.78);
  }
}

/* ui149: keep inner-page hero and footer on the same narrow content grid. */
@media (min-width: 768px) {
  .ps-info-page .ps-footer > .ps-shell {
    width: min(1120px, calc(100% - 48px)) !important;
  }

  .ps-info-page .ps-info-hero > .ps-shell {
    text-align: left !important;
  }

  .ps-info-page .ps-info-hero h1 {
    max-width: 900px;
    margin: 0 !important;
    font-size: clamp(38px, 4vw, 50px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.035em !important;
  }

  .ps-info-page .ps-info-hero p {
    max-width: 760px !important;
    margin: 12px 0 0 !important;
  }
}

/* ui150: complete quantity dividers and keep short inner pages above the footer. */
.ps-service-counter > output {
  border-right: 0 !important;
  border-left: 1px solid var(--booking-border) !important;
}

.ps-service-counter > button[data-service-increase] {
  border-left: 1px solid var(--booking-border) !important;
}

body.ps-info-page,
body.ps-visual-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.ps-info-page > #main-content,
body.ps-visual-page > #main-content {
  flex: 1 0 auto;
}

body.ps-info-page > #main-content {
  display: flex;
  flex-direction: column;
}

body.ps-info-page > #main-content > .ps-info {
  flex: 1 0 auto;
}

body.ps-info-page > .ps-footer,
body.ps-visual-page > .ps-footer {
  flex: 0 0 auto;
}

/* ui151: align the investor page and keep mobile booking chrome/pickers deterministic. */
@media (min-width: 768px) {
  .ps-investor-page .ps-investor-hero > .ps-shell,
  .ps-investor-page .ps-investor-content > .ps-shell {
    width: min(1120px, calc(100% - 48px)) !important;
    max-width: 1120px !important;
  }
}

@media (max-width: 700px) {
  .ps-vehicle-modal__dialog.is-booking-flow .ps-vehicle-modal__content > .ps-booking-shell {
    padding-top: 0 !important;
  }

  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-configurator .ps-vehicle-sheet__topbar,
  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-page-flow {
    min-height: 42px !important;
    height: 42px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
    align-self: start !important;
    box-sizing: border-box !important;
  }

  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-page-flow {
    width: calc(100% + 24px) !important;
    margin: 0 -12px !important;
  }

  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-layout--details {
    padding-top: 16px !important;
  }

  .ps-rental-location-picker--return .ps-rental-location-picker__menu,
  .ps-rental-time-picker--return .ps-rental-time-picker__menu {
    transform-origin: center bottom;
  }
}

/* ui152: consistent rental labels, upward return-place picker and separate deposit. */
.ps-rental-place-field,
.ps-rental-time-field {
  width: 100%;
  display: grid;
  gap: 7px;
}

.ps-rental-place-field {
  margin-top: 10px;
}

.ps-rental-place-field > span,
.ps-rental-time-field > span {
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  z-index: auto !important;
  display: block !important;
  background: transparent !important;
  color: var(--booking-text) !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
}

.ps-rental-location-picker__menu[data-open-direction="up"] {
  transform-origin: center bottom !important;
}

.ps-booking-total dl .ps-booking-deposit-line,
.ps-booking-summary--client dl .ps-booking-deposit-line {
  margin-top: 8px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--booking-border, #d8e0eb) !important;
}

.ps-booking-deposit-line dt {
  display: grid;
  gap: 3px;
}

.ps-booking-deposit-line dt small {
  display: block;
  color: var(--booking-muted, #667085) !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
}

.ps-booking-deposit-line dd,
.ps-booking-deposit-line dd span {
  color: var(--booking-text, #172033) !important;
  font-weight: 950 !important;
}

@media (max-width: 700px) {
  .ps-rental-location-picker--return .ps-rental-location-picker__menu[data-open-direction="up"] {
    box-shadow: 0 -18px 44px rgba(16, 24, 40, .18) !important;
  }
}

/* ui153: theme-aware picker selection, balanced counters and compact dial-code phone fields. */
html:not([data-theme="dark"]) .ps-rental-location-picker__menu > button.is-selected,
html:not([data-theme="dark"]) .ps-rental-time-picker__menu > button.is-selected,
html:not([data-theme="dark"]) .ps-client-select__menu button.is-selected,
html:not([data-theme="dark"]) .ps-phone-country-list button.is-selected {
  background: #e5efff !important;
  color: #1765d1 !important;
}

.ps-service-counter > output {
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
  line-height: 1 !important;
}

.ps-phone-field {
  grid-template-columns: 72px minmax(0, 1fr) !important;
}

.ps-phone-field > button {
  padding: 0 10px !important;
  grid-template-columns: minmax(0, 1fr) 14px !important;
  justify-content: center !important;
  gap: 5px !important;
}

.ps-phone-field > button small {
  justify-self: center !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.ps-phone-field > .ps-control {
  padding-left: 14px !important;
}

@media (max-width: 700px) {
  .ps-rental-location-picker--return .ps-rental-location-picker__menu[data-open-direction="up"] {
    position: absolute !important;
    top: auto !important;
    right: 0 !important;
    bottom: calc(100% + 7px) !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: min(300px, 40dvh) !important;
  }
}

/* ui155: mobile info pages, booking deposit contrast and no iOS focus zoom. */
html[data-theme="dark"] .ps-booking-deposit-line dd,
html[data-theme="dark"] .ps-booking-deposit-line dd span {
  color: #55e45d !important;
}

@media (max-width: 700px) {
  .ps-info-page .ps-info {
    overflow: visible !important;
  }

  .ps-info-page .ps-info__card {
    top: 0 !important;
    margin-top: 0 !important;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
    touch-action: manipulation;
  }
}

/* ui157: touch help, stable custom pickers, full-screen mobile booking and car wash copy. */
.ps-search-help.is-open::after {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}

.ps-search__field:first-child .ps-search-help.is-open::after {
  transform: translate(0, 0) !important;
}

[data-phone-country-option][hidden],
[data-phone-country-option][aria-hidden="true"] {
  display: none !important;
}

.ps-client-select > select[aria-hidden="true"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.ps-booking-service__description {
  display: block !important;
  margin-top: 5px !important;
  color: var(--booking-muted, #667085) !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.app-location-map-link {
  display: inline-flex;
  margin: 7px 4px 0;
  color: #2563eb;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.app-location-map-link:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .ps-search-help.is-open::after,
  .ps-search__field:first-child .ps-search-help.is-open::after {
    transform: translate(0, 0) !important;
  }

  .ps-phone-field input[type="tel"],
  .ps-phone-field input[type="text"],
  input[name="client_phone"],
  input[name^="additional_phone_"]:not([type="hidden"]) {
    font-size: 16px !important;
    touch-action: manipulation !important;
  }

  body.ps-vehicle-modal-open .ps-vehicle-modal,
  .ps-vehicle-modal:has(.ps-vehicle-modal__dialog.is-booking-flow) {
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 0 !important;
  }

  body.ps-vehicle-modal-open .ps-vehicle-modal__dialog,
  .ps-vehicle-modal__dialog.is-booking-flow {
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  body.ps-vehicle-modal-open .ps-vehicle-modal__body,
  body.ps-vehicle-modal-open .ps-vehicle-modal__content,
  .ps-vehicle-modal__dialog.is-booking-flow > .ps-vehicle-modal__body,
  .ps-vehicle-modal__dialog.is-booking-flow .ps-vehicle-modal__content {
    min-height: 100% !important;
  }

  .ps-booking-vehicle__main-photo,
  html[data-theme="light"] .ps-booking-vehicle__main-photo,
  html[data-theme="dark"] .ps-booking-vehicle__main-photo {
    width: 100% !important;
    height: clamp(170px, 28dvh, 220px) !important;
    min-height: 0 !important;
    max-height: 220px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
  }

  .ps-booking-vehicle__main-photo img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
}

@media (max-width: 700px) {
  html[data-theme="dark"] body.ps-vehicle-modal-open,
  html[data-theme="dark"] body.ps-vehicle-modal-open .ps-vehicle-modal,
  html[data-theme="dark"] body.ps-vehicle-modal-open .ps-vehicle-modal__dialog,
  html[data-theme="dark"] body.ps-vehicle-modal-open .ps-vehicle-modal__body,
  html[data-theme="dark"] body.ps-vehicle-modal-open .ps-vehicle-modal__content,
  html[data-theme="dark"] body.ps-vehicle-modal-open .ps-vehicle-modal__content > .ps-booking-shell,
  html[data-theme="dark"] body.ps-vehicle-modal-open .ps-booking-configurator {
    background: #272727 !important;
  }
}


/* 2026-08-19 ui159: nav home link, stable help tooltips, slimmer info hero, footer color continuity and updated contacts. */
body.ps-home-page {
  background-color: var(--ps-header-footer-bg);
}

.ps-home-page .ps-footer {
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

.ps-search__field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ps-search__field-title {
  display: inline-block;
}

.ps-search-help {
  padding: 0;
  border-width: 1px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.ps-search-help:focus-visible {
  outline: 2px solid rgba(37, 110, 219, .35);
  outline-offset: 2px;
}

.ps-info-page .ps-info-hero {
  min-height: 220px !important;
  padding-top: 96px !important;
  padding-bottom: 24px !important;
  background-position: center 26% !important;
}

.ps-info-page .ps-info-hero--about {
  min-height: 150px !important;
  padding-bottom: 0 !important;
}

.ps-info-page .ps-info-hero--about .ps-shell {
  min-height: 0 !important;
}

.ps-contact-card {
  position: relative;
  gap: 4px;
}

.ps-contact-card--featured {
  border-color: rgba(64, 186, 83, .48) !important;
  box-shadow: 0 16px 36px rgba(64, 186, 83, .16);
}

.ps-contact-avatar--photo {
  width: 112px !important;
  height: 112px !important;
  padding: 0 !important;
  overflow: hidden;
  background: #dce6dc !important;
}

.ps-contact-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-contact-languages {
  margin: 4px 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.ps-contact-languages span {
  padding: 6px 10px;
  border: 1px solid #dce4dc;
  border-radius: 999px;
  background: #f7faf7;
  color: #33523a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.ps-contact-phone--secondary {
  margin-top: 4px !important;
  color: #5b6673 !important;
  font-weight: 600 !important;
}

.ps-contact-socials a span {
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

html[data-theme="dark"] .ps-contact-languages span {
  border-color: #445045;
  background: #202a21;
  color: #eaf6ea;
}

@media (max-width: 767px) {
  .ps-info-page .ps-info-hero {
    min-height: 150px !important;
    padding-top: 82px !important;
    padding-bottom: 14px !important;
    background-position: center 22% !important;
  }

  .ps-info-page .ps-info-hero--about {
    min-height: 112px !important;
  }

  .ps-contact-card--featured {
    transform: none;
  }
}
/* 2026-08-19 ui160: safer iOS pickers, readable help, larger booking flow and investor phone country picker. */
.ps-investor-phone-field {
  width: 100%;
}

.ps-investor-phone-field > .ps-control {
  min-width: 0;
  width: 100%;
}

@media (max-width: 767px) {
  body.ps-mobile-picker-open .ps-header {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body > .ps-custom-select__menu.ps-mobile-picker-portal,
  body > .ps-date-range-popover.ps-mobile-picker-portal,
  body > .ps-sidebar-filters.ps-mobile-filter-portal {
    background-color: #272727 !important;
    background-image: none !important;
  }

  .ps-custom-select__mobile-head,
  .ps-date-range-mobile-head,
  body > .ps-sidebar-filters.ps-mobile-filter-portal .ps-sidebar-heading {
    top: 0 !important;
  }

  .ps-search-help.is-open::after,
  .ps-search__field:first-child .ps-search-help.is-open::after {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 76px) !important;
    right: 14px !important;
    left: 14px !important;
    width: auto !important;
    max-width: none !important;
    padding: 13px 15px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    transform: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    z-index: 2147483200 !important;
  }

  .ps-booking-page-flow {
    min-height: 56px !important;
    padding: 0 10px !important;
    grid-template-columns: 38px minmax(0, 1fr) 38px !important;
    gap: 7px !important;
  }

  .ps-booking-flow {
    width: min(520px, 100%) !important;
    grid-template-columns: max-content minmax(34px, 88px) max-content !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .ps-booking-flow strong,
  .ps-booking-flow a,
  .ps-booking-flow span {
    font-size: 12px !important;
    line-height: 1.15 !important;
  }

  .ps-booking-flow__back,
  .ps-booking-page-flow__close {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .ps-booking-flow__back svg {
    width: 23px !important;
    height: 23px !important;
    stroke-width: 2.35 !important;
  }

  .ps-booking-page-flow__close {
    font-size: 30px !important;
    line-height: 1 !important;
  }

  .ps-investor-phone-field,
  .ps-investor-phone-field input[type="tel"],
  .ps-investor-phone-field input[type="text"] {
    font-size: 16px !important;
    touch-action: manipulation !important;
  }
}

/* 2026-08-22 ui161: about route/documents, contact refresh, locale readability and photo-only catalogue. */
.ps-locale-grid--languages a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ps-locale-grid--languages a span {
  font-size: 22px;
}

.ps-locale-grid--languages a b {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 800;
  color: #203142;
}

.ps-locale-grid--languages a.is-active,
.ps-locale-grid--languages a:hover {
  background: #71db6a !important;
  border-color: #71db6a !important;
}

.ps-locale-grid--languages a.is-active b,
.ps-locale-grid--languages a.is-active span,
.ps-locale-grid--languages a:hover b,
.ps-locale-grid--languages a:hover span {
  color: #102417 !important;
}

html[data-theme="dark"] .ps-locale-grid--languages a {
  background: #252d37 !important;
  border-color: #3d4754 !important;
}

html[data-theme="dark"] .ps-locale-grid--languages a b,
html[data-theme="dark"] .ps-locale-grid--languages a span {
  color: #f5fbff !important;
}

html[data-theme="dark"] .ps-locale-grid--languages a.is-active,
html[data-theme="dark"] .ps-locale-grid--languages a:hover {
  background: #71db6a !important;
  border-color: #71db6a !important;
}

html[data-theme="dark"] .ps-locale-grid--languages a.is-active b,
html[data-theme="dark"] .ps-locale-grid--languages a.is-active span,
html[data-theme="dark"] .ps-locale-grid--languages a:hover b,
html[data-theme="dark"] .ps-locale-grid--languages a:hover span {
  color: #102417 !important;
}

.ps-contact-card {
  gap: 8px;
}

.ps-contact-grid article > h2 {
  font-size: 24px !important;
  color: #192837;
}

.ps-contact-grid article > p {
  font-size: 15px !important;
  color: #4b5f74;
}

.ps-contact-card--featured {
  transform: translateY(-4px);
}

.ps-contact-avatar--photo {
  width: 156px !important;
  height: 156px !important;
  border: 4px solid rgba(112, 219, 106, .9);
  box-shadow: 0 12px 28px rgba(64, 186, 83, .18);
}

.ps-contact-phone {
  color: #183047 !important;
  font-size: 17px !important;
}

.ps-contact-phone--secondary {
  color: #54667a !important;
}

.ps-contact-languages {
  gap: 14px;
  margin-bottom: 12px;
}

.ps-contact-flag {
  font-size: 34px;
  line-height: 1;
}

.ps-contact-languages span {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.ps-contact-socials {
  margin-top: 14px;
  gap: 16px;
}

.ps-contact-socials a,
.ps-contact-social {
  width: auto;
  height: auto;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  padding: 0;
  color: inherit !important;
}

.ps-contact-socials a:hover,
.ps-contact-social:hover {
  transform: translateY(-1px) scale(1.04);
}

.ps-contact-socials svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.ps-contact-social.is-whatsapp { color: #25D366 !important; }
.ps-contact-social.is-telegram { color: #229ED9 !important; }
.ps-contact-social.is-line { color: #06C755 !important; }
.ps-contact-social.is-instagram { color: #E4405F !important; }
.ps-contact-social.is-facebook { color: #1877F2 !important; }

html[data-theme="dark"] .ps-contact-grid article > h2 {
  color: #f7fbff !important;
}

html[data-theme="dark"] .ps-contact-grid article > p {
  color: #c7d2de !important;
}

html[data-theme="dark"] .ps-contact-phone {
  color: #eff6fb !important;
}

html[data-theme="dark"] .ps-contact-phone--secondary {
  color: #b9c6d3 !important;
}

html[data-theme="dark"] .ps-contact-languages span {
  color: inherit !important;
}

html[data-theme="dark"] .ps-contact-socials a,
html[data-theme="dark"] .ps-contact-social {
  background: transparent !important;
}

.ps-about-section {
  margin-top: 36px;
}

.ps-about-section__head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.ps-about-section__head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  color: #17263a;
}

.ps-about-section__head p {
  margin: 0;
  color: #526579;
  font-size: 15px;
}

.ps-airport-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ps-airport-route-card,
.ps-document-file {
  border: 1px solid rgba(117, 138, 161, .18);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.ps-airport-route-card__image {
  aspect-ratio: 4 / 3;
  background: #dbe6f0;
}

.ps-airport-route-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ps-airport-route-card__body {
  padding: 18px 18px 20px;
}

.ps-airport-route-card__body h3,
.ps-document-file h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #17263a;
}

.ps-airport-route-card__body p,
.ps-document-file p {
  margin: 0;
  color: #506274;
  font-size: 15px;
  line-height: 1.6;
}

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

.ps-document-file {
  padding: 22px;
}

.ps-document-file a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #71db6a;
  color: #102417;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(64, 186, 83, .22);
}

.ps-document-file a:hover {
  transform: translateY(-1px);
}

html[data-theme="dark"] .ps-about-section__head h2,
html[data-theme="dark"] .ps-airport-route-card__body h3,
html[data-theme="dark"] .ps-document-file h3 {
  color: #f4f8fc;
}

html[data-theme="dark"] .ps-about-section__head p,
html[data-theme="dark"] .ps-airport-route-card__body p,
html[data-theme="dark"] .ps-document-file p {
  color: #c2cedb;
}

html[data-theme="dark"] .ps-airport-route-card,
html[data-theme="dark"] .ps-document-file {
  background: rgba(33, 40, 49, .88);
  border-color: rgba(115, 136, 163, .28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

@media (max-width: 900px) {
  .ps-airport-route-grid,
  .ps-company-documents {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ps-contact-avatar--photo {
    width: 136px !important;
    height: 136px !important;
  }

  .ps-contact-grid article > h2 {
    font-size: 22px !important;
  }

  .ps-contact-phone {
    font-size: 16px !important;
  }

  .ps-contact-socials svg {
    width: 28px;
    height: 28px;
  }
}

/* 2026-08-22 ui162: follow-up alignment, currency visibility and contact cards. */
.ps-company-documents {
  align-items: stretch;
}

.ps-document-file {
  display: flex;
  flex-direction: column;
}

.ps-document-file p {
  flex: 1 1 auto;
}

.ps-document-file a {
  margin-top: auto;
}

.ps-locale-grid--main-currencies button,
.ps-locale-grid--currencies button {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #203142 !important;
}

.ps-locale-grid--main-currencies button b,
.ps-locale-grid--main-currencies button span,
.ps-locale-grid--currencies button b,
.ps-locale-grid--currencies button span {
  color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ps-locale-grid--main-currencies button.is-active,
.ps-locale-grid--currencies button.is-active,
.ps-locale-grid--main-currencies button:hover,
.ps-locale-grid--currencies button:hover {
  color: #102417 !important;
  background: #71db6a !important;
}

html[data-theme="dark"] .ps-locale-grid--main-currencies button,
html[data-theme="dark"] .ps-locale-grid--currencies button {
  color: #f6fbff !important;
}

html[data-theme="dark"] .ps-locale-grid--main-currencies button.is-active,
html[data-theme="dark"] .ps-locale-grid--currencies button.is-active,
html[data-theme="dark"] .ps-locale-grid--main-currencies button:hover,
html[data-theme="dark"] .ps-locale-grid--currencies button:hover {
  color: #102417 !important;
  background: #71db6a !important;
}

.ps-contact-avatar--photo {
  width: 100% !important;
  max-width: 280px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
}

.ps-contact-avatar--photo img {
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain !important;
  object-position: center !important;
}

.ps-contact-languages {
  gap: 20px !important;
  margin: 8px 0 14px !important;
}

.ps-contact-flag {
  font-size: 48px !important;
  line-height: 1 !important;
}

.ps-contact-socials {
  gap: 18px !important;
}

.ps-contact-socials svg {
  width: 34px !important;
  height: 34px !important;
}

@media (max-width: 767px) {
  .ps-contact-avatar--photo {
    max-width: 250px !important;
    height: auto !important;
  }

  .ps-contact-flag {
    font-size: 44px !important;
  }
}

/* 2026-08-22 ui164: repair contacts page after follow-up patch. */
.ps-info__card--contacts .ps-contact-grid {
  align-items: stretch;
}

.ps-info__card--contacts .ps-contact-card {
  align-content: start;
  gap: 8px;
}

.ps-info__card--contacts .ps-contact-card--featured {
  transform: none !important;
}

.ps-info__card--contacts .ps-contact-avatar--photo {
  width: 190px !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent !important;
  overflow: hidden;
}

.ps-info__card--contacts .ps-contact-avatar--photo img {
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain !important;
}

.ps-info__card--contacts .ps-contact-flag {
  font-size: 46px !important;
}

@media (max-width: 900px) {
  .ps-info__card--contacts .ps-contact-grid {
    grid-template-columns: 1fr !important;
  }

  .ps-info__card--contacts .ps-contact-avatar--photo {
    width: 180px !important;
  }
}

/* 2026-08-22 ui166: rich insurance details in rental terms and comparison modals. */
.ps-insurance-term-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #267a36;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ps-insurance-term-link:hover,
.ps-insurance-term-link:focus-visible {
  color: #1e9b35;
  outline: 0;
}

html[data-theme="dark"] .ps-insurance-term-link {
  color: #74e87b;
}

.ps-public-insurance-modal[hidden] {
  display: none !important;
}

.ps-public-insurance-modal {
  position: fixed;
  z-index: 180;
  inset: 0;
  padding: 22px;
  display: grid;
  place-items: center;
}

.ps-public-insurance-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 10, 16, .76);
  backdrop-filter: blur(5px);
}

.ps-public-insurance-modal__dialog,
.ps-insurance-info-modal__dialog {
  scrollbar-width: thin;
}

.ps-public-insurance-modal__dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100dvh - 44px);
  overflow: auto;
  border: 1px solid #d9e2ea;
  border-radius: 24px;
  background: #fff;
  color: #182434;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .38);
}

.ps-public-insurance-modal__dialog > header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 70px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e6ebf0;
  background: color-mix(in srgb, #fff 94%, transparent);
  backdrop-filter: blur(14px);
}

.ps-public-insurance-modal__dialog > header > span,
.ps-insurance-info-modal__dialog > header > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #70e36f;
  color: #102417 !important;
  font-weight: 950;
}

.ps-public-insurance-modal__dialog > header > span {
  width: 32px;
  height: 32px;
}

.ps-public-insurance-modal__dialog > header h2 {
  margin: 0;
  color: #152234;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.ps-public-insurance-modal__dialog > header > button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d8e0e8;
  border-radius: 50%;
  background: #f7f9fb;
  color: #1c2b3a;
  font: inherit;
  font-size: 26px;
  cursor: pointer;
}

.ps-public-insurance-modal__content {
  padding: 24px;
}

body.ps-public-insurance-open {
  overflow: hidden;
}

.ps-insurance-info-modal__dialog {
  width: min(760px, 100%) !important;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 0 !important;
}

.ps-insurance-info-modal__dialog > header {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--booking-border);
  background: color-mix(in srgb, var(--booking-surface) 94%, transparent);
  backdrop-filter: blur(14px);
}

.ps-insurance-info-modal__content {
  padding: 22px;
}

.ps-insurance-info-modal__action {
  width: calc(100% - 44px);
  margin: 0 22px 22px;
}

.ps-insurance-detail {
  display: grid;
  gap: 18px;
  color: inherit;
}

.ps-insurance-detail__subtitle,
.ps-insurance-detail__summary,
.ps-insurance-detail__note {
  margin: 0 !important;
  color: #536477 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.ps-insurance-detail__subtitle {
  margin-top: -4px !important;
  font-size: 16px !important;
  font-weight: 750;
  color: #24374b !important;
}

.ps-insurance-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-insurance-detail__badges span,
.ps-insurance-detail__badges strong {
  min-height: 34px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5dee7;
  border-radius: 999px;
  background: #f7fafc;
  color: #22364a;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
}

.ps-insurance-detail__badges strong {
  border-color: rgba(72, 192, 87, .35);
  background: rgba(112, 227, 111, .12);
  color: #167a29;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.ps-insurance-detail__meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ps-insurance-detail__meta > div {
  padding: 12px 14px;
  border: 1px solid #e0e6ec;
  border-radius: 14px;
  background: #f8fafc;
}

.ps-insurance-detail__meta dt {
  color: #68798b;
  font-size: 11px;
  font-weight: 700;
}

.ps-insurance-detail__meta dd {
  margin: 4px 0 0;
  color: #1c2f43;
  font-size: 14px;
  font-weight: 850;
}

.ps-insurance-detail__plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ps-insurance-detail__plans article {
  padding: 16px;
  border: 1px solid rgba(72, 192, 87, .38);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(112, 227, 111, .12), rgba(112, 227, 111, .04));
}

.ps-insurance-detail__plans h3,
.ps-insurance-detail__sections h3,
.ps-insurance-detail__glossary h3 {
  margin: 0;
  color: #172b40;
  font-size: 15px;
  line-height: 1.35;
}

.ps-insurance-detail__plans p {
  margin: 5px 0 10px !important;
  color: #617286 !important;
  font-size: 12px !important;
}

.ps-insurance-detail__plans code {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  background: #182631;
  color: #dfffe2;
  font-size: 12px;
  white-space: normal;
}

.ps-insurance-detail__sections {
  display: grid;
  gap: 12px;
}

.ps-insurance-detail__sections section {
  padding: 16px 18px;
  border: 1px solid #e1e7ed;
  border-radius: 18px;
  background: #fbfcfd;
}

.ps-insurance-detail__sections ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.ps-insurance-detail__sections li {
  margin: 0 0 9px;
  padding-left: 4px;
  color: #485d72;
  font-size: 13px;
  line-height: 1.6;
}

.ps-insurance-detail__sections li:last-child {
  margin-bottom: 0;
}

.ps-insurance-detail__glossary {
  display: grid;
  gap: 12px;
}

.ps-insurance-detail__glossary > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ps-insurance-detail__glossary article {
  min-height: 82px;
  padding: 13px 14px;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid rgba(72, 192, 87, .38);
  border-radius: 15px;
  background: rgba(112, 227, 111, .07);
}

.ps-insurance-detail__glossary b {
  color: #172b40;
  font-size: 17px;
}

.ps-insurance-detail__glossary span {
  color: #596d81;
  font-size: 12px;
  line-height: 1.45;
}

.ps-insurance-detail__note {
  padding: 14px 16px;
  border-left: 3px solid #70e36f;
  border-radius: 0 12px 12px 0;
  background: rgba(112, 227, 111, .08);
}

html[data-theme="dark"] .ps-public-insurance-modal__dialog {
  border-color: #46515d;
  background: #292d32;
  color: #f4f8fb;
}

html[data-theme="dark"] .ps-public-insurance-modal__dialog > header {
  border-bottom-color: #454f59;
  background: rgba(41, 45, 50, .94);
}

html[data-theme="dark"] .ps-public-insurance-modal__dialog > header h2,
html[data-theme="dark"] .ps-insurance-detail__plans h3,
html[data-theme="dark"] .ps-insurance-detail__sections h3,
html[data-theme="dark"] .ps-insurance-detail__glossary h3,
html[data-theme="dark"] .ps-insurance-detail__glossary b {
  color: #f5f9fc !important;
}

html[data-theme="dark"] .ps-public-insurance-modal__dialog > header > button {
  border-color: #505a65;
  background: #32373d;
  color: #f7fafc;
}

html[data-theme="dark"] .ps-insurance-detail__subtitle,
html[data-theme="dark"] .ps-insurance-detail__summary,
html[data-theme="dark"] .ps-insurance-detail__note,
html[data-theme="dark"] .ps-insurance-detail__sections li,
html[data-theme="dark"] .ps-insurance-detail__glossary span,
html[data-theme="dark"] .ps-insurance-detail__plans p {
  color: #c6d2dd !important;
}

html[data-theme="dark"] .ps-insurance-detail__subtitle {
  color: #eef5fb !important;
}

html[data-theme="dark"] .ps-insurance-detail__badges span,
html[data-theme="dark"] .ps-insurance-detail__meta > div,
html[data-theme="dark"] .ps-insurance-detail__sections section {
  border-color: #46515c;
  background: #32373d;
  color: #edf5fb;
}

html[data-theme="dark"] .ps-insurance-detail__badges strong,
html[data-theme="dark"] .ps-insurance-detail__plans article,
html[data-theme="dark"] .ps-insurance-detail__glossary article,
html[data-theme="dark"] .ps-insurance-detail__note {
  border-color: rgba(112, 227, 111, .32);
  background: rgba(112, 227, 111, .08);
}

html[data-theme="dark"] .ps-insurance-detail__meta dt {
  color: #9eafbf;
}

html[data-theme="dark"] .ps-insurance-detail__meta dd {
  color: #f2f7fb;
}

@media (max-width: 700px) {
  .ps-public-insurance-modal,
  .ps-insurance-info-modal {
    padding: 0 !important;
    align-items: stretch;
  }

  .ps-public-insurance-modal__dialog,
  .ps-insurance-info-modal__dialog {
    width: 100% !important;
    max-height: 100dvh !important;
    min-height: 100dvh;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .ps-public-insurance-modal__content,
  .ps-insurance-info-modal__content {
    padding: 18px 14px 28px;
  }

  .ps-insurance-detail__meta,
  .ps-insurance-detail__plans,
  .ps-insurance-detail__glossary > div {
    grid-template-columns: 1fr;
  }

  .ps-insurance-detail__glossary article {
    min-height: 0;
  }

  .ps-insurance-info-modal__action {
    width: calc(100% - 28px);
    margin: 0 14px 18px;
  }
}

.ps-option-mark--info {
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

/* 2026-08-22 ui165: true viewport insurance overlay and fullscreen mobile insurance details. */
.ps-public-insurance-modal,
.ps-insurance-info-modal {
  position: fixed !important;
  z-index: 2147483000 !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 24px !important;
  display: grid !important;
  place-items: center !important;
  isolation: isolate;
}

.ps-public-insurance-modal[hidden],
.ps-insurance-info-modal[hidden] {
  display: none !important;
}

.ps-public-insurance-modal__backdrop,
.ps-insurance-info-modal__backdrop {
  position: fixed !important;
  z-index: -1 !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(2, 6, 10, .82) !important;
  -webkit-backdrop-filter: blur(14px) saturate(.72) !important;
  backdrop-filter: blur(14px) saturate(.72) !important;
}

.ps-public-insurance-modal__dialog,
.ps-insurance-info-modal__dialog {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin: auto !important;
  align-self: center !important;
  justify-self: center !important;
  max-height: calc(100dvh - 48px) !important;
}

.ps-public-insurance-modal__dialog {
  width: min(900px, calc(100vw - 48px)) !important;
}

.ps-insurance-info-modal__dialog {
  width: min(780px, calc(100vw - 48px)) !important;
}

body.ps-public-insurance-open,
body.ps-insurance-info-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* Clean close icon: no circle, border or filled button. */
.ps-public-insurance-modal__dialog > header > button,
.ps-insurance-info-modal__dialog > header > button {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: 32px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
}

.ps-public-insurance-modal__dialog > header > button:hover,
.ps-public-insurance-modal__dialog > header > button:focus-visible,
.ps-insurance-info-modal__dialog > header > button:hover,
.ps-insurance-info-modal__dialog > header > button:focus-visible {
  background: transparent !important;
  transform: none !important;
  opacity: .72;
}

@media (max-width: 700px) {
  .ps-public-insurance-modal,
  .ps-insurance-info-modal {
    padding: 0 !important;
    place-items: stretch !important;
  }

  .ps-public-insurance-modal__dialog,
  .ps-insurance-info-modal__dialog {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: auto !important;
    overscroll-behavior: contain;
  }

  .ps-public-insurance-modal__dialog > header,
  .ps-insurance-info-modal__dialog > header {
    position: sticky !important;
    z-index: 5 !important;
    top: 0 !important;
    min-height: 64px !important;
    padding: calc(10px + env(safe-area-inset-top)) 12px 10px 14px !important;
    grid-template-columns: 28px minmax(0, 1fr) 40px !important;
  }

  .ps-public-insurance-modal__dialog > header > button,
  .ps-insurance-info-modal__dialog > header > button {
    position: absolute !important;
    top: calc(10px + env(safe-area-inset-top)) !important;
    right: 8px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 36px !important;
  }

  .ps-public-insurance-modal__dialog > header h2,
  .ps-insurance-info-modal__dialog > header h2 {
    padding-right: 38px !important;
    font-size: 18px !important;
  }

  .ps-public-insurance-modal__content,
  .ps-insurance-info-modal__content {
    padding: 18px 14px calc(28px + env(safe-area-inset-bottom)) !important;
  }

  .ps-insurance-info-modal__action {
    display: none !important;
  }
}


/* 2026-08-23 ui166: stable iPhone sheets, booking submit feedback and compact success state. */
.ps-home-page [data-vehicle-card] {
  scroll-margin-top: calc(var(--ps-sticky-search-height, 78px) + 16px);
}

.ps-booking-submit.is-submitting {
  position: relative;
  cursor: wait !important;
  opacity: .82 !important;
}

.ps-booking-submit-overlay[hidden] {
  display: none !important;
}

.ps-booking-submit-overlay {
  position: absolute;
  z-index: 2147483300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 12, 18, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ps-booking-submit-overlay__card {
  width: min(420px, calc(100vw - 40px));
  padding: 30px 28px;
  display: grid;
  justify-items: center;
  gap: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
  color: #172033;
  text-align: center;
}

.ps-booking-submit-overlay__card strong {
  font-size: 19px;
  line-height: 1.3;
}

.ps-booking-submit-overlay__card small {
  max-width: 320px;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.ps-booking-submit-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #dce6f5;
  border-top-color: #2b73df;
  border-radius: 50%;
  animation: ps-booking-spin .75s linear infinite;
}

@keyframes ps-booking-spin {
  to { transform: rotate(360deg); }
}

html[data-theme="dark"] .ps-booking-submit-overlay__card {
  background: #2d3035;
  color: #f7f9fb;
}

html[data-theme="dark"] .ps-booking-submit-overlay__card small {
  color: #b8c0ca;
}

/* A successful booking should look like a compact confirmation dialog, not a white page inside a modal. */
@media (min-width: 768px) {
  .ps-vehicle-modal.is-booking-success {
    padding: 24px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ps-vehicle-modal.is-booking-success .ps-vehicle-modal__dialog,
  html[data-theme="dark"] .ps-vehicle-modal.is-booking-success .ps-vehicle-modal__dialog {
    width: min(590px, calc(100vw - 48px)) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 48px) !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ps-vehicle-modal.is-booking-success .ps-vehicle-modal__body,
  .ps-vehicle-modal.is-booking-success .ps-vehicle-modal__content {
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .ps-vehicle-modal.is-booking-success .ps-booking-success-modal {
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 767px) {
  /* Date picker: calendar scrolls, while time controls and Done stay physically attached to the bottom. */
  body > .ps-date-range-popover.ps-mobile-picker-portal:not([hidden]) {
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-mobile-head {
    position: relative !important;
    top: auto !important;
    flex: 0 0 auto !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-calendars,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-calendars {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 14px 12px 18px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-padding-bottom: 18px !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer,
  html[data-theme="light"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer,
  html[data-theme="dark"] body > .ps-date-range-popover.ps-mobile-picker-portal .ps-date-range-footer {
    position: relative !important;
    inset: auto !important;
    z-index: 20 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body > .ps-date-range-popover.ps-mobile-picker-portal .ps-time-picker__menu {
    max-height: min(190px, 30dvh) !important;
    overscroll-behavior: contain !important;
  }

  /* Language/currency sheet must scroll all the way to the last currency above Safari chrome. */
  .ps-locale-dialog {
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }

  .ps-locale-dialog__panel {
    width: 100% !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    overflow: hidden !important;
  }

  .ps-locale-dialog__body {
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
    scroll-padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* All vehicle/booking modal steps cover the complete live iPhone viewport. */
  body.ps-vehicle-modal-open .ps-vehicle-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100lvh !important;
    min-height: 100vh !important;
    min-height: 100lvh !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #f4f6fb !important;
  }

  html[data-theme="dark"] body.ps-vehicle-modal-open .ps-vehicle-modal {
    background: #272727 !important;
  }

  body.ps-vehicle-modal-open .ps-vehicle-modal__backdrop {
    background: inherit !important;
  }

  body.ps-vehicle-modal-open .ps-vehicle-modal__dialog {
    width: 100% !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
  }

  body.ps-vehicle-modal-open .ps-vehicle-modal__body,
  body.ps-vehicle-modal-open .ps-vehicle-modal__content {
    width: 100% !important;
    min-height: 100% !important;
    background: #f4f6fb !important;
  }

  html[data-theme="dark"] body.ps-vehicle-modal-open .ps-vehicle-modal__body,
  html[data-theme="dark"] body.ps-vehicle-modal-open .ps-vehicle-modal__content {
    background: #272727 !important;
  }

  body.ps-vehicle-modal-open .ps-booking-submit-overlay {
    position: fixed !important;
    inset: 0 !important;
    height: 100dvh !important;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .ps-vehicle-modal.is-booking-success .ps-booking-success-modal {
    width: calc(100% - 28px) !important;
    margin: 22px auto calc(22px + env(safe-area-inset-bottom, 0px)) !important;
  }
}


/* 2026-08-23 ui168: keep booking gallery photos at their natural aspect ratio.
   Uploaded/API images are no longer squeezed into the old 220px mobile box. */
.ps-booking-vehicle__main-photo,
html[data-theme="light"] .ps-booking-vehicle__main-photo,
html[data-theme="dark"] .ps-booking-vehicle__main-photo {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  display: block !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-booking-vehicle__main-photo img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Keep catalogue image canvases identical.  CarImages imports additionally
   normalize the visible vehicle footprint so Ativ/Yaris-sized assets do not
   look arbitrarily larger or smaller because of source framing. */
.ps-trip-card__media,
.ps-listing-card__media {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

.ps-trip-card__media > img,
.ps-listing-card__media > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}


/* 2026-08-23 ui170: restore compact desktop catalogue photo size.
   Mobile image sizing from ui169 stays unchanged. */
@media (min-width: 768px) {
  .ps-listing-card--catalog {
    grid-template-columns: 192px minmax(0, 1fr) 220px !important;
    min-height: 174px !important;
  }

  .ps-listing-card--catalog .ps-listing-card__media {
    width: 192px !important;
    min-width: 192px !important;
    max-width: 192px !important;
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
  }

  .ps-listing-card--catalog .ps-listing-card__media img {
    padding: 8px !important;
  }
}

@media (max-width: 767px) {
  .ps-listing-card--catalog .ps-mobile-vehicle-card {
    grid-template-columns: 136px minmax(0, 1fr) !important;
    column-gap: 14px !important;
  }

  .ps-mobile-vehicle-card__media {
    width: 136px !important;
    min-width: 136px !important;
    max-width: 136px !important;
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }

  .ps-mobile-vehicle-card__info {
    min-height: 108px !important;
  }

  .ps-mobile-vehicle-card__media img {
    padding: 0 !important;
  }
}

@media (max-width: 360px) {
  .ps-listing-card--catalog .ps-mobile-vehicle-card {
    grid-template-columns: 124px minmax(0, 1fr) !important;
    column-gap: 11px !important;
  }

  .ps-mobile-vehicle-card__media {
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
  }

  .ps-mobile-vehicle-card__info {
    min-height: 100px !important;
  }
}

/* Booking wash default and old-vehicle travel restriction. */
.ps-booking-service--toggle.is-highlighted {
  border-color: color-mix(in srgb, var(--booking-success) 58%, var(--booking-border)) !important;
  background: color-mix(in srgb, var(--booking-success) 10%, var(--booking-surface)) !important;
  box-shadow: inset 3px 0 var(--booking-success);
}
.ps-booking-service--toggle.is-highlighted > span > b { color: var(--booking-success) !important; }
.ps-booking-service--notice {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  border:1px solid color-mix(in srgb, var(--booking-danger) 38%, var(--booking-border));
  background:color-mix(in srgb, var(--booking-danger) 7%, var(--booking-surface));
}
.ps-booking-service--notice > span { display:flex; flex-direction:column; gap:5px; }
.ps-booking-service--notice > i {
  flex:0 0 30px; width:30px; height:30px; display:grid; place-items:center;
  border-radius:50%; background:var(--booking-danger); color:#fff; font-style:normal; font-weight:900;
}
.ps-or-similar {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border: 1px solid rgba(37, 99, 235, .28);
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  color: #2563eb;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  font-style: normal;
  letter-spacing: .01em;
  white-space: nowrap;
  vertical-align: baseline;
}
html[data-theme="dark"] .ps-or-similar {
  border-color: rgba(85, 228, 93, .34);
  background: rgba(85, 228, 93, .09);
  color: #55e45d;
}
.ps-booking-vehicle__title .ps-or-similar {
  color: var(--booking-accent, #2b73df) !important;
  border-color: color-mix(in srgb, var(--booking-accent, #2b73df) 34%, transparent);
  background: color-mix(in srgb, var(--booking-accent, #2b73df) 10%, transparent);
}

/* ui171: iPhone safe-area booking header.
   Keep the first booking step visible below the notch/status bar on all iPhone 12 variants. */
@media (max-width: 700px) {
  body.ps-vehicle-modal-open .ps-vehicle-modal,
  .ps-vehicle-modal:has(.ps-vehicle-modal__dialog.is-booking-flow) {
    height: 100dvh !important;
    min-height: 100dvh !important;
  }

  body.ps-vehicle-modal-open .ps-vehicle-modal__dialog,
  .ps-vehicle-modal__dialog.is-booking-flow {
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    scroll-padding-top: calc(42px + env(safe-area-inset-top, 0px)) !important;
  }

  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-configurator .ps-vehicle-sheet__topbar,
  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-page-flow {
    position: sticky !important;
    top: 0 !important;
    z-index: 2147482000 !important;
    width: 100% !important;
    min-height: calc(42px + env(safe-area-inset-top, 0px)) !important;
    height: auto !important;
    margin: 0 !important;
    padding: env(safe-area-inset-top, 0px) 7px 0 !important;
    grid-template-columns: 24px minmax(0, 1fr) 24px !important;
    gap: 4px !important;
    align-items: center !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    isolation: isolate;
    background: var(--booking-surface, #fff) !important;
    border-bottom: 1px solid var(--booking-border, #d8e0eb) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
  }

  html[data-theme="dark"] .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-configurator .ps-vehicle-sheet__topbar,
  html[data-theme="dark"] .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-page-flow {
    background: #272727 !important;
  }

  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-configurator .ps-vehicle-sheet__topbar > *,
  .ps-vehicle-modal__dialog.is-booking-flow .ps-booking-page-flow > * {
    align-self: center !important;
  }
}

/* Insurance matrix must keep row/column alignment with any enabled package count. */
.ps-insurance-comparison .is-column-last { border-right: 0 !important; }
.ps-insurance-comparison.is-expanded.ps-insurance-count-1 { min-width: 430px; }
.ps-insurance-comparison.is-expanded.ps-insurance-count-2 { min-width: 600px; }
.ps-insurance-comparison.is-expanded.ps-insurance-count-3 { min-width: 780px; }
.ps-insurance-comparison.is-expanded.ps-insurance-count-4 { min-width: 960px; }
@media (max-width:700px) {
  .ps-insurance-comparison.is-expanded.ps-insurance-count-1 { min-width: 372px; }
  .ps-insurance-comparison.is-expanded.ps-insurance-count-2 { min-width: 560px; }
  .ps-insurance-comparison.is-expanded.ps-insurance-count-3 { min-width: 740px; }
  .ps-insurance-comparison.is-expanded.ps-insurance-count-4 { min-width: 920px; }
}

/* 2026-08-29: compact Full-to-full fuel policy card in booking extras. */
.ps-booking-service--fuel {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  border-color: color-mix(in srgb, var(--booking-accent) 34%, var(--booking-border)) !important;
  background: color-mix(in srgb, var(--booking-accent) 7%, var(--booking-surface)) !important;
}

.ps-booking-service__fuel-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ps-booking-service__fuel-copy > b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--booking-text) !important;
}

.ps-booking-service__fuel-copy > b svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: var(--booking-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-booking-service--fuel .ps-booking-service__description {
  color: var(--booking-muted) !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.ps-booking-service__fuel-location {
  min-height: 36px;
  padding: 0 12px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--booking-accent);
  border-radius: 10px;
  background: var(--booking-accent);
  color: var(--booking-accent-contrast) !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .16s ease, filter .16s ease;
}

.ps-booking-service__fuel-location:hover,
.ps-booking-service__fuel-location:focus-visible {
  color: var(--booking-accent-contrast) !important;
  transform: translateY(-1px);
  filter: brightness(1.04);
  outline: none;
}

.ps-booking-service__fuel-location svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .ps-booking-service--fuel {
  background: color-mix(in srgb, var(--booking-accent) 10%, #303030) !important;
}

@media (max-width: 640px) {
  .ps-booking-service--fuel {
    align-items: stretch !important;
  }

  .ps-booking-service__fuel-copy {
    align-content: center;
  }

  .ps-booking-service__fuel-location {
    min-width: 92px;
    padding-inline: 10px;
  }
}

/* SEO region/category landing content - article style */
.ps-region-seo {
  padding: 28px 0 56px;
}
.ps-region-seo__card {
  max-width: 1040px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ps-seo-breadcrumbs {
  margin: 0 0 22px;
  overflow: hidden;
}
.ps-seo-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ps-copy);
  font-size: 12px;
  line-height: 1.45;
}
.ps-seo-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.ps-seo-breadcrumbs li + li::before {
  content: "›";
  margin-right: 7px;
  opacity: .5;
}
.ps-seo-breadcrumbs a,
.ps-seo-breadcrumbs span {
  color: inherit;
  text-decoration: none;
}
.ps-seo-breadcrumbs a:hover {
  text-decoration: underline;
}
.ps-seo-breadcrumbs span[aria-current="page"] {
  font-weight: 600;
}
.ps-region-seo__card h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.025em;
}
.ps-region-seo__intro {
  max-width: 960px;
}
.ps-region-seo__intro p,
.ps-region-seo__content-item p,
.ps-region-seo__faq p {
  margin: 10px 0 0;
  color: var(--ps-copy);
  font-size: 15px;
  line-height: 1.72;
}
.ps-region-seo__content-grid {
  display: block;
  margin-top: 34px;
}
.ps-region-seo__content-item {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ps-region-seo__content-item + .ps-region-seo__content-item {
  margin-top: 34px;
}
.ps-region-seo__content-item h3,
.ps-region-seo__faq > h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.018em;
}
.ps-region-seo__article-list {
  max-width: 960px;
  margin: 14px 0 0;
  padding-left: 24px;
  color: var(--ps-copy);
  font-size: 15px;
  line-height: 1.68;
}
.ps-region-seo__article-list li {
  padding-left: 5px;
}
.ps-region-seo__article-list li + li {
  margin-top: 8px;
}
.ps-region-seo__faq {
  margin-top: 38px;
  padding: 0;
  border: 0;
}
.ps-region-seo__faq-grid {
  display: block;
  margin-top: 18px;
}
.ps-region-seo__faq-grid article {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.ps-region-seo__faq-grid article + article {
  margin-top: 22px;
}
.ps-region-seo__faq-grid h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}
.ps-region-seo__faq-grid p {
  max-width: 960px;
  font-size: 14px;
  line-height: 1.68;
}
.ps-region-seo__faq-grid a {
  color: inherit;
  font-weight: 600;
  text-underline-offset: 3px;
}
.ps-region-seo__links {
  margin-top: 36px;
  padding: 0;
  border: 0;
}
.ps-region-seo__links--secondary {
  margin-top: 22px;
  padding: 0;
}
.ps-region-seo__links > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}
.ps-region-seo__links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.ps-region-seo__links a {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}
.ps-region-seo__links a:hover {
  text-decoration-color: currentColor;
}
html[data-theme="dark"] .ps-region-seo__card {
  border: 0;
  background: transparent;
}
html[data-theme="dark"] .ps-region-seo__card h2,
html[data-theme="dark"] .ps-region-seo__content-item h3,
html[data-theme="dark"] .ps-region-seo__faq h3,
html[data-theme="dark"] .ps-region-seo__faq h4 {
  color: #fff;
}
html[data-theme="dark"] .ps-seo-breadcrumbs,
html[data-theme="dark"] .ps-region-seo__intro p,
html[data-theme="dark"] .ps-region-seo__content-item p,
html[data-theme="dark"] .ps-region-seo__faq p,
html[data-theme="dark"] .ps-region-seo__article-list {
  color: #c8c8c8;
}
html[data-theme="dark"] .ps-region-seo__content-item,
html[data-theme="dark"] .ps-region-seo__faq,
html[data-theme="dark"] .ps-region-seo__links {
  border: 0;
  background: transparent;
}
html[data-theme="dark"] .ps-region-seo__links a {
  border: 0;
  color: #f2f2f2;
}
@media (max-width: 760px) {
  .ps-region-seo {
    padding: 22px 0 40px;
  }
  .ps-region-seo__card h2 {
    font-size: clamp(25px, 7vw, 31px);
  }
  .ps-region-seo__content-grid {
    margin-top: 28px;
  }
  .ps-region-seo__content-item + .ps-region-seo__content-item {
    margin-top: 28px;
  }
  .ps-region-seo__content-item h3,
  .ps-region-seo__faq > h3 {
    font-size: clamp(21px, 5.8vw, 26px);
  }
  .ps-region-seo__faq {
    margin-top: 30px;
  }
  .ps-region-seo__faq-grid article + article {
    margin-top: 20px;
  }
  .ps-region-seo__links {
    margin-top: 30px;
  }
}
@media (max-width: 640px) {
  .ps-region-seo {
    padding: 18px 0 34px;
  }
  .ps-region-seo__card {
    padding: 0;
    border-radius: 0;
  }
  .ps-seo-breadcrumbs {
    margin-bottom: 16px;
  }
  .ps-region-seo__intro p,
  .ps-region-seo__content-item p,
  .ps-region-seo__article-list {
    font-size: 14px;
    line-height: 1.68;
  }
  .ps-region-seo__article-list {
    padding-left: 21px;
  }
  .ps-region-seo__faq-grid h4 {
    font-size: 16px;
  }
  .ps-region-seo__faq-grid p {
    font-size: 13px;
  }
  .ps-region-seo__links > div {
    gap: 7px 14px;
  }
  .ps-region-seo__links a {
    font-size: 13px;
  }
}
