/*
 * Lot + hotel marketplace
 * Isolated redesign layer. Every selector is scoped to .occ-lothotel-marketplace
 * so the legacy Okazje and Joomla surfaces remain untouched.
 */

.occ-lothotel-marketplace {
    --lhm-ink: #102a3b;
    --lhm-ink-strong: #071f31;
    --lhm-muted: #536976;
    --lhm-muted-strong: #405865;
    --lhm-blue: #176b91;
    --lhm-blue-dark: #0d4d6a;
    --lhm-blue-soft: #eaf5fa;
    --lhm-accent: #a9441f;
    --lhm-yellow: #ffc72c;
    --lhm-yellow-hover: #f3b915;
    --lhm-surface: #ffffff;
    --lhm-surface-soft: #f6f9fa;
    --lhm-page: #f4f7f8;
    --lhm-line: #d5e0e5;
    --lhm-line-strong: #b8c9d1;
    --lhm-focus: #006eb8;
    --lhm-danger: #a51d2d;
    --lhm-shadow-sm: 0 4px 14px rgba(9, 39, 56, 0.07);
    --lhm-shadow-md: 0 12px 30px rgba(9, 39, 56, 0.10);
    --lhm-shadow-lg: 0 18px 42px rgba(9, 39, 56, 0.14);
    width: min(1280px, calc(100% - 40px));
    max-width: 1280px;
    margin-inline: auto;
    padding-block: 18px 56px;
    color: var(--lhm-ink);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.occ-lothotel-marketplace,
.occ-lothotel-marketplace *,
.occ-lothotel-marketplace *::before,
.occ-lothotel-marketplace *::after {
    box-sizing: border-box;
}

.occ-lothotel-marketplace img,
.occ-lothotel-marketplace svg {
    display: block;
    max-width: 100%;
}

.occ-lothotel-marketplace h1,
.occ-lothotel-marketplace h2,
.occ-lothotel-marketplace h3 {
    padding: 0 !important;
}

.occ-lothotel-marketplace button,
.occ-lothotel-marketplace input,
.occ-lothotel-marketplace select,
.occ-lothotel-marketplace textarea {
    font: inherit;
}

.occ-lothotel-marketplace button,
.occ-lothotel-marketplace summary,
.occ-lothotel-marketplace select,
.occ-lothotel-marketplace input[type="date"],
.occ-lothotel-marketplace input[type="checkbox"],
.occ-lothotel-marketplace a {
    -webkit-tap-highlight-color: transparent;
}

.occ-lothotel-marketplace a,
.occ-lothotel-marketplace button,
.occ-lothotel-marketplace summary,
.occ-lothotel-marketplace input,
.occ-lothotel-marketplace select {
    touch-action: manipulation;
}

/* Header and product switch */
.occ-lothotel-marketplace .occ-lothotel-header {
    margin: 0 0 16px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.occ-lothotel-marketplace .occ-lothotel-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 26px;
}

.occ-lothotel-marketplace .occ-product-switch {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: min(100%, 360px);
    margin: 0;
    padding: 4px;
    border: 1px solid var(--lhm-line);
    border-radius: 12px;
    background: var(--lhm-surface);
    box-shadow: var(--lhm-shadow-sm);
}

.occ-lothotel-marketplace .occ-product-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 48px;
    padding: 6px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--lhm-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.occ-lothotel-marketplace .occ-product-switch a:hover {
    border-color: var(--lhm-line);
    background: var(--lhm-surface-soft);
}

.occ-lothotel-marketplace .occ-product-switch a.active,
.occ-lothotel-marketplace .occ-product-switch a[aria-current="page"] {
    border-color: var(--lhm-ink-strong);
    background: var(--lhm-ink-strong);
    color: #ffffff;
    box-shadow: 0 5px 13px rgba(7, 31, 49, 0.20);
}

.occ-lothotel-marketplace .occ-product-switch .occ-icon-dot {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.occ-lothotel-marketplace .occ-product-switch .occ-icon-dot [class^="ic-"] {
    width: 16px !important;
    height: 16px !important;
}

.occ-lothotel-marketplace .occ-lothotel-hero {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: none !important;
    box-shadow: none;
}

.occ-lothotel-marketplace .occ-lothotel-hero::before,
.occ-lothotel-marketplace .occ-lothotel-hero::after {
    display: none !important;
    content: none !important;
}

.occ-lothotel-marketplace .occ-lothotel-hero-copy {
    width: 100%;
    max-width: 820px;
    padding: 0;
    color: var(--lhm-ink);
}

.occ-lothotel-marketplace .occ-lothotel-title-row {
    display: block;
    margin: 0;
}

.occ-lothotel-marketplace .occ-lothotel-kicker {
    margin: 0 0 6px !important;
    color: var(--lhm-accent) !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 18px !important;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.occ-lothotel-marketplace .occ-lothotel-header h1 {
    max-width: 820px;
    margin: 0;
    color: var(--lhm-ink-strong);
    padding: 0 !important;
    font-size: clamp(30px, 3vw, 36px);
    font-weight: 800 !important;
    line-height: 1.13;
    letter-spacing: -0.035em !important;
    text-shadow: none !important;
}

.occ-lothotel-marketplace .occ-lothotel-header h1 + p,
.occ-lothotel-marketplace .occ-lothotel-hero-copy h1 + p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--lhm-muted);
    font-size: 16px;
    line-height: 1.6;
    text-shadow: none !important;
}

.occ-lothotel-marketplace .occ-lothotel-hero-media,
.occ-lothotel-marketplace .occ-lothotel-hero-actions,
.occ-lothotel-marketplace .occ-lothotel-hero-strip {
    display: none;
}

/* Search shell */
.occ-lothotel-marketplace .occ-lothotel-layout {
    display: block;
    margin-top: 0;
}

.occ-lothotel-marketplace .occ-lothotel-search-shell,
.occ-lothotel-marketplace .occ-lothotel-filter-panel {
    position: static;
    width: 100%;
    margin: 0 0 24px;
    padding: 0;
    overflow: visible;
    border: 1px solid var(--lhm-line);
    border-radius: 16px;
    background: var(--lhm-surface);
    box-shadow: var(--lhm-shadow-md);
}

.occ-lothotel-marketplace .occ-lothotel-filter-drawer {
    width: 100%;
}

.occ-lothotel-marketplace .occ-lothotel-filter-heading {
    display: none;
}

.occ-lothotel-marketplace .occ-lothotel-form {
    display: block;
    width: 100%;
    padding: 0;
}

.occ-lothotel-marketplace .occ-lothotel-primary-search {
    display: flex;
    align-items: end;
    gap: 12px;
    width: 100%;
    padding: 20px;
}

.occ-lothotel-marketplace .occ-lothotel-primary-field {
    display: grid;
    flex: 1 1 150px;
    gap: 7px;
    min-width: 0;
    margin: 0;
    color: var(--lhm-ink);
}

.occ-lothotel-marketplace .occ-lothotel-primary-field > span:first-child,
.occ-lothotel-marketplace .occ-lothotel-primary-field > label,
.occ-lothotel-marketplace .occ-lothotel-primary-field .occ-lothotel-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--lhm-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
}

.occ-lothotel-marketplace .occ-lothotel-primary-field svg,
.occ-lothotel-marketplace .occ-lothotel-primary-field [class*="icon"] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--lhm-blue-dark);
}

.occ-lothotel-marketplace .occ-lothotel-primary-field input,
.occ-lothotel-marketplace .occ-lothotel-primary-field select,
.occ-lothotel-marketplace .occ-lothotel-travellers-summary {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    height: 50px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--lhm-line-strong);
    border-radius: 10px;
    background-color: #ffffff;
    color: var(--lhm-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 48px;
    box-shadow: 0 1px 2px rgba(9, 39, 56, 0.04);
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.occ-lothotel-marketplace .occ-lothotel-primary-field select {
    padding-right: 38px;
    cursor: pointer;
}

.occ-lothotel-marketplace .occ-lothotel-primary-field input:hover,
.occ-lothotel-marketplace .occ-lothotel-primary-field select:hover,
.occ-lothotel-marketplace .occ-lothotel-travellers-summary:hover {
    border-color: #8fa8b4;
    background-color: #fbfdfe;
}

.occ-lothotel-marketplace .occ-lothotel-travellers-summary {
    display: flex;
    flex: 0.8 1 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
}

.occ-lothotel-marketplace .occ-lothotel-travellers-summary span {
    color: var(--lhm-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
}

.occ-lothotel-marketplace .occ-lothotel-travellers-summary strong {
    color: var(--lhm-ink);
    font-size: 13px;
    font-weight: 750;
    line-height: 17px;
}

.occ-lothotel-marketplace .occ-lothotel-submit {
    display: inline-flex;
    flex: 0 0 166px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid #e2aa0d;
    border-radius: 10px;
    background: var(--lhm-yellow);
    color: var(--lhm-ink-strong);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    box-shadow: inset 0 -2px 0 rgba(68, 45, 0, 0.14), 0 7px 16px rgba(175, 126, 0, 0.14);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.occ-lothotel-marketplace .occ-lothotel-submit:hover {
    border-color: #d39a00;
    background: var(--lhm-yellow-hover);
    box-shadow: inset 0 -2px 0 rgba(68, 45, 0, 0.16), 0 10px 20px rgba(175, 126, 0, 0.18);
    transform: translateY(-1px);
}

.occ-lothotel-marketplace .occ-lothotel-quick-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    min-height: 64px;
    padding: 9px 20px;
    border-top: 1px solid var(--lhm-line);
    background: #fbfcfd;
    border-radius: 0 0 16px 16px;
}

.occ-lothotel-marketplace .occ-lothotel-quick-filters {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.occ-lothotel-marketplace .occ-lothotel-quick-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 13px;
    border: 1px solid var(--lhm-line);
    border-radius: 9px;
    background: #ffffff;
    color: var(--lhm-muted-strong);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    text-align: left;
    box-shadow: 0 1px 2px rgba(9, 39, 56, 0.03);
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.occ-lothotel-marketplace .occ-lothotel-quick-filter:hover {
    border-color: #9eb5c0;
    background: var(--lhm-blue-soft);
    color: var(--lhm-blue-dark);
}

.occ-lothotel-marketplace .occ-lothotel-quick-filter[aria-pressed="true"],
.occ-lothotel-marketplace .occ-lothotel-quick-filter.is-active,
.occ-lothotel-marketplace .occ-lothotel-quick-filter.active {
    border-color: var(--lhm-blue-dark);
    background: var(--lhm-blue-dark);
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(13, 77, 106, 0.16);
}

.occ-lothotel-marketplace .occ-lothotel-quick-filter svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.occ-lothotel-marketplace .occ-lothotel-advanced {
    flex: 0 0 auto;
    min-width: min(100%, 172px);
}

.occ-lothotel-marketplace .occ-lothotel-advanced > summary {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: 150px;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--lhm-ink);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    list-style: none;
}

.occ-lothotel-marketplace .occ-lothotel-advanced > summary::-webkit-details-marker {
    display: none;
}

.occ-lothotel-marketplace .occ-lothotel-advanced > summary::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 160ms ease;
}

.occ-lothotel-marketplace .occ-lothotel-advanced[open] > summary::after {
    transform: rotate(225deg) translate(-1px, -1px);
}

.occ-lothotel-marketplace .occ-lothotel-advanced[open] {
    flex: 1 0 100%;
    width: 100%;
}

.occ-lothotel-marketplace .occ-lothotel-advanced[open] > summary {
    margin-left: auto;
}

.occ-lothotel-marketplace .occ-lothotel-advanced > summary:hover {
    border-color: var(--lhm-line);
    background: #ffffff;
}

.occ-lothotel-marketplace .occ-lothotel-advanced-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 10px;
    padding: 20px;
    border-top: 1px solid var(--lhm-line);
    background: var(--lhm-surface-soft);
}

.occ-lothotel-marketplace .occ-lothotel-advanced-grid label,
.occ-lothotel-marketplace .occ-lothotel-advanced-grid fieldset,
.occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-two-cols {
    min-width: 0;
}

.occ-lothotel-marketplace .occ-lothotel-advanced-grid label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: var(--lhm-ink);
    font-size: 13px;
    font-weight: 700;
}

.occ-lothotel-marketplace .occ-lothotel-advanced-grid input,
.occ-lothotel-marketplace .occ-lothotel-advanced-grid select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--lhm-line-strong);
    border-radius: 9px;
    background: #ffffff;
    color: var(--lhm-ink);
    font-size: 14px;
}

.occ-lothotel-marketplace .occ-lothotel-reset {
    align-self: end;
    min-height: 46px;
    padding: 9px 14px;
    border: 1px solid var(--lhm-line-strong);
    border-radius: 9px;
    background: #ffffff;
    color: var(--lhm-muted-strong);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
}

.occ-lothotel-marketplace .occ-lothotel-reset:hover {
    border-color: #8fa8b4;
    background: var(--lhm-blue-soft);
    color: var(--lhm-blue-dark);
}

/* Existing form controls remain usable if the markup is progressively enhanced. */
.occ-lothotel-marketplace .occ-lothotel-form > label,
.occ-lothotel-marketplace .occ-lothotel-form > .occ-lothotel-two-cols,
.occ-lothotel-marketplace .occ-lothotel-form > .occ-lothotel-choice-group,
.occ-lothotel-marketplace .occ-lothotel-form > .occ-lothotel-actions {
    min-width: 0;
}

.occ-lothotel-marketplace .occ-lothotel-form > label:not(.occ-lothotel-primary-field),
.occ-lothotel-marketplace .occ-lothotel-two-cols label {
    color: var(--lhm-ink);
}

.occ-lothotel-marketplace .occ-lothotel-two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.occ-lothotel-marketplace .occ-lothotel-choice-group {
    margin: 0;
    padding: 0;
    border: 0;
}

.occ-lothotel-marketplace .occ-lothotel-choice-group legend {
    margin-bottom: 7px;
    color: var(--lhm-ink);
    font-size: 13px;
    font-weight: 700;
}

.occ-lothotel-marketplace .occ-lothotel-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.occ-lothotel-marketplace .occ-lothotel-choice {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid var(--lhm-line);
    border-radius: 9px;
    background: #ffffff;
    color: var(--lhm-muted-strong);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.occ-lothotel-marketplace .occ-lothotel-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.occ-lothotel-marketplace .occ-lothotel-choice:has(input:checked) {
    border-color: var(--lhm-blue-dark);
    background: var(--lhm-blue-dark);
    color: #ffffff;
}

.occ-lothotel-marketplace .occ-lothotel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.occ-lothotel-marketplace .occ-lothotel-actions button {
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--lhm-line-strong);
    border-radius: 9px;
    background: #ffffff;
    color: var(--lhm-ink);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.occ-lothotel-marketplace .occ-lothotel-actions button[type="submit"] {
    border-color: #e2aa0d;
    background: var(--lhm-yellow);
}

/* Results heading and controls */
.occ-lothotel-marketplace .occ-lothotel-results {
    width: 100%;
    min-width: 0;
}

.occ-lothotel-marketplace .occ-lothotel-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    min-height: 0;
    margin: 0 0 14px;
    padding: 0;
}

.occ-lothotel-marketplace .occ-lothotel-toolbar-main {
    display: grid;
    grid-template-columns: auto auto;
    order: 0;
    gap: 2px 10px;
    min-width: 0;
}

.occ-lothotel-marketplace .occ-lothotel-results-title {
    min-width: 0;
}

.occ-lothotel-marketplace h2.occ-lothotel-results-title,
.occ-lothotel-marketplace .occ-lothotel-results-title h2,
.occ-lothotel-marketplace .occ-lothotel-toolbar-main > h2 {
    display: block;
    grid-column: 1 / -1;
    margin: 0;
    padding: 0 !important;
    color: var(--lhm-ink-strong);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 800 !important;
    line-height: 1.25;
    letter-spacing: -0.02em !important;
}

.occ-lothotel-marketplace .occ-lothotel-count-label {
    display: block;
    margin: 0;
    color: var(--lhm-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
}

.occ-lothotel-marketplace .occ-lothotel-count-mark {
    display: none;
}

.occ-lothotel-marketplace #occ-lothotel-page,
.occ-lothotel-marketplace .occ-lothotel-results-title p,
.occ-lothotel-marketplace .occ-lothotel-results-subtitle {
    margin: 0;
    color: var(--lhm-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
}

.occ-lothotel-marketplace .occ-lothotel-price-trust {
    display: inline-flex;
    order: 2;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 auto !important;
    min-width: 0;
    color: var(--lhm-muted-strong);
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
}

.occ-lothotel-marketplace .occ-lothotel-price-trust svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: var(--lhm-blue-dark);
}

.occ-lothotel-marketplace .occ-lothotel-sort-toggle,
.occ-lothotel-marketplace .occ-sort-toggle {
    display: inline-flex;
    order: 1;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 3px;
    border: 1px solid var(--lhm-line);
    border-radius: 10px;
    background: #ffffff;
}

.occ-lothotel-marketplace .occ-sort-label {
    padding-left: 8px;
    color: var(--lhm-muted);
    font-size: 12px;
    font-weight: 600;
}

.occ-lothotel-marketplace .occ-sort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 7px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--lhm-muted-strong);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.occ-lothotel-marketplace .occ-sort-btn:hover {
    background: var(--lhm-surface-soft);
    color: var(--lhm-ink);
}

.occ-lothotel-marketplace .occ-sort-btn.active,
.occ-lothotel-marketplace .occ-sort-btn[aria-pressed="true"] {
    background: var(--lhm-blue-dark);
    color: #ffffff;
}

.occ-lothotel-marketplace .occ-lothotel-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.occ-lothotel-marketplace .occ-lothotel-active-filters[hidden] {
    display: none !important;
}

.occ-lothotel-marketplace .occ-lothotel-active-filters button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    max-width: 100%;
    padding: 7px 11px;
    border: 1px solid #a8bfca;
    border-radius: 9px;
    background: #ffffff;
    color: var(--lhm-muted-strong);
    cursor: pointer;
    font-size: 12px;
    font-weight: 650;
}

.occ-lothotel-marketplace .occ-lothotel-active-filters button::after {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    background: var(--lhm-blue-soft);
    color: var(--lhm-blue-dark);
    font-size: 15px;
    line-height: 20px;
}

/* Wide conversion-oriented offer card */
.occ-lothotel-marketplace .occ-lothotel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
}

.occ-lothotel-marketplace .occ-lothotel-card-shell,
.occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 32%) minmax(0, 68%);
    min-width: 0;
    min-height: 226px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--lhm-line);
    border-radius: 14px;
    background: var(--lhm-surface);
    color: var(--lhm-ink);
    text-decoration: none;
    box-shadow: var(--lhm-shadow-sm);
    transform: translateZ(0);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.occ-lothotel-marketplace .occ-lothotel-card-shell:has(> .occ-lothotel-card-details + .occ-lothotel-card-price-panel) {
    grid-template-columns: minmax(0, 32%) minmax(0, 42%) minmax(0, 26%);
}

.occ-lothotel-marketplace .occ-lothotel-card-shell:hover,
.occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell):hover {
    border-color: #9bb4bf;
    box-shadow: var(--lhm-shadow-lg);
    transform: translateY(-2px);
}

.occ-lothotel-marketplace .occ-lothotel-photo {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 226px;
    overflow: hidden;
    background: #dce7eb;
}

.occ-lothotel-marketplace .occ-lothotel-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(7, 31, 49, 0), rgba(7, 31, 49, 0.20));
    pointer-events: none;
}

.occ-lothotel-marketplace .occ-lothotel-photo img {
    width: 100%;
    height: 100%;
    min-height: 226px;
    object-fit: cover;
    object-position: center;
    transition: transform 300ms ease;
}

.occ-lothotel-marketplace .occ-lothotel-card-shell:hover .occ-lothotel-photo img,
.occ-lothotel-marketplace .occ-lothotel-card:hover .occ-lothotel-photo img {
    transform: scale(1.025);
}

.occ-lothotel-marketplace .occ-lothotel-type-badge {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(7, 31, 49, 0.92);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 5px 12px rgba(7, 31, 49, 0.20);
    backdrop-filter: blur(5px);
}

.occ-lothotel-marketplace .occ-lothotel-type-mark {
    display: none;
}

.occ-lothotel-marketplace .occ-lothotel-card-main {
    display: grid;
    grid-template-columns: minmax(0, 61.7647%) minmax(0, 38.2353%);
    min-width: 0;
    height: 100%;
}

.occ-lothotel-marketplace .occ-lothotel-card-details {
    display: flex;
    min-width: 0;
    padding: 22px 26px;
    flex-direction: column;
    align-items: flex-start;
}

/* Fallback for the pre-redesign renderer: its card-body becomes 42% details + 26% price. */
.occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-card-body,
.occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body {
    display: grid;
    grid-template-columns: minmax(0, 61.7647%) minmax(0, 38.2353%);
    grid-template-rows: auto auto auto auto auto minmax(0, 1fr);
    gap: 5px 22px;
    min-width: 0;
    height: 100%;
    padding: 22px 0 22px 26px;
}

.occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-card-body > :not(.occ-lothotel-bottom),
.occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body > :not(.occ-lothotel-bottom) {
    grid-column: 1;
    min-width: 0;
}

.occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-bottom,
.occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body > .occ-lothotel-bottom {
    grid-column: 2;
    grid-row: 1 / span 8;
    align-self: stretch;
    min-width: 0;
}

.occ-lothotel-marketplace .occ-lothotel-date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 2px;
    color: var(--lhm-muted-strong);
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0;
}

.occ-lothotel-marketplace .occ-lothotel-name {
    display: block;
    min-height: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--lhm-ink-strong);
    font-size: clamp(20px, 2vw, 25px);
    padding: 0 !important;
    font-weight: 800 !important;
    line-height: 1.2;
    letter-spacing: -0.025em !important;
}

.occ-lothotel-marketplace .occ-lothotel-place,
.occ-lothotel-marketplace .occ-lothotel-region {
    display: block;
    margin-top: 2px;
    color: var(--lhm-muted-strong);
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
}

.occ-lothotel-marketplace .occ-lothotel-quality {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.occ-lothotel-marketplace .occ-lothotel-quality span,
.occ-lothotel-marketplace .occ-lothotel-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 8px;
    border-radius: 7px;
    background: var(--lhm-surface-soft);
    color: var(--lhm-muted-strong);
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
}

.occ-lothotel-marketplace .occ-lothotel-quality .occ-lothotel-stars {
    padding-inline: 0;
    background: transparent;
    color: var(--lhm-accent);
    font-size: 15px;
    letter-spacing: 0.06em;
}

.occ-lothotel-marketplace .occ-lothotel-rating {
    border: 1px solid #d7e3e8;
    background: #eef3f5 !important;
    color: var(--lhm-ink) !important;
}

.occ-lothotel-marketplace .occ-lothotel-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 12px;
}

.occ-lothotel-marketplace .occ-lothotel-card-price-panel,
.occ-lothotel-marketplace .occ-lothotel-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 22px 22px;
    border-left: 1px solid var(--lhm-line);
    background: #fbfcfd;
}

.occ-lothotel-marketplace .occ-lothotel-price {
    display: block;
    color: var(--lhm-muted-strong);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
}

.occ-lothotel-marketplace .occ-lothotel-price b {
    display: inline;
    color: var(--lhm-ink-strong);
    font-size: clamp(27px, 2.5vw, 34px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.occ-lothotel-marketplace .occ-lothotel-price small {
    display: inline;
    margin-left: 3px;
    color: var(--lhm-muted);
    font-size: 11px;
    font-weight: 600;
}

.occ-lothotel-marketplace .occ-lothotel-total {
    display: block;
    color: var(--lhm-ink);
    font-size: 12px;
    font-weight: 650;
    line-height: 18px;
}

.occ-lothotel-marketplace .occ-lothotel-partner-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 2px 0 3px;
    color: var(--lhm-muted-strong);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
}

.occ-lothotel-marketplace .occ-lothotel-partner-note svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: var(--lhm-blue-dark);
}

.occ-lothotel-marketplace .occ-lothotel-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    margin-top: 3px;
    padding: 9px 13px;
    border: 1px solid #e2aa0d;
    border-radius: 9px;
    background: var(--lhm-yellow);
    color: var(--lhm-ink-strong);
    font-size: 13px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-shadow: inset 0 -2px 0 rgba(68, 45, 0, 0.14);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.occ-lothotel-marketplace .occ-lothotel-card-shell:hover .occ-lothotel-cta,
.occ-lothotel-marketplace .occ-lothotel-card:hover .occ-lothotel-cta {
    border-color: #d39a00;
    background: var(--lhm-yellow-hover);
    box-shadow: inset 0 -2px 0 rgba(68, 45, 0, 0.16), 0 7px 14px rgba(175, 126, 0, 0.12);
}

/* Loading, empty and error states */
.occ-lothotel-marketplace .occ-lothotel-status,
.occ-lothotel-marketplace .occ-lothotel-alert {
    width: 100%;
    margin: 0 0 14px;
    padding: 14px 16px;
    border: 1px solid var(--lhm-line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--lhm-muted-strong);
    font-size: 14px;
    line-height: 22px;
}

.occ-lothotel-marketplace .occ-lothotel-alert {
    border-color: #e6bdc3;
    background: #fff7f8;
    color: #7f1e2a;
}

.occ-lothotel-marketplace .occ-lothotel-status[hidden],
.occ-lothotel-marketplace .occ-lothotel-more[hidden] {
    display: none !important;
}

.occ-lothotel-marketplace .occ-lothotel-status strong,
.occ-lothotel-marketplace .occ-lothotel-status > span {
    display: block;
}

.occ-lothotel-marketplace .occ-lothotel-status strong {
    margin-bottom: 4px;
    color: var(--lhm-ink);
    font-size: 16px;
}

.occ-lothotel-marketplace .occ-lothotel-status-actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.occ-lothotel-marketplace .occ-lothotel-status-actions button,
.occ-lothotel-marketplace .occ-lothotel-more {
    min-height: 46px;
    padding: 9px 16px;
    border: 1px solid var(--lhm-line-strong);
    border-radius: 9px;
    background: #ffffff;
    color: var(--lhm-ink);
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
}

.occ-lothotel-marketplace .occ-lothotel-noscript {
    margin: 0 0 16px;
    padding: 18px;
    border: 1px solid var(--lhm-line);
    border-radius: 12px;
    background: #ffffff;
    color: var(--lhm-muted-strong);
}

.occ-lothotel-marketplace .occ-lothotel-noscript p {
    margin: 0 0 12px;
}

.occ-lothotel-marketplace .occ-lothotel-noscript a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 9px 15px;
    border: 1px solid #e2aa0d;
    border-radius: 9px;
    background: var(--lhm-yellow);
    color: var(--lhm-ink-strong);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.occ-lothotel-marketplace .occ-lothotel-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 260px);
    margin: 22px auto 0;
    border-color: #e2aa0d;
    background: var(--lhm-yellow);
}

.occ-lothotel-marketplace .occ-lothotel-grid[aria-busy="true"],
.occ-lothotel-marketplace.is-loading .occ-lothotel-grid {
    position: relative;
    min-height: 226px;
    overflow: hidden;
    border: 1px solid var(--lhm-line);
    border-radius: 14px;
    background:
        linear-gradient(90deg, #e2eaed 0 32%, transparent 32%),
        linear-gradient(#e5ecef 0 0) 35% 28px / 21% 14px no-repeat,
        linear-gradient(#d7e2e6 0 0) 35% 55px / 31% 24px no-repeat,
        linear-gradient(#e5ecef 0 0) 35% 94px / 26% 12px no-repeat,
        linear-gradient(#e5ecef 0 0) 35% 135px / 25% 24px no-repeat,
        linear-gradient(#d7e2e6 0 0) 77% 42px / 14% 28px no-repeat,
        linear-gradient(#e5ecef 0 0) 77% 84px / 16% 12px no-repeat,
        linear-gradient(#f3bf27 0 0) 77% 142px / 17% 50px no-repeat,
        #ffffff;
}

.occ-lothotel-marketplace .occ-lothotel-grid[aria-busy="true"]::after,
.occ-lothotel-marketplace.is-loading .occ-lothotel-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.64) 45%, transparent 66%);
    transform: translateX(-100%);
    animation: lhm-skeleton-sweep 1.35s ease-in-out infinite;
    pointer-events: none;
}

.occ-lothotel-marketplace .occ-lothotel-grid[aria-busy="true"] > *,
.occ-lothotel-marketplace.is-loading .occ-lothotel-grid > * {
    opacity: 0.38;
    pointer-events: none;
}

@keyframes lhm-skeleton-sweep {
    to {
        transform: translateX(100%);
    }
}

/* Secondary rails are quieter than the booking path. */
.occ-lothotel-marketplace .occ-lothotel-intent-rail,
.occ-lothotel-marketplace .occ-lothotel-inspirations,
.occ-lothotel-marketplace .occ-lothotel-seo-hub {
    margin-top: 34px;
}

.occ-lothotel-marketplace .occ-lothotel-intent-rail {
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid var(--lhm-line);
    border-radius: 12px;
    background: var(--lhm-surface-soft);
}

.occ-lothotel-marketplace .occ-lothotel-intent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.occ-lothotel-marketplace .occ-lothotel-intent-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    max-width: 100%;
    padding: 7px 11px;
    border: 1px solid var(--lhm-line);
    border-radius: 9px;
    background: #ffffff;
    color: var(--lhm-ink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.occ-lothotel-marketplace .occ-lothotel-intent-links b {
    color: var(--lhm-blue-dark);
}

/* Keyboard access overrides the legacy global outline reset. */
.occ-lothotel-marketplace a:focus-visible,
.occ-lothotel-marketplace button:focus-visible,
.occ-lothotel-marketplace summary:focus-visible,
.occ-lothotel-marketplace input:focus-visible,
.occ-lothotel-marketplace select:focus-visible,
.occ-lothotel-marketplace [tabindex]:focus-visible {
    outline: 3px solid var(--lhm-focus) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px #ffffff !important;
}

.occ-lothotel-marketplace .occ-lothotel-choice:has(input:focus-visible) {
    outline: 3px solid var(--lhm-focus) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px #ffffff !important;
}

.occ-lothotel-marketplace input:invalid:not(:placeholder-shown),
.occ-lothotel-marketplace select[aria-invalid="true"],
.occ-lothotel-marketplace input[aria-invalid="true"] {
    border-color: var(--lhm-danger);
}

.occ-lothotel-marketplace button:disabled,
.occ-lothotel-marketplace input:disabled,
.occ-lothotel-marketplace select:disabled,
.occ-lothotel-marketplace [aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.56;
}

/* Tablet: preserve the horizontal card while allowing the search row to wrap. */
@media (max-width: 1100px) {
    .occ-lothotel-marketplace .occ-lothotel-primary-search {
        flex-wrap: wrap;
    }

    .occ-lothotel-marketplace .occ-lothotel-primary-field {
        flex-basis: calc(25% - 9px);
    }

    .occ-lothotel-marketplace .occ-lothotel-travellers-summary {
        flex: 1 1 calc(50% - 6px);
    }

    .occ-lothotel-marketplace .occ-lothotel-submit {
        flex: 1 1 calc(50% - 6px);
    }

    .occ-lothotel-marketplace .occ-lothotel-card-details {
        padding: 20px;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-price-panel,
    .occ-lothotel-marketplace .occ-lothotel-bottom {
        padding: 20px 16px;
    }

    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-card-body,
    .occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body {
        gap: 5px 16px;
        padding: 20px 0 20px 20px;
    }
}

@media (max-width: 839px) {
    .occ-lothotel-marketplace {
        width: min(100% - 28px, 760px);
        padding-block: 14px 44px;
    }

    .occ-lothotel-marketplace .occ-lothotel-topbar {
        margin-bottom: 20px;
    }

    .occ-lothotel-marketplace .occ-product-switch {
        width: min(100%, 420px);
    }

    .occ-lothotel-marketplace .occ-lothotel-header h1 {
        font-size: clamp(28px, 5vw, 34px);
    }

    .occ-lothotel-marketplace .occ-lothotel-primary-field {
        flex-basis: calc(50% - 6px);
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .occ-lothotel-marketplace .occ-lothotel-toolbar {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .occ-lothotel-marketplace .occ-lothotel-price-trust {
        order: 3;
        width: 100%;
        margin-left: 0;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-shell,
    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell),
    .occ-lothotel-marketplace .occ-lothotel-card-shell:has(> .occ-lothotel-card-details + .occ-lothotel-card-price-panel) {
        grid-template-columns: minmax(0, 38%) minmax(0, 62%);
        min-height: 248px;
    }

    .occ-lothotel-marketplace .occ-lothotel-photo,
    .occ-lothotel-marketplace .occ-lothotel-photo img {
        min-height: 248px;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-main {
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    }

    .occ-lothotel-marketplace .occ-lothotel-name {
        font-size: 19px;
    }

    .occ-lothotel-marketplace .occ-lothotel-price b {
        display: block;
        font-size: 26px;
    }
}

/* Mobile booking flow: collapsed drawer, single-column cards, 48px CTA. */
@media (max-width: 680px) {
    .occ-lothotel-marketplace {
        width: calc(100% - 24px);
        min-width: 0;
        padding-block: 10px 36px;
        overflow-x: clip;
    }

    .occ-lothotel-marketplace .occ-lothotel-header {
        margin-bottom: 14px;
    }

    .occ-lothotel-marketplace .occ-lothotel-topbar {
        margin-bottom: 18px;
    }

    .occ-lothotel-marketplace .occ-product-switch {
        width: 100%;
    }

    .occ-lothotel-marketplace .occ-product-switch a {
        min-height: 48px;
        padding-inline: 8px;
        font-size: 13px;
    }

    .occ-lothotel-marketplace .occ-lothotel-header h1 {
        max-width: 18ch;
        font-size: 28px;
        line-height: 1.17;
    }

    .occ-lothotel-marketplace .occ-lothotel-header h1 + p,
    .occ-lothotel-marketplace .occ-lothotel-hero-copy h1 + p {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.55;
    }

    .occ-lothotel-marketplace .occ-lothotel-search-shell,
    .occ-lothotel-marketplace .occ-lothotel-filter-panel {
        margin-bottom: 20px;
        overflow: hidden;
        border-radius: 12px;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 56px;
        padding: 10px 14px;
        border: 0;
        background: #ffffff;
        color: var(--lhm-ink);
        cursor: pointer;
        list-style: none;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading::-webkit-details-marker {
        display: none;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading::after {
        content: "";
        width: 9px;
        height: 9px;
        margin-left: auto;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 160ms ease;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-drawer[open] > .occ-lothotel-filter-heading::after {
        transform: rotate(225deg) translate(-1px, -1px);
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading .occ-lothotel-filter-toggle-text {
        margin-left: auto;
        color: var(--lhm-muted);
        font-size: 12px;
        font-weight: 600;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading-copy {
        display: grid;
        gap: 1px;
        min-width: 0;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading-copy strong {
        color: var(--lhm-ink);
        font-size: 14px;
        font-weight: 750;
        line-height: 19px;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading-copy small {
        overflow: hidden;
        color: var(--lhm-muted);
        font-size: 10px;
        font-weight: 550;
        line-height: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-drawer[open] > .occ-lothotel-filter-heading {
        border-bottom: 1px solid var(--lhm-line);
        background: var(--lhm-surface-soft);
    }

    .occ-lothotel-marketplace .occ-lothotel-primary-search {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .occ-lothotel-marketplace .occ-lothotel-primary-field,
    .occ-lothotel-marketplace .occ-lothotel-travellers-summary,
    .occ-lothotel-marketplace .occ-lothotel-submit {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .occ-lothotel-marketplace .occ-lothotel-primary-field input,
    .occ-lothotel-marketplace .occ-lothotel-primary-field select,
    .occ-lothotel-marketplace .occ-lothotel-travellers-summary {
        min-height: 50px;
        height: 50px;
    }

    .occ-lothotel-marketplace .occ-lothotel-submit {
        min-height: 50px;
    }

    .occ-lothotel-marketplace .occ-lothotel-quick-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        min-height: 0;
        padding: 12px 14px 14px;
        border-radius: 0 0 12px 12px;
    }

    .occ-lothotel-marketplace .occ-lothotel-quick-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .occ-lothotel-marketplace .occ-lothotel-quick-filter {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        justify-content: flex-start;
        padding-inline: 10px;
        overflow-wrap: anywhere;
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced {
        width: 100%;
        min-width: 0;
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced > summary {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        justify-content: space-between;
        padding-inline: 10px;
        border-color: var(--lhm-line);
        background: #ffffff;
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 10px;
        padding: 14px 0 0;
        background: transparent;
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid input,
    .occ-lothotel-marketplace .occ-lothotel-advanced-grid select {
        min-height: 48px;
    }

    .occ-lothotel-marketplace .occ-lothotel-reset {
        width: 100%;
        min-height: 48px;
    }

    .occ-lothotel-marketplace .occ-lothotel-two-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .occ-lothotel-marketplace .occ-lothotel-choice-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .occ-lothotel-marketplace .occ-lothotel-choice {
        min-width: 0;
        min-height: 46px;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .occ-lothotel-marketplace .occ-lothotel-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .occ-lothotel-marketplace .occ-lothotel-actions button {
        width: 100%;
        min-height: 48px;
    }

    .occ-lothotel-marketplace .occ-lothotel-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .occ-lothotel-marketplace .occ-lothotel-sort-toggle,
    .occ-lothotel-marketplace .occ-sort-toggle {
        display: grid;
        grid-template-columns: auto repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .occ-lothotel-marketplace .occ-sort-btn {
        min-width: 0;
        min-height: 46px;
        padding-inline: 7px;
    }

    .occ-lothotel-marketplace .occ-lothotel-price-trust {
        align-items: flex-start;
        font-size: 12px;
        line-height: 18px;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-shell,
    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell),
    .occ-lothotel-marketplace .occ-lothotel-card-shell:has(> .occ-lothotel-card-details + .occ-lothotel-card-price-panel) {
        display: block;
        min-height: 0;
        border-radius: 12px;
        transform: none;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-shell:hover,
    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell):hover {
        transform: none;
    }

    .occ-lothotel-marketplace .occ-lothotel-photo {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .occ-lothotel-marketplace .occ-lothotel-photo img {
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-main {
        display: block;
        height: auto;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-details {
        padding: 18px 16px 16px;
    }

    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-card-body,
    .occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body {
        display: flex;
        gap: 5px;
        height: auto;
        padding: 18px 16px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-card-body > :not(.occ-lothotel-bottom),
    .occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body > :not(.occ-lothotel-bottom),
    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-bottom,
    .occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body > .occ-lothotel-bottom {
        width: 100%;
    }

    .occ-lothotel-marketplace .occ-lothotel-name {
        font-size: 21px;
        line-height: 1.22;
    }

    .occ-lothotel-marketplace .occ-lothotel-meta {
        margin-top: 2px;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-price-panel,
    .occ-lothotel-marketplace .occ-lothotel-bottom,
    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-bottom,
    .occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body > .occ-lothotel-bottom {
        display: flex;
        margin-top: 0;
        padding: 16px;
        border-top: 1px solid var(--lhm-line);
        border-left: 0;
        background: #fbfcfd;
    }

    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-bottom,
    .occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body > .occ-lothotel-bottom {
        width: auto;
        margin: 12px -16px 0;
    }

    .occ-lothotel-marketplace .occ-lothotel-price b {
        display: inline;
        font-size: 29px;
    }

    .occ-lothotel-marketplace .occ-lothotel-partner-note {
        font-size: 11px;
    }

    .occ-lothotel-marketplace .occ-lothotel-cta {
        min-height: 48px;
        font-size: 14px;
    }

    .occ-lothotel-marketplace .occ-lothotel-grid[aria-busy="true"],
    .occ-lothotel-marketplace.is-loading .occ-lothotel-grid {
        min-height: 430px;
        background:
            linear-gradient(#e2eaed 0 0) 0 0 / 100% 195px no-repeat,
            linear-gradient(#e5ecef 0 0) 16px 220px / 38% 13px no-repeat,
            linear-gradient(#d7e2e6 0 0) 16px 247px / 68% 23px no-repeat,
            linear-gradient(#e5ecef 0 0) 16px 283px / 52% 12px no-repeat,
            linear-gradient(#d7e2e6 0 0) 16px 332px / 43% 27px no-repeat,
            linear-gradient(#f3bf27 0 0) 16px 372px / calc(100% - 32px) 48px no-repeat,
            #ffffff;
    }

    .occ-lothotel-marketplace .occ-lothotel-intent-links {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .occ-lothotel-marketplace .occ-lothotel-intent-links a {
        width: 100%;
    }
}

/* Narrow reflow: everything must remain usable at a 320px viewport. */
@media (max-width: 380px) {
    .occ-lothotel-marketplace {
        width: calc(100% - 20px);
    }

    .occ-lothotel-marketplace .occ-product-switch a {
        gap: 5px;
        padding-inline: 5px;
        font-size: 12px;
    }

    .occ-lothotel-marketplace .occ-product-switch .occ-icon-dot {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .occ-lothotel-marketplace .occ-lothotel-header h1 {
        font-size: 26px;
    }

    .occ-lothotel-marketplace .occ-lothotel-primary-search,
    .occ-lothotel-marketplace .occ-lothotel-quick-row {
        padding-inline: 12px;
    }

    .occ-lothotel-marketplace .occ-lothotel-quick-filters,
    .occ-lothotel-marketplace .occ-lothotel-choice-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .occ-lothotel-marketplace .occ-lothotel-sort-toggle,
    .occ-lothotel-marketplace .occ-sort-toggle {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .occ-lothotel-marketplace .occ-sort-label {
        grid-column: 1 / -1;
        padding: 5px 7px 0;
    }

    .occ-lothotel-marketplace .occ-sort-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-details,
    .occ-lothotel-marketplace .occ-lothotel-card-price-panel,
    .occ-lothotel-marketplace .occ-lothotel-bottom,
    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-card-body {
        padding-inline: 14px;
    }

    .occ-lothotel-marketplace .occ-lothotel-card:not(.occ-lothotel-card-shell) .occ-lothotel-bottom,
    .occ-lothotel-marketplace .occ-lothotel-card-shell > .occ-lothotel-card-body > .occ-lothotel-bottom {
        margin-inline: -14px;
    }

    .occ-lothotel-marketplace .occ-lothotel-price b {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .occ-lothotel-marketplace *,
    .occ-lothotel-marketplace *::before,
    .occ-lothotel-marketplace *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .occ-lothotel-marketplace .occ-lothotel-card-shell:hover,
    .occ-lothotel-marketplace .occ-lothotel-card:hover,
    .occ-lothotel-marketplace .occ-lothotel-submit:hover,
    .occ-lothotel-marketplace .occ-lothotel-card-shell:hover .occ-lothotel-photo img,
    .occ-lothotel-marketplace .occ-lothotel-card:hover .occ-lothotel-photo img {
        transform: none;
    }
}

@media (forced-colors: active) {
    .occ-lothotel-marketplace .occ-product-switch a.active,
    .occ-lothotel-marketplace .occ-lothotel-quick-filter[aria-pressed="true"],
    .occ-lothotel-marketplace .occ-sort-btn[aria-pressed="true"],
    .occ-lothotel-marketplace .occ-lothotel-submit,
    .occ-lothotel-marketplace .occ-lothotel-cta {
        border: 2px solid ButtonText;
    }

    .occ-lothotel-marketplace .occ-lothotel-photo::after {
        display: none;
    }
}

/* Renderer contract: the semantic article only groups the sponsored card link. */
.occ-lothotel-marketplace article.occ-lothotel-card-shell {
    display: block;
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.occ-lothotel-marketplace article.occ-lothotel-card-shell:hover {
    border: 0;
    box-shadow: none;
    transform: none;
}

.occ-lothotel-marketplace article.occ-lothotel-card-shell > a.occ-lothotel-card {
    width: 100%;
    height: 100%;
}

.occ-lothotel-marketplace .occ-lothotel-travel-date {
    display: grid;
    gap: 1px;
    margin-top: 12px;
    color: var(--lhm-ink);
}

.occ-lothotel-marketplace .occ-lothotel-travel-date small,
.occ-lothotel-marketplace .occ-lothotel-meta-item small {
    color: var(--lhm-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 14px;
    text-transform: uppercase;
}

.occ-lothotel-marketplace .occ-lothotel-travel-date strong,
.occ-lothotel-marketplace .occ-lothotel-meta-item strong {
    color: var(--lhm-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
}

.occ-lothotel-marketplace .occ-lothotel-meta .occ-lothotel-meta-item {
    display: grid;
    min-height: 44px;
    gap: 1px;
    align-content: center;
    padding: 5px 9px;
}

.occ-lothotel-marketplace .occ-lothotel-rating {
    gap: 6px;
}

.occ-lothotel-marketplace .occ-lothotel-rating b,
.occ-lothotel-marketplace .occ-lothotel-rating small {
    color: inherit;
    font-size: inherit;
    font-weight: 700;
}

.occ-lothotel-marketplace .occ-lothotel-rating small {
    font-weight: 600;
}

.occ-lothotel-marketplace .occ-lothotel-price small,
.occ-lothotel-marketplace .occ-lothotel-price em {
    display: inline;
    color: var(--lhm-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

@media (max-width: 680px) {
    .occ-lothotel-marketplace article.occ-lothotel-card-shell {
        display: block;
    }

    .occ-lothotel-marketplace .occ-lothotel-travel-date {
        margin-top: 11px;
    }

    .occ-lothotel-marketplace .occ-lothotel-meta .occ-lothotel-meta-item {
        flex: 1 1 calc(50% - 4px);
    }
}

/* ========================================================================== */
/* Lot+Hotel production rescue: isolate the marketplace from legacy Okazje UI. */
/* ========================================================================== */

/* The marketplace uses a light hero, while the legacy freshness badge expects
   a dark background. Keep the status compact and restore readable contrast. */
.occ-lothotel-marketplace .occ-lothotel-hero-copy .occ-freshness--lothotel {
    display: inline-flex;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    margin: 12px 0 14px;
    color: #405865;
    background: #f1faf7;
    border: 1px solid #b9ded2;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.occ-lothotel-marketplace .occ-lothotel-hero-copy .occ-freshness--lothotel .occ-freshness__label {
    color: #405865;
}

.occ-lothotel-marketplace .occ-lothotel-hero-copy .occ-freshness--lothotel time {
    color: #071f31;
}

.occ-lothotel-marketplace .occ-lothotel-hero-copy .occ-freshness--lothotel .occ-freshness__dot {
    background: #0a8f6a;
    box-shadow: 0 0 0 4px rgba(10, 143, 106, 0.12);
}

/* A more specific legacy hero rule forced the theme kicker to white. */
.occ-lothotel-marketplace.occ-lothotel-page-home .occ-lothotel-hero-copy .occ-lothotel-kicker,
.occ-lothotel-marketplace.occ-lothotel-page-theme .occ-lothotel-hero-copy .occ-lothotel-kicker {
    display: block;
    align-self: flex-start;
    width: auto;
    min-height: 0;
    margin: 0 0 6px !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--lhm-accent) !important;
    font-size: 12px !important;
    line-height: 18px !important;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    -webkit-line-clamp: initial;
    line-clamp: initial;
}

/* Reset legacy grid/flex arithmetic before placing the multi-select filters. */
.occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice-group {
    grid-column: span 2;
}

.occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice-list {
    display: grid;
    gap: 7px;
}

.occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice-group-nights .occ-lothotel-choice-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice-group-meals .occ-lothotel-choice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    grid-column: auto;
    grid-row: auto;
    flex-basis: auto;
    padding: 6px 8px;
    justify-content: center;
    text-align: center;
}

.occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice > span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 16px;
}

/* Keep medium desktop/tablet toolbars and advanced filters orderly. */
@media (min-width: 840px) and (max-width: 1100px) {
    .occ-lothotel-marketplace .occ-lothotel-advanced-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice-group-nights {
        grid-column: 1 / -1;
    }

    .occ-lothotel-marketplace .occ-lothotel-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 10px 18px;
    }

    .occ-lothotel-marketplace .occ-lothotel-price-trust {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0 !important;
    }
}

@media (min-width: 681px) {
    .occ-lothotel-marketplace .occ-lothotel-advanced-grid {
        position: relative;
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-reset {
        position: absolute;
        top: -56px;
        right: 20px;
        min-height: 40px;
        padding: 6px 12px;
    }
}

@media (max-width: 680px) {
    /* Neutralize the legacy duplicate callout, yellow pill and pulse. */
    .occ-lothotel-marketplace .occ-lothotel-filter-heading-copy strong::after {
        content: none !important;
        display: none !important;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading::after {
        position: static;
        inset: auto;
        margin-left: 0;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading .occ-lothotel-filter-toggle-text {
        display: inline-flex;
        align-items: center;
        min-height: 0;
        margin-left: auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--lhm-muted);
        font-size: 12px;
        font-weight: 600;
        line-height: 18px;
        box-shadow: none;
        animation: none !important;
        transform: none;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-drawer[open] .occ-lothotel-filter-toggle-text {
        font-size: 12px;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-drawer[open] .occ-lothotel-filter-toggle-text::before {
        content: none !important;
        display: none !important;
    }

    /* Keep results near the search while all fields remain reachable in one
       deliberate, touch-friendly scroll area. */
    .occ-lothotel-marketplace .occ-lothotel-filter-drawer[open] > .occ-lothotel-form {
        max-height: min(72vh, 620px);
        max-height: min(72dvh, 620px);
        overflow-y: auto;
        scrollbar-gutter: stable;
        scroll-padding-block: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice-group {
        grid-column: 1 / -1;
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-two-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice-group-nights .occ-lothotel-choice-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice-group-meals .occ-lothotel-choice-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice {
        min-height: 46px;
    }

}

@media (max-width: 360px) {
    .occ-lothotel-marketplace .occ-lothotel-hero-copy h1 + p {
        display: block;
        overflow: visible;
        -webkit-line-clamp: initial;
        line-clamp: initial;
    }

    .occ-lothotel-marketplace .occ-lothotel-filter-heading-copy small {
        display: none;
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-date-range {
        grid-template-columns: minmax(0, 1fr);
    }

    .occ-lothotel-marketplace .occ-lothotel-advanced-grid .occ-lothotel-choice-group-nights .occ-lothotel-choice-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .occ-lothotel-marketplace .occ-lothotel-quick-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .occ-lothotel-marketplace .occ-lothotel-sort-toggle,
    .occ-lothotel-marketplace .occ-sort-toggle {
        grid-template-columns: auto repeat(2, minmax(0, 1fr));
    }

    .occ-lothotel-marketplace .occ-sort-label {
        grid-column: auto;
        align-self: center;
    }
}
