.shop-nav-auth {
    display: flex;
    align-items: center;
    gap: 10px
}

.how-link {
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 600 13px 'DM Sans', sans-serif;
    cursor: pointer
}

.language-picker select {
    min-height: 38px;
    padding: 0 28px 0 11px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 254, 250, .85);
    color: var(--ink);
    font: 600 12px 'DM Sans', sans-serif
}

.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
}

.shop-nav-auth .button {
    padding: 10px 18px;
    font-size: 13px
}

.intro-player {
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    margin: 14px auto;
    background: transparent
}

.intro-player video {
    display: block;
    width: min(100%, 315px, 27vh);
    height: auto;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 14px;
    background: transparent;
    object-fit: cover
}

.intro-player-controls {
    display: flex;
    align-items: center;
    gap: 7px;
    width: min(100%, 460px);
    margin-top: 12px
}

.intro-player-controls input[type="range"] {
    flex: 1 1 auto;
    min-width: 24px;
    margin: 0;
    accent-color: #ef8063;
    cursor: pointer
}

.intro-player-controls input[type="range"]:disabled {
    cursor: default;
    opacity: .55
}

.intro-icon-button {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f3ed;
    color: var(--ink);
    cursor: pointer
}

.intro-icon-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8
}

.intro-icon-button svg[hidden] {
    display: none
}

#intro-play-icon path,
#intro-pause-icon path {
    fill: currentColor;
    stroke: none
}

.intro-icon-button:focus-visible {
    outline: 2px solid #ef8063;
    outline-offset: 2px
}

.intro-language {
    flex: 0 1 108px;
    min-width: 82px;
    margin: 0
}

.intro-language select {
    width: 100%;
    min-height: 32px;
    padding: 5px 22px 5px 8px;
    border: 0;
    border-radius: 9px;
    background: #f2f3ed;
    color: var(--ink);
    font: 600 11px 'DM Sans', sans-serif
}

.intro-player:fullscreen,
.intro-player:-webkit-full-screen {
    display: flex;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0
}

.intro-player:fullscreen video,
.intro-player:-webkit-full-screen video {
    width: min(90vw, 45dvh);
    height: auto;
    max-width: 100vw;
    border-radius: 14px
}

.intro-player:fullscreen .intro-player-controls,
.intro-player:-webkit-full-screen .intro-player-controls {
    width: min(100%, 520px)
}

.media-note {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 11px;
    text-align: center
}

.media-note:empty {
    display: none
}

.offer-price {
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f4eddd, #fffefa);
    box-shadow: inset 0 0 0 1px rgba(44, 48, 41, .06)
}

.offer-price strong {
    font-size: 42px
}

.offer-continue {
    display: block;
    margin: 10px auto 0;
    padding: 7px 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: 600 12px 'DM Sans', sans-serif;
    cursor: pointer
}

.shop-nav-auth [hidden] {
    display: none !important
}

.account-menu {
    position: relative
}

.trydr-points-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 4px 11px 4px 5px;
    border: 0;
    border-radius: 22px;
    background: #fff1e8;
    color: #85451f;
    font: 700 11px 'DM Sans', sans-serif;
    cursor: pointer
}

.trydr-points-button[hidden] {
    display: none
}

.trydr-points-count {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #ef6b32;
    color: #fff;
    font-size: 12px
}

.trydr-points-modal-balance {
    display: block;
    margin: 14px 0 8px;
    color: #e9672e;
    font: 800 24px 'Manrope', sans-serif
}

.trydr-points-illustration {
    display: block;
    width: min(190px,65%);
    max-height: 165px;
    margin: 0 auto 8px;
    object-fit: contain
}

.trydr-points-illustration[hidden],
.empty-state-illustration[hidden] {
    display: none
}

.trydr-points-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 4px 8px 4px 4px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fffefa;
    color: var(--ink);
    font: inherit;
    cursor: pointer
}

.account-avatar {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--forest, #344b38);
    font-size: 13px;
    font-weight: 700
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.account-trigger>svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8
}

.account-name {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600
}

.account-dropdown {
    position: absolute;
    z-index: 70;
    top: calc(100% + 9px);
    right: 0;
    width: 238px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fffefa;
    box-shadow: 0 18px 45px rgba(44, 48, 41, .15)
}

.account-dropdown[hidden] {
    display: none !important
}

.account-dropdown>button {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font: 500 13px 'DM Sans', sans-serif;
    cursor: pointer
}

.account-dropdown>button:hover {
    background: var(--sage-light)
}

.account-dropdown>button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7
}

#support-tickets-button svg {
    color: var(--coral-dark)
}

.account-dropdown-divider {
    height: 1px;
    margin: 5px 4px;
    background: var(--line)
}

.shop-shell {
    max-width: 1180px;
    margin: auto;
    padding: 0 28px 80px
}

.shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, .82fr);
    align-items: center;
    gap: clamp(30px, 6vw, 82px);
    text-align: left;
    padding: 72px 0 54px
}

.shop-hero h1 {
    max-width: 680px;
    font-size: clamp(48px, 6.7vw, 82px);
    line-height: .98;
    letter-spacing: -.065em;
    margin: 15px 0 18px
}

.shop-hero p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 16px
}

.shop-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 25px
}

.hero-copy>.button {
    margin-top: 25px
}

.mobile-give-link {
    display: none;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--coral-dark);
    font: 700 13px 'DM Sans', sans-serif;
    cursor: pointer
}

.mobile-give-link:focus-visible {
    outline: 2px solid var(--coral-dark);
    outline-offset: 4px;
    border-radius: 4px
}

.hero-aside {
    display: grid;
    gap: 14px;
    position: relative
}

.journey-card {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    padding: 22px;
    border: 1px solid rgba(44, 48, 41, .07);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 20px 55px rgba(44, 48, 41, .07)
}

.journey-find {
    transform: translateX(-14px)
}

.journey-give {
    background: var(--sage-light);
    transform: translateX(14px)
}

.journey-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    background: #f1e4dc;
    color: var(--coral-dark);
    font: 700 28px/1 'DM Sans', sans-serif
}

.journey-give .journey-icon {
    background: #d7e2d0;
    color: #48604a
}

.journey-card .eyebrow {
    font-size: 10px
}

.journey-card h2 {
    margin: 4px 0;
    font-size: 21px;
    letter-spacing: -.04em
}

.journey-card p {
    font-size: 12px
}

.journey-card .text-link {
    grid-column: 2;
    justify-self: start;
    padding: 0;
    font-size: 12px
}

.intro-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto 24px;
    gap: 16px;
    align-items: center;
    margin: 0 0 25px;
    padding: 18px 20px;
    border: 1px solid #e8e2d3;
    border-radius: 18px;
    background: linear-gradient(110deg, #f3efe3, #fffefa 75%);
    box-shadow: 0 9px 24px rgba(44, 48, 41, .035)
}

.intro-card[hidden] {
    display: none
}

.intro-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: var(--butter);
    color: #62562f;
    font-size: 22px
}

.intro-copy .eyebrow {
    font-size: 10px
}

.intro-copy h2 {
    margin: 2px 0;
    font-size: 16px;
    letter-spacing: -.02em
}

.intro-copy p {
    color: var(--muted);
    font-size: 12px
}

.intro-card .button {
    padding: 11px 16px;
    font-size: 12px;
    white-space: nowrap
}

.intro-dismiss {
    align-self: start;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 21px;
    line-height: 1;
    cursor: pointer
}

.shop-note {
    font-size: 13px;
    color: var(--muted)
}

.shop-tools {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 165px 155px 150px;
    gap: 10px;
    padding: 14px;
    background: #fffefa;
    border: 1px solid var(--line);
    border-radius: 18px;
    position: sticky;
    top: 72px;
    z-index: 5;
    box-shadow: 0 8px 25px rgba(44, 48, 41, .04);
    transition: transform .22s ease
}

.shop-tools.is-hidden-on-scroll {
    transform: translateY(calc(-100% - 12px));
    pointer-events: none
}

.shop-tools input,
.shop-tools select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fffefa;
    padding: 0 13px;
    color: var(--ink);
    outline: none
}

.shop-tools input:focus,
.shop-tools select:focus {
    border-color: var(--sage)
}

.location-status {
    font-size: 12px;
    color: var(--muted);
    padding: 0
}

.location-note {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 4px 0
}

.location-action {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--coral-dark);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer
}

.listings-section {
    padding: 55px 0
}

.listings-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 22px
}

.listings-heading h2 {
    font-size: clamp(30px, 4vw, 46px);
    margin-top: 7px
}

.listing-count {
    font-size: 13px;
    color: var(--muted)
}

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

.listing-grid.shelf-mode {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 246px;
    gap: 38px 18px;
    padding: 22px 18px 18px;
    border: 1px solid #d5c9b5;
    border-radius: 8px;
    background-color: #f1eee5;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 244px, #93653f 244px, #d0a474 251px, #a7774c 259px, transparent 260px, transparent 284px);
    box-shadow: inset 0 0 28px rgba(74, 58, 39, .09)
}

.shelf-item {
    display: grid;
    min-width: 0;
    grid-template-rows: 177px auto;
    align-items: end;
    animation: none
}

.shelf-opening .shelf-item {
    animation: shelf-arrive .48s cubic-bezier(.2, .75, .25, 1) both;
    animation-delay: calc(var(--shelf-index, 0) * 55ms)
}

.shelf-object {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    place-items: end center;
    padding: 5px 12px 8px;
    border: 0;
    background: transparent;
    cursor: pointer
}

.shelf-object img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 7px 5px rgba(46, 38, 29, .2));
    transition: transform .2s ease
}

.shelf-object:hover img {
    transform: translateY(-5px)
}

.shelf-label {
    align-self: start;
    min-width: 0;
    padding: 5px 8px 0;
    text-align: center
}

.shelf-label h3 {
    overflow: hidden;
    margin: 0;
    color: #39352f;
    font: 600 13px/1.35 'DM Sans', sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap
}

.shelf-label span {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: #70685c;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap
}

@keyframes shelf-arrive {
    from { opacity: 0; transform: translateY(18px) scale(.97) }
    to { opacity: 1; transform: translateY(0) scale(1) }
}

.product-card {
    background: #fffefa;
    border: 1px solid var(--line);
    border-radius: 17px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(44, 48, 41, .08)
}

.product-image {
    border: 0;
    padding: 0;
    width: 100%;
    height: 210px;
    position: relative;
    background: var(--sage-light);
    cursor: pointer
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.free-pill {
    position: absolute;
    left: 12px;
    bottom: 12px;
    border-radius: 30px;
    background: #fffefa;
    color: #4d6048;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700
}

.product-copy {
    padding: 15px
}

.product-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--coral-dark);
    font-weight: 700
}

.product-copy h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 5px 0
}

.product-copy p {
    font-size: 12px;
    color: var(--muted)
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    margin-top: 14px;
    padding-top: 11px;
    font-size: 11px;
    color: var(--muted)
}

.text-link {
    border: 0;
    background: none;
    color: var(--coral-dark);
    font-weight: 700;
    cursor: pointer
}

.loading-state,
.empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 54px 20px;
    color: var(--muted);
    background: #fffefa;
    border: 1px dashed var(--line);
    border-radius: 18px
}

.empty-state h3 {
    font-size: 24px;
    margin: 9px
}

.empty-state p {
    max-width: 440px;
    margin: 0 auto 18px
}

.empty-illustration {
    font-size: 38px;
    color: var(--coral)
}

.empty-state-illustration {
    display: block;
    width: min(270px,75%);
    max-height: 150px;
    margin: 0 auto 14px;
    object-fit: contain
}

.give-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 5px 5px;
    background: var(--sage-light);
    border-radius: 24px
}

.give-banner h2 {
    font-size: clamp(34px, 4vw, 52px);
    margin: 8px 0
}

.give-banner p {
    max-width: 470px;
    color: #65705e
}

.shop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 25px max(28px, calc((100vw - 1180px)/2));
    background: #2c3029;
    color: #f8f6f0;
    font-size: 12px
}

.shop-footer .brand {
    color: #fff
}

.shop-footer .brand-mark {
    background: transparent
}

.shop-footer a:not(.brand) {
    color: #d9dfd2
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(34, 38, 31, .55);
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 18px;
    overflow: auto
}

.modal-backdrop[hidden] {
    display: none
}

.modal-card {
    position: relative;
    width: min(100%, 460px);
    background: var(--paper);
    border-radius: 22px;
    padding: 34px;
    max-height: calc(100vh - 36px);
    overflow: auto
}

.modal-wide {
    width: min(100%, 680px)
}

.modal-close {
    position: absolute;
    z-index: 1;
    right: 17px;
    top: 12px;
    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--muted)
}

.modal-card h2 {
    font-size: 38px;
    margin: 10px 0
}

.modal-card>p {
    color: var(--muted);
    margin-bottom: 20px
}

.google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffefa;
    padding: 14px;
    font-weight: 700;
    cursor: pointer
}

.google-g {
    width: 20px;
    height: 20px;
    flex: 0 0 20px
}

.auth-legal-note {
    margin: 14px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5
}

.auth-legal-note a {
    color: #3e6844;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px
}

.modal-card small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 17px
}

.modal-card small a {
    color: var(--coral-dark);
    text-decoration: underline
}

.app-dialog-card {
    width: min(100%, 430px);
    padding: 30px
}

.app-dialog-card h2 {
    margin: 8px 0 10px;
    font-size: clamp(26px, 6vw, 34px)
}

.app-dialog-card>p {
    margin: 0;
    line-height: 1.55
}

.app-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 26px
}

.app-dialog-actions .button {
    min-width: 96px
}

#app-dialog-cancel[hidden] {
    display: none
}

#listing-form {
    display: grid;
    gap: 13px
}

#listing-form>label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 700
}

#listing-form input:not([type=file]),
#listing-form select,
#listing-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fffefa;
    color: var(--ink);
    font: inherit;
    font-weight: 400
}

#listing-form input[type=file] {
    padding: 10px;
    border: 1px dashed var(--sage);
    border-radius: 10px;
    background: #fffefa;
    width: 100%
}

#listing-form textarea {
    resize: vertical
}

.location-consent {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 12px;
    color: var(--muted)
}

.location-consent input {
    margin-top: 4px
}

.location-consent label {
    cursor: pointer
}

.form-status {
    font-size: 13px;
    color: #4d7047
}

.form-status.error {
    color: #b34332
}

.form-submit {
    width: 100%
}

.form-footnote {
    font-size: 11px;
    color: var(--muted)
}

.photo-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.photo-preview img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 9px
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 12px;
    color: var(--muted);
    font-size: 11px
}

.shop-footer .footer-support-icons {
    flex: 0 0 auto;
    margin-left: auto
}

.auth-divider::before,
.auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--line);
    content: ""
}

#phone-auth-form {
    display: grid;
    gap: 8px
}

#phone-auth-form label {
    font-size: 12px;
    font-weight: 700
}

.phone-auth-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px
}

.phone-auth-row input,
.phone-code-row input {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font: inherit
}

.phone-auth-row .button,
.phone-code-row .button {
    padding: 10px 14px;
    font-size: 12px
}

.phone-code-row {
    display: grid;
    gap: 8px;
    margin-top: 8px
}

.phone-code-row[hidden] {
    display: none
}

#phone-auth-status {
    min-height: 18px;
    font-size: 12px
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
    gap: 25px
}

.detail-photos {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    align-content: start
}

.detail-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f2f1ec;
    cursor: zoom-in
}

.detail-photo:first-child { grid-column: 1/-1 }
.detail-photo:focus-visible { outline: 3px solid rgba(243,107,19,.55); outline-offset: 2px }
.detail-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.detail-layout h2 {
    font-size: 34px;
    margin: 8px 0
}

.detail-layout p {
    font-size: 14px;
    color: var(--muted);
    margin: 15px 0
}

.detail-description {
    margin: 9px 0 14px;
    color: #555b53;
    font-size: 14px;
    line-height: 1.55
}

.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12px
}

.detail-condition { padding: 5px 9px; border-radius: 16px; background: #edf2e8; color: #476149; font-size: 11px; font-weight: 700 }
.detail-condition-brand-new { background: #66a84f; color: #fff }
.detail-condition-unused { background: #f2a13b; color: #fff }
.detail-location { color: #666d63; font-size: 12px }
.detail-value {
    margin: 10px 0 !important;
    color: #13a64a !important;
    font: 800 24px/1 Manrope,sans-serif
}

.detail-disclaimer {
    background: var(--sage-light);
    padding: 12px;
    border-radius: 10px
}

.detail-layout .button {
    width: 100%
}

.photo-viewer {
    position: fixed;
    z-index: 300;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(18,20,18,.97);
    color: #fff
}
.photo-viewer[hidden] { display: none }
.photo-viewer-stage {
    display: grid;
    width: min(94vw,1100px);
    height: min(88dvh,850px);
    place-items: center;
    overflow: auto;
    overscroll-behavior: contain;
    touch-action: pan-y
}
.photo-viewer-frame {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    overflow: hidden;
    background: transparent
}
.photo-viewer-frame>img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform .2s ease
}
.photo-viewer.is-zoomed .photo-viewer-frame { overflow: visible }
.photo-viewer.is-zoomed .photo-viewer-frame>img { transform: scale(2); cursor: zoom-out }
.photo-viewer-close,.photo-viewer-arrow {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #fff;
    font: 500 30px/1 'DM Sans',sans-serif;
    cursor: pointer
}
.photo-viewer-close { top: max(16px,env(safe-area-inset-top)); right: 16px }
.photo-viewer-arrow { top: 50%; transform: translateY(-50%); font-size: 36px }
.photo-viewer-previous { left: 16px }
.photo-viewer-next { right: 16px }
.photo-viewer-arrow[hidden] { display: none }
.photo-viewer-count { position: absolute; bottom: max(18px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.84); font-size: 12px }

@media(max-width:900px) {
    .shop-hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
        gap: 28px
    }

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

    .shop-tools {
        grid-template-columns: 1fr 1fr
    }

    .search-wrap {
        grid-column: 1/-1
    }

}

@media(max-width:620px) {
    .shop-shell {
        padding: 0 17px 55px
    }

    .shop-hero {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 43px 0 28px
    }

    .shop-hero h1 {
        font-size: clamp(47px, 13vw, 68px)
    }

    .shop-hero p {
        font-size: 15px
    }

    .hero-aside {
        display: none
    }

    .mobile-give-link {
        display: block
    }

    .journey-card {
        padding: 17px;
        border-radius: 18px
    }

    .journey-find {
        transform: translateX(-5px)
    }

    .journey-give {
        transform: translateX(5px)
    }

    .intro-card {
        grid-template-columns: 38px minmax(0, 1fr) 22px;
        gap: 12px;
        padding: 15px
    }

    .intro-card .button {
        grid-column: 2 / 4;
        justify-self: start
    }

    .intro-dismiss {
        grid-column: 3;
        grid-row: 1;
        justify-self: end
    }

    .shop-tools {
        position: static;
        grid-template-columns: 1fr 1fr;
        padding: 10px
    }

    .shop-tools .search-wrap {
        grid-column: 1/-1
    }

    .shop-tools #distance { grid-column: 1/-1 }

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

    .product-image {
        height: 155px
    }

    .product-copy {
        padding: 11px
    }

    .product-copy h3 {
        font-size: 15px
    }

    .give-banner {
        display: block;
        padding: 26px 22px
    }

    .give-banner .button {
        margin-top: 18px
    }

    .shop-footer {
        flex-wrap: wrap;
        padding: 22px 18px
    }

    .shop-footer span:last-child {
        width: 100%
    }

    .shop-nav-auth {
        gap: 6px
    }

    .how-link {
        display: grid;
        width: 32px;
        height: 32px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: rgba(255, 254, 250, .85);
        font-size: 0
    }

    .how-link::before {
        content: "?";
        font-size: 14px;
        font-weight: 700
    }

    .shop-nav-auth .button {
        padding: 8px 12px;
        font-size: 12px
    }

    .language-picker select {
        min-height: 34px;
        padding: 0 22px 0 8px;
        font-size: 11px
    }

    .location-note {
        align-items: flex-start
    }

    .modal-card {
        padding: 27px 20px
    }

    .detail-layout {
        grid-template-columns: 1fr
    }

    .detail-photos {
        grid-template-columns: repeat(4,minmax(0,1fr))
    }
}

.activity-list {
    display: grid;
    gap: 12px;
    margin-top: 20px
}

.activity-card {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fffefa
}

.activity-card h3 {
    font-size: 16px
}

.activity-card p {
    font-size: 12px;
    color: var(--muted);
    margin: 5px 0
}

.activity-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px
}

.activity-actions button {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 7px 12px;
    background: var(--sage-light);
    color: var(--ink);
    font-size: 12px;
    cursor: pointer
}

.activity-state {
    font-size: 11px;
    color: var(--coral-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em
}

/* TRYDR membership and transaction views */
.membership-card { width: min(100%, 520px) }
.transactions-card { width: min(100%, 480px) }

.membership-phone-field {
    display: grid;
    gap: 7px;
    margin: 14px 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600
}

.membership-phone-field[hidden] { display: none }

.membership-phone-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fffefa;
    color: var(--ink);
    font: 500 15px 'DM Sans', sans-serif
}

.membership-phone-field small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45
}

.transactions-card h2 {
    font-size: 32px
}

.membership-status {
    margin: 10px 0 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f3f5ef;
    color: #53634f;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4
}

.membership-status::before {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 9px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    vertical-align: 1px
}

.membership-status[data-state="active"] {
    background: #e5f4e3;
    color: #24743c
}

.membership-status[data-state="expired"] {
    background: #fff0e2;
    color: #9b4b10
}

.membership-benefits {
    display: grid;
    gap: 11px;
    margin: 18px 0;
    padding: 0;
    color: var(--ink);
    font-size: 14px;
    list-style: none
}

.membership-benefits li::before {
    margin-right: 10px;
    color: #4a8d4a;
    content: "✓";
    font-weight: 700
}

.membership-price-card {
    display: grid;
    gap: 8px;
    margin: 18px 0 10px;
    padding: 18px 20px;
    border-radius: 19px;
    background: linear-gradient(125deg,#fff1e5,#f0f5e9)
}

.membership-price-card>span {
    color: #687365;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase
}

.membership-price-value {
    display: flex;
    align-items: baseline;
    gap: 8px
}

.membership-price-value span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700
}

.membership-price-value strong {
    color: var(--ink);
    font: 800 42px/1 Manrope, sans-serif
}

.membership-price-card small {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45
}

#membership-pay {
    width: 100%;
    margin: 10px 0 0
}

#membership-pay:disabled {
    opacity: .65;
    cursor: not-allowed
}

.membership-offer-link {
    display: block;
    margin: 4px auto 16px;
    padding: 4px;
    border: 0;
    background: transparent;
    color: #b95c2e;
    font: 600 12px 'DM Sans', sans-serif;
    cursor: pointer
}

.membership-offer-link[hidden],
.membership-transactions-link[hidden] {
    display: none
}

.membership-transactions-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 13px 2px 2px;
    border: 0;
    border-top: 1px solid #ecebe5;
    background: transparent;
    color: var(--ink);
    font: 700 13px 'DM Sans', sans-serif;
    text-align: left;
    cursor: pointer
}

.membership-transactions-link span:last-child {
    color: var(--muted);
    font-size: 22px;
    line-height: 1
}

.transactions-back {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -4px 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #577050;
    font: 700 13px 'DM Sans', sans-serif;
    cursor: pointer
}

.transactions-back:first-letter {
    font-size: 20px
}

.transactions-list {
    display: grid;
    max-height: min(60vh, 520px);
    overflow: auto
}

.transactions-state {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5
}

.transaction-row {
    display: grid;
    gap: 9px;
    padding: 15px 0;
    border-top: 1px solid #ecebe5
}

.transaction-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.transaction-row-top>strong {
    color: var(--ink);
    font: 800 22px/1 Manrope, sans-serif
}

.transaction-status {
    padding: 5px 10px;
    border-radius: 18px;
    background: #f0f0eb;
    color: #65675f;
    font-size: 11px;
    font-weight: 700
}

.transaction-status.is-paid {
    background: #e9f5e6;
    color: #2e7135
}

.transaction-status.is-created,
.transaction-status.is-pending,
.transaction-status.is-partially_paid {
    background: #fff2dd;
    color: #8d5b13
}

.transaction-status.is-cancelled,
.transaction-status.is-expired,
.transaction-status.is-failed {
    background: #f4ece8;
    color: #8b4a37
}

.transaction-row p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    color: var(--muted);
    font-size: 11px
}

.transaction-row p strong {
    max-width: 62%;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-weight: 600;
    text-align: right
}

.transaction-row small {
    margin: 0;
    color: var(--muted);
    font-size: 10px
}

.welcome-offer-card>p {
    color: var(--muted);
    line-height: 1.6
}

.offer-price {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    align-items: baseline;
    margin: 18px 0;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fffefa
}

.offer-price span {
    color: var(--muted);
    font-size: 12px
}

.offer-price strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--forest, #344b38);
    font: 800 28px/1 Manrope, sans-serif
}

.offer-price small {
    color: var(--forest, #344b38);
    font-size: 12px
}

.offer-continue {
    display: block;
    margin: 12px auto 0;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: 500 13px 'DM Sans', sans-serif;
    cursor: pointer
}

@media (max-width: 700px) {
    .account-name { max-width: 90px }

    .listing-grid.shelf-mode {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 226px;
        gap: 30px 9px;
        padding: 16px 10px 12px;
        background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 224px, #93653f 224px, #d0a474 231px, #a7774c 239px, transparent 240px, transparent 256px)
    }

    .shelf-item { grid-template-rows: 157px auto }

}

.brand {
    gap: 8px;
    color: #2c3029;
    font: 800 19px/1 Manrope,sans-serif;
    letter-spacing: .045em
}

.brand-mark {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    overflow: hidden;
    place-items: center;
    border-radius: 9px;
    background: #f36b13
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover }

.nav-wrap { min-height: 60px }
.shop-shell { padding-bottom: 36px }
.shop-search-home { padding: 22px 0 0 }
.shop-search-home > .eyebrow { display: block; margin: 0 0 11px }

body .shop-search-home .shop-tools {
    position: relative;
    top: auto;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e6e3d8;
    border-radius: 18px;
    background: #fffefa;
    box-shadow: 0 8px 26px rgba(44,48,41,.055);
    transform: none;
    transition: none
}

body .shop-search-home .shop-tools .search-wrap { grid-column: auto }

body .shop-search-home .shop-tools.is-hidden-on-scroll { transform: none; pointer-events: auto }
.search-wrap { position: relative; display: flex; align-items: center; min-width: 0 }
.search-wrap svg { position: absolute; left: 13px; width: 20px; height: 20px; fill: none; stroke: #637465; stroke-width: 1.8; pointer-events: none }
body .shop-search-home .shop-tools input {
    height: 46px;
    min-width: 0;
    padding: 0 12px 0 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font: 500 15px 'DM Sans',sans-serif
}
.shop-search-home .shop-tools input:focus { border: 0; outline: 0 }
.icon-action {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 13px;
    background: #f3f5ef;
    color: #4c624f;
    cursor: pointer
}
.icon-action svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.icon-action:hover,.icon-action.has-filters { background: #e4ecdf }
.filter-count { position: absolute; top: -4px; right: -3px; display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #617964; color: white; font-size: 10px; font-weight: 700 }
.filter-count[hidden] { display: none }
.search-meta { min-height: 30px; padding: 8px 3px 0; color: #85877f; font-size: 11px }
.language-first-visit { display: flex; align-items: center; justify-content: flex-end; gap: 10px; max-width: 480px; margin: 12px auto 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 13px; background: #fffefa; color: var(--muted); font-size: 12px }
.language-first-visit[hidden] { display: none }
.language-first-visit select,.language-card select { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font: inherit }
.language-first-visit button { border: 0; border-radius: 10px; padding: 9px 13px; background: #5d765f; color: #fff; font: 700 12px 'DM Sans',sans-serif }
.listings-section { padding: 19px 0 32px }
.listings-heading { margin: 0 0 12px }
.listings-heading .eyebrow { font-size: 11px; letter-spacing: .13em }
.listing-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px }
.product-card { border-radius: 15px; box-shadow: 0 3px 15px rgba(44,48,41,.025) }
.product-image { display: block; height: auto; aspect-ratio: 1 / 1; background: #f1f3ed }
.product-image img { display: block; object-fit: cover }
.condition-pill { position: absolute; top: 10px; right: 10px; max-width: calc(100% - 20px); overflow: hidden; border-radius: 20px; padding: 5px 8px; background: #f2f1ed; color: #353630; box-shadow: none; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap }
.condition-brand-new,.condition-unused,.condition-used { background: #f2f1ed; color: #353630; box-shadow: none }
.product-copy { padding: 11px 12px 10px }
.product-category { font-size: 9px; letter-spacing: .08em }
.product-copy h3 { margin: 4px 0 9px; font-size: 15px; line-height: 1.3 }
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 22px }
.free-price { color: #3c7545; font: 800 14px/1 Manrope,sans-serif; letter-spacing: .015em }
.interest-pill { overflow: hidden; max-width: 66%; color: #7a7f76; font-size: 10px; text-overflow: ellipsis; white-space: nowrap }
.product-bottom { margin-top: 9px; padding-top: 8px; font-size: 10px }
.product-bottom .text-link { font-size: 11px }
.empty-state { padding: 38px 20px }
.empty-state h3 { font-size: 20px }
.intro-card { grid-template-columns: 38px minmax(0,1fr) auto 22px; gap: 12px; margin: 0 0 20px; padding: 14px; border-radius: 16px; box-shadow: none }
.intro-icon { width: 36px; height: 36px; border-radius: 12px; background: #edf2e8; color: #526b55 }
.intro-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.intro-copy h2 { font-size: 14px }
.intro-copy p { margin: 3px 0 0; font-size: 11px }
.shop-footer { display: flex; gap: 12px; padding: 20px max(18px,calc((100vw - 1180px)/2)); font-size: 11px }
.shop-footer button { padding: 0; border: 0; background: transparent; color: #d9dfd2; font: inherit; cursor: pointer }
.shop-tabbar { position: fixed; z-index: 80; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4,1fr); padding: 6px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(44,48,41,.1); background: rgba(255,254,250,.97); box-shadow: 0 -7px 22px rgba(44,48,41,.06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px) }
.shop-tabbar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 48px; border: 0; background: transparent; color: #81857c; font: 600 10px 'DM Sans',sans-serif; cursor: pointer }
.shop-tabbar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.shop-tabbar button.active { color: #4d694f }
.shop-tabbar button.active svg { transform: translateY(-1px) }
.tab-unread-badge { position: absolute; top: 4px; left: calc(50% + 6px); width: 10px; height: 10px; border: 2px solid #fffefa; border-radius: 50%; background: #e75f27 }
.tab-unread-badge[hidden] { display: none }
.shop-shell { padding-bottom: 28px }
.shop-footer { margin-bottom: 72px }
.scroll-top { position: fixed; z-index: 70; right: max(16px,calc((100vw - 1180px)/2)); bottom: calc(78px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #e3e7df; border-radius: 24px; background: rgba(255,254,250,.96); color: #46604b; box-shadow: 0 5px 20px rgba(44,48,41,.1); font: 700 11px 'DM Sans',sans-serif; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .16s ease,transform .16s ease; cursor: pointer }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) }
.scroll-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.filter-sheet-backdrop { align-items: end; padding: 0 }
.filter-sheet,.sort-sheet { position: relative; width: min(100%,520px); margin: 0 auto; padding: 30px 22px calc(24px + env(safe-area-inset-bottom)); border: 1px solid var(--line); border-bottom: 0; border-radius: 23px 23px 0 0; background: var(--paper); box-shadow: 0 -12px 35px rgba(44,48,41,.13) }
.filter-sheet h2,.language-card h2 { margin: 5px 0 18px; font-size: 26px }
.filter-sheet>label,.request-card>label,.language-card>label { display: grid; gap: 7px; margin: 15px 0; color: #62685f; font-size: 12px; font-weight: 700 }
.filter-sheet select,.request-card select,.request-card textarea,.request-card input:not([type=checkbox]) { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fffefa; color: var(--ink); font: 14px 'DM Sans',sans-serif }
.filter-sheet-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 22px }
.sort-sheet { display: grid; gap: 8px; padding-top: 28px }
.sort-sheet>button:not(.modal-close) { min-height: 48px; border: 0; border-radius: 12px; background: #f0f3ed; color: var(--ink); text-align: left; padding: 0 14px; font: 600 14px 'DM Sans',sans-serif }
.location-action { margin-top: 5px; padding: 8px 0; font-size: 13px }
.filter-sheet #location-status { padding: 0 0 4px; color: var(--muted); font-size: 12px }
.language-card { display: grid; gap: 11px }
.language-card .form-submit { margin-top: 9px }
.address-actions { display: flex; justify-content: space-between; gap: 12px }
.address-actions .text-link,.request-card>.text-link { padding: 6px 0; font-size: 12px }
.address-editor { display: grid; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #f8f8f3 }
.address-editor[hidden] { display: none }
.address-editor label { display: grid; gap: 5px; font-size: 12px; font-weight: 700 }
.address-editor input { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; font: 13px 'DM Sans',sans-serif }
.private-address-note,.form-footnote { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5 }
.photo-picker { min-width: 0; margin: 0; padding: 0; border: 0 }
.photo-picker legend { margin-bottom: 8px; font-size: 13px; font-weight: 700 }
.photo-picker-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.photo-picker-actions .button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px; font-size: 12px }
.photo-picker-actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.photo-preview-item { position: relative }
.photo-preview-item img { display: block; width: 68px; height: 68px; border-radius: 9px; object-fit: cover }
.photo-preview-item button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #384b3a; color: white; font-size: 16px; line-height: 1; cursor: pointer }
.save-address-option { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-size: 12px }
.messages-app { position: relative; display: flex; flex-direction: column; width: min(100%,1000px); height: min(90dvh,850px); overflow: hidden; border-radius: 22px; background: #f8f8f4; box-shadow: 0 20px 70px rgba(20,25,20,.2) }
.messages-header { display: flex; align-items: flex-start; gap: 12px; min-height: 0; padding: 20px 17px 12px; border: 0; background: transparent }
.messages-header h2 { margin: 0; font: 800 24px/1.2 Manrope,sans-serif }
.messages-app.has-conversation .messages-header { display: none }
.messages-layout { display: grid; flex: 1; min-height: 0; grid-template-columns: minmax(240px,320px) minmax(0,1fr) }
.activity-list { display: flex; flex-direction: column; gap: 6px; overflow: auto; margin: 0; padding: 10px; border-right: 1px solid var(--line) }
.activity-card { display: flex; align-items: center; gap: 9px; min-height: 68px; padding: 7px 9px; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer }
.activity-card:hover { background: #eef2ea }
.activity-card.has-unread { background: #fffefa }
.activity-avatar,.conversation-avatar { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; overflow: hidden; border-radius: 50%; background: #e4ebdf; color: #4d694f; font-size: 14px; font-weight: 700 }
.activity-avatar img,.conversation-avatar img { width: 100%; height: 100%; object-fit: cover }
.activity-card-copy { display: grid; min-width: 0; flex: 1; gap: 2px }
.activity-card-copy strong,.activity-card-copy span,.activity-card-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.activity-card-copy strong { color: var(--ink); font-size: 12.4px }
.activity-card-copy span { color: #73786f; font-size: 11.3px }
.activity-card-copy small { color: #657f66; font-size: 10.3px; text-transform: capitalize }
.activity-card-meta { display: flex; align-items: center; gap: 6px; min-width: 0 }
.activity-card-copy .activity-unread-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #e75f27 }
.activity-item-thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: cover }
.conversation-pane { display: flex; min-width: 0; flex-direction: column; overflow: hidden }
.conversation-empty { display: grid; flex: 1; align-content: center; justify-items: center; gap: 9px; padding: 25px; color: var(--muted); text-align: center }
.conversation-empty svg { width: 28px; height: 28px; fill: none; stroke: #71866f; stroke-width: 1.7 }
.conversation-empty-illustration { width: min(150px,65%); max-height: 155px; margin: 0 auto 4px; object-fit: contain }
.conversation-empty h3 { margin: 0; color: var(--ink); font-size: 16px }
.conversation-empty p { max-width: 280px; margin: 0; font-size: 12px }
.messages-app.no-conversations .messages-layout { grid-template-columns: 1fr }
.messages-app.no-conversations .activity-list { align-items: center; justify-content: center; padding: 24px; border-right: 0 }
.messages-app.no-conversations .conversation-empty { width: min(100%,520px); flex: 1 }
.messages-app.no-conversations .conversation-empty-illustration { width: min(200px,65%); max-height: 190px }
.messages-app.no-conversations .conversation-pane { display: none }
.conversation-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 17px; border-bottom: 1px solid var(--line); background: #fffefa }
.conversation-person { display: flex; align-items: center; gap: 10px; min-width: 0 }
.conversation-back { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border: 0; background: transparent; color: #476149; cursor: pointer }
.conversation-back svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.conversation-person strong { overflow: hidden; max-width: 220px; text-overflow: ellipsis; white-space: nowrap; font-size: 16px }
.conversation-more { position: relative }
.conversation-more>button { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #526b55; cursor: pointer }
.conversation-more>button svg { width: 22px; height: 22px; fill: currentColor }
.conversation-menu { position: absolute; z-index: 3; top: calc(100% + 5px); right: 0; width: 230px; padding: 6px; border-radius: 12px; background: #fffefa; box-shadow: 0 8px 26px rgba(44,48,41,.16) }
.conversation-menu[hidden] { display: none }
.conversation-menu button { width: 100%; padding: 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; font: 600 12px 'DM Sans',sans-serif; cursor: pointer }
.conversation-menu button:hover { background: #f1f3ed }
.conversation-actions { display: flex; gap: 6px }
.conversation-actions .button { min-height: 34px; padding: 7px 10px; font-size: 11px }
.chat-listing-card { display: flex; align-items: flex-start; gap: 11px; margin: 12px 15px 0; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: #fffefa }
.chat-listing-card img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover }
.chat-listing-card div { display: grid; gap: 3px }
.chat-listing-card span { color: #748071; font-size: 9px; font-weight: 700; letter-spacing: .08em }
.chat-listing-card strong { font-size: 12px }
.chat-listing-card p { display: -webkit-box; overflow: hidden; margin: 2px 0; color: #62685f; font-size: 11px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical }
.chat-listing-card small,.chat-listing-card time { color: #52714f; font-size: 10px }
.chat-listing-card time { color: #81857c }
.chat-quick-actions { display: flex; gap: 7px; overflow-x: auto; padding: 10px 14px 0; scrollbar-width: none }
.chat-quick-actions button,.pickup-confirm-panel button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid rgba(77,105,79,.16); border-radius: 20px; background: #fffefa; color: #3c7545; font: 600 11px 'DM Sans',sans-serif; cursor: pointer }
.chat-quick-actions button:hover,.pickup-confirm-panel button:hover { background: #edf2e8 }
.chat-quick-actions button[data-request-status="declined"],.chat-quick-actions button[data-request-status="cancelled"] { color: #a64b2b }
.pickup-confirm-panel { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin: 9px 14px 0; padding: 10px; border-radius: 12px; background: #edf2e8 }
.pickup-confirm-panel[hidden] { display: none }
.pickup-confirm-panel label { display: grid; flex: 1 1 130px; gap: 4px; color: #62685f; font-size: 10px; font-weight: 700 }
.pickup-confirm-panel input { min-width: 0; min-height: 36px; padding: 6px 8px; border: 0; border-radius: 8px; background: #fffefa; font: 12px 'DM Sans',sans-serif }
.pickup-confirm-panel button[type="submit"] { background: #4d694f; color: white }
.chat-thread { display: flex; flex: 1; flex-direction: column; gap: 8px; overflow: auto; padding: 15px }
.chat-bubble { align-self: flex-start; max-width: min(80%,520px); padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: #fffefa; box-shadow: 0 1px 5px rgba(44,48,41,.05) }
.chat-bubble.mine { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: #e3eddf }
.chat-bubble p { margin: 3px 0 0; color: var(--ink); font-size: 13.35px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere }
.chat-bubble time { display: block; margin-top: 4px; color: #858980; font-size: 9px; text-align: right }
.chat-day { align-self: center; margin: 7px 0; padding: 5px 11px; border-radius: 15px; background: #eeefeb; color: #747970; font-size: 10px }
.chat-attachment { display: block; max-width: min(220px,70vw); max-height: 260px; margin: 0 0 4px; border-radius: 10px; object-fit: contain }
.chat-added-listing { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; padding: 7px; border-radius: 9px; background: rgba(255,255,255,.7) }
.chat-added-listing img { width: 44px; height: 44px; border-radius: 7px; object-fit: cover }
.chat-added-listing strong { font-size: 11px }
.chat-added-listing p { margin: 3px 0 0; color: #62685f; font-size: 10px }
.chat-composer { display: grid; grid-template-columns: 38px minmax(0,1fr) 44px; gap: 7px; padding: 10px 13px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffefa }
.chat-composer input:not([type="file"]) { min-width: 0; padding: 10px 13px; border: 0; border-radius: 22px; outline: 0; background: #f4f4f0; font: 13.35px 'DM Sans',sans-serif }
.chat-composer button { display: grid; place-items: center; border: 0; cursor: pointer }
.chat-composer button:disabled { opacity: .5; cursor: default }
.chat-composer #attach-chat-image { border-radius: 50%; background: #edf2e8; color: #4d694f }
.chat-composer #attach-chat-image svg,.chat-composer [type="submit"] svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.chat-composer [type="submit"] { min-height: 42px; border-radius: 50%; background: #f36b13; color: white }
.seller-listings-panel { position: absolute; z-index: 8; inset: 0; overflow: auto; padding: 16px; background: #f8f8f4 }
.seller-listings-panel[hidden] { display: none }
.seller-listings-panel>header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px }
.seller-listings-panel h3 { margin: 0; font-size: 18px }
.seller-listings-panel header p { margin: 4px 0 0; color: var(--muted); font-size: 11px }
.seller-listings-panel header button { padding: 8px 12px; border: 0; border-radius: 18px; background: #edf2e8; color: #3c7545; font: 700 11px 'DM Sans',sans-serif }
.seller-listings-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 10px }
.seller-listings-grid article { overflow: hidden; padding: 8px; border-radius: 13px; background: #fffefa }
.seller-listings-grid img { width: 100%; aspect-ratio: 1; border-radius: 9px; object-fit: cover }
.seller-listings-grid h4 { margin: 7px 0 3px; font-size: 12px }
.seller-listings-grid p { display: -webkit-box; overflow: hidden; margin: 0 0 8px; color: #62685f; font-size: 10px; line-height: 1.4; -webkit-line-clamp: 3; -webkit-box-orient: vertical }
.seller-listings-grid article>button { width: 100%; padding: 8px 6px; border: 0; border-radius: 9px; background: #4d694f; color: white; font: 700 10px 'DM Sans',sans-serif }
.seller-listings-grid article>button:disabled { opacity: .6 }
.seller-listings-empty { padding: 20px; color: var(--muted); text-align: center; font-size: 12px }
.activity-backdrop { display: flex; inset: 72px 0 82px; align-items: stretch; justify-content: flex-start; padding: 0; background: #f8f8f4 }
.activity-backdrop .messages-app { width: 100%; height: 100%; max-height: none; border-radius: 0; box-shadow: none }
.my-listings-view .shop-search-home,.my-listings-view .give-banner,.my-listings-view .category-strip,.my-listings-view .intro-card,.my-listings-view .shop-footer { display: none !important }
body.messages-view .shop-shell,body.messages-view .shop-footer { display: none !important }
body.messages-view .site-header { z-index: 110 }
.my-listings-heading { padding-top: 20px }
.my-listings-heading h1 { margin: 0; font: 800 24px/1.2 Manrope,sans-serif }
.my-listing-actions { display: flex; gap: 5px }
.my-listing-actions button { padding: 5px 7px; border: 0; border-radius: 9px; background: #f0f3ed; color: #476149; font: 700 10px 'DM Sans',sans-serif; cursor: pointer }
.my-listing-actions .my-listing-remove { background: #fff0e9; color: #a64b2b }
.my-listings-view .listings-section { padding-top: 8px }
.my-listings-view .listings-section.is-empty-my-listings { display: flex; flex-direction: column; min-height: calc(100vh - 215px); min-height: calc(100dvh - 215px) }
.my-listings-view .empty-state:not([hidden]) { display: flex; width: 100%; min-width: 0; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 24px 20px; border: 0; border-radius: 0; background: transparent }
.my-listings-view .empty-state-illustration { width: min(200px,65%); max-height: 190px; margin: 0 auto 4px; object-fit: contain }
.my-listings-view .empty-state h3 { margin: 0; color: var(--ink); font-size: 16px }
.my-listings-view .empty-state p { max-width: 280px; margin: 0; font-size: 12px; line-height: 1.5 }

@media (max-width: 700px) {
    body .shop-shell { padding: 0 15px 32px }
    .nav-wrap { min-height: 56px; height: 56px }
    .brand { gap: 7px; font-size: 17px }
    .brand-mark { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px }
    body .shop-search-home .shop-tools { grid-template-columns: minmax(0,1fr) 40px 40px; gap: 5px; padding: 6px; border-radius: 15px }
    .shop-search-home .search-wrap svg { left: 11px; width: 18px; height: 18px }
    body .shop-search-home .shop-tools input { height: 42px; padding-left: 36px; font-size: 13px }
    .shop-search-home .icon-action { width: 40px; height: 40px; border-radius: 11px }
    .shop-search-home { padding-top: 15px }
    .shop-search-home > .eyebrow { margin-bottom: 8px; font-size: 11px }
    .search-meta { min-height: 22px; padding-top: 6px }
    .listings-section { padding-top: 12px }
    .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px }
    .product-copy { padding: 9px }
    .product-copy h3 { font-size: 13px }
    .free-price { font-size: 12px }
    .interest-pill { max-width: 62%; font-size: 9px }
    .product-bottom { font-size: 9px }
    .product-bottom .text-link { font-size: 10px }
    .intro-card { grid-template-columns: 34px minmax(0,1fr) 20px; gap: 9px; padding: 12px }
    .intro-icon { width: 32px; height: 32px }
    .intro-card .button { grid-column: 2 / 4; justify-self: start; padding: 8px 11px; font-size: 11px }
    .intro-dismiss { grid-column: 3; grid-row: 1 }
    body .shop-footer { flex-wrap: wrap; padding: 16px 18px 22px; font-size: 10px }
    .shop-footer span:last-child { width: 100% }
    .shop-tabbar { padding-right: 7px; padding-left: 7px }
    .shop-tabbar button { min-height: 47px; font-size: 9px }
    .scroll-top { right: 12px; bottom: calc(73px + env(safe-area-inset-bottom)); padding: 7px 10px; font-size: 10px }
    .filter-sheet,.sort-sheet { width: 100%; padding-right: 18px; padding-left: 18px }
    .messages-app { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0 }
    .activity-backdrop { inset: calc(58px + env(safe-area-inset-top)) 0 calc(61px + env(safe-area-inset-bottom)); }
    .activity-backdrop .messages-app { width: 100%; height: 100%; max-height: none }
    .messages-header { min-height: 0; padding: 20px 15px 12px }
    .messages-layout { grid-template-columns: 1fr }
    .messages-app.has-conversation .activity-list { display: none }
    .messages-app:not(.has-conversation) .conversation-pane { display: none }
    .activity-list { border-right: 0 }
    .conversation-header { align-items: center; flex-direction: row; padding: 10px 12px }
    .conversation-actions { width: 100% }
    .conversation-actions .button { flex: 1 }
    .chat-listing-card { margin: 9px 10px 0 }
    .chat-thread { padding: 10px }
    .chat-composer { padding-right: 10px; padding-left: 10px }
    .messages-header { align-items: stretch; flex-direction: column; gap: 12px }
    .activity-tabs { gap: 22px }
    .activity-tab { flex: 1; padding-bottom: 10px }
}

@media (min-width: 701px) {
    .shop-tabbar { right: auto; bottom: 18px; left: 50%; width: min(460px,calc(100% - 36px)); padding: 7px 12px; border: 1px solid rgba(44,48,41,.1); border-radius: 20px; transform: translateX(-50%) }
    .shop-tabbar button { min-height: 45px }
    .messages-app { height: min(88dvh,850px) }
    .activity-backdrop { inset: 72px 0 82px; }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-top { transition: none }
}

.site-header.scrolled { background: rgba(248,246,240,.97) }
.shop-nav-auth .account-name { display: none }
.shop-nav-auth .account-trigger { gap: 8px; padding: 4px 8px 4px 4px }
.shop-shell { padding-bottom: 30px }
.shop-search-home { padding-top: 12px }
body .shop-search-home .shop-tools {
    grid-template-columns: minmax(0,1fr) 44px 44px;
    gap: 8px;
    padding: 5px;
    border: 0;
    border-radius: 22px;
    background: #fffefa;
    box-shadow: 0 5px 22px rgba(44,48,41,.07)
}
.shop-search-home .icon-action { border-radius: 50%; background: #f5f4ef }
.shop-search-home .icon-action:hover,.shop-search-home .icon-action.has-filters { background: #edf1e8 }
.shop-search-home .icon-action svg { width: 22px; height: 22px; stroke-width: 1.8 }
.give-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 132px;
    overflow: hidden;
    margin: 20px 0 13px;
    padding: 12px 24px 12px 28px;
    border: 0;
    border-radius: 25px;
    background: #f4f1ed
}
.give-banner { width: 100%; color: inherit; text-align: left; font: inherit; cursor: pointer }
.give-banner:focus-visible { outline: 3px solid rgba(243,107,19,.45); outline-offset: 3px }
.give-banner-copy { position: relative; z-index: 1; display: grid; gap: 5px }
.give-banner-copy strong { color: #242424; font: 800 clamp(22px,3vw,34px)/1.12 Manrope,sans-serif; letter-spacing: -.045em }
.give-banner-copy strong span { color: #f36b13 }
.give-banner-copy small { color: #777875; font: 500 15px 'DM Sans',sans-serif }
.give-banner img { align-self: stretch; width: min(45%,310px); height: 112px; object-fit: contain; object-position: center }
.category-strip {
    display: flex;
    gap: 13px;
    overflow-x: auto;
    margin: 0 -2px 17px;
    padding: 2px 2px 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch
}
.category-strip::-webkit-scrollbar { display: none }
.category-chip {
    display: grid;
    flex: 0 0 88px;
    justify-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #343631;
    font: 600 11px 'DM Sans',sans-serif;
    cursor: pointer
}
.category-art {
    display: grid;
    width: 76px;
    height: 67px;
    place-items: center;
    overflow: hidden;
    border-radius: 22px;
    background: #f5f4f1;
    transition: background .16s ease, transform .16s ease
}
.category-chip.active .category-art { background: #dce8d8; transform: translateY(-1px) }
.category-art img { width: 60px; height: 54px; object-fit: contain }
.category-art svg { width: 29px; height: 29px; fill: none; stroke: #668d4d; stroke-width: 1.8 }
.listings-section { padding-top: 4px }
body .listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px }
.product-card { border: 0; border-radius: 20px; box-shadow: 0 3px 14px rgba(44,48,41,.09) }
.product-card:hover { box-shadow: 0 7px 21px rgba(44,48,41,.12) }
.product-image { aspect-ratio: 1 / 1; height: auto; overflow: hidden; background: #f2f1ec }
.product-image img { display: block; object-fit: cover }
.condition-pill {
    top: 9px;
    right: 9px;
    padding: 6px 10px;
    border: 0;
    border-radius: 18px;
    background: #f2f1ed;
    color: #353630;
    box-shadow: none;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: none
}
.condition-brand-new,.condition-unused,.condition-used { background: #f2f1ed; color: #353630; box-shadow: none }
.free-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 11px 6px;
    border-radius: 18px;
    background: #13a64a;
    color: #fff;
    font: 800 italic 12px/1 Manrope,sans-serif;
    letter-spacing: .03em
}
.interest-pill {
    position: absolute;
    bottom: 10px;
    left: 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 77px);
    padding: 6px 8px;
    border-radius: 16px;
    background: rgba(255,255,255,.94);
    color: #252722;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,.1)
}
.interest-pill svg { width: 16px; height: 16px; flex: 0 0 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round }
.interest-hot { max-width: calc(100% - 18px); background: #fff0bd; color: #542f0e }
.product-copy { padding: 9px 10px 11px }
.product-copy h3 { display: -webkit-box; overflow: hidden; min-height: 2.4em; margin: 0; font-size: 14px; line-height: 1.2; -webkit-line-clamp: 2; -webkit-box-orient: vertical }
.product-bottom { display: flex; min-height: 22px; align-items: center; justify-content: space-between; gap: 5px; margin-top: 5px; padding: 0; border: 0; color: #777970; font-size: 10px }
.product-bottom:empty { display: none }
.product-bottom .free-badge { position: static; min-height: 20px; flex: 0 0 auto; padding: 4px 8px; font-size: 9px; font-style: normal }
.product-bottom .free-badge::after { display: none }
.product-bottom .product-location { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.my-listing-actions { margin-left: auto }
.shop-tabbar { background: #fff; border-top-color: transparent; box-shadow: 0 -5px 20px rgba(44,48,41,.06) }
.shop-tabbar button.active { color: #f36b13 }

@media (max-width: 700px) {
    .shop-search-home { padding-top: 11px }
    body .shop-search-home .shop-tools { grid-template-columns: minmax(0,1fr) 39px 39px; gap: 5px; padding: 5px; border-radius: 22px }
    .shop-search-home .icon-action { width: 39px; height: 39px }
    body .shop-search-home .shop-tools input { height: 40px; padding-left: 37px }
    .give-banner { min-height: 116px; margin: 16px 0 12px; padding: 10px 12px 10px 17px; border-radius: 21px }
    .give-banner-copy strong { font-size: clamp(20px,6vw,27px) }
    .give-banner-copy small { font-size: 12px }
    .give-banner img { width: 43%; height: 96px; margin-right: -5px }
    .category-strip { gap: 7px; margin-bottom: 12px }
    .category-chip { flex-basis: 73px; gap: 4px; font-size: 10px }
    .category-art { width: 67px; height: 59px; border-radius: 19px }
    .category-art img { width: 52px; height: 48px }
    body .listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px }
    .product-card { border-radius: 15px }
    .product-image { aspect-ratio: 1 / 1 }
    .condition-pill { top: 5px; right: 5px; max-width: calc(100% - 10px); padding: 4px 6px; font-size: 8px }
    .interest-pill { bottom: 5px; left: 5px; gap: 3px; max-width: calc(100% - 57px); padding: 4px 5px; font-size: 8px }
    .interest-pill svg { width: 13px; height: 13px; flex-basis: 13px }
    .interest-hot { max-width: calc(100% - 10px) }
    .product-copy { padding: 7px 7px 8px }
    .product-copy h3 { font-size: 11px; line-height: 1.2 }
    .product-bottom { margin-top: 4px; font-size: 9px }
    .listings-section { padding-top: 3px }
    .shop-tabbar { border-radius: 0; background: #fff }
}

@media (max-width: 370px) {
    body .listing-grid { gap: 6px }
    .product-copy { padding-right: 5px; padding-left: 5px }
    .product-copy h3 { font-size: 10px }
    .category-chip { flex-basis: 68px }
    .category-art { width: 62px }
}

.listing-modal-card { width: min(100%,760px); padding: 28px }
.listing-modal-card>h3 { margin: 8px 0 3px; font-size: clamp(26px,4vw,36px) }
.listing-modal-card>.modal-intro { margin: 0 0 16px; font-size: 13px }
#listing-form { gap: 15px }
#listing-form>label,.listing-choice-row>label { gap: 6px; color: #343831; font-size: 13px }
#listing-form input:not([type=file]),#listing-form select,#listing-form textarea,
#saved-address-form input,#saved-address-form textarea,.pickup-location-card input,.pickup-location-card select,.pickup-location-card textarea {
    min-width: 0;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #e8e7e1;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: 14px 'DM Sans',sans-serif
}
#listing-form textarea,#saved-address-form textarea,.pickup-location-card textarea { resize: vertical }
.photo-picker { order: -1 }
.photo-picker legend { display: flex; align-items: baseline; gap: 6px; width: 100%; margin-bottom: 10px; font-size: 15px; font-weight: 800 }
.photo-picker legend>span { color: #e85f24 }
.photo-picker legend small { margin: 0 0 0 auto; color: var(--muted); font-size: 11px; font-weight: 500 }
.photo-picker-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px }
.photo-picker-actions .button { min-height: 45px; border: 0; border-radius: 14px; background: #f5f4f0; color: #343831; font-size: 12px }
.photo-preview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-top: 10px }
.photo-preview-item { aspect-ratio: 1; overflow: hidden; border-radius: 15px; background: #f2f1ed }
.photo-preview-item img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover }
.photo-preview-item button { top: 5px; right: 5px; width: 24px; height: 24px; background: rgba(36,38,33,.82); font-size: 17px }
.listing-choice-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px }
.listing-choice-row label { display: grid }
.pickup-location-trigger {
    display: grid;
    grid-template-columns: 24px minmax(0,1fr) 16px;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 62px;
    padding: 11px 14px;
    border: 1px solid #e8e7e1;
    border-radius: 15px;
    background: #fff;
    color: var(--ink);
    text-align: left;
    cursor: pointer
}
.pickup-location-trigger>svg { width: 22px; height: 22px; fill: none; stroke: #39713f; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.pickup-location-trigger>span:nth-child(2) { display: grid; gap: 3px }
.pickup-location-trigger strong { font-size: 13px }
.pickup-location-trigger small { color: #73776f; font-size: 12px }
.pickup-location-trigger>span:last-child { color: #777b70; font-size: 22px }
.listing-safety-note { margin: -5px 0 0; font-size: 9px; line-height: 1.4 }
.listing-modal-card .form-submit { min-height: 49px; border-radius: 25px; background: #e75f27; font-weight: 800; letter-spacing: .025em }
.pickup-location-card,.saved-addresses-card { display: grid; gap: 10px; width: min(100%,540px) }
.pickup-location-card h2,.saved-addresses-card h2 { margin: 2px 0 6px; font-size: 27px }
.pickup-location-card>label,.saved-addresses-card label { display: grid; gap: 6px; color: #343831; font-size: 12px; font-weight: 700 }
.pickup-location-card .save-address-option { display: flex; align-items: center; gap: 8px; margin: 2px 0 }
.pickup-location-card .save-address-option input { width: 17px; min-height: 17px; accent-color: #e75f27 }
.pickup-location-card .location-action { min-height: 44px; margin: 0; padding: 10px 13px; border: 0; border-radius: 13px; background: #f3f5ef; text-align: center }
.pickup-location-card .form-status,.saved-addresses-card .form-status { min-height: 0; margin: 0; font-size: 12px }
.saved-addresses-card>.modal-intro { margin: 0; font-size: 12px }
.saved-addresses-list { display: grid; max-height: 28vh; gap: 7px; overflow: auto }
.saved-address-row { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 17px; background: #f8f9f5; box-shadow: 0 6px 16px rgba(44,48,41,.05) }
.saved-address-row>div:last-child { display: flex; flex: 0 0 auto; gap: 5px }
.saved-address-actions button { padding: 6px 8px; border: 0; border-radius: 9px; background: #f4f5f0; color: #465e47; font: 700 11px 'DM Sans',sans-serif; cursor: pointer }
.saved-address-actions button[data-delete-address] { color: #a64c38 }
.saved-addresses-card form { display: grid; gap: 9px; padding-top: 11px; border-top: 1px solid #eeede8 }
.saved-addresses-card form h3 { margin: 0; font-size: 17px }
.saved-addresses-card .address-actions { align-items: center; justify-content: flex-end }
.saved-addresses-card .address-actions .button { min-height: 40px; padding: 9px 13px; font-size: 12px }
.empty-addresses { margin: 0; padding: 11px; border-radius: 12px; background: #f5f4f0; color: #6b7068; font-size: 12px }
.my-listing-edit { padding: 5px 8px; border: 0; border-radius: 10px; background: #f3f5ef; color: #476149; font: 700 10px 'DM Sans',sans-serif; cursor: pointer }

.image-skeleton-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #f0f1ec
}
.image-skeleton-frame::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(100deg,#f0f1ec 25%,#fafbf8 45%,#f0f1ec 65%);
    background-size: 220% 100%;
    content: "";
    opacity: 0;
    pointer-events: none
}
.image-skeleton-frame.is-image-loading::before { opacity: 1; animation: image-skeleton-shimmer 1.35s ease-in-out infinite }
.image-skeleton-frame.is-image-error::before { background: #f0f1ec; animation: none; opacity: 1 }
.image-skeleton-frame>img { position: relative; z-index: 1; transition: opacity .2s ease }
.image-skeleton-frame.is-image-loading>img,.image-skeleton-frame.is-image-error>img { opacity: 0 }
.product-image .condition-pill,.product-image .free-badge,.product-image .interest-pill { z-index: 2 }
.activity-item-frame { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 8px }
.detail-photo { width: 100% }
.chat-listing-photo { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 8px }
.chat-added-listing-photo { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 7px }
.seller-listing-photo { display: block; width: 100%; aspect-ratio: 1; border-radius: 9px }

@keyframes image-skeleton-shimmer {
    from { background-position: 100% 0 }
    to { background-position: -120% 0 }
}

@media (prefers-reduced-motion: reduce) {
    .image-skeleton-frame.is-image-loading::before { animation: none }
}

@media (max-width: 600px) {
    .listing-modal-card { padding: 25px 18px calc(22px + env(safe-area-inset-bottom)) }
    .listing-choice-row { gap: 8px }
    .listing-choice-row select { padding-right: 7px !important; padding-left: 9px !important; font-size: 12px !important }
    .photo-preview { gap: 6px }
    .photo-preview-item { border-radius: 12px }
    .saved-addresses-list { max-height: 23vh }
    .photo-viewer-stage { width: 100vw; height: 100dvh }
    .photo-viewer-previous { left: 7px }
    .photo-viewer-next { right: 7px }
}

.shop-nav-auth .public-support-menu {
    display: block;
    flex: 0 0 auto
}

.shop-nav-auth .public-support-menu>summary {
    width: 38px;
    height: 38px
}

.shop-nav-auth .shop-support-menu[hidden] {
    display: none !important
}

.support-modal-card {
    display: flex;
    flex-direction: column;
    width: min(100%, 640px);
    max-height: min(88dvh, 780px);
    padding: 28px 24px;
    overflow: hidden
}

.support-content {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain
}

.support-heading h2,
.support-chat-title h2 {
    margin: 8px 0;
    font-size: clamp(26px, 5vw, 36px);
    overflow-wrap: anywhere
}

.support-heading .modal-intro {
    margin: 0 0 16px;
    color: var(--muted)
}

.support-primary-actions {
    display: grid;
    grid-template-columns: minmax(0, 7fr) repeat(2, minmax(0, 1.5fr));
    gap: 8px;
    margin: 12px 0 18px
}

.support-create-ticket-button {
    width: 100%
}

.support-contact-icon {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 46px;
    border-radius: 14px;
    background: #f3f2eb;
    color: var(--ink);
    transition: background .18s ease, transform .18s ease
}

.support-contact-icon:hover {
    background: #e9eee4;
    transform: translateY(-1px);
    text-decoration: none
}

.support-contact-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8
}

.support-empty-state {
    padding: 24px 16px;
    border-radius: 16px;
    background: #f6f5ef;
    color: var(--muted);
    text-align: center;
    font-size: 14px
}

.support-account-delete-link {
    display: block;
    margin: 14px auto 0;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    color: #8b5147;
    font: 600 12px 'DM Sans', sans-serif;
    cursor: pointer
}

.support-account-delete-link:hover {
    color: #a33627;
    text-decoration: underline
}

.support-chat-suggestions {
    display: flex;
    gap: 7px;
    margin: 0 0 9px;
    overflow-x: auto;
    scrollbar-width: none
}

.support-delete-suggestion {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid rgba(77, 105, 79, .16);
    border-radius: 20px;
    background: #fffefa;
    color: #3c7545;
    font: 600 11px 'DM Sans', sans-serif;
    cursor: pointer
}

.support-delete-suggestion:hover {
    background: #edf2e8
}

.support-delete-prompt {
    max-width: min(100%, 520px)
}

.support-delete-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px
}

.support-delete-actions .button {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 11px
}

.support-delete-actions .button-danger {
    border: 0;
    border-radius: 99px;
    background: #a33627;
    color: #fff;
    font: 600 11px 'DM Sans', sans-serif;
    cursor: pointer
}

.support-delete-actions button:disabled {
    opacity: .6;
    cursor: wait
}

.support-delete-status {
    margin: 8px 0 0;
    color: #a33627;
    font-size: 11px;
    line-height: 1.4
}

.support-account-deleted {
    margin: 0;
    color: #237b36;
    font-size: 14px;
    font-weight: 650
}

.support-ticket-list {
    display: grid;
    gap: 8px
}

.support-ticket-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 14px;
    background: #eae9e1;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(44, 48, 41, .06);
    text-align: left;
    cursor: pointer
}

.support-ticket-row:hover {
    background: #e2e4da
}

.support-ticket-info,
.support-ticket-meta {
    display: grid;
    min-width: 0;
    gap: 5px
}

.support-ticket-info strong {
    overflow-wrap: anywhere;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em
}

.support-ticket-meta {
    justify-items: end;
    flex: 0 0 auto
}

.support-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 99px;
    background: #fff0dc;
    color: #99500d;
    font-size: 11px;
    font-weight: 700
}

.support-status-pill.is-solved {
    background: #e2f5df;
    color: #237b36
}

.support-form,
.support-reply-form {
    display: grid;
    gap: 10px
}

.support-phone-label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600
}

.support-phone-input {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 0;
    border-radius: 12px;
    background: #f5f4ee;
    color: var(--ink);
    font: 14px 'DM Sans', sans-serif
}

.support-message-input {
    width: 100%;
    min-height: 118px;
    padding: 13px 14px;
    border: 0;
    border-radius: 14px;
    background: #f5f4ee;
    color: var(--ink);
    font: 14px/1.5 'DM Sans', sans-serif;
    resize: vertical
}

.support-message-input:focus {
    outline: 2px solid rgba(243, 107, 19, .45)
}

.support-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px
}

.support-form-status,
.support-solved-notice,
.support-loading {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.support-chat-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 28px
}

.support-chat-title {
    flex: 1;
    min-width: 0
}

.support-chat-title h2 {
    margin: 0;
    font-size: clamp(16px, 3vw, 20px);
    overflow-wrap: anywhere
}

.support-back-button,
.support-solve-button {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 0;
    border-radius: 99px;
    background: #f3f2eb;
    color: var(--ink);
    font: 600 12px 'DM Sans', sans-serif;
    cursor: pointer
}

.support-solve-button {
    background: #e2f5df;
    color: #237b36
}

.support-message-feed {
    display: flex;
    flex-direction: column;
    max-height: 38dvh;
    gap: 9px;
    margin: 6px 0 14px;
    overflow-y: auto;
    overscroll-behavior: contain
}

@media (max-width: 520px) {
    .support-modal-card {
        max-height: calc(100dvh - 28px);
        padding: 26px 17px
    }

    .support-chat-heading {
        flex-wrap: wrap;
        gap: 8px
    }

    .support-chat-title {
        flex-basis: calc(100% - 100px)
    }

    .support-message-feed {
        max-height: 32dvh
    }
}

html.modal-open,.modal-open { overscroll-behavior: none }
body.modal-open { position: fixed; inset-inline: 0; width: 100%; overflow: hidden }
.pickup-location-card,.saved-addresses-card { max-height: min(90dvh,760px); overflow: auto; overscroll-behavior: contain }
.pickup-choice-panel,.pickup-subpanel { display: grid; gap: 11px }
.pickup-choice-panel[hidden],.pickup-subpanel[hidden],.managed-location-panel[hidden] { display: none }
.pickup-choice-panel>p { margin: 0; color: var(--muted); font-size: 13px }
.pickup-choice { display: grid; gap: 4px; padding: 14px; border: 0; border-radius: 15px; background: #f3f5ef; color: var(--ink); text-align: left; cursor: pointer }
.pickup-choice strong { font-size: 14px }
.pickup-choice small { color: var(--muted); font-size: 11px }
.pickup-subpanel>label { display: grid; gap: 6px; color: #343831; font-size: 12px; font-weight: 700 }
.pickup-panel-actions { display: flex; flex-wrap: wrap; gap: 7px }
.pickup-panel-actions .button { min-height: 40px; padding: 9px 12px; font-size: 11px }
.pickup-map { width: 100%; height: 230px; overflow: hidden; border-radius: 15px; background: #eff1eb }
.managed-location-panel { display: grid; gap: 7px }
.saved-address-current { justify-self: start; min-height: 40px; padding: 9px 13px; font-size: 12px }
.activity-backdrop { overscroll-behavior: contain }
.messages-app,.messages-layout,.conversation-pane { min-height: 0; overscroll-behavior: contain }
.chat-thread { min-height: 0; overscroll-behavior: contain }
.chat-status-note { margin: 8px 14px 0; color: #657f66; font-size: 11px }
.chat-status-note.error { color: #a64b38 }
.chat-quick-actions { padding: 8px 14px 0 }
.chat-composer { flex: 0 0 auto }

@media (max-width: 700px) {
    body .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px }
    .product-copy h3 { font-size: 13px; line-height: 1.25 }
}

.product-copy {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 8px;
    padding: 9px 10px 11px
}
.product-copy-open {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer
}
.product-copy-open:focus-visible,.product-request:focus-visible,.saved-address-actions button:focus-visible,.saved-address-select:focus-visible {
    outline: 3px solid rgba(231,95,39,.32);
    outline-offset: 2px
}
.product-copy-open .product-bottom { width: 100% }
.product-location { display: inline-flex; min-width: 0; align-items: center; gap: 4px }
.product-location svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.product-request {
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 24px;
    background: #fde5da;
    color: #d94f1e;
    font: 700 13px/1 'DM Sans',sans-serif;
    cursor: pointer
}
.product-request svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.product-request.is-loading { width: 100%; min-width: 90px; justify-content: center; gap: 6px; padding: 0 9px; border-radius: 20px }
.product-request.is-loading::before { content: "Requesting…"; font-size: 12px; font-weight: 700 }
.product-request.is-loading svg,.product-request.is-loading .product-request-label { display: none }
.product-request.is-loading::after {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(217,79,30,.3);
    border-top-color: #d94f1e;
    border-radius: 50%;
    content: "";
    animation: request-spin .7s linear infinite
}
@keyframes request-spin { to { transform: rotate(360deg) } }

.phone-auth-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px }
.phone-country-code {
    display: grid;
    min-width: 48px;
    min-height: 46px;
    place-items: center;
    border-radius: 13px;
    background: #f3f4ef;
    color: #343831;
    font-weight: 700
}
.phone-auth-row #phone-number { min-width: 0; width: 100% }

.pickup-location-trigger { grid-template-columns: 24px minmax(0,1fr) 16px; min-height: 52px }
.pickup-location-trigger>span:nth-child(2) { display: grid; gap: 3px }
.pickup-address-choices,.saved-addresses-list { display: grid; gap: 9px }
.pickup-address-option {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 16px;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 17px;
    background: #f8f9f5;
    box-shadow: 0 6px 16px rgba(44,48,41,.05);
    color: var(--ink);
    text-align: left;
    cursor: pointer
}
.pickup-address-option strong,.saved-address-row strong { color: #292c27; font-size: 14px; font-weight: 800 }
.address-card-copy>span,.address-card-copy>small { overflow: hidden; color: #6d7169; font-size: 11px; text-overflow: ellipsis; white-space: nowrap }
.address-card-copy>small { color: #4a694d; font-weight: 700 }
.address-card-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 14px; background: #edf3e8; color: #466c49 }
.address-card-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.address-card-copy { display: grid; min-width: 0; flex: 1; gap: 4px; text-align: left }
.address-card-chevron { color: #747a70; font-size: 23px; line-height: 1 }
.pickup-address-option:hover,.saved-address-row.is-selectable:hover { background: #f0f4eb }
.pickup-address-option:focus-visible,.saved-address-select:focus-visible { outline: 3px solid rgba(231,95,39,.32); outline-offset: 2px }
.pickup-add-address {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: #eff3ea;
    color: #3e6844;
    font: 800 13px 'DM Sans',sans-serif;
    cursor: pointer
}
.pickup-address-choices[hidden],.saved-addresses-card #saved-address-form[hidden],
#add-saved-address[hidden],#add-new-pickup-address[hidden],#trydr-points-action[hidden] { display: none !important }
.saved-address-add { justify-self: stretch; min-height: 46px; border-radius: 14px; background: #edf3e8; color: #3e6844 }
.saved-address-copy { display: grid; min-width: 0; flex: 1; gap: 4px }
.saved-address-copy span,.saved-address-copy small { overflow: hidden; color: #696e66; font-size: 11px; text-overflow: ellipsis }
.saved-address-select { display: grid; flex: 1 1 auto; min-width: 0; gap: 4px; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer }
.saved-address-select-hint { color: #3e6844 !important; font-size: 10px !important; font-weight: 700 }
.saved-address-actions { display: flex; flex: 0 0 auto; gap: 7px }
.saved-address-actions button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #49624a;
    cursor: pointer
}
.saved-address-actions button[data-delete-address] { color: #a64c38 }
.saved-address-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.saved-addresses-card #saved-address-form {
    gap: 10px;
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid #eeede8
}
.saved-addresses-card #saved-address-form h3 { font-size: 18px }
.saved-addresses-card #managed-address-preview,.saved-addresses-card #managed-address-locality { background: #f5f5f0; color: #52574f }
.saved-addresses-card #managed-address-preview[readonly],.saved-addresses-card #managed-address-locality[readonly] { cursor: default }
.managed-location-panel { gap: 7px }
.pickup-map { min-height: 210px }
.trydr-points-card #trydr-points-action { min-height: 46px; border-radius: 24px }

@media (max-width: 600px) {
    .product-copy { padding: 8px 9px 10px; gap: 7px }
    .product-request { min-height: 36px; font-size: 12px }
    .product-request svg { width: 18px; height: 18px }
    .saved-address-row { padding: 10px }
    .saved-address-actions { gap: 4px }
    .saved-address-actions button { width: 32px; height: 32px }
    .saved-addresses-card { padding: 24px 17px calc(22px + env(safe-area-inset-bottom)) }
    .pickup-location-card { padding: 24px 17px calc(22px + env(safe-area-inset-bottom)) }
}

#saved-addresses-modal {
    place-items: stretch;
    padding: 0;
    background: var(--paper)
}
#saved-addresses-modal .saved-addresses-card {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    max-width: none;
    align-content: start;
    padding: calc(env(safe-area-inset-top) + 20px) clamp(18px,4vw,36px) calc(env(safe-area-inset-bottom) + 20px);
    border-radius: 0;
    box-shadow: none
}
#saved-addresses-modal .saved-addresses-card #saved-address-form { width: min(100%,760px); margin-inline: auto }
#saved-addresses-modal .address-search-label {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 12px;
    padding: 0 17px;
    border: 0;
    border-radius: 30px;
    background: #f0f1ed;
    color: #484c46
}
#saved-addresses-modal .address-search-label svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round
}
#saved-addresses-modal #managed-place-search {
    display: block;
    flex: 1;
    min-width: 0;
    width: 100%;
    min-height: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: #484c46;
    font: 400 16px/1.4 "DM Sans",sans-serif
}
#saved-addresses-modal .address-search-label:focus-within { background: #fff; box-shadow: 0 0 0 2px rgba(67,100,69,.15) }

@media (max-width: 600px) {
    #saved-addresses-modal .saved-addresses-card { gap: 12px }
    #saved-addresses-modal .pickup-map { height: min(30dvh,250px) }
}
.conversation-menu button { text-align: left }
#conversation-report-open { color: #a64b38 !important }

.request-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 14px 0;
    padding: 10px 13px;
    border-radius: 13px;
    background: #fffefa;
    box-shadow: 0 3px 14px rgba(44,48,41,.06)
}
.request-status-title { min-width: 0; color: var(--ink); font-size: 13px; font-weight: 700 }
.request-status-card.request-status-requested { background: #fff9f1 }
.request-status-card.request-status-completed { background: #eff8ed }
.request-decision-actions { display: flex; flex: 0 0 auto; gap: 7px }
.request-decision-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 13px;
    border: 0;
    border-radius: 20px;
    background: #f0f3ed;
    color: #3e6844;
    font: 700 11px 'DM Sans',sans-serif;
    cursor: pointer
}
.request-decision-actions .request-accept,.request-decision-actions .request-confirm-exchange { background: #2f9e52; color: #fff }
.request-decision-actions .request-decline,.request-decision-actions .request-withdraw { background: #fff0e9; color: #a64b2b }
.chat-quick-actions button:disabled,.request-decision-actions button:disabled { opacity: .55; cursor: default }
.request-decision-actions button[aria-busy="true"] { opacity: .9 }
.request-action-dots { display: inline-flex; align-items: center; gap: 2px }
.request-action-dots i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; animation: request-action-dot 1s ease-in-out infinite }
.request-action-dots i:nth-child(2) { animation-delay: .14s }
.request-action-dots i:nth-child(3) { animation-delay: .28s }
@keyframes request-action-dot { 0%,60%,100% { opacity: .45; transform: translateY(0) } 30% { opacity: 1; transform: translateY(-3px) } }
@media (prefers-reduced-motion: reduce) { .request-action-dots i { animation: none; opacity: .8 } }
.activity-card-copy small { text-transform: none }
.listing-status-pill {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    border-radius: 20px;
    background: rgba(255,254,250,.96);
    color: #59645a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase
}
.listing-status-pill.listing-status-reserved { background: #fff3d4; color: #805c11 }
.listing-status-pill.listing-status-taken { background: #e8eee6; color: #476149 }

@media (max-width: 600px) {
    .request-status-card { align-items: stretch; flex-direction: column; gap: 10px; margin: 9px 10px 0; padding: 12px }
    .request-decision-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) }
    .request-decision-actions button { min-height: 40px }
    .request-decision-actions button:only-child { grid-column: 1 / -1 }
    .request-decision-actions:has(button:only-child) { grid-template-columns: 1fr }
    .chat-quick-actions { padding-right: 10px; padding-left: 10px }
}

.messages-header { display: flex; flex-direction: row; align-items: center; gap: 22px }
.activity-tabs { display: flex; flex: 1; width: 100%; gap: 24px; border-bottom: 1px solid #e6e8e2 }
.activity-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
    padding: 8px 0 11px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #656a62;
    text-align: left;
    cursor: pointer
}
.activity-tab.active { background: transparent; color: #334b35; box-shadow: none }
.activity-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px; background: #e75f27; content: "" }
.activity-tab span { font-size: 13px; font-weight: 800 }
.activity-tab small { margin: 0; color: #7a7e75; font-size: 10px }
.activity-tab.active small { color: #60755e }
.activity-tab:focus-visible { outline: 3px solid rgba(231,95,39,.32); outline-offset: 2px }

@media (max-width: 600px) {
    .messages-header { align-items: stretch; flex-direction: column }
}

#phone-name-form { display: grid; gap: 9px }
#phone-name-form[hidden] { display: none }
#phone-name-form label { color: #555b52; font-size: 12px; font-weight: 700 }
#phone-name-form input { width: 100%; min-height: 46px; padding: 11px 13px; border: 0; border-radius: 13px; outline: 0; background: #f3f4ef; font: 14px 'DM Sans',sans-serif }
#auth-modal.phone-name-required .google-btn,
#auth-modal.phone-name-required .auth-legal-note,
#auth-modal.phone-name-required .modal-card>small,
#auth-modal.phone-name-required .auth-divider,
#auth-modal.phone-name-required .modal-close,
#auth-modal.phone-name-required #phone-auth-form { display: none }
#auth-modal.phone-name-required #phone-name-form:not([hidden]) { display: grid }

.request-status-card.request-status-blocked { background: #fff3ec; border-left: 3px solid #c9663c }

body .listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)) }
.my-listings-view .listing-grid { grid-template-columns: minmax(0,1fr) }
.my-listing-card { display: flex; align-items: center; gap: 13px; padding: 9px; border-radius: 16px }
.my-listing-card .my-listing-image { flex: 0 0 92px; width: 92px; height: 92px; overflow: hidden; border-radius: 12px }
.my-listing-content { display: grid; flex: 1; min-width: 0; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 10px }
.my-listing-title { grid-column: 1; min-width: 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--ink); font: 700 14px/1.3 'DM Sans',sans-serif; text-align: left; text-overflow: ellipsis; cursor: pointer }
.my-listing-status { grid-column: 1; justify-self: start; padding: 5px 9px; border-radius: 14px; background: #edf4e9; color: #436b42; font-size: 10px; font-weight: 800 }
.my-listing-status-reserved { background: #fff3d4; color: #805c11 }
.my-listing-status-taken { background: #e8eee6; color: #59645a }
.my-listing-actions { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 7px; margin-left: 0 }
.my-listing-actions button { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 0; border-radius: 11px; background: #f0f3ed; color: #476149; cursor: pointer }
.my-listing-actions .my-listing-remove { background: #fff0e9; color: #a64b2b }
.my-listing-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.my-listing-actions button:focus-visible { outline: 3px solid rgba(231,95,39,.32); outline-offset: 2px }

@media (max-width: 700px) {
    body .listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px }
    .my-listings-view .listing-grid { grid-template-columns: minmax(0,1fr) }
    .my-listing-card { gap: 10px; padding: 8px }
    .my-listing-card .my-listing-image { flex-basis: 78px; width: 78px; height: 78px }
    .my-listing-content { gap: 6px 8px }
    .my-listing-title { font-size: 13px }
    .my-listing-actions { gap: 5px }
    .my-listing-actions button { width: 32px; height: 32px }
}