:root {
    --ink: #23313d;
    --muted: #657381;
    --line: #d9e1e8;
    --paper: #ffffff;
    --wash: #f3f7fa;
    --sea: #0f7f8f;
    --sea-dark: #0a5966;
    --sun: #f2b544;
    --leaf: #5a9d53;
    --radius: 8px;
    --shadow: 0 18px 45px rgba(31, 45, 61, .12);
}

/* Etap 2: promocje i platnosci PayU */
.promotion-content .account-head {
    align-items: flex-start;
}

.promotion-listing-summary {
    border-top: 3px solid #ffc400;
    background: #f7f7f7;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.promotion-listing-summary h2 {
    margin: 0 0 6px;
    font-size: 26px;
}

.promotion-listing-summary p {
    margin: 0;
    color: #666;
}

.promotion-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.promotion-service-card {
    display: grid;
    gap: 8px;
    min-height: 220px;
    padding: 18px;
    border: 1px solid #d9d9d9;
    border-top: 4px solid #ffc400;
    cursor: pointer;
    background: #fff;
}

.promotion-service-card.is-selected {
    border-color: #00579d;
    box-shadow: 0 0 0 2px rgba(0, 87, 157, 0.15);
}

.promotion-service-card input {
    width: 18px;
    height: 18px;
}

.promotion-service-card strong {
    font-size: 20px;
    line-height: 1.18;
}

.promotion-service-card span {
    color: #00579d;
    font-size: 26px;
    font-weight: 800;
}

.promotion-service-card small {
    color: #777;
    font-weight: 700;
}

.promotion-service-card em {
    color: #555;
    font-style: normal;
    line-height: 1.45;
}

.buyer-type-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 18px;
    font-weight: 700;
}

.buyer-type-row input {
    margin-right: 8px;
}

.company-fields[hidden] {
    display: none;
}

.promotion-legal {
    background: #eef6ff;
    border-left: 4px solid #00579d;
}

.promotion-history {
    margin-top: 30px;
}

.promotion-history table {
    width: 100%;
    border-collapse: collapse;
}

.promotion-history th,
.promotion-history td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.admin-payments {
    overflow-x: auto;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.admin-payments table {
    width: 100%;
    min-width: 1080px;
    border-collapse: collapse;
}

.admin-payments th,
.admin-payments td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e2e2;
    text-align: left;
    vertical-align: top;
}

.admin-payments th {
    color: #00579d;
    background: #f3f8ff;
}

.admin-payments small {
    display: block;
    margin-top: 4px;
    color: #666;
}

.payment-badge {
    display: inline-flex;
    padding: 5px 9px;
    color: #fff;
    background: #00579d;
    font-weight: 700;
}

.payment-status-page {
    max-width: 960px;
}

.payment-status-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.payment-status-details div {
    background: #f5f5f5;
    padding: 14px;
}

.payment-status-details dt {
    color: #666;
    font-size: 14px;
}

.payment-status-details dd {
    margin: 4px 0 0;
    color: #00579d;
    font-weight: 800;
}

.inline-button {
    display: inline-flex;
    text-decoration: none;
}

@media (max-width: 980px) {
    .promotion-service-grid,
    .payment-status-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .promotion-service-grid,
    .payment-status-details {
        grid-template-columns: 1fr;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--wash);
    font: 16px/1.55 Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.topbar,
.hero-inner,
.section,
.page-title,
.detail,
.owner-band,
.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: var(--sea);
    border-radius: 8px;
    font-weight: 700;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--muted);
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--sea-dark);
    background: #e7f2f4;
}

.hero {
    padding: 38px 0;
    background:
        linear-gradient(90deg, rgba(8, 70, 82, .92), rgba(8, 70, 82, .70)),
        url("../img/hero-placeholder.jpg");
    background-size: cover;
    background-position: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
    align-items: center;
}

.hero-copy {
    color: #fff;
    padding: 44px 0;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--sun);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

.hero h1,
.page-title h1,
.detail h1 {
    margin: 0;
    line-height: 1.12;
}

.hero h1 {
    max-width: 760px;
    font-size: 46px;
}

.hero-copy p:last-child {
    max-width: 660px;
    color: #d8edf0;
    font-size: 18px;
}

.search-panel {
    display: grid;
    gap: 14px;
    padding: 20px;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.search-panel label,
.search-panel span {
    display: block;
}

.search-panel span {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.search-panel input,
.search-panel select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

.search-panel button,
.button-light {
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    background: var(--leaf);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.section {
    padding: 34px 0;
}

.section.compact {
    padding-bottom: 12px;
}

.muted {
    background: transparent;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-heading h2,
.contact-box h2,
.description h2,
.owner-band h2 {
    margin: 0;
}

.section-heading a,
.section-heading span {
    color: var(--sea-dark);
    font-weight: 700;
}

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

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

.listing-card {
    display: grid;
    grid-template-rows: 190px 1fr;
    min-height: 100%;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.listing-photo {
    display: grid;
    place-items: center;
    background: #dce8ec;
    color: var(--muted);
    font-weight: 700;
}

.listing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-content {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.listing-meta,
.listing-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.listing-meta span:first-child {
    color: var(--sea-dark);
    font-weight: 700;
}

.listing-card h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.25;
}

.listing-card p {
    margin: 0;
    color: var(--muted);
}

.listing-bottom strong {
    color: var(--leaf);
    font-size: 18px;
}

.page-title {
    padding: 34px 0 8px;
}

.page-title h1 {
    font-size: 38px;
}

.page-title p {
    color: var(--muted);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.pagination a {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.pagination .active {
    color: #fff;
    background: var(--sea);
    border-color: var(--sea);
}

.detail {
    padding: 34px 0;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    color: #fff;
    background: var(--sea-dark);
    border-radius: var(--radius) var(--radius) 0 0;
}

.detail-header h1 {
    font-size: 36px;
}

.detail-header strong {
    align-self: start;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--sun);
    border-radius: 6px;
    white-space: nowrap;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
}

.detail-photo {
    display: grid;
    place-items: center;
    min-height: 420px;
    overflow: hidden;
    background: #dce8ec;
    border-radius: var(--radius);
}

.detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description {
    margin-top: 24px;
}

.contact-box {
    align-self: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--wash);
}

.contact-box p {
    margin: 16px 0 0;
}

.contact-box span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.contact-box a,
.contact-box strong {
    color: var(--sea-dark);
    font-size: 18px;
}

.owner-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
    padding: 24px;
    color: #fff;
    background: var(--sea);
    border-radius: var(--radius);
}

.owner-band p {
    margin: 8px 0 0;
    color: #d8edf0;
}

.button-light {
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    color: var(--ink);
    background: var(--sun);
    white-space: nowrap;
}

.empty {
    color: var(--muted);
}

.site-footer {
    padding: 26px 0 42px;
    color: var(--muted);
}

.site-footer strong,
.site-footer span {
    display: block;
}

@media (max-width: 900px) {
    .hero-inner,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .listing-grid,
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .topbar,
    .section-heading,
    .detail-header,
    .owner-band {
        align-items: stretch;
        flex-direction: column;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 34px;
    }

    .listing-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .detail-header strong {
        align-self: stretch;
        text-align: center;
    }
}

.legacy-shell {
    width: 980px;
    max-width: calc(100% - 24px);
    margin: 18px auto 34px;
    background: #fff;
    border: 1px solid #cddbe3;
    box-shadow: 0 8px 24px rgba(39, 65, 82, .14);
}

.legacy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 142px;
    padding: 20px 24px;
    background: linear-gradient(#f9fdff, #e8f4f8);
}

.legacy-logo img {
    max-width: 330px;
    height: auto;
}

.legacy-logo p {
    margin: 8px 0 0;
    color: #5f7581;
    font-size: 14px;
}

.legacy-login {
    width: 220px;
    padding: 14px 16px;
    color: #fff;
    background: #0f7f8f;
    border-radius: 6px;
}

.legacy-login strong,
.legacy-login span {
    display: block;
}

.legacy-login span {
    color: #d5edf2;
    font-size: 13px;
}

.legacy-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 0 18px;
    background: #0f7f8f;
    border-top: 1px solid #0a6571;
    border-bottom: 4px solid #f2b544;
}

.legacy-menu a {
    padding: 13px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.legacy-menu a:hover {
    background: #0a5966;
}

.legacy-layout {
    display: grid;
    grid-template-columns: 255px 1fr;
    gap: 20px;
    padding: 20px;
    background: #eef5f8;
}

.legacy-sidebar,
.legacy-content {
    min-width: 0;
}

.legacy-box {
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #cddbe3;
}

.legacy-box h2,
.legacy-heading {
    margin: 0;
    padding: 10px 13px;
    color: #fff;
    background: #0f7f8f;
    font-size: 17px;
}

.legacy-search {
    display: grid;
    gap: 10px;
    padding: 13px;
}

.legacy-search input,
.legacy-search select {
    width: 100%;
    min-height: 36px;
    padding: 8px 9px;
    border: 1px solid #cddbe3;
    border-radius: 4px;
    font: inherit;
}

.legacy-search button {
    min-height: 38px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #5a9d53;
    font-weight: 700;
}

.category-list {
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

.category-list a {
    display: block;
    padding: 9px 13px;
    color: #344c58;
    border-bottom: 1px solid #e5eef2;
}

.category-list a:hover {
    color: #0a5966;
    background: #f3f8fa;
}

.legacy-banner {
    position: relative;
    min-height: 185px;
    overflow: hidden;
    margin-bottom: 16px;
    color: #fff;
    background: #0a5966;
    border: 1px solid #cddbe3;
}

.legacy-banner img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    opacity: .62;
}

.legacy-banner div {
    position: absolute;
    left: 24px;
    bottom: 20px;
}

.legacy-banner h1 {
    margin: 0;
    font-size: 34px;
}

.legacy-banner p {
    margin: 4px 0 0;
}

.legacy-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10px;
}

.legacy-heading h2 {
    margin: 0;
    font-size: 18px;
}

.legacy-heading a,
.legacy-heading span {
    color: #eaf9fc;
    font-size: 13px;
}

.legacy-offer {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 14px;
    margin-bottom: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #cddbe3;
}

.legacy-offer.featured {
    border-color: #f2b544;
    box-shadow: inset 4px 0 0 #f2b544;
}

.legacy-offer img {
    width: 170px;
    height: 118px;
    object-fit: cover;
    border: 1px solid #d7e2e8;
}

.legacy-offer h3 {
    margin: 2px 0 5px;
    color: #23313d;
    font-size: 20px;
}

.legacy-offer p {
    margin: 0;
    color: #657381;
}

.legacy-meta {
    color: #0f7f8f !important;
    font-size: 13px;
    font-weight: 700;
}

.offer-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.offer-footer strong {
    color: #5a9d53;
    font-size: 18px;
}

.offer-footer span {
    color: #657381;
}

.offer-footer a {
    margin-left: auto;
    padding: 6px 12px;
    color: #fff;
    background: #0f7f8f;
    border-radius: 4px;
    font-weight: 700;
}

.legacy-footer {
    padding: 16px 20px;
    color: #5f7581;
    background: #fff;
    border-top: 1px solid #cddbe3;
    font-size: 13px;
}

@media (max-width: 780px) {
    .legacy-header,
    .legacy-layout {
        grid-template-columns: 1fr;
    }

    .legacy-header {
        flex-direction: column;
        align-items: stretch;
    }

    .legacy-login {
        width: auto;
    }

    .legacy-offer {
        grid-template-columns: 1fr;
    }

    .legacy-offer img {
        width: 100%;
        height: 190px;
    }
}

.design-body {
    margin: 0;
    color: #2b2b2b;
    background: #e9e9e9;
    font-family: "Trebuchet MS", Arial, sans-serif;
}

.design-wrap {
    width: 1440px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.design-top {
    height: 88px;
    background: #005196;
}

.design-nav {
    display: grid;
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr) auto;
    align-items: center;
    height: 88px;
    gap: 24px;
}

.design-logo img {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
    background: transparent;
}

.design-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.design-menu a,
.design-account a,
.design-account span {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.design-menu .active {
    color: #ffc20e;
}

.design-account {
    display: flex;
    align-items: center;
    gap: 12px;
}

.design-account span {
    color: #d7e7f6;
    font-weight: 400;
}

.design-account .register {
    padding: 14px 22px;
    color: #073f78;
    background: #ffc20e;
}

.design-search-band {
    padding: 16px 0 14px;
    background: #fff;
    text-align: center;
}

.design-search-band h1 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1;
}

.design-search {
    display: grid;
    grid-template-columns: 540px 460px 150px;
    width: 1170px;
    max-width: calc(100% - 40px);
    height: 60px;
    margin: 0 auto;
    border: 4px solid #ffc20e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .14);
}

.design-search-advanced {
    grid-template-columns: minmax(230px, 1fr) minmax(230px, .9fr) minmax(210px, .8fr) minmax(210px, .85fr) 150px;
    height: 60px;
}

.design-search label {
    display: flex;
    align-items: center;
    min-width: 0;
    background: #fff;
    border-right: 4px solid #ffc20e;
}

.design-search label span {
    width: 48px;
    color: #b8b8b8;
    font-size: 28px;
}

.design-search input,
.design-search select {
    width: 100%;
    height: 100%;
    border: 0;
    color: #8c8c8c;
    background: #fff;
    font: 700 19px "Trebuchet MS", Arial, sans-serif;
    outline: 0;
}

.design-search button {
    border: 0;
    color: #fff;
    background: #005196;
    font: 700 20px "Trebuchet MS", Arial, sans-serif;
}

.design-search button span {
    font-size: 30px;
    vertical-align: -4px;
}

.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.results-toolbar select {
    min-height: 32px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #005196;
    font: inherit;
    font-weight: 700;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.design-main {
    display: grid;
    grid-template-columns: 345px 1fr;
    gap: 30px;
    width: 1440px;
    max-width: calc(100% - 40px);
    margin: 24px auto 0;
}

.design-sidebar {
    display: grid;
    align-content: start;
    gap: 20px;
    min-width: 0;
}

.design-panel,
.design-counter,
.design-results,
.design-recommended {
    background: #fff;
}

.design-panel {
    padding: 18px 24px 20px;
}

.design-panel h2 {
    margin: 0 0 14px;
    padding-top: 10px;
    border-top: 3px solid #ffc20e;
    text-align: center;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 500;
}

.design-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.design-panel a {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    min-height: 39px;
    color: #555;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
}

.design-panel a span {
    color: #aaa;
    font-size: 22px;
}

.categories .cat-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #aaa;
}

.categories .cat-icon-svg {
    display: block;
    width: 22px;
    height: 22px;
}

.categories a.active .cat-icon,
.categories a:hover .cat-icon {
    color: #005196;
}

.design-panel a.active,
.design-panel a:hover {
    color: #005196;
}

.design-panel a.muted {
    color: #9c9c9c;
}

.design-counter {
    padding: 16px;
    text-align: center;
}

.design-counter p {
    margin: 0;
    color: #005196;
    font-size: 18px;
    font-weight: 700;
}

.design-counter strong {
    display: inline-block;
    min-width: 124px;
    margin: 4px 0;
    padding: 2px 10px;
    color: #005196;
    background: #ffc20e;
    font-size: 40px;
    line-height: 1.15;
}

.design-counter span {
    display: block;
    color: #005196;
    font-size: 17px;
    font-weight: 700;
}

.design-side-img {
    width: 100%;
    height: auto;
    display: block;
}

.design-map-widget {
    padding: 18px;
    background: #fff;
    text-align: center;
}

.design-map-widget h2 {
    margin: 0;
    padding-top: 12px;
    border-top: 3px solid #ffc20e;
    text-transform: uppercase;
    font-weight: 500;
}

.design-map-widget p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.map-wrapper {
    position: relative;
    max-width: 305px;
    margin: 14px auto 10px;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    isolation: isolate;
}

.map-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../img/design/poland-map-original-bg.png") center / contain no-repeat;
    pointer-events: none;
}

.region-map-svg {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: visible;
}

.wojewodztwo,
.map-neighbours,
.map-region-highlight,
.map-borders,
.map-river {
    display: none;
}

.wojewodztwo {
    fill: #eaf6ff;
    stroke: #7fb3d7;
    stroke-width: 2;
    stroke-linejoin: round;
    transition: fill .2s ease;
    filter: drop-shadow(0 8px 18px rgba(12, 72, 120, .10));
}

.wojewodztwo:hover {
    fill: #e1ecf7;
}

.map-neighbours {
    fill: none;
    stroke: #d7d0c8;
    stroke-width: 1.4;
    opacity: .85;
}

.map-region-highlight {
    fill: #bedbf3;
    stroke: #7fb3d7;
    stroke-width: 1.7;
}

.map-borders path {
    fill: none;
    stroke: #7fb3d7;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .92;
}

.map-river {
    fill: none;
    stroke: #c9e1ff;
    stroke-width: 2;
    stroke-linecap: round;
    opacity: .9;
}

.map-node {
    fill: #005196;
    stroke: #f2d162;
    stroke-width: 5;
    cursor: pointer;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .18));
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .2s ease, fill .2s ease, stroke .2s ease, stroke-width .2s ease;
}

.map-node:hover,
.map-node:focus,
.map-node.is-active {
    fill: #063964;
    stroke: #fff;
    stroke-width: 4;
    transform: scale(1.3);
    outline: none;
}

.map-node.is-active {
    filter:
        drop-shadow(0 0 0 rgba(255, 204, 0, .9))
        drop-shadow(0 0 12px rgba(255, 204, 0, .85))
        drop-shadow(0 0 26px rgba(255, 204, 0, .55));
}

.map-tooltip {
    position: fixed;
    z-index: 9999;
    display: none;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #005196;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    text-align: center;
    font-size: 13px;
    line-height: 1.25;
    pointer-events: none;
}

.map-preview-tooltip {
    position: absolute;
    left: 50%;
    top: 53%;
    z-index: 6;
    display: none;
    width: 205px;
    padding: 10px 12px 11px;
    border-radius: 5px;
    background: #005196;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
    text-align: center;
    line-height: 1.05;
    pointer-events: none;
    transform: translateX(-50%);
}

.map-preview-tooltip::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -13px;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 13px solid #005196;
    transform: translateX(-50%);
}

.map-preview-tooltip span {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.map-preview-tooltip strong {
    display: block;
    margin-top: 7px;
    color: #ffcc00;
    font-size: 25px;
    line-height: 1;
}

.map-preview-tooltip em {
    color: #fff;
    font-size: 14px;
    font-style: normal;
    text-transform: uppercase;
}

.map-wrapper.is-hovering .map-preview-tooltip {
    display: none;
}

.map-tooltip.is-visible {
    display: block;
}

.tooltip-title {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    opacity: .85;
}

.tooltip-count {
    display: block;
    color: #ffcc00;
    font-size: 15px;
    font-weight: 700;
}

.design-ad-sidebar,
.design-ad-bottom {
    display: block;
    margin-top: 14px;
}

.design-ad-sidebar img {
    width: 100%;
    height: auto;
}

.design-results {
    padding: 0 0 20px;
    min-width: 0;
}

.design-promo-row {
    display: grid;
    grid-template-columns: minmax(0, 810fr) minmax(145px, 225fr);
    gap: 30px;
    margin-bottom: 20px;
    background: #e9e9e9;
}

.design-promo-banner,
.design-promo-add {
    position: relative;
    display: block;
    line-height: 0;
}

.promo-click {
    position: absolute;
    z-index: 2;
    display: block;
    line-height: 1;
    cursor: pointer;
    transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.promo-click:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(0, 81, 150, .65);
}

.promo-click-banner {
    left: 67.8%;
    top: 67.8%;
    width: 27.5%;
    height: 19.8%;
}

.promo-click-box {
    inset: 0;
}

.promo-click:hover {
    opacity: .94;
    transform: translateY(-1px);
}

.design-promo-row a:not(.promo-click) {
    display: block;
    line-height: 0;
    transition: opacity .18s ease, transform .18s ease;
}

.design-promo-row a:not(.promo-click):hover {
    opacity: .94;
    transform: translateY(-1px);
}

.design-promo-row img {
    display: block;
    width: 100%;
    height: auto;
}

.results-context {
    margin: 0 0 12px;
    padding: 14px 28px;
    border-top: 3px solid #ffc20e;
    background: #fff;
    color: #555;
}

.results-context nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 0;
    color: #888;
    font-size: 12px;
}

.results-context a {
    color: #005196;
    font-weight: 700;
    text-decoration: none;
}

.design-offers-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 49px;
    padding: 0 28px;
    background: #fff;
    border-top: 3px solid #ffc20e;
}

.design-offers-head h2 {
    margin: 0;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 500;
}

.design-offers-head div,
.design-offers-head .results-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #aaa;
    font-size: 13px;
}

.design-offers-head select {
    border: 0;
    color: #005196;
    background: transparent;
}

.design-offers-list {
    padding: 0 28px;
}

.design-offer {
    display: grid;
    grid-template-columns: 180px 1fr 190px;
    gap: 28px;
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
}

.design-offer.promoted {
    margin: 0 -28px;
    padding: 18px 28px;
    background: #fffec9;
}

.design-offer img {
    width: 180px;
    height: 116px;
    object-fit: cover;
}

.design-offer h3 {
    margin: 0 0 2px;
    font-size: 23px;
    line-height: 1.2;
}

.design-offer h3 a,
.design-recommended h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.design-offer p {
    margin: 0;
    color: #6f6f6f;
    font-size: 14px;
}

.design-offer .place {
    margin-bottom: 10px;
    color: #3b3b3b;
}

.design-offer .place a {
    color: #126ab0;
}

.design-offer .place b {
    margin-left: 6px;
    padding: 3px 6px;
    color: #fff;
    background: #ed1c24;
    text-transform: uppercase;
    font-size: 10px;
}

.design-offer .price {
    text-align: left;
}

.design-offer .price span {
    color: #777;
    font-size: 16px;
}

.design-offer .price strong {
    display: inline-block;
    margin: 0 6px;
    color: #005196;
    font-size: 23px;
    line-height: 1.12;
    white-space: nowrap;
}

.design-offer .price em {
    color: #777;
    font-size: 14px;
    font-style: normal;
    white-space: nowrap;
}

.design-offer .price a {
    display: block;
    width: 116px;
    margin: 10px 0 8px 42px;
    padding: 10px 0;
    color: #fff;
    background: #005196;
    text-align: center;
    font-weight: 700;
}

.design-offer .price small {
    display: block;
    margin-left: 42px;
    color: #aaa;
}

.design-pages {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    padding: 24px 0 0;
}

.design-pages a {
    color: #005196;
    font-weight: 700;
}

.design-pages .active {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #fff;
    background: #005196;
}

.design-recommended {
    width: 1440px;
    max-width: calc(100% - 40px);
    margin: 18px auto 0;
    padding: 18px 24px 34px;
}

.recommended-head {
    margin: 0 0 18px;
    border-top: 3px solid #ffc20e;
}

.recommended-head h2 {
    margin: 12px 0 0;
    color: #2b2b2b;
    text-align: center;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 500;
}

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

.design-recommended article {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 360px;
    text-align: center;
}

.design-recommended article > span {
    position: absolute;
    top: 10px;
    left: 0;
    padding: 6px 12px;
    color: #005196;
    background: #ffc20e;
    font-size: 13px;
}

.recommended-image {
    display: block;
    line-height: 0;
}

.design-recommended img {
    width: 100%;
    height: 135px;
    object-fit: cover;
}

.design-recommended h3 {
    margin: 12px 0 2px;
    min-height: 52px;
    font-size: 20px;
    line-height: 1.3;
}

.design-recommended p {
    margin: 0;
    color: #555;
    font-size: 13px;
}

.design-recommended p a {
    color: #126ab0;
}

.design-recommended strong {
    display: block;
    margin: auto 0 12px;
    color: #005196;
    font-size: 22px;
    line-height: 1.2;
}

.design-recommended em {
    display: inline-block;
    color: #777;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    white-space: nowrap;
}

.design-recommended strong span {
    color: #777;
    font-size: 14px;
    font-weight: 400;
}

.design-recommended button {
    padding: 10px 25px;
    border: 0;
    color: #fff;
    background: #005196;
    font-weight: 700;
}

.recommend-button {
    display: inline-block;
    align-self: center;
    padding: 10px 25px;
    color: #fff;
    background: #005196;
    font-weight: 700;
}

.recommend-placeholder {
    display: grid;
    place-items: center;
    height: 135px;
    color: #777;
    background: #edf2f5;
}

.design-bottom-ad {
    display: block;
    width: 940px;
    max-width: calc(100% - 40px);
    margin: 20px auto;
}

.design-ad-bottom img {
    display: block;
    width: 940px;
    max-width: calc(100% - 40px);
    margin: 20px auto;
}

.offer-image {
    display: block;
}

.offer-image span {
    display: grid;
    place-items: center;
    width: 180px;
    height: 116px;
    color: #777;
    background: #edf2f5;
}

.design-detail {
    position: relative;
    min-height: 705px;
    padding: 24px 28px 34px;
    background: #fff;
}

.share-link {
    position: absolute;
    right: 26px;
    top: 22px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #aaa;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}

.share-link:hover,
.share-link:focus {
    color: #005196;
    text-decoration: underline;
}

.design-detail .detail-category {
    margin: 0 0 8px;
    color: #2b2b2b;
    font-size: 22px;
}

.design-detail h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
}

.detail-location {
    margin: 2px 0 20px;
    color: #555;
}

.detail-location a {
    color: #126ab0;
}

.design-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 600px) 320px;
    gap: 30px;
}

.design-detail-photo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 402px;
    overflow: hidden;
    color: #777;
    background: #edf2f5;
}

.design-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.listing-gallery a {
    display: block;
    height: 88px;
    border: 3px solid #fff;
    background: #eef2f4;
    box-shadow: 0 0 0 1px #ddd;
}

.listing-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0, 0, 0, .78);
}

.gallery-lightbox.is-visible {
    display: flex;
}

.gallery-lightbox img {
    max-width: min(1100px, 88vw);
    max-height: 86vh;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.gallery-lightbox button {
    position: absolute;
    border: 0;
    background: #005196;
    color: #fff;
    cursor: pointer;
    font: 800 24px Arial, sans-serif;
}

.gallery-lightbox-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    top: 50%;
    width: 48px;
    height: 64px;
    transform: translateY(-50%);
}

.gallery-lightbox-prev {
    left: 18px;
}

.gallery-lightbox-next {
    right: 18px;
}

.map-link-disabled {
    color: #aaa;
    cursor: not-allowed;
    text-decoration: none;
}

.design-description {
    margin-top: 18px;
}

.design-description h2 {
    display: inline-block;
    margin: 0 0 12px;
    padding-bottom: 5px;
    border-bottom: 3px solid #ffc20e;
    font-size: 22px;
    font-weight: 500;
}

.design-description p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.design-detail-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.design-detail-options > div {
    padding: 16px;
    border-top: 3px solid #ffc20e;
    background: #f7f9fb;
}

.design-detail-options h2 {
    margin: 0 0 12px;
    color: #1f1f1f;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.design-detail-options ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.design-detail-options li {
    padding: 6px 9px;
    background: #fff;
    color: #005196;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.design-contact h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.design-contact p {
    margin: 7px 0;
    color: #666;
}

.design-contact a,
.design-contact .contact-name {
    color: #126ab0;
    font-weight: 700;
}

.design-contact small {
    display: block;
    margin: 14px 0 70px;
    color: #aaa;
}

.detail-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.detail-price span,
.detail-price em {
    color: #777;
    font-style: normal;
}

.detail-price strong {
    color: #005196;
    font-size: 30px;
    line-height: 1.15;
}

.ask-button {
    display: inline-block;
    padding: 14px 24px;
    color: #fff !important;
    background: #005196;
    font-weight: 700;
}

.ask-button:hover,
.ask-button:focus {
    background: #00457f;
    color: #fff !important;
}

.design-footer {
    padding: 25px 0 70px;
    background: #fff;
}

.design-footer > p,
.design-footer > div {
    width: 1440px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.design-footer > p {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.design-footer > div {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #ddd;
    color: #555;
    font-size: 14px;
}

.design-footer nav {
    display: flex;
    gap: 28px;
}

.design-cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 47px;
    padding: 12px 20px;
    color: #2b2b2b;
    background: #f6ce55;
    text-align: center;
    font-size: 13px;
    z-index: 20;
}

.design-cookie[hidden] {
    display: none;
}

.cookies-accepted .design-cookie {
    display: none;
}

.design-cookie a {
    color: #2b2b2b;
    text-decoration: none;
}

.design-cookie button {
    margin-left: 12px;
    padding: 9px 18px;
    border: 0;
    color: #fff;
    background: #005196;
}

.user-dot {
    color: rgba(255, 255, 255, .35);
    font-size: 20px;
}

.text-page {
    padding: 40px 0 60px;
    background: #e9e9e9;
}

.text-card {
    width: 1440px;
    max-width: calc(100% - 40px);
    min-height: 520px;
    margin: 0 auto;
    padding: 52px 86px 70px;
    background: #fff;
}

.text-card h1 {
    margin: 0 0 30px;
    padding-top: 12px;
    border-top: 3px solid #ffc20e;
    color: #005196;
    text-align: center;
    font-size: 34px;
    line-height: 1.2;
}

.text-card p {
    max-width: 980px;
    margin: 0 auto 18px;
    color: #555;
    font-size: 18px;
    line-height: 1.7;
}

.text-card h2 {
    max-width: 980px;
    margin: 34px auto 12px;
    color: #005196;
    font-size: 24px;
    line-height: 1.25;
}

.text-card ul {
    max-width: 980px;
    margin: -4px auto 20px;
    padding-left: 28px;
    color: #555;
    font-size: 18px;
    line-height: 1.7;
}

.text-card ol {
    max-width: 980px;
    margin: -4px auto 20px;
    padding-left: 28px;
    color: #555;
    font-size: 18px;
    line-height: 1.7;
}

.text-card li + li {
    margin-top: 6px;
}

.text-card ol ol {
    margin-top: 8px;
    margin-bottom: 0;
}

.text-card a {
    color: #005196;
    font-weight: 700;
}

.legal-card {
    padding-bottom: 90px;
}

.design-form-page {
    padding: 40px 0 28px;
    background: #e9e9e9;
}

.design-form-card {
    width: 1440px;
    max-width: calc(100% - 40px);
    min-height: 840px;
    margin: 0 auto;
    padding: 42px 0 64px;
    background: #fff;
}

.design-form-card h1 {
    margin: 0 20px 48px;
    color: #005196;
    text-align: center;
    font-size: 32px;
    line-height: 1.2;
}

.account-form {
    width: 520px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.radio-line {
    display: flex;
    gap: 70px;
    margin: 0 0 18px 160px;
    color: #2b2b2b;
    font-size: 18px;
    font-weight: 700;
}

.radio-line label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.field-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    margin-bottom: 11px;
}

.field-row span {
    color: #2b2b2b;
    text-align: right;
    font-size: 18px;
    font-weight: 700;
}

.field-row input,
.field-row select {
    width: 100%;
    height: 50px;
    border: 2px solid #d7d7d7;
    border-radius: 0;
    background: #fff;
    color: #2b2b2b;
    font: inherit;
    font-weight: 700;
    padding: 0 16px;
}

.password-row {
    grid-template-columns: 140px minmax(0, 1fr) 106px;
    gap: 0;
}

.password-row span {
    margin-right: 20px;
}

.password-row input {
    border-right: 0;
}

.password-row button {
    height: 50px;
    border: 0;
    background: #005196;
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
}

.form-hint {
    margin: 3px 0 28px 160px;
    color: #9a9a9a;
    font-size: 15px;
}

.check-row {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    margin: 0 0 24px 160px;
    color: #333;
    line-height: 1.35;
}

.check-row input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: #ffc20e;
}

.check-row strong {
    display: inline;
}

.check-row span {
    display: block;
}

.design-submit {
    min-width: 162px;
    height: 58px;
    margin: 12px 0 0 160px;
    border: 0;
    background: #005196;
    color: #fff;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.account-main {
    align-items: stretch;
}

.account-sidebar .design-panel {
    min-height: 342px;
}

.account-menu h2 {
    font-size: 26px;
}

.account-menu ul a {
    font-size: 18px;
}

.admin-menu ul a {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    column-gap: 8px;
}

.account-menu ul span {
    width: 28px;
    color: #8f8f8f;
    font-size: 24px;
    line-height: 1;
}

.account-menu b {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    margin-left: 8px;
    border-radius: 4px;
    background: #df1f26;
    color: #fff;
    font-size: 12px;
}

.account-menu .menu-count {
    display: inline-grid;
    justify-self: end;
    place-items: center;
    min-width: 22px;
    height: 20px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 4px;
    background: #df1f26;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.account-content {
    min-height: 850px;
    padding: 28px 34px 70px;
}

.account-content h1 {
    margin: 0 0 42px;
    font-size: 32px;
    line-height: 1.2;
}

.panel-form {
    width: 560px;
    margin: 0 0 0 68px;
}

.panel-form .field-row {
    grid-template-columns: 180px minmax(0, 1fr);
}

.panel-form .field-row span {
    font-size: 18px;
}

.panel-form .split-postcode {
    grid-template-columns: 180px 120px minmax(0, 1fr);
}

.split-postcode input + input {
    margin-left: 10px;
}

.panel-form .design-submit {
    margin-left: 200px;
}

.password-form {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #e2e2e2;
}

.panel-form h2 {
    margin: 34px 0 18px 200px;
    padding: 0;
    border: 0;
    text-align: left;
    text-transform: none;
    font-size: 32px;
    line-height: 1.2;
}

.lodging-form {
    width: min(880px, calc(100% - 68px));
}

.lodging-form .form-section {
    margin: 0 0 28px;
    padding: 0 0 26px;
    border-bottom: 1px solid #e2e2e2;
}

.lodging-form .form-section h2 {
    margin: 0 0 10px 200px;
    color: #2b2b2b;
    font-size: 27px;
}

.form-note {
    margin: 0 0 20px 200px;
    color: #777;
    line-height: 1.45;
}

.inline-options-section .form-note {
    margin-left: 0;
}

.field-row small {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 13px;
    line-height: 1.35;
}

.billing-options {
    background: #f7f7f7;
    padding: 18px;
    border: 1px solid #e2e2e2;
}

.billing-options .field-row {
    grid-template-columns: 180px minmax(0, 1fr);
}

.lodging-form .inline-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-left: 0;
}

.lodging-form .inline-fields .field-row {
    grid-template-columns: 180px minmax(0, 1fr);
}

.form-consents {
    display: grid;
    gap: 12px;
    margin-left: 200px;
    color: #333;
    font-size: 15px;
}

.form-consents input {
    margin-right: 8px;
}

.file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 172px;
    min-height: 42px;
    background: #ffc20e;
    color: #005196;
    font-weight: 800;
    cursor: pointer;
}

.file-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.photo-upload {
    display: grid;
    gap: 10px;
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    min-height: 82px;
    padding: 10px;
    border: 2px dashed #d7d7d7;
    background: #fafafa;
}

.photo-preview-grid div {
    display: grid;
    place-items: center;
    min-height: 62px;
    color: #888;
    text-align: center;
    font-size: 13px;
}

.photo-preview-grid img {
    width: 100%;
    height: 76px;
    object-fit: cover;
}

.photo-preview-grid figure {
    margin: 0;
}

.photo-preview-grid figcaption {
    margin-top: 4px;
    color: #555;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-alert,
.empty-state {
    margin: 0 0 24px;
    padding: 14px 18px;
    border-left: 5px solid #005196;
    background: #eef6ff;
    color: #24445f;
    font-weight: 700;
}

.form-alert p {
    margin: 0;
}

.form-alert p + p {
    margin-top: 6px;
}

.form-alert.is-error {
    border-left-color: #b72222;
    background: #fff2f2;
    color: #7d1a1a;
}

.form-alert.is-success {
    border-left-color: #2d8b56;
    background: #effaf3;
    color: #245d39;
}

.form-alert-narrow {
    width: 520px;
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}

.login-card {
    min-height: 520px;
}

.login-hint {
    margin-top: 22px;
    color: #555;
    font-size: 16px;
    font-weight: 400;
}

.login-hint a {
    color: #005196;
    font-weight: 800;
}

.empty-state {
    min-height: 120px;
    display: grid;
    place-items: center;
    text-align: center;
}

.account-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.account-head p {
    margin: 0 0 4px;
    color: #777;
    font-size: 15px;
}

.account-head h1 {
    margin-bottom: 0;
}

.account-primary,
.ghost-button,
.account-toolbar a,
.account-listing nav a,
.account-listing nav button,
.danger-zone button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 42px;
    min-width: 142px;
    padding: 0 18px;
    border: 0;
    background: #005196;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.account-primary {
    color: #fff !important;
}

.account-head .account-primary {
    min-width: 154px;
}

.account-view {
    display: none;
}

.account-view.is-active {
    display: block;
}

.account-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px 68px;
    width: min(760px, calc(100% - 68px));
}

.account-summary div {
    padding: 16px;
    border-top: 3px solid #ffc20e;
    background: #f5f5f5;
    text-align: center;
}

.account-summary strong {
    display: block;
    color: #005196;
    font-size: 34px;
    line-height: 1;
}

.account-summary span {
    color: #555;
    font-weight: 700;
}

.field-row textarea,
.reply-box textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px 14px;
    border: 2px solid #d7d7d7;
    background: #fff;
    color: #333;
    font: inherit;
    resize: vertical;
}

.textarea-row {
    align-items: start;
}

.textarea-row span {
    padding-top: 12px;
}

.description-row > div {
    display: grid;
    gap: 6px;
}

.description-help,
.description-counter {
    color: #777;
    font-size: 13px;
}

.description-counter strong {
    color: #005196;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 9px 16px;
    margin-left: 200px;
}

.inline-options-section .checkbox-grid {
    margin-left: 0;
}

.checkbox-grid label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #333;
    font-weight: 700;
    line-height: 1.25;
}

.checkbox-grid input {
    margin-top: 2px;
    accent-color: #ffc20e;
}

.upload-row {
    align-items: start;
}

.upload-row > div {
    display: grid;
    gap: 8px;
}

.upload-row button {
    width: 170px;
    min-height: 42px;
    border: 0;
    background: #ffc20e;
    color: #005196;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.upload-row small {
    color: #777;
}

.photo-warning {
    padding: 10px 12px;
    background: #fff5d6;
    color: #8a5a00;
    font-weight: 800;
}

.account-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 200px;
}

.account-actions .design-submit,
.account-actions .ghost-button {
    margin-left: 0;
}

.ghost-button {
    background: #e8edf1;
    color: #005196;
}

.account-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.account-toolbar h2 {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: left;
    text-transform: none;
    font-size: 28px;
}

.account-listings {
    display: grid;
    gap: 14px;
}

.account-listing {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 90px 230px;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.account-listing img {
    width: 150px;
    height: 94px;
    object-fit: cover;
}

.account-listing h3,
.message-detail h2 {
    margin: 0 0 5px;
    font-size: 22px;
}

.account-listing p {
    margin: 0 0 8px;
    color: #777;
}

.account-listing > strong {
    color: #005196;
    font-size: 23px;
}

.status {
    display: inline-flex;
    padding: 4px 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.status.active {
    background: #2d8b56;
}

.status.waiting {
    background: #e0a100;
}

.status.draft {
    background: #777;
}

.account-listing nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.account-listing nav a,
.account-listing nav button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 14px;
}

.account-listing nav button {
    background: #e8edf1;
    color: #005196;
}

.inline-edit {
    margin: -4px 0 16px;
    padding: 0 16px 18px;
    border: 1px solid #e0e0e0;
    border-top: 0;
    background: #fafafa;
}

.inline-edit summary {
    padding: 14px 0;
    color: #005196;
    font-weight: 800;
    cursor: pointer;
}

.inline-edit .panel-form {
    width: min(760px, 100%);
    margin-left: 0;
}

.inline-edit .design-submit {
    margin-left: 160px;
}

.gallery-manager {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e0e0e0;
}

.gallery-manager-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.gallery-manager-head h3 {
    margin: 0;
    color: #2b2b2b;
    font-size: 20px;
}

.gallery-manager-head span {
    color: #666;
    font-size: 14px;
}

.gallery-manager-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.gallery-manager-grid figure {
    margin: 0;
    padding: 10px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.gallery-manager-grid figure.is-main {
    border-color: #ffc20e;
    box-shadow: inset 0 3px 0 #ffc20e;
}

.gallery-manager-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f1f1f1;
}

.gallery-manager-grid figcaption {
    margin-top: 8px;
    color: #005196;
    font-weight: 800;
}

.gallery-manager-grid small {
    display: block;
    margin-top: 4px;
    color: #777;
}

.gallery-actions {
    display: flex;
    gap: 7px;
    margin-top: 10px;
}

.gallery-actions button,
.gallery-save-order {
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    background: #005196;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.gallery-actions .danger {
    background: #d92626;
}

.gallery-save-order {
    margin-top: 14px;
    background: #e8edf1;
    color: #005196 !important;
}

.admin-main {
    align-items: stretch;
}

.admin-content {
    min-height: 920px;
}

.admin-content .account-primary {
    min-width: 140px;
    white-space: nowrap;
}

.admin-note {
    margin: 0 0 26px;
    padding: 16px 18px;
    border-top: 3px solid #ffc20e;
    background: #f7f7f7;
    color: #333;
    line-height: 1.55;
}

.admin-note code {
    padding: 2px 5px;
    background: #fff;
    color: #005196;
    font-weight: 800;
}

.admin-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    align-items: end;
    margin: 0 0 28px;
    padding: 16px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.admin-filters label {
    display: grid;
    gap: 5px;
    color: #444;
    font-size: 13px;
    font-weight: 800;
}

.admin-filters input,
.admin-filters select {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0 8px;
    border: 1px solid #d6d6d6;
    background: #fff;
    color: #333;
    font: inherit;
}

.admin-filter-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.admin-filter-actions .design-submit,
.admin-filter-actions .ghost-button {
    width: auto;
    min-width: 116px;
    min-height: 46px;
    margin: 0;
    padding: 0 18px;
    white-space: nowrap;
}

.admin-filter-actions .ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8edf2;
    color: #333 !important;
}

.admin-bulk-form {
    margin-bottom: 12px;
}

.bulk-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #d8e3ed;
    background: #f6fbff;
}

.bulk-actions strong {
    color: #005196;
}

.bulk-select-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 13px;
    font-weight: 800;
}

.bulk-actions select {
    min-width: 220px;
    min-height: 36px;
    border: 1px solid #d4d4d4;
    background: #fff;
    font: inherit;
}

.bulk-actions button {
    min-height: 36px;
    border: 0;
    background: #005196;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.admin-section + .admin-section {
    margin-top: 42px;
}

.admin-pagination-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 16px;
    color: #444;
    font-size: 14px;
    font-weight: 800;
}

.admin-pagination-summary.is-bottom {
    margin: 18px 0 0;
}

.admin-view-size {
    display: flex;
    justify-content: flex-end;
    margin: 14px 0 6px;
}

.admin-view-size label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 13px;
    font-weight: 800;
}

.admin-view-size select {
    min-width: 90px;
    min-height: 34px;
    border: 1px solid #d4d4d4;
    background: #fff;
    color: #005196;
    font: inherit;
    font-weight: 800;
}

.admin-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.admin-pages a,
.admin-pages span {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid #d8e3ed;
    background: #fff;
    color: #005196;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.admin-pages a.active {
    border-color: #005196;
    background: #005196;
    color: #fff;
}

.admin-pages a.is-disabled {
    opacity: .45;
    pointer-events: none;
}

.admin-listings {
    display: grid;
    gap: 12px;
}

.admin-listing {
    display: grid;
    grid-template-columns: 78px minmax(300px, 1.45fr) 112px minmax(160px, 190px) minmax(160px, 190px) 128px;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.admin-listing.is-promoted {
    border-color: #f1c000;
    background: #fffec9;
}

.bulk-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #005196;
    font-size: 13px;
    font-weight: 800;
}

.bulk-check input {
    width: 18px;
    height: 18px;
    accent-color: #ffc20e;
}

.admin-listing h3 {
    display: -webkit-box;
    margin: 7px 0 4px;
    overflow: hidden;
    color: #1f1f1f;
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.admin-listing p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.45;
}

.admin-badge {
    display: inline-flex;
    margin: 0 5px 5px 0;
    padding: 4px 7px;
    background: #ffc20e;
    color: #005196;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-badge-recommended {
    background: #005196;
    color: #fff;
}

.admin-badge-billing {
    background: #e8edf2;
    color: #333;
}

.admin-price {
    color: #005196;
    font-size: 18px;
    line-height: 1.15;
    white-space: nowrap;
}

.admin-inline-form {
    display: grid;
    gap: 7px;
}

.admin-inline-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 13px;
    font-weight: 800;
}

.admin-inline-form input {
    accent-color: #ffc20e;
}

.admin-inline-form select,
.admin-inline-form button {
    width: 100%;
    min-height: 34px;
    border: 1px solid #d4d4d4;
    background: #fff;
    color: #222;
    font: 700 13px "Trebuchet MS", Arial, sans-serif;
    font-weight: 700;
}

.admin-inline-form button,
.admin-open-link {
    border: 0;
    background: #005196;
    color: #fff;
    cursor: pointer;
}

.admin-open-link {
    min-width: 0;
    min-height: 34px;
    padding: 8px 10px;
    text-decoration: none;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.admin-row-actions {
    display: grid;
    gap: 8px;
}

.admin-delete-form button {
    width: 100%;
    min-height: 34px;
    border: 0;
    background: #b42318;
    color: #fff;
    font: 800 13px "Trebuchet MS", Arial, sans-serif;
    font-weight: 800;
    cursor: pointer;
}

.admin-delete-form button:hover,
.admin-delete-form button:focus {
    background: #8f1d14;
}

.admin-users {
    display: grid;
    gap: 10px;
}

.admin-users > div {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(190px, .55fr) minmax(150px, auto) minmax(230px, auto);
    gap: 8px 16px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.admin-users > div > strong,
.admin-users > div > span,
.admin-user-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-meta {
    display: block;
    grid-column: 1;
    color: #777;
    font-size: 12px;
}

.admin-users > div > strong,
.admin-users > div > span {
    grid-column: 1;
}

.admin-user-stats {
    display: grid;
    grid-column: 2;
    grid-row: 1 / span 3;
    gap: 2px;
}

.admin-user-stats b {
    color: #005196;
    font-size: 24px;
    line-height: 1;
}

.admin-user-stats span,
.admin-user-stats small {
    color: #666;
    font-size: 12px;
}

.admin-user-listings-link {
    grid-column: 3;
    min-height: 34px;
    padding: 8px 12px;
    text-align: center;
}

.admin-user-legacy-note {
    grid-column: 4;
    padding: 8px 10px;
    background: #f3f6f9;
    color: #555;
    font-size: 12px;
    font-weight: 800;
}

.admin-users form {
    display: flex;
    grid-column: 4;
    justify-content: flex-end;
    gap: 8px;
}

.admin-user-delete-form {
    grid-row: 2;
}

.admin-users select,
.admin-users button {
    min-height: 34px;
    border: 1px solid #d4d4d4;
    background: #fff;
    font: 700 13px "Trebuchet MS", Arial, sans-serif;
}

.admin-users select {
    padding: 0 8px;
    color: #005196;
}

.admin-users button {
    padding: 0 12px;
    border-color: #005196;
    color: #fff;
    background: #005196;
    cursor: pointer;
}

.admin-user-delete-form button {
    border-color: #b92d22;
    background: #b92d22;
}

.messages-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 24px;
}

.messages-list {
    display: grid;
    align-content: start;
    gap: 10px;
}

.messages-list button {
    padding: 13px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    color: #333;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.messages-list button.is-active {
    border-color: #005196;
    border-left: 5px solid #005196;
    background: #fff;
}

.messages-list strong,
.messages-list span {
    display: block;
}

.messages-list span,
.message-meta,
.danger-zone p {
    color: #777;
}

.message-detail {
    padding: 22px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.reply-box {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    font-weight: 700;
}

.message-detail .design-submit {
    margin-left: 0;
}

.message-reply {
    text-decoration: none;
}

.inquiry-panel {
    margin-top: 34px;
    padding: 30px 28px 36px;
    border-top: 1px solid #d8d8d8;
}

.inquiry-panel h2 {
    margin: 0 0 22px;
    padding-top: 0;
    border: 0;
    text-align: left;
    text-transform: none;
}

.inquiry-form {
    width: min(640px, 100%);
    margin-left: 0;
}

.inquiry-intro,
.inquiry-note {
    width: min(720px, 100%);
    margin: 0 0 18px;
    color: #555;
    font-size: 15px;
    line-height: 1.55;
}

.inquiry-note {
    margin-top: 8px;
    color: #666;
}

.form-consent-line {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    width: min(720px, 100%);
    margin: 14px 0 8px;
    color: #444;
    font-size: 14px;
    line-height: 1.45;
}

.form-consent-line input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #ffc20e;
}

.settings-checks {
    display: grid;
    gap: 10px;
    margin: 22px 0 12px 200px;
    color: #333;
}

.settings-checks input {
    margin-right: 10px;
}

.danger-zone {
    margin: 34px 0 0 200px;
    padding: 18px;
    border: 1px solid #e8c8c8;
    background: #fff7f7;
}

.danger-zone h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.danger-zone button {
    background: #b72222;
}

@media (max-width: 980px) {
    .design-nav,
    .design-main,
    .design-promo-row,
    .design-offer {
        grid-template-columns: 1fr;
    }

    .design-top {
        height: auto;
    }

    .design-nav {
        height: auto;
        padding: 16px 0;
    }

    .design-menu,
    .design-account {
        flex-wrap: wrap;
    }

    .design-search,
    .listing-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-lightbox {
        padding: 16px 56px;
    }

    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        width: 40px;
        height: 56px;
    }

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

    .design-promo-add {
        justify-self: center;
        width: 100%;
        max-width: 225px;
    }

    .design-search label,
    .design-search button {
        min-height: 58px;
        border-right: 0;
        border-bottom: 4px solid #ffc20e;
    }

    .design-offer .price a,
    .design-offer .price small {
        margin-left: 0;
    }

    .design-offers-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .design-footer > div {
        flex-direction: column;
    }

    .design-form-card {
        min-height: 0;
    }

    .text-card {
        padding: 34px 22px 46px;
    }

    .text-card h1 {
        font-size: 28px;
    }

    .text-card p {
        font-size: 16px;
    }

    .text-card h2 {
        font-size: 21px;
    }

    .text-card ul {
        font-size: 16px;
    }

    .text-card ol {
        font-size: 16px;
    }

    .radio-line,
    .check-row,
    .form-hint,
    .design-submit,
    .panel-form h2,
    .lodging-form .form-section h2,
    .form-note,
    .form-consents,
    .checkbox-grid,
    .panel-form .design-submit,
    .inline-edit .design-submit,
    .account-summary,
    .account-actions,
    .settings-checks,
    .danger-zone {
        margin-left: 0;
    }

    .field-row,
    .password-row,
    .panel-form .field-row,
    .split-postcode {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .field-row span {
        text-align: left;
    }

    .password-row input {
        border-right: 2px solid #d7d7d7;
    }

    .panel-form {
        width: auto;
        margin-left: 0;
    }

    .lodging-form {
        width: auto;
    }

    .lodging-form .inline-fields,
    .lodging-form .inline-fields .field-row,
    .photo-preview-grid {
        grid-template-columns: 1fr;
    }

    .account-summary,
    .messages-layout,
    .account-listing,
    .admin-listing,
    .admin-users > div,
    .admin-filters {
        grid-template-columns: 1fr;
        width: auto;
    }

    .admin-filter-actions,
    .admin-view-size,
    .bulk-actions,
    .gallery-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .account-head,
    .account-toolbar,
    .account-listing nav {
        align-items: stretch;
        flex-direction: column;
    }

    .account-listing img {
        width: 100%;
        height: 170px;
    }
}

@media (max-width: 640px) {
    .design-body {
        overflow-x: hidden;
    }

    .design-wrap,
    .design-main,
    .design-search,
    .design-footer > p,
    .design-footer > div,
    .text-card {
        max-width: calc(100% - 24px);
    }

    .design-nav {
        gap: 14px;
    }

    .design-logo img {
        width: min(280px, 100%);
    }

    .design-menu,
    .design-account {
        gap: 10px 14px;
    }

    .design-menu a,
    .design-account a,
    .design-account span {
        font-size: 14px;
    }

    .design-account .register {
        padding: 11px 14px;
    }

    .design-search-band h1 {
        font-size: 21px;
    }

    .design-search input,
    .design-search select,
    .design-search button {
        font-size: 16px;
    }

    .design-main {
        margin-top: 14px;
    }

    .design-panel,
    .design-results,
    .design-detail,
    .account-primary,
    .admin-content .account-primary {
        padding-left: 16px;
        padding-right: 16px;
    }

    .design-offer {
        padding: 14px;
    }

    .results-context {
        padding: 12px 14px;
    }

    .results-context nav {
        gap: 6px;
    }

    .design-offer h3 {
        font-size: 20px;
    }

    .design-offer img,
    .offer-image span {
        width: 100%;
        height: 190px;
    }

    .design-offer .price strong {
        font-size: 22px;
    }

    .recommended-grid {
        grid-template-columns: 1fr;
    }

    .design-recommended article {
        min-height: 0;
    }

    .design-detail-grid {
        grid-template-columns: 1fr;
    }

    .design-detail-photo {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .share-link {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }

    .listing-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .design-detail-options {
        grid-template-columns: 1fr;
    }

    .design-footer nav {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .design-cookie {
        display: grid;
        gap: 8px;
        padding: 10px 14px;
        line-height: 1.35;
    }

    .design-cookie button {
        width: 100%;
        margin-left: 0;
    }
}
