/* Public marketplace: compact navigation, image-led browsing, explicit mobile page flow. */
:root {
    --ink: #152b3a;
    --muted: #647480;
    --line: #e3e9ed;
    --soft: #f5f7f9;
    --tint: #edf5f1;
}
body { background: #fff; }
h1, h2, h3 { text-wrap: pretty; }
.button { border-radius: 9px; min-height: 46px; padding: 11px 19px; font-size: 14px; font-weight: 650; }
.button.secondary { border-color: #dce4e8; }
.topline { background: #f5f8f9; color: #647480; font-size: 12px; }
.topline > .wrap { padding-block: 5px; }
.topline .wrap > span:first-child { color: #476459; }
.header-row { min-height: 82px; gap: 24px; }
.brand { font-size: 24px; letter-spacing: -1px; gap: 10px; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; transform: none; }
.brand-mark .icon { transform: none; width: 25px; height: 25px; }
.brand small { font-size: 8px; letter-spacing: 1.8px; margin-top: 6px; }
.header-actions { gap: 24px; }
.icon-link, .account-menu > summary { font-size: 14px; gap: 8px; }
.category-nav { background: #fff; }
.category-nav a { padding-block: 15px 13px; font-size: 14px; }
.development-banner { padding: 5px 16px; font-size: 12px; line-height: 1.5; background: #fff7df; border-color: #f0e4c0; }
.development-banner strong { font-size: 11px; letter-spacing: .5px; }

/* Homepage and category search. */
.page-browse { background: var(--soft); }
.page-home .category-nav { display: none; }
.search-band { padding: 28px 0 24px; background: #eef4f3; border-bottom: 1px solid #e0e9e6; }
.browse-heading { align-items: center; }
.browse-heading h1 { font-size: 32px; line-height: 1.22; letter-spacing: -1.1px; margin: 0 0 9px; }
.browse-heading .eyebrow { margin-bottom: 9px; font-size: 10px; letter-spacing: 1.5px; }
.browse-heading p { color: #61716d; font-size: 15px; margin: 0 0 21px; }
.free-label { color: var(--green); font-size: 13px; }
.main-search { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) auto; gap: 0; padding: 8px; border: 1px solid #d8e3df; border-radius: 13px; box-shadow: 0 5px 18px #173d2f05; background: white; }
.main-search > label { display: block; padding: 4px 17px; margin: 0; border-right: 1px solid var(--line); min-width: 0; }
.main-search > .search-place { border: 0; }
.search-field-label { display: block; color: #6e7c85; font-size: 12px; font-weight: 500; margin: 0 0 1px; }
.search-field-control { display: flex; align-items: center; gap: 9px; min-width: 0; }
.search-field-control > .icon { width: 19px; height: 19px; color: #82928c; }
.main-search label input:not([type=checkbox]):not([type=radio]):not([type=file]), .main-search label select { width: 100%; min-width: 0; margin: 0; padding: 6px 0; border: 0; border-radius: 0; min-height: 31px; box-shadow: none; font-size: 16px; background-color: transparent; }
.main-search label select { padding-right: 26px; background-position: right 3px center; }
.main-search label input:not([type=checkbox]):not([type=radio]):not([type=file]):focus, .main-search label select:focus { outline: 0; box-shadow: 0 2px 0 var(--green); }
.main-search input::placeholder { color: #7a8983; font-weight: 400; }
.main-search > button { align-self: stretch; min-width: 154px; border-radius: 9px; gap: 7px; }
.search-button-extra { margin-left: -5px; }
.home-categories { padding-top: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.5px; }
.section-heading > span, .section-heading > a { font-size: 13px; color: var(--muted); }
.section-heading > a { color: var(--green); font-weight: 600; }
.category-shortcuts { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.category-shortcuts > a { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 17px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.category-shortcuts > a:hover { border-color: #9bbcaf; background: #fafcfb; }
.category-symbol { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #edf4f1; color: var(--green); flex-shrink: 0; }
.category-symbol .icon { width: 24px; height: 24px; }
.category-shortcuts strong { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: -.1px; }
.marketplace { gap: 24px; grid-template-columns: 242px minmax(0,1fr); margin-block: 26px 48px; align-items: start; }
.home-marketplace { grid-template-columns: minmax(0,1fr); margin-top: 28px; }
.home-marketplace .filters { display: none; }
.home-marketplace.filters-visible { grid-template-columns: 242px minmax(0,1fr); }
.home-marketplace.filters-visible .filters { display: block; }
.filters { border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 20px; min-width: 0; }
.filter-head { margin-bottom: 21px; }
.filter-head h2 { font-size: 14px; font-weight: 650; gap: 7px; }
.filters > form label { margin-bottom: 17px; font-size: 14px; }
.filters fieldset { margin-block: 22px; }
.filters input, .filters select { border-radius: 7px; }
.filters .sidebar-safety { padding: 16px; margin-top: 22px; }
.results-heading { margin-bottom: 19px; align-items: center; }
.results-heading h2 { font-size: 26px; margin: 0 0 5px; letter-spacing: -.8px; }
.results-heading p { font-size: 13px; color: #73818a; }
.results-controls { gap: 10px; flex-wrap: nowrap; }
.results-controls .mobile-filter { min-height: 42px; padding: 9px 13px; font-size: 14px; }
.home-marketplace .mobile-filter { display: inline-flex; }
.sort-label select { width: 192px; min-height: 42px; padding-block: 8px; border-radius: 8px; font-size: 14px; }
.listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 18px; }
.home-marketplace:not(.filters-visible) .listing-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.listing-card { border: 1px solid #e0e7eb; border-radius: 13px; background: #fff; box-shadow: 0 3px 10px #142d4003; }
.listing-card:hover { border-color: #b5c9c1; }
.card-photo { aspect-ratio: 4/3; background: #edf1f3; overflow: hidden; }
.card-photo > img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 17px 17px 15px; }
.card-category { display: block; font-size: 12px; color: #73828c; line-height: 1.4; }
.card-body h3 { margin: 7px 0 11px; font-size: 17px; line-height: 1.4; font-weight: 650; letter-spacing: -.35px; overflow-wrap: anywhere; }
.card-price { font-size: 23px; line-height: 1.3; letter-spacing: -.5px; color: var(--navy); }
.card-price small { font-size: 12px; letter-spacing: 0; margin-left: 2px; color: #798791; }
.card-description { margin: 11px 0 14px; font-size: 14px; line-height: 1.55; color: #78848d; }
.card-meta { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; padding-top: 13px; font-size: 13px; border-color: #edf0f2; }
.card-meta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.card-meta .icon { width: 14px; height: 14px; margin-right: 4px; }
.card-meta time { font-size: 12px; color: #7b8790; }
.card-badges { top: 12px; left: 12px; }
.badge { font-size: 12px; font-weight: 600; border-radius: 6px; padding: 5px 9px; }
.badge.reduced { background: #fff8ed; color: #8b5b2d; border: 1px solid #e8d6bc; }
.save-button { width: 36px; height: 36px; right: 12px; top: 12px; background: #fffffff5; border: 1px solid #e7ece9; box-shadow: 0 2px 8px #142d4008; }
.save-button .icon { width: 19px; height: 19px; }
.save-search-bar { padding: 22px 24px; margin-top: 26px; border-radius: 12px; background: #eef4f2; border-color: #dde9e4; }
.save-search-bar strong { font-size: 15px; letter-spacing: -.2px; }
.save-search-bar small { font-size: 13px; color: #73847b; }
.pagination { margin: 30px 0; gap: 8px; }
.pagination a { min-width: 40px; min-height: 40px; border-radius: 8px; background: white; }
.trust-strip { background: #f7f9fa; }
.footer-grid { padding-top: 2px; }

/* Advert page: named areas prevent implicit columns at every breakpoint. */
.page-advert { background: #f5f7f9; }
.page-advert .advert-page { padding-top: 24px; padding-bottom: 48px; }
.page-advert .breadcrumbs { margin-bottom: 20px; font-size: 13px; gap: 10px; line-height: 1.5; }
.page-advert .breadcrumbs a:first-child { color: var(--green); font-weight: 600; }
.breadcrumb-current { min-width: 0; max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-advert .advert-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(310px,365px);
    grid-template-areas: "gallery summary" "details summary";
    align-items: start;
    gap: 24px;
    min-width: 0;
}
.page-advert .advert-layout > * { min-width: 0; max-width: 100%; }
.page-advert .gallery { grid-area: gallery; border: 1px solid #e0e7eb; background: #fff; border-radius: 16px; margin: 0; overflow: hidden; }
.gallery-stage { position: relative; min-width: 0; background: #eef1f3; }
.page-advert .gallery-track { min-width: 0; max-width: 100%; overscroll-behavior-x: contain; }
.page-advert .gallery-slide { min-width: 0; aspect-ratio: 3/2; max-height: 540px; background: #eef1f3; }
.page-advert .gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-tools { position: absolute; bottom: 15px; left: 15px; right: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; pointer-events: none; }
.gallery-count, .gallery-tools > button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #e6ebe8; background: #fffffff5; color: var(--ink); border-radius: 8px; min-height: 36px; padding: 7px 11px; font-size: 12px; font-weight: 550; pointer-events: auto; box-shadow: 0 2px 8px #142d4005; }
.gallery-tools .icon { width: 16px; height: 16px; }
.page-advert .gallery-thumbnails { padding: 13px 14px 0; gap: 10px; border: 0; background: #fff; }
.page-advert .gallery-thumbnails button { border-radius: 7px; border: 2px solid transparent; flex: 0 0 auto; background: var(--soft); }
.page-advert .gallery-thumbnails button:hover, .page-advert .gallery-thumbnails button:focus-visible { border-color: var(--green); }
.page-advert .gallery-thumbnails img { width: 86px; height: 62px; object-fit: cover; }
.gallery-hint { margin: 0; padding: 8px 16px 12px; font-size: 12px; color: #859099; }
.page-advert .advert-sidebar { grid-area: summary; min-width: 0; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 25px; }
.advert-category { display: inline-block; font-size: 13px; color: var(--green); background: #eff6f2; border: 1px solid #e2ece7; padding: 4px 9px; border-radius: 6px; }
.page-advert .advert-sidebar h1 { margin: 13px 0 18px; font-size: 25px; line-height: 1.35; letter-spacing: -.7px; font-weight: 700; overflow-wrap: anywhere; word-break: normal; }
.advert-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 13px; margin-top: 3px; }
.page-advert .advert-price { font-size: 34px; font-weight: 750; line-height: 1.2; letter-spacing: -1.2px; white-space: nowrap; }
.page-advert .advert-price small { font-size: 12px; font-weight: 500; color: #87919a; letter-spacing: 0; margin-left: 3px; }
.offer-label { padding: 4px 8px; border: 1px solid #e3e9ec; border-radius: 5px; color: #728079; font-size: 12px; }
.page-advert .reduced-price { font-size: 13px; color: #9a7046; margin: 9px 0 0; }
.advert-facts { margin-top: 19px; }
.page-advert .location-line { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 11px; font-size: 14px; line-height: 1.6; }
.page-advert .location-line .icon { width: 17px; height: 17px; margin-top: 3px; color: #7d8c96; }
.posted-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 13px; line-height: 1.5; color: #7c8993; margin: 0; }
.posted-line > .icon { width: 16px; height: 16px; }
.posted-line > span { margin-left: auto; font-size: 12px; color: #99a3ab; }
.advert-actions { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 10px; margin: 21px 0 0; }
.advert-actions > .button { min-width: 0; width: 100%; min-height: 43px; padding: 9px 12px; font-size: 14px; gap: 7px; }
.advert-actions .icon { width: 18px; height: 18px; }
.page-advert .seller-box { border: 0; border-radius: 0; padding: 23px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.page-advert .seller-box h2 { font-size: 16px; letter-spacing: -.3px; margin: 0 0 16px; }
.seller-box .seller-identity { min-width: 0; gap: 12px; margin: 0 0 18px; }
.seller-identity > div { min-width: 0; }
.page-advert .seller-identity strong { font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.page-advert .seller-identity small { font-size: 12px; line-height: 1.5; margin-top: 4px; }
.page-advert .seller-identity .avatar { width: 46px; height: 46px; flex-shrink: 0; background: #eaf2ef; font-size: 20px; }
.page-advert .seller-box .button { min-height: 47px; margin-top: 9px; font-size: 14px; }
.page-advert .seller-box .seller-other { display: block; margin: 17px 0 0; text-align: center; font-size: 13px; font-weight: 550; text-decoration: none; }
.page-advert .sidebar-safety { display: flex; align-items: flex-start; gap: 11px; margin-top: 24px; padding: 16px; border-radius: 10px; background: #f1f6f3; border: 1px solid #e7eee9; }
.page-advert .sidebar-safety > .icon { width: 21px; height: 21px; margin: 0; color: var(--green); }
.page-advert .sidebar-safety strong { font-size: 13px; line-height: 1.6; font-weight: 600; }
.page-advert .sidebar-safety p { font-size: 13px; line-height: 1.7; margin: 6px 0 9px; }
.page-advert .sidebar-safety a { font-size: 13px; }
.page-advert .report-details { font-size: 13px; text-align: center; margin: 18px 0 0; color: #7f8b93; text-decoration: none; }
.page-advert .report-details form, .page-advert .report-details p { text-align: left; color: var(--ink); padding-top: 12px; }
.page-advert .advert-layout > .advert-details { grid-area: details; display: block; min-width: 0; }
.page-advert .advert-details > .panel { border-radius: 14px; padding: 27px 29px; margin: 0 0 20px; }
.page-advert .advert-details h2 { font-size: 21px; letter-spacing: -.5px; margin-bottom: 19px; }
.page-advert .advert-description p { font-size: 16px; line-height: 1.8; margin: 0; color: #586a77; overflow-wrap: anywhere; }
.page-advert .spec-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 26px; }
.page-advert .spec-grid > div { min-width: 0; padding-bottom: 14px; border-color: #edf0f2; }
.page-advert .spec-grid dt { color: #84919a; font-size: 13px; }
.page-advert .spec-grid dd { font-size: 15px; font-weight: 550; margin-top: 6px; line-height: 1.5; overflow-wrap: anywhere; }
.similar-section { margin-top: 39px; }
.similar-section .eyebrow { font-size: 10px; margin-bottom: 7px; }
.page-advert .similar-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }

@media (max-width: 1150px) {
    .category-shortcuts { gap: 9px; }
    .category-shortcuts > a { flex-direction: column; justify-content: center; gap: 9px; padding: 14px 8px; text-align: center; }
    .category-shortcuts strong { font-size: 14px; }
    .main-search { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr) auto; }
    .main-search > label { padding-inline: 12px; }
    .main-search > button { min-width: 126px; padding-inline: 16px; }
    .search-button-extra { display: none; }
    .home-marketplace:not(.filters-visible) .listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .marketplace:not(.home-marketplace) .listing-grid, .home-marketplace.filters-visible .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .page-advert .advert-layout { grid-template-columns: minmax(0,1fr) minmax(285px,325px); gap: 20px; }
    .page-advert .advert-sidebar { padding: 21px; }
    .page-advert .advert-sidebar h1 { font-size: 23px; }
    .page-advert .similar-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 900px) {
    .page-advert .advert-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "gallery" "summary" "details"; gap: 20px; }
    .page-advert .advert-layout > .gallery, .page-advert .advert-layout > .advert-sidebar, .page-advert .advert-layout > .advert-details { width: 100%; min-width: 0; max-width: 100%; }
    .page-advert .gallery-slide { aspect-ratio: 4/3; max-height: 600px; }
    .page-advert .advert-sidebar { padding: 24px; }
    .page-advert .advert-sidebar h1 { font-size: 27px; max-width: 100%; }
    .page-advert .advert-price { font-size: 35px; }
    .page-advert .advert-details > .panel { padding: 25px; }
}
@media (max-width: 800px) {
    .wrap { width: calc(100% - 32px); }
    .topline { display: none; }
    .header-row { min-height: 67px; gap: 13px; padding-block: 14px 12px; }
    .brand { font-size: 22px; gap: 9px; }
    .brand small { display: none; }
    .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
    .brand-mark .icon { width: 23px; height: 23px; }
    .header-actions { gap: 17px; }
    .header-actions .icon-link .icon, .account-menu > summary .icon { width: 21px; height: 21px; }
    .mobile-post { margin-top: 1px; min-height: 43px; border-radius: 8px; font-size: 14px; }
    .category-nav > .wrap { width: 100%; padding-inline: 16px; gap: 24px; }
    .category-nav a { padding-block: 13px 11px; font-size: 14px; }
    .search-band { padding: 21px 0 19px; }
    .browse-heading h1 { font-size: 27px; line-height: 1.22; margin-bottom: 9px; max-width: 100%; }
    .browse-heading .eyebrow { display: none; }
    .browse-heading p { font-size: 14px; line-height: 1.7; margin-bottom: 17px; max-width: 100%; }
    .main-search { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 7px; gap: 0; border-radius: 11px; }
    .main-search > .search-keyword { grid-column: 1/-1; border: 0; border-bottom: 1px solid var(--line); margin: 0 0 7px; padding: 6px 10px 10px; }
    .main-search .search-category, .main-search .search-place { padding: 5px 10px; }
    .main-search label input:not([type=checkbox]):not([type=radio]):not([type=file]), .main-search label select { min-height: 36px; font-size: 16px !important; }
    .search-field-label { font-size: 12px; }
    .main-search > button { grid-column: 1/-1; min-height: 43px; margin-top: 7px; padding-block: 9px; }
    .page-home .main-search { grid-template-columns: minmax(0,1fr) auto; align-items: center; padding: 6px; }
    .page-home .main-search > .search-keyword { grid-column: auto; border: 0; padding: 3px 7px; margin: 0; }
    .page-home .main-search .search-field-label, .page-home .main-search > .search-category, .page-home .main-search > .search-place { display: none; }
    .page-home .main-search .search-field-control { gap: 7px; }
    .page-home .main-search > button { grid-column: auto; margin: 0; min-width: 82px; padding: 9px 12px; min-height: 43px; font-size: 14px; gap: 6px; }
    .page-home .main-search > button .icon { display: none; }
    .home-categories { padding-top: 21px; }
    .home-categories .section-heading { margin-bottom: 12px; }
    .home-categories h2 { font-size: 17px; }
    .home-categories .section-heading > span { display: none; }
    .category-shortcuts { display: flex; overflow-x: auto; gap: 9px; padding-bottom: 5px; scrollbar-width: none; overscroll-behavior-x: contain; }
    .category-shortcuts::-webkit-scrollbar { display: none; }
    .category-shortcuts > a { flex: 0 0 115px; min-height: 106px; padding: 12px 8px; border-radius: 11px; gap: 8px; }
    .category-symbol { width: 34px; height: 34px; border-radius: 9px; }
    .category-symbol .icon { width: 22px; height: 22px; }
    .category-shortcuts strong { font-size: 13px; line-height: 1.4; }
    .marketplace, .home-marketplace, .home-marketplace.filters-visible { grid-template-columns: minmax(0,1fr); margin-top: 22px; gap: 20px; }
    .filters { padding: 20px; }
    .filters.is-open { display: block; }
    .results-heading { flex-wrap: wrap; gap: 14px; margin-bottom: 17px; }
    .results-heading h2 { font-size: 23px; }
    .results-heading p { font-size: 13px; }
    .results-controls { width: 100%; justify-content: space-between; margin: 0; }
    .results-controls .mobile-filter { display: inline-flex; min-height: 42px; }
    .sort-label select { min-height: 42px; width: 194px; font-size: 16px !important; }
    .listing-grid, .home-marketplace:not(.filters-visible) .listing-grid, .home-marketplace.filters-visible .listing-grid, .marketplace:not(.home-marketplace) .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 15px; }
    .card-body { padding: 16px; }
    .card-body h3 { font-size: 17px; }
    .card-meta { gap: 8px; }
    .save-search-bar { padding: 20px; gap: 17px; }
    .section-heading h2 { font-size: 21px; }
    .section-heading > a { font-size: 13px; }
    .page-advert .advert-page { padding-top: 17px; }
    .page-advert .breadcrumbs { margin-bottom: 16px; font-size: 13px; }
    .breadcrumb-current { display: none; }
    .page-advert .gallery { border-radius: 13px; }
    .page-advert .advert-sidebar { border-radius: 13px; }
    .page-advert .advert-layout { gap: 18px; }
    .page-advert .similar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
    .page-browse .listing-grid, .home-marketplace:not(.filters-visible) .listing-grid, .home-marketplace.filters-visible .listing-grid, .marketplace:not(.home-marketplace) .listing-grid, .page-advert .similar-grid { grid-template-columns: minmax(0,1fr); gap: 19px; }
    .card-photo { aspect-ratio: 4/3; }
    .card-body { padding: 18px; }
    .card-body h3 { font-size: 19px; line-height: 1.4; margin-bottom: 12px; }
    .card-price { font-size: 25px; }
    .card-description { font-size: 14px; line-height: 1.6; }
    .card-meta time { font-size: 13px; }
    .save-button { width: 39px; height: 39px; }
    .save-button .icon { width: 20px; height: 20px; }
    .page-advert .advert-sidebar { padding: 21px 19px; }
    .page-advert .advert-sidebar h1 { font-size: 25px; line-height: 1.38; letter-spacing: -.65px; margin-top: 13px; margin-bottom: 17px; }
    .page-advert .advert-price { font-size: 34px; }
    .page-advert .advert-facts { margin-top: 20px; }
    .page-advert .location-line { font-size: 15px; }
    .posted-line { font-size: 13px; }
    .posted-line > span { font-size: 12px; }
    .page-advert .gallery-thumbnails { padding: 10px 10px 0; gap: 8px; }
    .page-advert .gallery-thumbnails img { width: 73px; height: 53px; }
    .gallery-hint { font-size: 12px; padding: 8px 12px 11px; line-height: 1.5; }
    .gallery-tools { bottom: 10px; left: 10px; right: 10px; }
    .gallery-count, .gallery-tools > button { font-size: 12px; padding: 6px 9px; min-height: 34px; border-radius: 7px; }
    .gallery-tools .icon { width: 15px; height: 15px; }
    .page-advert .advert-details > .panel { padding: 22px 19px; border-radius: 13px; margin-bottom: 18px; }
    .page-advert .advert-description p { font-size: 16px; line-height: 1.8; }
    .page-advert .advert-details h2 { font-size: 21px; }
    .page-advert .spec-grid { gap: 18px 20px; }
    .page-advert .spec-grid dd { font-size: 15px; }
    .similar-section { margin-top: 31px; }
}
@media (max-width: 360px) {
    .header-row { gap: 10px; }
    .brand { font-size: 19px; gap: 7px; }
    .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
    .header-actions { gap: 12px; }
    .header-actions .icon { width: 20px; height: 20px; }
    .page-home .main-search .search-field-control > .icon { display: none; }
    .sort-label select { width: 178px; }
    .page-advert .advert-sidebar h1 { font-size: 23px; }
    .page-advert .advert-sidebar { padding: 20px 16px; }
    .page-advert .advert-price { font-size: 31px; }
    .posted-line > span { width: 100%; margin: 0 0 0 23px; }
}

/* Four primary browse tiles, including a compact two-by-two grid on phones. */
.page-home .category-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; overflow:visible; padding:0; }
.page-home .category-shortcuts > a { aspect-ratio:1; min-height:0; flex-direction:column; justify-content:center; text-align:center; padding:20px 12px; gap:12px; }
.page-home .category-symbol { width:58px; height:58px; border-radius:15px; }
.page-home .category-symbol .icon { width:34px; height:34px; }
.page-home .category-shortcuts strong { font-size:19px; }
.category-description { font-size:13px; color:var(--muted); line-height:1.5; max-width:180px; }
.group-categories { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.group-categories > a { display:inline-flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:8px; padding:9px 14px; font-size:14px; background:#fff; }
.group-categories .icon { width:19px; height:19px; }
.page-advert .seller-contact .seller-box { margin:0; padding:0; border:0; }
.page-advert .seller-contact .seller-box h2 { font-size:21px; margin-bottom:20px; }
.page-advert .seller-contact .sidebar-safety { margin-top:22px; }
.page-advert .seller-contact .seller-identity { margin-bottom:18px; }
.page-advert .seller-contact .seller-box .whatsapp-button { background:#237a53; border-color:#237a53; color:white; }
.page-advert .seller-contact .seller-box .whatsapp-button:hover { background:#196342; }
.page-advert .gallery-thumbnails { padding-bottom:13px; }
.page-advert .gallery-thumbnails button[aria-current=true] { border-color:var(--green); }
@media(max-width:600px) {
 .page-home .category-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .page-home .category-shortcuts > a { padding:16px 10px; gap:9px; }
 .page-home .category-shortcuts strong { font-size:16px; line-height:1.35; }
 .page-home .category-symbol { width:43px; height:43px; border-radius:12px; }
 .page-home .category-symbol .icon { width:27px; height:27px; }
 .category-description { font-size:12px; }
}

.page-home .category-shortcuts > .all-ads-tile { grid-column:1/-1; aspect-ratio:auto; min-height:66px; flex-direction:row; gap:14px; padding:14px 20px; }
.page-home .all-ads-tile .category-symbol { width:36px; height:36px; border-radius:10px; }
.page-home .all-ads-tile .category-symbol .icon { width:22px; height:22px; }
.page-home .all-ads-tile .category-description { max-width:none; margin-left:auto; }
@media(max-width:600px){.page-home .all-ads-tile .category-description{display:none}.page-home .category-shortcuts > .all-ads-tile{min-height:58px;padding:12px 16px}}

/* Compact country-free search: keyword, category and submit. */
.main-search > .search-category {border-right:0}
@media(max-width:800px){
 .main-search {grid-template-columns:minmax(0,1fr) auto;gap:0}
 .main-search > .search-category {grid-column:1;border:0;padding:5px 10px}
 .main-search > button {grid-column:2;min-width:82px;margin:0;align-self:stretch;padding:9px 12px}
 .page-home .main-search {gap:0}
 .page-home .main-search > .search-keyword {grid-column:1;border:0;padding:3px 7px;margin:0}
 .page-home .main-search > button {grid-column:2}
}

/* Recognisable contact controls and saved state. */
[data-save].is-saved {color:#d52c48!important;border-color:#f2c7cf;background:#fff1f4}
[data-save].is-saved svg {fill:#d52c48;stroke:#d52c48}
.card-category {display:inline-flex;align-items:center;gap:6px}
.card-category .icon {width:15px;height:15px;flex-shrink:0}
.contact-action {display:flex;align-items:center;justify-content:flex-start;gap:13px;min-height:68px;padding:14px 18px;text-align:left;white-space:normal}
.contact-action > .icon {width:26px;height:26px;flex:0 0 26px}
.contact-action > span:not(.contact-action-label) {min-width:0;flex:1;line-height:1.4}
.contact-action small {display:block;font-weight:400;font-size:12px;line-height:1.5;margin-top:3px;opacity:.85}
.phone-reveal {background:#edf5f1;color:#174f3e;border:1px solid #a9c9b9}
.phone-reveal:hover {background:#e0eee6;color:#174f3e}
.phone-reveal strong {font-size:19px;font-weight:700;letter-spacing:.3px;overflow-wrap:anywhere}
.contact-action-label {font-size:12px;font-weight:650;border:1px solid currentColor;border-radius:6px;padding:5px 9px;flex-shrink:0}
.contact-card .contact-action {margin-top:10px}
.admin-editor details {margin-block:18px}
@media(max-width:540px){.contact-action {padding:13px 14px;gap:10px}.contact-action-label {padding:5px 7px}.phone-reveal strong {font-size:18px}}

.seller-box .contact-action small {color:inherit}

.page-advert .advert-vehicle-details {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;padding:18px 0;margin:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.advert-vehicle-details > div {min-width:0}
.advert-vehicle-details dt {font-size:12px;color:var(--muted);line-height:1.5}
.advert-vehicle-details dd {font-size:15px;font-weight:600;line-height:1.5;margin:3px 0 0;overflow-wrap:anywhere}

/* Photography on home categories; category navigation and labels remain text-only. */
.page-home .category-shortcuts > .category-tile {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;justify-items:stretch;aspect-ratio:1;padding:0;gap:0;overflow:hidden;border-radius:12px;text-align:left;align-items:stretch;transition:border-color .18s,box-shadow .18s}
.page-home .category-shortcuts > .category-tile:hover {background:#fff;border-color:#92a69d;box-shadow:0 5px 18px #172d3c0c}
.category-photo {display:block;width:100%;min-width:0;min-height:0;overflow:hidden;background:#e9eeeb}
.category-photo img {display:block;width:100%;max-width:none;height:100%;object-fit:cover;object-position:center 50%;transition:transform .25s}
.category-caption {display:block;padding:15px 17px 17px;min-width:0;background:#fff}
.page-home .category-caption strong {display:block;font-size:18px;line-height:1.3;margin:0;color:var(--ink)}
.page-home .category-caption .category-description {display:block;font-size:13px;line-height:1.4;margin-top:6px;color:var(--muted)}
.page-home .category-shortcuts > .category-tile-text {display:flex;justify-content:center}
.page-home .category-shortcuts > .all-ads-tile {justify-content:space-between;text-align:left}
.category-nav .icon,.group-categories .icon,.card-category .icon {display:none}
@media(max-width:600px){
 .page-home .category-shortcuts {gap:12px}
 .category-caption {padding:11px 12px 12px}
 .page-home .category-caption strong {font-size:15px;line-height:1.3}
 .page-home .category-caption .category-description {display:none}
 .page-home .category-shortcuts > .category-tile {aspect-ratio:1}
 .page-home .category-shortcuts > .all-ads-tile {justify-content:center}
}
@media(prefers-reduced-motion:reduce){.category-photo img,.page-home .category-shortcuts > .category-tile {transition:none}}

/* Full square photographs show the supplied composition without zoomed-in crops. */
.page-home .category-shortcuts > .category-tile {aspect-ratio:auto;grid-template-rows:auto auto}
.page-home .category-photo {aspect-ratio:1}
.page-home .category-photo img {aspect-ratio:1;height:auto;object-fit:contain;object-position:center}
@media(min-width:801px){.page-home .category-shortcuts {grid-template-columns:repeat(3,minmax(0,1fr))}.page-home .category-caption strong {font-size:16px}.page-home .category-caption {min-height:64px;display:flex;align-items:center;padding:12px 14px}}
@media(min-width:1201px){.page-home .category-shortcuts {grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:600px){.category-tile[href="/watches"] .category-caption strong {font-size:14px}}

/* A simple bundled icon for the Other Items home card. */
.page-home .category-icon-art {display:grid;place-items:center;width:100%;min-width:0;aspect-ratio:1;background:#eef2ef;color:#416557}
.page-home .category-icon-art .icon {display:block;width:64px;height:64px;stroke-width:1.3}
@media(max-width:600px){.page-home .category-icon-art .icon {width:52px;height:52px}}
