/* ============================================
   CARDS COMPARTIDAS - Publicaciones y Cubiertas
   ============================================ */

/* --- PUBLICACION-CARD (general) --- */
.publicacion-card {
    background: #2b2722;
    border: 1px solid #3a3530;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.publicacion-card .card-body {
    flex: 1;
    padding: 0.75rem;
}
.publicacion-card:hover {
    border-color: #c9a86c;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), 0 0 15px rgba(201, 168, 108, 0.1);
}
.publicacion-card .titulo {
    color: #e8e4dc;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    height: 40px;
    overflow: hidden;
}
.publicacion-card .precio {
    color: #c9a86c;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.5rem 0;
}
.publicacion-card .vendedor {
    color: #a89f91;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}
.publicacion-card .localidad {
    color: #8a8279;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}
.publicacion-card .btn-detalle {
    background: transparent;
    border: 1px solid #c9a86c;
    color: #c9a86c;
    border-radius: 15px;
    padding: 0.35rem 1rem;
    width: 100%;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.publicacion-card .btn-detalle:hover {
    background: #c9a86c;
    color: #1a1814;
}
.publicacion-card .btn-whatsapp {
    background: transparent;
    border: none;
    color: #7bc98a;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.publicacion-card .btn-whatsapp:hover {
    background: #7bc98a;
    color: #fff;
}
.publicacion-card .btn-whatsapp svg {
    width: 12px;
    height: 12px;
    opacity: 0.55;
}
.publicacion-card .btn-mensaje {
    background: transparent;
    border: none;
    color: #7bb8d0;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.publicacion-card .btn-mensaje:hover {
    background: #7bb8d0;
    color: #fff;
}
.publicacion-card .btn-mensaje svg {
    width: 12px;
    height: 12px;
    opacity: 0.55;
}
.publicacion-card .btn-email {
    background: transparent;
    border: none;
    color: #c9b48a;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.publicacion-card .btn-email:hover {
    background: #c9b48a;
    color: #1a1814;
}
.publicacion-card .btn-email svg {
    width: 12px;
    height: 12px;
    opacity: 0.55;
}
.publicacion-card .contacto-botones {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}
.publicacion-card .card-footer {
    background: #1e1c19;
    border-top: 1px solid #3a3530;
    padding: 0.75rem;
}

/* --- CUBIERTAS-CARD --- */
.cubiertas-card {
    background: #2b2722;
    border: 1px solid #3a3530;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.cubiertas-card .card-body {
    flex: 1;
    background: #2b2722;
    padding: 0.75rem;
}
.cubiertas-card:hover {
    border-color: #c9a86c;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), 0 0 15px rgba(201, 168, 108, 0.1);
}
.cubiertas-card .medida {
    color: #c9a86c;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.25rem;
}
.cubiertas-card .tipo {
    color: #a89f91;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 0.25rem;
}
.cubiertas-card .vendedor {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin: 0.5rem 0;
    letter-spacing: 0.5px;
}
.cubiertas-card .localidad {
    color: #8a8279;
    font-size: 0.75rem;
    text-align: center;
    margin-bottom: 0.25rem;
}
.cubiertas-card .localidad a {
    color: #c9a86c;
    text-decoration: none;
}
.cubiertas-card .precio {
    color: #e8e4dc;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin: 0.5rem 0;
}
.cubiertas-card .disponibles {
    color: #c9a86c;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}
.cubiertas-card .disponibles-label {
    color: #8a8279;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 0.5rem;
}
.cubiertas-card .btn-comprar {
    background: #c9a86c;
    border: none;
    color: #1a1814;
    font-weight: 600;
    border-radius: 15px;
    padding: 0.35rem 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.cubiertas-card .btn-comprar:hover {
    background: #d4b87a;
}
.cubiertas-card .btn-detalle {
    background: transparent;
    border: 1px solid #c9a86c;
    color: #c9a86c;
    border-radius: 15px;
    padding: 0.25rem 1rem;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}
.cubiertas-card .btn-detalle:hover {
    background: #c9a86c;
    color: #1a1814;
}
.cubiertas-card .btn-whatsapp {
    background: transparent;
    border: none;
    color: #7bc98a;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.cubiertas-card .btn-whatsapp:hover {
    background: #7bc98a;
    color: #fff;
}
.cubiertas-card .btn-whatsapp svg {
    width: 12px;
    height: 12px;
    opacity: 0.55;
}
.cubiertas-card .btn-mensaje {
    background: transparent;
    border: none;
    color: #7bb8d0;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.cubiertas-card .btn-mensaje:hover {
    background: #7bb8d0;
    color: #fff;
}
.cubiertas-card .btn-mensaje svg {
    width: 12px;
    height: 12px;
    opacity: 0.55;
}
.cubiertas-card .btn-email {
    background: transparent;
    border: none;
    color: #c9b48a;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.cubiertas-card .btn-email:hover {
    background: #c9b48a;
    color: #1a1814;
}
.cubiertas-card .btn-email svg {
    width: 12px;
    height: 12px;
    opacity: 0.55;
}
.cubiertas-card .contacto-botones {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}
.cubiertas-card .card-footer {
    background: #1e1c19;
    border-top: 1px solid #3a3530;
    padding: 0.75rem;
}
.cubiertas-card .detalle-scroll {
    background: transparent;
    border-left: 2px solid var(--accent);
    max-height: 80px;
    overflow-y: auto;
    padding: 0.3rem 0.5rem;
    margin: 0.5rem 0;
    font-size: 0.7rem;
    color: #a89f91;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}
.cubiertas-card .detalle-scroll::-webkit-scrollbar {
    width: 4px;
}
.cubiertas-card .detalle-scroll::-webkit-scrollbar-track {
    background: #3a3530;
    border-radius: 2px;
}
.cubiertas-card .detalle-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}