/* REDOR_LISTING_CARD_SHARED_V1 */

.redor-card-opening-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    margin: 3px 0;
}

.redor-card-opening-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.redor-card-opening-status.is-open {
    color: #15803d;
}

.redor-card-opening-status.is-neutral {
    color: #71717a;
}


/* REDOR_SHARED_CARD_HOME_V1 */
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .home-featured-slot { min-width:0; }
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .home-featured-slot > .card {
    display:flex;
    flex-direction:column;
    min-width:0;
    height:100%;
    color:#181818;
    text-decoration:none;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:visible;
    position:relative;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-img-wrap {
    width:100%;
    aspect-ratio:1/1;
    position:relative;
    overflow:hidden;
    border-radius:9px;
    background:#eee;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-img-wrap img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-body { padding:8px 2px 0; min-width:0; }
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-author-row,
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-author-left {
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-author-row {
    margin:2px 0 4px;
    color:#52525b;
    font-size:12.5px;
    font-weight:500;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-author-name {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-author-avatar,
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-author-avatar-fallback {
    width:18px;
    height:18px;
    flex:0 0 18px;
    border-radius:50%;
    object-fit:cover;
    background:#e2e8f0;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-author-avatar-fallback {
    display:grid;
    place-items:center;
    font-size:10px;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-author-verified svg { width:14px; height:14px; }
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-title {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:14px;
    font-weight:500;
    line-height:1.3;
    margin:0 0 3px;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-price-row {
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:6px;
    min-width:0;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-price-main,
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-paused-price-main {
    display:flex;
    align-items:baseline;
    gap:5px;
    min-width:0;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-price {
    font-size:14.5px;
    font-weight:750;
    line-height:1.2;
    white-space:nowrap;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-distance {
    color:#71717a;
    font-size:12px;
    white-space:nowrap;
    flex-shrink:0;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-unavailable {
    color:#71717a;
    font-size:10px;
    font-weight:700;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-trade-icon svg {
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-premium-badge {
    position:absolute;
    top:8px;
    left:8px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:5px 7px;
    border-radius:6px;
    background:#fff;
    color:#a16207;
    font-size:11px;
    font-weight:700;
}
:is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-premium-icon {
    width:14px;
    height:14px;
    fill:currentColor;
}
@media(max-width:700px) {
    :is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-title { font-size:13px; }
    :is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-price { font-size:14px; }
    :is(.home-featured,.publishing-card-preview,.profile-catalog-shared,.cards-grid) .card-distance { font-size:11.5px; }
}

/* REDOR_SHARED_CARD_PREVIEW_V1 */
.publishing-card-preview-card.redor-preview-unified
    > :not(.home-featured-slot) {
    display:none!important;
}
.publishing-card-preview .home-featured-slot {
    width:100%;
}
.publishing-card-preview .card {
    cursor:default;
    pointer-events:none;
}
.publishing-card-preview .card-img-wrap {
    padding-top:0;
}
.publishing-card-preview .card-price-row[hidden] {
    display:none!important;
}
.publishing-card-preview .redor-preview-image-placeholder {
    display:flex;
    align-items:center;
    justify-content:center;
    color:#a1a1aa;
    font-size:28px;
    background:linear-gradient(135deg,#f4f4f5,#e4e4e7);
}
.publishing-card-preview .card-distance
    .publishing-preview-icon {
    display:inline-flex;
    vertical-align:middle;
    margin-right:4px;
}
.publishing-card-preview .publishing-preview-icon svg {
    width:16px;
    height:16px;
}

/* REDOR_CARD_CSS_MIGRATION_8D */
/*
 * REDOR_PAUSED_PRICE_V2
 *
 * CONTRACT:
 * PAUSED left = Indisponível.
 * PAUSED right = commercial value when available.
 * DONATION remains Doação.
 *
 * OWNERSHIP:
 * Normal mural document only.
 */
.card-price-row.is-paused{
    flex-wrap:wrap;
    width:100%;
}

.card-paused-commercial-row{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:10px;
    width:100%;
    min-width:0;
}

.card-price-row.is-paused .card-unavailable{
    flex:0 0 auto;
}

.card-price-row.is-paused .card-price{
    text-align:right;
}

.card-price-row.is-paused .card-distance{
    width:100%;
    margin-top:2px;
    text-align:right;
}

/* REDOR_SHARED_CARD_PREMIUM_TRADE_8E */
/*
 * REDOR_PREMIUM_VISUAL_V1
 *
 * OWNERSHIP:
 * Presentation only. Eligibility belongs exclusively
 * to the backend ranking/commercial contract.
 *
 * DESIGN:
 * Premium must be clearly recognizable without
 * overpowering ordinary mural content.
 */
.card.is-premium .card-img-wrap{
    box-shadow:
        0 0 0 1px rgba(154,117,38,.34),
        0 7px 20px rgba(108,79,20,.10);
}

.card-premium-badge{
    position:absolute;
    top:8px;
    right:8px;
    z-index:10;
    display:inline-flex;
    align-items:center;
    gap:4px;
    min-height:24px;
    box-sizing:border-box;
    padding:4px 8px;
    border:1px solid rgba(255,229,157,.50);
    border-radius:999px;
    background:rgba(24,22,17,.88);
    color:#f4d98a;
    box-shadow:0 3px 12px rgba(0,0,0,.14);
    -webkit-backdrop-filter:blur(5px);
    backdrop-filter:blur(5px);
    font-size:10px;
    line-height:1;
    font-weight:750;
    letter-spacing:.02em;
    text-transform:none;
    pointer-events:none;
}

.card-premium-icon{
    display:block;
    width:11px;
    height:11px;
    flex:0 0 11px;
    fill:currentColor;
}

@media(max-width:700px){
    .card-premium-badge{
        top:7px;
        right:7px;
        min-height:22px;
        padding:4px 7px;
        font-size:9.5px;
    }

    .card-premium-icon{
        width:10px;
        height:10px;
        flex-basis:10px;
    }
}

/*
 * REDOR_TRADE_ICON_V3
 * REDOR_GRID_TRADE_ICON_ONLY_FINAL_V1
 *
 * PERMANENT PRODUCT DECISION:
 * In the mural/grid, trade acceptance is represented ONLY
 * by the exchange icon beside the commercial value.
 *
 * Never render visible "Aceita troca" or "Não aceita troca"
 * text inside a mural card.
 *
 * The listing detail page may show the trade status in text.
 *
 * CONTRACT:
 * ACCEPTS is represented only by the exchange icon.
 * It never consumes its own grid row.
 * It remains immediately after the commercial value.
 */
.card-trade-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:15px;
    height:15px;
    flex:0 0 15px;

    margin-left:4px;

    color:#52525b;
    line-height:1;

    vertical-align:middle;
}

.card-trade-icon > svg{
    display:block;

    width:15px;
    height:15px;

    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;

    overflow:visible;
}

.card-price-main,
.card-paused-price-main{
    display:inline-flex;
    align-items:center;
    min-width:0;
}

.card-paused-price-main{
    justify-content:flex-end;
}

@media(max-width:700px){
    .card-trade-icon,
    .card-trade-icon > svg{
        width:14px;
        height:14px;
    }

    .card-trade-icon{
        flex-basis:14px;
        margin-left:3px;
    }
}

/* REDOR_SHARED_CARD_AUTHOR_8F */
.card-author-row,
.card-author-row * {
    cursor: pointer !important;
}
.card-author-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin: 2px 0 4px 0 !important;
    min-height: 18px !important;
    line-height: 1.3 !important;
    position: relative !important;
    z-index: 2 !important;
}
.card-author-left {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
}
.card-author-avatar {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: block !important;
    background: #f1f5f9 !important;
    transition: opacity 0.15s ease !important;
}
.card-author-avatar-fallback {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #e2e8f0 !important;
    color: #475569 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    user-select: none !important;
    transition: opacity 0.15s ease !important;
}
.card-author-name {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #52525b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
    padding-bottom: 1px !important;
    border-bottom: 1.5px solid transparent !important;
    text-decoration: none !important;
    transition: color 0.15s ease, border-color 0.15s ease !important;
}
.card-author-verified {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    transition: opacity 0.15s ease !important;
}
.card-author-verified svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
}

/* Sublinhado cinza leve no hover ao passar o mouse na linha do perfil */
.card-author-row:hover .card-author-name,
.card-author-left:hover .card-author-name,
.card-author-name:hover {
    border-bottom-color: #9ca3af !important;
    color: #181818 !important;
}
.card-author-row:hover .card-author-avatar,
.card-author-row:hover .card-author-avatar-fallback {
    opacity: 0.85 !important;
}
.card-author-row:hover .card-author-verified {
    opacity: 0.85 !important;
}

@media (max-width: 700px) {
    .card-author-row {
        margin: 2px 0 3px 0 !important;
        min-height: 16px !important;
    }
    .card-author-avatar,
    .card-author-avatar-fallback {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
    }
    .card-author-name {
        font-size: 11.5px !important;
    }
    .card-author-verified svg {
        width: 13px !important;
        height: 13px !important;
    }
}

/* A prévia não permite interação com o perfil. */
.publishing-card-preview .card-author-row,
.publishing-card-preview .card-author-row * {
    cursor: default !important;
    pointer-events: none !important;
}


/* REDOR_SHARED_CARD_BASE_STAGE8G */

/* Estrutura comum dos cards */
.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #181818;
    text-decoration: none;
    background: transparent;
}

.card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding-top: 0;
    overflow: hidden;
    border-radius: 9px;
    background: #e7e7e7;
}

.card-img-wrap > img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-body {
    padding: 8px 2px 0;
    min-width: 0;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #181818;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 3px;
}

.card-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
}

.card-price {
    font-size: 14.5px;
    font-weight: 750;
    line-height: 1.2;
    color: #181818;
    white-space: nowrap;
}

.card-distance {
    font-size: 12px;
    line-height: 1.2;
    color: #71717a;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .card-title {
        font-size: 13px;
    }

    .card-price {
        font-size: 14px;
    }

    .card-distance {
        font-size: 11.5px;
    }
}

/* REDOR_SHARED_CARD_CSS_SCOPE_8I */
/* REDOR_CARD_CSS_CLEANUP_8H */
.cards-grid .card-distance{font-size:12px!important;color:#71717a!important;white-space:nowrap!important;flex-shrink:0!important;line-height:1.2!important}
.cards-grid .card-distance{font-size:11.5px!important}
.cards-grid .card-price{font-size:14.5px!important;font-weight:750!important;color:#181818!important;margin:0!important;white-space:nowrap!important;line-height:1.2!important}
.cards-grid .card-price{font-size:14px!important}
.cards-grid .card-price-row{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:6px!important}
.cards-grid .card-title{font-size:14px!important;font-weight:500!important;color:#181818!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0 0 3px 0!important;line-height:1.3!important}
.cards-grid .card-title{font-size:13px!important}
.cards-grid .card-body{padding:8px 2px 0!important}
@media(max-width:700px){

}

/* REDOR_PLACE_CARD_STATUS_PRICE_V1 */
.card-price-row.redor-place-price-row {
    align-items: center !important;
    gap: 8px !important;
}
.redor-place-price-row .redor-card-opening-status {
    margin: 0;
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}
.redor-place-distance {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    white-space: nowrap;
}
.redor-place-store-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    vertical-align: middle;
}
@media (max-width: 700px) {
    .redor-place-price-row .redor-card-opening-status {
        font-size: 11.5px;
    }
    .redor-place-store-icon {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }
}

/* REDOR_PLACE_STORE_LEFT_9A_FIX */
.redor-place-price-row .redor-place-status-content {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.redor-place-price-row .redor-card-opening-status {
    margin: 0;
    font-weight: 400 !important;
    line-height: 1.2;
}

.redor-place-price-row
.redor-card-opening-status::before {
    display: none !important;
    content: none !important;
}

.redor-place-price-row .redor-place-store-icon {
    display: block;
    flex-shrink: 0;
}

/* REDOR_PLACE_STATUS_TYPOGRAPHY_9B
   Mesma tipografia do preco comercial do card. */
.redor-place-price-row .redor-card-opening-status {
    font-family: inherit !important;
    font-size: 14.5px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
}

@media (max-width: 700px) {
    .redor-place-price-row .redor-card-opening-status {
        font-size: 14px !important;
    }
}


/* REDOR_PLACE_STATUS_BLACK_9C */
.redor-place-price-row .redor-card-opening-status.is-neutral {
    color: #181818 !important;
}

/* Shared square artwork for every card grid, including the mural. */
.cards-grid .home-featured-slot .card-img-wrap{padding-top:0!important;aspect-ratio:1/1}
