/* ==========================================================================
   Click & Sale — public pages (listing, ad page, seller, post-ad, auth, info pages)
   Loads after style.css; dashboard-pages.css provides shared form/menu/chip bits.
   ========================================================================== */

:root {
    --d-ink: #15324a;
    --d-ink-2: #1f3346;
    --d-muted: #5b6b7a;
    --d-line: #e6edf2;
    --d-line-soft: #edf1f4;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon-solid-check > :first-child { fill: currentColor; }
.icon-solid-check > :last-child { stroke: #fff; }
.muted { color: var(--d-muted); }
.no-scroll { overflow: hidden; }
.btn { font-family: var(--font-bn); }
.btn .icon { font-size: 17px; }
.btn--lg { height: 48px; font-size: 16px; }
.btn--sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn--soft { background: #e6f5f0; color: #0a6e56; }
.btn--soft:hover { background: #d6efe5; }
.btn--ghost { background: #f1f5f8; color: var(--d-ink-2); }
.btn--ghost:hover { background: #e6edf2; }
.btn--danger { border: 1.5px solid #f2b8c2; background: #fff; color: #d6334e; }
.btn--danger:hover { background: #fdecef; }
.btn:disabled { cursor: not-allowed; opacity: .6; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: #f3f6f9; color: #2f4558; cursor: pointer; transition: background-color .15s, color .15s; }
.icon-btn:hover { background: #e6f5f0; color: var(--green); }
.icon-btn .icon { font-size: 17px; }
.icon-btn--lg { width: 40px; height: 40px; border-radius: 50%; }
.field__error { display: block; margin-top: 4px; color: #d6334e; font-family: var(--font-bn); font-size: 13px; }
.field__label a { font-weight: 500; color: var(--green); }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--green); }
.check a { color: var(--green); }
.select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b7a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; font-family: var(--font-bn); cursor: pointer; }
.select:disabled { background-color: #f5f7f9; }
.tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 8px; background: #e6f5f0; color: #0a6e56; font-family: var(--font-bn); font-size: 12px; font-weight: 600; }

/* Header extras ---------------------------------------------------------- */
.header__burger { display: none; place-items: center; width: 40px; height: 40px; margin-right: 6px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.header__burger .icon { font-size: 22px; }
.nav-count { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ef3b3b; color: #fff; font-size: 10.5px; font-weight: 700; }
.user-menu__toggle { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px 0 4px; border: 1px solid var(--d-line); border-radius: 22px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.user-menu__toggle:hover { border-color: #cfe3da; }
.user-menu__name { max-width: 110px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--font-bn); }
.user-menu .menu__panel { min-width: 230px; }
.user-menu__head { padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--d-line-soft); }
.user-menu__head strong { display: block; font-family: var(--font-bn); font-size: 15px; color: var(--d-ink); }
.user-menu__head span { font-size: 12.5px; color: var(--d-muted); }
.menu__panel form { margin: 0; }
.avatar--sm { width: 34px; height: 34px; }
.avatar--sm .avatar__initial { font-size: 15px; }
.avatar--lg { width: 56px; height: 56px; }
.avatar--lg .avatar__initial { font-size: 22px; }
.avatar--xl, .avatar--hero { width: 96px; height: 96px; }
.avatar--xl .avatar__initial, .avatar--hero .avatar__initial { font-size: 38px; }

/* Drawer (mobile menu + listing filters on small screens) */
.drawer[hidden] { display: none !important; }
.drawer__scrim { position: fixed; inset: 0; z-index: 90; background: rgba(14, 27, 44, .4); opacity: 0; transition: opacity .25s; }
.drawer__panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 91;
    width: min(320px, 86vw);
    padding: 16px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 12px 0 40px rgba(14, 27, 44, .18);
    transform: translateX(-100%);
    transition: transform .25s ease;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__head .logo__img { height: 38px; }
.drawer__user { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #f2f9f6; }
.drawer__user strong { display: block; font-family: var(--font-bn); font-size: 15px; color: var(--d-ink); }
.drawer__user small { font-family: var(--font-bn); font-size: 13px; color: var(--green); }
.drawer__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer__links { display: grid; gap: 2px; margin-top: 12px; }
.drawer__links a, .drawer__cats a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 15px; }
.drawer__links a:hover, .drawer__cats a:hover { background: #f4f8f7; color: var(--green); }
.drawer__links .icon { font-size: 19px; color: var(--d-muted); }
.drawer__label { margin: 14px 10px 4px; color: var(--d-muted); font-family: var(--font-bn); font-size: 13px; font-weight: 600; }
.drawer__cats small { margin-left: auto; color: var(--d-muted); font-size: 12px; }
.drawer__cat-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--bg); color: var(--fg); }
.drawer__cat-icon .icon { font-size: 17px; }
.drawer__logout { margin-top: 14px; }

/* Shared page bits ------------------------------------------------------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 18px 0 14px; color: var(--d-muted); font-family: var(--font-bn); font-size: 13.5px; }
.crumbs a { color: var(--d-muted); }
.crumbs a:hover { color: var(--green); }
.crumbs span { color: var(--d-ink-2); }
.crumbs .icon { font-size: 13px; }
.crumbs--light, .crumbs--light a, .crumbs--light span { padding-top: 0; color: rgba(255, 255, 255, .85); }
.page-pad { padding-bottom: 48px; }
.page-title h1 { font-family: var(--font-bn); font-size: 26px; font-weight: 700; color: var(--d-ink); }
.page-title p { margin-top: 4px; font-family: var(--font-bn); font-size: 15px; color: var(--d-muted); }

.notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; padding: 12px 16px; border-radius: 10px; font-family: var(--font-bn); font-size: 14.5px; }
.notice .icon { flex-shrink: 0; margin-top: 2px; font-size: 18px; }
.notice ul { margin: 4px 0 0 18px; list-style: disc; }
.notice--info { background: #e8f0fd; color: #24529c; }
.notice--warn { background: #fef3dc; color: #8a5300; }
.notice--error { background: #fdecef; color: #b4253d; }

.owner-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; padding: 10px 12px 10px 16px; border: 1px solid #cfe9df; border-radius: 10px; background: #f2faf7; color: #0a5e4c; font-family: var(--font-bn); font-size: 14px; }
.owner-bar > span { display: flex; align-items: center; gap: 8px; }
.owner-bar > div { display: flex; gap: 8px; }

/* Ad cards: extra states */
.ad__media { position: relative; display: block; overflow: hidden; background: #f3f6f8; }
.ad__media img { transition: transform .3s; }
.ad:hover .ad__media img { transform: scale(1.03); }
.ad-ph { display: grid; place-items: center; align-content: center; gap: 8px; width: 100%; aspect-ratio: 166 / 106; background: var(--bg, #eef3f6); color: var(--fg, #8a96a3); }
.ad-ph .icon { font-size: 40px; opacity: .8; }
.ad-ph small { font-family: var(--font-bn); font-size: 13px; }
.ad-ph--lg { aspect-ratio: auto; height: 100%; }
.ad-ph--lg .icon { font-size: 72px; }
.ad__flag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f5a524;
    color: #fff;
    font-family: var(--font-bn);
    font-size: 12px;
    font-weight: 600;
}
.ad__flag .icon { font-size: 12px; }
.ad__flag--urgent { background: #e5484d; }
.ad--featured { border-color: #f6d9a6; }
.ad__old-price { margin-left: 6px; color: #9aa6b1; font-size: 13px; font-weight: 500; }
.badge--cat { background: var(--bg); color: var(--fg); }
.ad__save { z-index: 1; }
.ad__save.is-saved { color: #e5484d; }
.ad__save.is-saved .icon { fill: currentColor; }
.ads--4 { grid-template-columns: repeat(4, 1fr); }

/* Pagination (site) */
.pager--site { justify-content: center; margin-top: 24px; }
.pager--site .pager__btn { width: 38px; height: 38px; text-decoration: none; }
.pager__gap { border-color: transparent; background: none; }

/* Listing ---------------------------------------------------------------- */
.listing { padding-bottom: 48px; }
.list-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px;
    border: 1px solid var(--d-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(16, 40, 60, .04);
}
.list-search__q { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; height: 44px; padding: 0 10px; }
.list-search__q .icon { font-size: 18px; color: var(--d-muted); }
.list-search__q input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--font-bn); font-size: 15px; }
.list-search .dd__toggle { height: 44px; min-width: 180px; border-color: transparent; border-left: 1px solid var(--d-line); border-radius: 0; }
.list-search .btn { height: 44px; }

.listing__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.drawer--filters { display: contents; }
.drawer--filters .drawer__scrim { display: none; }
.drawer--filters .filters { position: sticky; top: 100px; bottom: auto; left: auto; z-index: auto; display: grid; gap: 4px; width: auto; padding: 6px 0; overflow: visible; border: 1px solid var(--d-line); border-radius: 12px; background: #fff; box-shadow: none; transform: none; }
.filters__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--d-line-soft); }
.filters__head h2 { flex: 1; font-family: var(--font-bn); font-size: 17px; font-weight: 700; color: var(--d-ink); }
.filters__reset { color: #d6334e; font-family: var(--font-bn); font-size: 13.5px; font-weight: 600; }
.filters__close { display: none; }
.filters__block { padding: 12px 16px; border-bottom: 1px solid var(--d-line-soft); }
.filters__block:last-child { border-bottom: 0; }
.filters__block h3 { margin-bottom: 8px; color: var(--d-ink); font-family: var(--font-bn); font-size: 15px; font-weight: 700; }
.filters__list { display: grid; gap: 1px; max-height: 360px; overflow-y: auto; scrollbar-width: thin; }
.filters__list a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14.5px; }
.filters__list a > span:last-child:not(.filters__icon) { margin-left: auto; color: #8a96a3; font-family: var(--font); font-size: 12px; }
.filters__list a:hover { background: #f4f8f7; color: var(--green); }
.filters__list a.is-active { background: #e6f5f0; color: #0a6e56; font-weight: 600; }
.filters__sub { margin: 2px 0 4px 14px; padding-left: 8px; border-left: 2px solid var(--d-line-soft); }
.filters__sub a { font-size: 14px; }
.filters__back { color: var(--green) !important; font-weight: 600; }
.filters__back .icon { font-size: 15px; }
.filters__icon { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--bg); color: var(--fg); }
.filters__icon .icon { font-size: 15px; }
.filters__price { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.filters__price .input { height: 40px; padding: 0 10px; font-size: 14px; }
.filters__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.results__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.results__head h1 { font-family: var(--font-bn); font-size: 22px; font-weight: 700; color: var(--d-ink); }
.results__head p { margin-top: 2px; color: var(--d-muted); font-family: var(--font-bn); font-size: 14px; }
.results__head strong { font-family: var(--font); color: var(--d-ink); }
.results__tools { display: flex; align-items: center; gap: 10px; }
.results__filter-btn { display: none; }
.view-toggle { display: inline-flex; padding: 3px; border-radius: 9px; background: #eef2f5; }
.view-toggle button { display: grid; place-items: center; width: 34px; height: 32px; border: 0; border-radius: 7px; background: none; color: var(--d-muted); cursor: pointer; }
.view-toggle button.is-active { background: #fff; color: var(--green); box-shadow: 0 1px 3px rgba(14, 27, 44, .12); }
.view-toggle .icon { font-size: 17px; }
.results__list { display: grid; gap: 12px; }
.results__grid.ads { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: 0; }

.ad-row {
    position: relative;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
    padding: 12px;
    border: 1px solid var(--d-line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.ad-row:hover { border-color: #cfe3da; box-shadow: 0 8px 22px rgba(16, 40, 60, .07); }
.ad-row--featured { border-color: #f6d9a6; background: linear-gradient(90deg, #fffaf0, #fff 40%); }
.ad-row__media { position: relative; display: block; overflow: hidden; border-radius: 9px; background: #f3f6f8; }
.ad-row__media img, .ad-row__media .ad-ph { width: 100%; height: 100%; min-height: 136px; aspect-ratio: auto; object-fit: cover; }
.ad-row__count { position: absolute; right: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; background: rgba(14, 27, 44, .65); color: #fff; font-size: 12px; }
.ad-row__count .icon { font-size: 12px; }
.ad-row__body { display: flex; flex-direction: column; min-width: 0; padding: 2px 44px 2px 0; }
.ad-row__tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; }
.ad-row__tags:not(:empty) { margin-bottom: 6px; }
.ad-row__tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-family: var(--font-bn); font-size: 12px; font-weight: 600; }
.ad-row__tag .icon { font-size: 12px; }
.ad-row__tag--top { background: #fef3dc; color: #b26b00; }
.ad-row__tag--urgent { background: #fde4e8; color: #d6334e; }
.ad-row__tag--verified { background: #e6f5f0; color: #0a6e56; }
.ad-row__title { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--d-ink); }
.ad-row__title a:hover { color: var(--green); }
.ad-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; color: var(--d-muted); font-family: var(--font-bn); font-size: 13.5px; }
.ad-row__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ad-row__meta .icon { font-size: 14px; }
.ad-row__cat { color: var(--fg) !important; font-weight: 600; }
.ad-row__specs { margin-top: 6px; overflow: hidden; color: #3b4d5e; font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.ad-row__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.ad-row__price { color: var(--green); font-size: 19px; font-weight: 700; }
.ad-row__nego { margin-left: 8px; color: var(--d-muted); font-family: var(--font-bn); font-size: 12.5px; font-weight: 500; }
.ad-row__time { display: inline-flex; align-items: center; gap: 5px; color: #8a96a3; font-family: var(--font-bn); font-size: 13px; white-space: nowrap; }
.ad-row__time .icon { font-size: 13px; }
.ad-row__save { top: 12px; right: 12px; }

/* All categories page */
.cat-dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; margin-top: 20px; }
.cat-dir__card { border: 1px solid var(--d-line); border-radius: 12px; background: #fff; }
.cat-dir__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--d-line-soft); }
.cat-dir__head strong { display: block; font-family: var(--font-bn); font-size: 16px; color: var(--d-ink); }
.cat-dir__head small { font-family: var(--font-bn); font-size: 13px; color: var(--d-muted); }
.cat-dir__head:hover strong { color: var(--green); }
.cat-dir__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--bg); color: var(--fg); }
.cat-dir__icon .icon { font-size: 24px; }
.cat-dir__arrow { margin-left: auto; color: var(--d-muted); }
.cat-dir__card ul { display: grid; gap: 1px; padding: 8px; }
.cat-dir__card li a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14.5px; }
.cat-dir__card li a:hover { background: #f4f8f7; color: var(--green); }
.cat-dir__card li span { color: #8a96a3; font-family: var(--font); font-size: 12px; }

/* Ad page ---------------------------------------------------------------- */
.product { padding-bottom: 56px; }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 22px; align-items: start; }
.product__main { display: grid; gap: 18px; min-width: 0; }
.product__side { position: sticky; top: 100px; display: grid; gap: 16px; }
.p-card { padding: 20px; border: 1px solid var(--d-line); border-radius: 14px; background: #fff; }
.p-card__title { margin-bottom: 14px; font-family: var(--font-bn); font-size: 18px; font-weight: 700; color: var(--d-ink); }

.p-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.p-head h1 { font-size: 24px; font-weight: 700; line-height: 1.35; color: var(--d-ink); }
.p-head__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; color: var(--d-muted); font-family: var(--font-bn); font-size: 14px; }
.p-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.p-head__meta .icon { font-size: 15px; }
.p-head__actions { display: flex; gap: 8px; }
.p-save { position: static; width: 40px; height: 40px; box-shadow: none; border: 1px solid var(--d-line); }

.gallery { outline: none; }
.gallery__stage { position: relative; display: grid; place-items: center; height: 460px; overflow: hidden; border-radius: 12px; background: #0f1d2b; }
.gallery__backdrop { position: absolute; inset: -30px; background-position: center; background-size: cover; filter: blur(28px) brightness(.75); }
.gallery__img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.gallery__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--d-ink); cursor: pointer; transform: translateY(-50%); box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__nav .icon { font-size: 22px; }
.gallery__count { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 12px; background: rgba(14, 27, 44, .6); color: #fff; font-family: var(--font-bn); font-size: 13px; }
.gallery__stage .ad__flag { top: 12px; left: 12px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery__thumb { flex-shrink: 0; width: 84px; height: 64px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: none; cursor: pointer; opacity: .7; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--green); opacity: 1; }

.p-price__row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.p-price strong { color: var(--green); font-size: 30px; font-weight: 700; letter-spacing: -.3px; }
.p-price__drop { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: #0b8a63; font-family: var(--font-bn); font-size: 14px; }
.p-price__drop s { color: #9aa6b1; }
.p-price--inline { display: none; }
.p-contact { display: grid; gap: 10px; margin-top: 16px; }
.p-phone { height: 54px; justify-content: flex-start; padding: 0 18px; font-family: var(--font); font-size: 17px; letter-spacing: .3px; }
.p-phone .icon { font-size: 20px; }
.p-phone small { margin-left: auto; font-family: var(--font-bn); font-size: 13px; font-weight: 500; opacity: .9; }
.p-phone.is-revealed { background: #036250; }
.p-chat { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--d-line-soft); }
.p-chat__label { color: var(--d-ink); font-family: var(--font-bn); font-size: 15px; font-weight: 700; }
.p-chat__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.p-chat__quick .chip { height: 28px; font-size: 13px; }

.p-specs { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border: 1px solid var(--d-line-soft); border-radius: 10px; }
.p-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--d-line-soft); }
.p-specs div:nth-child(odd) { border-right: 1px solid var(--d-line-soft); }
.p-specs div:nth-last-child(-n+2):nth-child(odd), .p-specs div:last-child { border-bottom: 0; }
.p-specs dt { color: var(--d-muted); font-family: var(--font-bn); font-size: 14px; }
.p-specs dd { margin: 0; color: var(--d-ink); font-family: var(--font-bn); font-size: 14.5px; font-weight: 600; text-align: right; }
.p-specs dd a { color: var(--green); }
.p-desc { color: #2b3e50; font-family: var(--font-bn); font-size: 15.5px; line-height: 1.8; overflow-wrap: anywhere; }

.p-safety { display: flex; gap: 16px; border-color: #d9efe8; background: #f2faf7; }
.p-safety__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--green); }
.p-safety__icon .icon { font-size: 26px; }
.p-safety h2 { font-family: var(--font-bn); font-size: 17px; font-weight: 700; color: var(--d-ink); }
.p-safety ul { display: grid; gap: 6px; margin-top: 10px; }
.p-safety li { display: flex; align-items: flex-start; gap: 8px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14.5px; }
.p-safety li .icon { flex-shrink: 0; margin-top: 3px; color: var(--green); }
.p-safety__links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.p-report { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #d6334e; font-family: var(--font-bn); font-size: 14px; font-weight: 600; cursor: pointer; }

.p-seller__head { display: flex; align-items: center; gap: 14px; }
.p-seller__head strong { display: flex; align-items: center; gap: 6px; font-family: var(--font-bn); font-size: 17px; color: var(--d-ink); }
.p-seller__head small { font-family: var(--font-bn); font-size: 13px; color: var(--d-muted); }
.p-seller__head:hover strong { color: var(--green); }
.p-seller__badge { font-size: 18px; color: var(--green); }
.p-seller__facts { display: grid; gap: 8px; margin: 16px 0; }
.p-seller__facts li { display: flex; align-items: center; gap: 10px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14px; }
.p-seller__facts .icon { color: var(--d-muted); font-size: 16px; }
.p-seller__facts .is-good, .p-seller__facts .is-good .icon { color: #0b8a63; }

.p-howto h2 { font-family: var(--font-bn); font-size: 16px; font-weight: 700; color: var(--d-ink); }
.p-howto ol { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.p-howto li { display: flex; align-items: center; gap: 10px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14.5px; }
.p-howto li span { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #e6f5f0; color: #0a6e56; font-size: 13px; font-weight: 700; }

.p-more { margin-top: 28px; }
.p-more .ads { margin-top: 16px; }
.product__main .p-more { margin-top: 6px; }

.p-bar { display: none; }

/* Dialog */
.dialog { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 30px 70px rgba(14, 27, 44, .3); }
.dialog::backdrop { background: rgba(14, 27, 44, .45); }
.dialog__body { display: grid; gap: 14px; padding: 20px; }
.dialog__head { display: flex; align-items: center; justify-content: space-between; }
.dialog__head h2 { font-family: var(--font-bn); font-size: 18px; font-weight: 700; color: var(--d-ink); }
.dialog__text { color: var(--d-muted); font-family: var(--font-bn); font-size: 14.5px; }
.dialog__actions { display: flex; justify-content: flex-end; gap: 10px; }
.radio-list { display: grid; gap: 6px; }
.radio { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--d-line); border-radius: 10px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14.5px; cursor: pointer; }
.radio:has(input:checked) { border-color: #9fd8c3; background: #f2faf7; }
.radio input { accent-color: var(--green); }

/* Seller page ------------------------------------------------------------ */
.seller-hero { overflow: hidden; border: 1px solid var(--d-line); border-radius: 16px; background: #fff; }
.seller-hero__cover {
    height: 120px;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .16) 0 54px, transparent 55px),
        radial-gradient(circle at 72% 130%, rgba(255, 255, 255, .12) 0 88px, transparent 89px),
        linear-gradient(120deg, #046b52, #058a68 55%, #12a679);
}
.seller-hero__main { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 20px; padding: 0 24px 20px; }
.seller-hero__main > .avatar { margin-top: -48px; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(14, 27, 44, .15); }
.seller-hero__info { flex: 1; min-width: 240px; padding-top: 14px; }
.seller-hero__info h1 { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; color: var(--d-ink); font-family: var(--font-bn); }
.seller-hero__info p { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; color: var(--d-muted); font-family: var(--font-bn); font-size: 14px; }
.seller-hero__info p span { display: inline-flex; align-items: center; gap: 5px; }
.seller-hero__info .is-online { color: #0e9f6e; }
.seller-hero__bio { max-width: 640px; color: var(--d-ink-2) !important; }
.seller-hero__stats { display: flex; margin: 16px 0 0; padding: 10px 0; border: 1px solid var(--d-line); border-radius: 12px; }
.seller-hero__stats div { padding: 0 20px; text-align: center; }
.seller-hero__stats div + div { border-left: 1px solid var(--d-line); }
.seller-hero__stats dt { color: var(--d-muted); font-family: var(--font-bn); font-size: 13px; }
.seller-hero__stats dd { margin: 2px 0 0; color: var(--d-ink); font-size: 20px; font-weight: 700; }
.seller-hero__verified { display: flex; align-items: center; gap: 8px; padding: 10px 24px; border-top: 1px solid var(--d-line-soft); background: #f2faf7; color: #0a5e4c; font-family: var(--font-bn); font-size: 14px; }
.seller-hero__verified .icon { font-size: 18px; color: var(--green); }
.seller-ads-head { margin: 28px 0 16px; }

/* Post / edit ad ---------------------------------------------------------- */
.post { padding-bottom: 56px; }
.post__head { padding: 26px 0 18px; }
.post__head h1 { font-family: var(--font-bn); font-size: 26px; font-weight: 700; color: var(--d-ink); }
.post__head p { margin-top: 4px; color: var(--d-muted); font-family: var(--font-bn); font-size: 15px; }
.post__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.post__main { display: grid; gap: 18px; min-width: 0; }
.post__side { position: sticky; top: 100px; display: grid; gap: 16px; }
.post-step__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; font-family: var(--font-bn); font-size: 18px; font-weight: 700; color: var(--d-ink); }
.post-step__title > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; }
.post-step__title small { color: var(--d-muted); font-size: 13px; font-weight: 500; }
.post-step .form-grid { margin-top: 0; }

.cat-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat-pick__item { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 10px; border: 1.5px solid var(--d-line); border-radius: 12px; background: #fff; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14.5px; font-weight: 500; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.cat-pick__item:hover { border-color: #bfe5d6; }
.cat-pick__item.is-active { border-color: var(--green); background: #f2faf7; color: #0a6e56; font-weight: 600; }
.cat-pick__icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--bg); color: var(--fg); }
.cat-pick__icon .icon { font-size: 19px; }
.sub-pick { margin-top: 14px; padding: 14px; border-radius: 12px; background: #f6f9fb; }
.sub-pick__label { margin-bottom: 10px; color: var(--d-ink); font-family: var(--font-bn); font-size: 14.5px; font-weight: 600; }
.sub-pick__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-pick .chip { height: 34px; padding: 0 14px; font-size: 14px; }

.spec-group { padding: 14px; border: 1px dashed #cfe3da; border-radius: 12px; background: #fbfdfc; }
.seg-radio { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-radio label { cursor: pointer; }
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1.5px solid var(--d-line); border-radius: 10px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14.5px; }
.seg-radio input:checked + span { border-color: var(--green); background: #f2faf7; color: #0a6e56; font-weight: 600; }
.seg-radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(5, 138, 104, .2); }
.field .check { margin-top: 6px; }

.uploader { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.uploader__item, .uploader__add { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.uploader__item { border: 1px solid var(--d-line); background: #f3f6f8; }
.uploader__item img { width: 100%; height: 100%; object-fit: cover; }
.uploader__item.is-removed { opacity: .35; }
.uploader__remove { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(14, 27, 44, .7); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.uploader__remove input { position: absolute; opacity: 0; pointer-events: none; }
.uploader__remove .icon { font-size: 14px; }
.uploader__cover { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 6px; background: var(--green); color: #fff; font-family: var(--font-bn); font-size: 11.5px; }
.uploader__add { display: grid; place-items: center; align-content: center; gap: 4px; border: 2px dashed #bfd9cf; background: #f6fbf9; color: var(--green); font-family: var(--font-bn); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.uploader__add:hover { background: #ecf7f2; }
.uploader__add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.uploader__add .icon { font-size: 28px; }
.uploader__add small { color: var(--d-muted); font-size: 12px; font-weight: 500; }
.post-hint { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: var(--d-muted); font-family: var(--font-bn); font-size: 13.5px; }
.post-hint .icon { flex-shrink: 0; margin-top: 2px; color: var(--green); }

.post-summary h2, .post-tips h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: var(--font-bn); font-size: 16px; font-weight: 700; color: var(--d-ink); }
.post-summary__media { overflow: hidden; border-radius: 10px; background: #f3f6f8; }
.post-summary__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-summary__media .ad-ph { aspect-ratio: 16 / 10; }
.post-summary__title { margin-top: 10px; overflow: hidden; color: var(--d-ink); font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.post-summary__price { margin-top: 2px; color: var(--green); font-size: 18px; font-weight: 700; }
.post-checklist { display: grid; gap: 6px; margin: 14px 0 16px; padding-top: 14px; border-top: 1px solid var(--d-line-soft); }
.post-checklist li { display: flex; align-items: center; gap: 8px; color: #9aa6b1; font-family: var(--font-bn); font-size: 14px; }
.post-checklist .icon { font-size: 17px; }
.post-checklist li.is-done { color: var(--d-ink-2); }
.post-checklist li.is-done .icon { color: var(--green); }
.post-checklist li.is-done .icon > :first-child { fill: currentColor; }
.post-checklist li.is-done .icon > :last-child { stroke: #fff; }
.post-submit { height: 48px; font-size: 16px; }
.post-summary .btn + .btn { margin-top: 8px; }
.post-terms { margin-top: 10px; color: var(--d-muted); font-family: var(--font-bn); font-size: 12.5px; text-align: center; }
.post-terms a { color: var(--green); }
.post-tips { background: #f2faf7; border-color: #d9efe8; }
.post-tips .icon { color: var(--green); }
.post-tips ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 14px; }

/* Auth ------------------------------------------------------------------- */
.auth-body { background: #f4f8f9; }
.auth { padding: 40px 24px 60px; }
.auth__card { display: grid; grid-template-columns: 1fr 1.1fr; max-width: 980px; margin: 0 auto; overflow: hidden; border: 1px solid var(--d-line); border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(14, 27, 44, .08); }
.auth__aside {
    position: relative;
    padding: 40px 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 255, 255, .14) 0 80px, transparent 81px),
        linear-gradient(150deg, #046b52, #058a68 60%, #12a679);
    color: #fff;
}
.auth__aside .logo__img { height: 40px; }
.auth__aside h2 { margin-top: 26px; font-family: var(--font-bn); font-size: 24px; font-weight: 700; line-height: 1.45; }
.auth__aside ul { display: grid; gap: 12px; margin-top: 22px; }
.auth__aside li { display: flex; align-items: center; gap: 10px; font-family: var(--font-bn); font-size: 15.5px; }
.auth__aside li .icon { display: grid; place-items: center; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.auth__mascot { position: absolute; right: 24px; bottom: 22px; width: 96px; border-radius: 17px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); transform: rotate(-8deg); }
.auth__form { padding: 40px 40px 36px; }
.auth__form h1 { font-family: var(--font-bn); font-size: 26px; font-weight: 700; color: var(--d-ink); }
.auth__sub { margin-top: 4px; color: var(--d-muted); font-family: var(--font-bn); font-size: 15px; }
.auth__fields { display: grid; gap: 16px; margin-top: 24px; }
.auth__fields .form-grid { margin-top: 0; }
.auth__switch { margin-top: 18px; color: var(--d-muted); font-family: var(--font-bn); font-size: 14.5px; text-align: center; }
.auth__switch a { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; }
.auth__demo { display: grid; gap: 2px; margin-top: 18px; padding: 10px 14px; border: 1px dashed #cfe3da; border-radius: 10px; background: #f6fbf9; color: #0a5e4c; font-family: var(--font-bn); font-size: 13.5px; text-align: center; }

/* Info pages ------------------------------------------------------------- */
.page-hero {
    padding: 26px 0 34px;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .14) 0 90px, transparent 91px),
        linear-gradient(120deg, #046b52, #058a68 55%, #12a679);
    color: #fff;
}
.page-hero h1 { font-family: var(--font-bn); font-size: 30px; font-weight: 700; }
.page-hero p { margin-top: 6px; font-family: var(--font-bn); font-size: 16px; opacity: .92; }
.page-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 28px; padding-bottom: 56px; }
.page-nav { position: sticky; top: 100px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--d-line); border-radius: 12px; background: #fff; }
.page-nav a { padding: 9px 12px; border-radius: 8px; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 15px; }
.page-nav a:hover { background: #f4f8f7; color: var(--green); }
.page-nav a.is-active { background: #e6f5f0; color: #0a6e56; font-weight: 600; }
.prose { min-width: 0; padding: 28px 32px; border: 1px solid var(--d-line); border-radius: 14px; background: #fff; color: #2b3e50; font-family: var(--font-bn); font-size: 16px; line-height: 1.8; }
.prose h2 { margin: 26px 0 8px; color: var(--d-ink); font-size: 20px; font-weight: 700; }
.prose h2:first-child, .prose .muted + h2 { margin-top: 0; }
.prose h3 { color: var(--d-ink); font-size: 16.5px; font-weight: 700; }
.prose p + p { margin-top: 10px; }
.prose ul { display: grid; gap: 4px; padding-left: 20px; list-style: disc; }
.prose a { color: var(--green); font-weight: 600; }
.prose .muted { margin-bottom: 16px; font-size: 14px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.stat-strip div { padding: 16px; border-radius: 12px; background: #f2faf7; text-align: center; }
.stat-strip strong { display: block; color: var(--green); font-family: var(--font); font-size: 26px; }
.stat-strip span { color: var(--d-muted); font-size: 14px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 28px; padding: 20px 22px; border-radius: 14px; background: linear-gradient(90deg, #e3f5ee, #f3faf7); }
.cta-box h3 { font-size: 18px; }
.cta-box p { margin: 0; color: var(--d-muted); font-size: 14.5px; }
.cta-box__actions { display: flex; gap: 10px; }
.prose .btn { color: #fff; font-weight: 600; }
.prose .btn--outline { color: var(--green); }
.prose .btn--soft { color: #0a6e56; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 12px 0 24px; }
.steps__item { padding: 16px; border: 1px solid var(--d-line); border-radius: 12px; }
.steps__item span { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; }
.steps__item p { margin-top: 4px; color: var(--d-muted); font-size: 14px; line-height: 1.6; }
.tip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 26px; }
.tip-card { padding: 16px; border: 1px solid var(--d-line); border-radius: 12px; }
.tip-card__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 12px; background: #e6f5f0; color: var(--green); }
.tip-card__icon .icon { font-size: 21px; }
.tip-card p { margin-top: 4px; color: var(--d-muted); font-size: 14px; line-height: 1.6; }
.jobs-list { display: grid; gap: 10px; }
.jobs-list__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--d-line); border-radius: 12px; }
.jobs-list__item strong { display: block; color: var(--d-ink); }
.jobs-list__item span { color: var(--d-muted); font-size: 14px; }
.faqs--page { margin-top: -8px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
.contact-form .form-grid { margin: 0 0 18px; }
.contacts--page { margin: 0; align-content: start; }

/* Dashboard additions ------------------------------------------------------ */
.ads-table__thumb--link { display: block; overflow: hidden; background: #f3f6f8; }
.ads-table__thumb--link img { width: 100%; height: 100%; object-fit: cover; }
.ads-table__thumb--link .ad-ph { height: 100%; aspect-ratio: auto; }
.ads-table__thumb--link .ad-ph .icon { font-size: 22px; }
.thread__ad-img { display: block; flex-shrink: 0; width: 50px; height: 40px; overflow: hidden; border-radius: 6px; }
.thread__ad-img img { width: 100%; height: 100%; object-fit: cover; }
.thread__ad-img .ad-ph { height: 100%; aspect-ratio: auto; }
.thread__ad-img .ad-ph .icon { font-size: 18px; }
.thread__who a:hover strong { color: var(--green); }
.convo__role { margin-left: auto; padding: 0 6px; border-radius: 6px; background: #eef2f5; color: var(--d-muted); font-family: var(--font-bn); font-size: 11px; font-style: normal; }
.bubble__tick.is-read { color: #8ef0c8; }
.verified--todo { border-color: #f6dfb0; background: #fef7e6; color: #8a5300; }
.verified--todo .icon { color: #d48a06; }
.panel__empty { padding: 18px 4px 10px; font-family: var(--font-bn); font-size: 14.5px; }
.dash-empty { margin-top: 20px; }
.saved-card.is-gone .ad__media { filter: grayscale(.7); opacity: .7; }
.saved-card__drop--gone { background: #5b6b7a; }
.profile-form { padding: 0 0 20px; overflow: hidden; }
.profile-form > .form-panel__head, .profile-form > .form-grid, .profile-form > .form-actions, .profile-form > .profile-form__error { margin-left: 22px; margin-right: 22px; }
.profile-form .profile-hero { margin-bottom: 18px; border-bottom: 1px solid var(--d-line-soft); }
.profile-hero__camera { overflow: hidden; }
.profile-hero__camera input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.profile-hero__avatar .avatar { border: 4px solid #fff; box-shadow: 0 6px 16px rgba(14, 27, 44, .15); }
.activity-summary__trend.is-down { color: #d6334e; }
.bars--wide-label li { grid-template-columns: 150px 1fr 40px; }
.bars--wide-label .bars__label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.txn p a { color: var(--green); }

/* Moderation states shared by the dashboard + admin; site-wide notice */
.pill--rejected, .pill--banned { background: #fde4e8; color: #d6334e; }
.pill--open { background: #fef3dc; color: #b26b00; }
.ads-table__reason { margin-top: 4px; max-width: 220px; color: #b4253d; font-family: var(--font-bn); font-size: 12px; line-height: 1.35; }
.tickets__reply { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #ecf8f3; color: var(--d-ink-2); font-family: var(--font-bn); font-size: 13.5px; }
.tickets__reply strong { display: flex; align-items: center; gap: 5px; margin: 0 0 2px; color: #0a5e4c; font-size: 12.5px; }
.site-notice { background: #fff7e0; border-bottom: 1px solid #f5e1a8; color: #7a4f00; font-family: var(--font-bn); font-size: 14px; }
.site-notice .container { display: flex; align-items: center; gap: 8px; padding-top: 9px; padding-bottom: 9px; }
.menu__panel .is-admin, .menu__panel .is-admin .icon { color: var(--green); font-weight: 600; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1200px) {
    .product__grid { grid-template-columns: minmax(0, 1fr) 330px; }
    .ads--4 { grid-template-columns: repeat(3, 1fr); }
    .ads--4 .ad:nth-child(4) { display: none; }
    .cat-pick { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .listing__grid { grid-template-columns: 1fr; }
    .drawer--filters { display: block; }
    .drawer--filters .drawer__scrim { display: block; pointer-events: none; }
    .drawer--filters.is-open .drawer__scrim { pointer-events: auto; }
    .drawer--filters .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 91; align-content: start; width: min(340px, 88vw); overflow-y: auto; border: 0; border-radius: 0; box-shadow: 12px 0 40px rgba(14, 27, 44, .18); transform: translateX(-100%); transition: transform .25s ease; }
    .drawer--filters.is-open .filters { transform: none; }
    .filters__close { display: grid; }
    .results__filter-btn { display: inline-flex; }
    .product__grid, .post__grid { grid-template-columns: 1fr; }
    .product__side, .post__side { position: static; }
    .post__side { order: 2; }
    .p-price--inline { display: none; }
    .page-body { grid-template-columns: 1fr; }
    .page-nav { position: static; display: flex; overflow-x: auto; }
    .page-nav a { white-space: nowrap; }
    .auth__card { grid-template-columns: 1fr; }
    .auth__aside { display: none; }
}

@media (max-width: 900px) {
    .header__burger { display: grid; }
    .header__inner .logo { margin-right: auto; }
    .user-menu__name { display: none; }
    .gallery__stage { height: 340px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .list-search { flex-wrap: wrap; }
    .list-search__q { flex: 1 1 100%; }
    .list-search .dd { flex: 1; }
    .list-search .dd__toggle { width: 100%; border-left: 0; border-top: 1px solid var(--d-line); }
    .ad-row { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px; }
    .ad-row__media img, .ad-row__media .ad-ph { min-height: 110px; }
    .ad-row__title { font-size: 15px; }
    .ad-row__specs { display: none; }
    .ad-row__price { font-size: 16px; }
    .ad-row__foot { flex-direction: column; align-items: flex-start; gap: 2px; }
    .ad-row__body { padding-right: 34px; }
    .ad-row__save { top: 8px; right: 8px; width: 30px; height: 30px; }
    .results__tools { width: 100%; }
    .results__tools form { flex: 1; }
    .results__tools .dd__toggle { width: 100%; }
    .p-card { padding: 16px; }
    .p-head { flex-direction: column; }
    .p-head h1 { font-size: 20px; }
    .gallery__stage { height: 260px; border-radius: 10px; }
    .p-specs { grid-template-columns: 1fr; }
    .p-specs div:nth-child(odd) { border-right: 0; }
    .p-specs div:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px solid var(--d-line-soft); }
    .p-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 60;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--d-line);
        background: #fff;
        box-shadow: 0 -6px 20px rgba(14, 27, 44, .08);
    }
    .p-bar strong { flex: 1; color: var(--green); font-size: 17px; }
    .p-bar .btn { height: 42px; padding: 0 14px; }
    .product { padding-bottom: 90px; }
    .seller-hero__main { padding: 0 16px 16px; }
    .seller-hero__stats { width: 100%; }
    .seller-hero__stats div { flex: 1; padding: 0 8px; }
    .cat-pick { grid-template-columns: repeat(2, 1fr); }
    .auth { padding: 20px 12px 40px; }
    .auth__form { padding: 24px 18px; }
    .prose { padding: 20px 18px; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .header__login { padding: 0 12px; }
    .header__post-label { display: none; }
    .ads--4 { grid-template-columns: repeat(2, 1fr); }
    .ads--4 .ad:nth-child(4) { display: block; }
    .profile-form > .form-panel__head, .profile-form > .form-grid, .profile-form > .form-actions { margin-left: 16px; margin-right: 16px; }
}
