:root {
    --ink: #121417;
    --ink-soft: #2d333a;
    --muted: #68717d;
    --line: #d9dee5;
    --line-soft: #e8edf2;
    --panel: #ffffff;
    --soft: #f3f6f8;
    --dark: #202326;
    --red: #d91f26;
    --green: #1e9b4b;
    --gold: #d39b2a;
    --shadow: 0 16px 40px rgba(18, 20, 23, .08);
    --shadow-soft: 0 10px 26px rgba(18, 20, 23, .07);
    --product-card-min-width: 230px;
    --product-card-max-width: 300px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #f6f8fa;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(20px, auto) auto;
    gap: 18px;
    align-items: center;
    padding: 9px clamp(16px, 4vw, 56px);
    border-bottom: 1px solid rgba(217, 222, 229, .78);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 26px rgba(18, 20, 23, .045);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-logo {
    width: 176px;
    height: auto;
    display: block;
    flex: 0 0 auto;
}

.brand-text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 13px;
    max-width: 360px;
    line-height: 1.25;
}

.brand-hours {
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

.nav a:hover {
    color: var(--red);
}

.contact {
    display: grid;
    justify-items: end;
    gap: 2px;
    font-weight: 700;
}

.contact span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.header-spacer {
    min-width: 20px;
}

.header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}

.call-cta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: 210px;
    padding: 7px 12px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.call-cta:hover {
    border-color: rgba(217, 31, 38, .45);
    box-shadow: 0 12px 30px rgba(18, 20, 23, .09);
    transform: translateY(-1px);
}

.call-cta span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 15px;
    line-height: 1;
}

.call-cta strong {
    font-size: 17px;
    line-height: 1.05;
    white-space: nowrap;
    color: var(--ink);
    border-bottom: 0;
}

.call-cta-secondary {
    min-width: 190px;
    box-shadow: none;
}

.call-cta-secondary span {
    background: #2d333a;
}

.call-cta-secondary strong {
    font-size: 15px;
}

.review-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.review-link:hover {
    border-color: rgba(211, 155, 42, .55);
    color: var(--ink);
}

.review-link span {
    color: var(--gold);
    font-size: 15px;
    line-height: 1;
}

.route-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.route-cta:hover {
    border-color: rgba(217, 31, 38, .45);
}

.route-cta span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    line-height: 1;
}

.contact-pills {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    transition: transform .18s ease, filter .18s ease;
}

.contact-pill img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 999px;
}

.contact-pill.viber img {
    width: 32px;
    height: 32px;
}

.contact-pill:hover {
    transform: translateY(-1px);
    filter: saturate(1.1);
}

.contact-pills-footer {
    margin: 2px 0 4px;
}

.hero {
    min-height: 410px;
    display: grid;
    align-items: center;
    position: relative;
    padding: 30px clamp(16px, 4vw, 56px);
    overflow: hidden;
    background: #151719;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(18, 20, 23, .9), rgba(18, 20, 23, .58)),
        linear-gradient(0deg, rgba(18, 20, 23, .18), rgba(18, 20, 23, .18));
}

.hero-bg {
    position: absolute;
    inset: -14px;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-position: center;
    background-size: cover;
    filter: blur(6px) saturate(.92) contrast(1.04);
    transform: scale(1.04);
    transition: opacity 1200ms ease;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(360px, .95fr) minmax(520px, 1.05fr);
    gap: clamp(22px, 4vw, 56px);
    width: min(1440px, 100%);
    margin: 0 auto;
    align-items: center;
}

.hero-copy {
    color: #fff;
    max-width: 940px;
    padding-bottom: 0;
}

.eyebrow {
    margin: 0 0 14px;
    color: #f7c86e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-text {
    max-width: 620px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.5;
}

.quick-search {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .20);
    padding: 16px;
    width: 100%;
    backdrop-filter: blur(12px);
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quick-search .suggest-field,
.toolbar .suggest-field {
    grid-column: 1 / -1;
}

.quick-search .suggest-field {
    grid-column: 1 / -1;
}

.field {
    display: grid;
    gap: 6px;
}

.suggest-field {
    position: relative;
}

.suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 35;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.suggestions.open {
    display: grid;
}

.suggestion-item,
.suggestion-more,
.suggestion-empty {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    text-align: left;
    padding: 10px 12px;
}

.suggestion-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
}

.suggestion-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.suggestion-item small {
    grid-column: 1 / -1;
    color: var(--muted);
}

.suggestion-item b {
    grid-row: 1;
    grid-column: 2;
    white-space: nowrap;
}

.suggestion-item:hover,
.suggestion-more:hover {
    background: #f7f8fa;
}

.suggestion-more {
    border-bottom: 0;
    color: var(--red);
    font-weight: 800;
    text-align: center;
}

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

.field.full {
    grid-column: 1 / -1;
}

.field label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    padding: 9px 11px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-color: rgba(217, 31, 38, .5);
    box-shadow: 0 0 0 3px rgba(217, 31, 38, .1);
}

.field textarea {
    min-height: 110px;
    resize: vertical;
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    padding: 0 16px;
    font-weight: 800;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn.secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line-soft);
}

.btn.red {
    border-color: var(--red);
    background: var(--red);
    box-shadow: 0 10px 24px rgba(217, 31, 38, .18);
}

.btn.green {
    border-color: var(--green);
    background: var(--green);
}

.pay-btn {
    border-color: var(--green);
    background: var(--green);
    box-shadow: 0 10px 24px rgba(30, 155, 75, .18);
}

.section {
    padding: 34px clamp(16px, 4vw, 56px);
}

.section-inner {
    width: 100%;
    margin: 0 auto;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 22px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.toolbar {
    display: grid;
    grid-template-columns: minmax(320px, 2fr) repeat(4, minmax(120px, 1fr)) minmax(190px, 1.15fr) minmax(150px, auto);
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(18, 20, 23, .04);
}

.toolbar .suggest-field {
    grid-column: auto;
}

.toolbar-reset {
    align-self: end;
    white-space: nowrap;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: clamp(240px, 20vw, 320px) minmax(0, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.filters {
    align-self: start;
    display: grid;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
}

.filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.filter-reset-row {
    display: flex;
    justify-content: flex-end;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    padding: 7px 10px;
    font-size: 13px;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.chip:hover {
    border-color: rgba(217, 31, 38, .32);
}

.chip.active {
    border-color: var(--red);
    background: #fff2f2;
    color: var(--red);
}

.chip.reset {
    color: var(--red);
    border-color: #f0c9cb;
    background: #fff;
    font-size: 12px;
    padding: 6px 9px;
}

.buyer-aside {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #f0d9db;
    border-radius: 8px;
    background: #fffafa;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.buyer-aside strong {
    color: var(--ink);
    font-size: 14px;
}

.results-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    min-height: 40px;
    color: var(--muted);
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--product-card-min-width), 1fr));
    gap: 16px;
    justify-content: start;
}

.card {
    display: grid;
    grid-template-rows: 188px 1fr;
    width: 100%;
    max-width: var(--product-card-max-width);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(18, 20, 23, .035);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card.clickable {
    cursor: pointer;
}

.card.clickable:focus-visible {
    outline: 3px solid rgba(217, 31, 38, .28);
    outline-offset: 3px;
}

.card.clickable:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 20, 23, .18);
    box-shadow: 0 18px 38px rgba(18, 20, 23, .11);
}

.card-image {
    position: relative;
    background: var(--soft);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .32s ease, filter .32s ease;
}

.card.clickable:hover .card-image img {
    transform: scale(1.035);
    filter: saturate(1.03);
}

.no-photo {
    width: 100%;
    height: 100%;
    min-height: 160px;
    display: grid;
    place-items: center;
    background: repeating-linear-gradient(135deg, #eef1f5, #eef1f5 10px, #e5e9ef 10px, #e5e9ef 20px);
    color: var(--muted);
    font-weight: 800;
}

.no-photo span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .82);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: calc(100% - 58px);
    border-radius: 999px;
    background: rgba(18, 20, 23, .78);
    color: #fff;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.image-open-page {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    background: rgba(18, 20, 23, .72);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(18, 20, 23, .18);
    backdrop-filter: blur(8px);
}

.image-open-page:hover {
    background: var(--red);
}

.open-page-icon {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-body {
    display: grid;
    grid-template-rows: 42px 34px auto;
    align-content: start;
    gap: 9px;
    padding: 14px;
}

.card h3 {
    margin: 0;
    height: 42px;
    font-size: 16px;
    line-height: 1.28;
    font-weight: 750;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.title-sku {
    color: var(--muted);
    font-size: .88em;
    font-weight: 400;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    align-content: flex-start;
    height: 34px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.28;
}

.price {
    font-size: 21px;
    font-weight: 850;
    color: var(--ink-soft);
}

.card-price-row,
.modal-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-price-row {
    margin-bottom: 8px;
}

.card-price-row {
    justify-content: space-between;
    text-align: center;
    align-self: start;
    min-height: 28px;
    margin-top: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border: 1px solid rgba(30, 155, 75, .28);
    border-radius: 999px;
    background: #ecfff4;
    color: var(--green);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.card-price-row .status-pill {
    min-height: 22px;
    padding: 3px 7px;
    font-size: 10px;
}

.card-price-row .status-pill::before {
    width: 6px;
    height: 6px;
    margin-right: 5px;
}

.status-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(30, 155, 75, .14);
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 8px;
}

.card-actions.single {
    grid-template-columns: 1fr;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
}

.open-page-btn {
    font-size: 18px;
    text-decoration: none;
}

.modal-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.info-band {
    background: #fff;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    gap: 18px;
    justify-content: center;
}

.info-item {
    padding: 14px 0 0;
    border-top: 1px solid rgba(217, 31, 38, .28);
}

.info-item h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.25;
}

.info-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.48;
}

.info-band .section-head {
    margin-bottom: 14px;
}

.info-band .section-head h2 {
    font-size: clamp(24px, 2.8vw, 34px);
}

.info-payments {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: center;
}

.legal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.legal-box {
    display: grid;
    gap: 10px;
    color: var(--muted);
    line-height: 1.5;
}

.payments {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.pay-banner {
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
    display: block;
}

.payments.compact {
    max-width: 360px;
    margin-top: 8px;
}

.payments.compact .pay-banner {
    width: 100%;
    max-width: 330px;
}

.footer {
    padding: 20px clamp(16px, 4vw, 56px);
    background: #181b1f;
    color: #fff;
}

.footer-inner {
    width: min(1440px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr .8fr 1fr 1fr;
    gap: 22px;
    align-items: start;
    color: rgba(255, 255, 255, .76);
}

.footer-col {
    display: grid;
    gap: 6px;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    line-height: 1.38;
}

.footer-col strong {
    color: #fff;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.footer-logo {
    width: 150px;
    height: auto;
    display: block;
    padding: 4px 7px;
    border-radius: 6px;
    background: #fff;
}

.footer-col a:hover {
    color: #fff;
}

.info-page {
    background: #f3f6f8;
}

.info-doc {
    width: min(920px, calc(100% - 32px));
    margin: 32px auto;
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.info-doc-logo {
    display: inline-flex;
    margin-bottom: 22px;
}

.info-doc-logo img {
    width: 190px;
    height: auto;
}

.info-doc h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
}

.info-doc-meta {
    display: grid;
    gap: 5px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.info-doc-body {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
    color: #2d333a;
    line-height: 1.62;
}

.info-doc-body p {
    margin: 0;
}


.modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(18, 20, 23, .62);
}

.modal-panel {
    width: min(960px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border-radius: 8px;
    background: #fff;
}

.map-panel {
    width: min(1040px, 100%);
}

.modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 16px;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.modal-actions .pay-btn {
    margin-left: auto;
}

.payment-notice {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.35;
}

.payment-notice strong {
    font-size: 15px;
}

.payment-notice span,
.payment-notice small {
    color: var(--muted);
}

.payment-notice.success {
    border: 1px solid rgba(30, 155, 75, .28);
    background: #f0fff6;
}

.payment-notice.success strong {
    color: var(--green);
}

.payment-notice.error {
    border: 1px solid rgba(217, 31, 38, .22);
    background: #fff5f5;
}

.payment-notice.error strong {
    color: var(--red);
}

.map-frame-wrap {
    padding: 14px 14px 0;
}

.map-frame-wrap iframe {
    display: block;
    width: 100%;
    height: min(66vh, 560px);
    min-height: 360px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.map-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: var(--muted);
    font-size: 14px;
}

.gallery {
    display: grid;
    gap: 10px;
}

.gallery-main {
    aspect-ratio: 4 / 3;
    width: 100%;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
    padding: 0;
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-main {
    cursor: default;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    gap: 8px;
}

.thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: var(--soft);
    padding: 0;
}

.thumb.active {
    border-color: var(--red);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.full-photo {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 64px 18px 18px;
    background: rgba(18, 20, 23, .92);
}

.full-photo-head {
    position: absolute;
    top: 14px;
    right: 14px;
}

.full-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

.details-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.detail {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.detail-status {
    border-color: rgba(30, 155, 75, .24);
    background: #f5fff9;
}

.detail-status .status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 24px;
    align-self: flex-start;
    margin-top: 2px;
    padding: 4px 10px;
    color: var(--green);
    font-size: 12px;
    line-height: 1;
}

.detail span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 3px;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background: #eef1f5;
}

.admin-side {
    padding: 24px;
    background: #151719;
    color: #fff;
}

.admin-main {
    padding: 24px;
}

.admin-panel {
    display: grid;
    gap: 16px;
    max-width: 1040px;
}

.admin-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 16px;
}

.admin-card h2 {
    margin: 0 0 14px;
}

.admin-settings-card h2 {
    font-size: 20px;
}

.admin-actions-card {
    position: sticky;
    bottom: 14px;
    display: flex;
    justify-content: flex-end;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 28px rgba(18, 20, 23, .12);
    z-index: 4;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}

.admin-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
}

.content-editor {
    display: grid;
    gap: 12px;
}

.notice {
    padding: 12px;
    border-radius: 6px;
    background: #fff6df;
    color: #6d4b00;
}

.empty {
    display: grid;
    place-items: center;
    min-height: 240px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
    padding: 24px;
}

@media (max-width: 980px) {
    .topbar,
    .hero-inner,
    .catalog-layout,
    .legal,
    .modal-body,
    .admin-shell,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .contact {
        justify-items: start;
    }

    .brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .header-actions {
        justify-content: center;
        justify-self: center;
        width: 100%;
    }

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

    .toolbar .suggest-field {
        grid-column: 1 / -1;
    }

    .info-grid,
    .admin-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .buyer-aside {
        display: none;
    }
}

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

@media (max-width: 640px) {
    .topbar {
        position: static;
        gap: 12px;
    }

    .nav {
        order: 3;
        flex-wrap: wrap;
    }

    .header-spacer {
        display: none;
    }

    .call-cta {
        justify-content: center;
        width: 100%;
        min-width: 0;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        justify-items: center;
    }

    .contact-pills-header {
        justify-content: center;
    }

    .contact-pills-header .contact-pill {
        flex: 0 0 42px;
    }

    .review-link {
        justify-content: center;
    }

    .route-cta {
        justify-content: center;
    }

    .map-footer {
        display: grid;
    }

    .hero {
        min-height: auto;
        padding-top: 28px;
    }

    .hero-inner {
        gap: 22px;
    }

    .search-grid,
    .toolbar,
    .info-grid,
    .admin-grid,
    .details-list {
        grid-template-columns: 1fr;
    }

    .toolbar .suggest-field {
        grid-column: auto;
    }

    .card {
        grid-template-rows: 220px 1fr;
    }

    .footer-inner,
    .section-head {
        display: grid;
    }

    .brand-logo {
        width: 154px;
    }

    .brand-subtitle {
        display: none;
    }
}
