.res-todas-wrap {
    margin-top: 40px;
}

.res-ver-mas-wrap {
    text-align: center;
}

.res-ver-mas-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 24px;
    border: 1px solid #555;
    background: transparent;
    color: #ccc;
    -webkit-appearance: none;
    appearance: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.5;
    -webkit-transition: border-color 0.2s, color 0.2s;
    transition: border-color 0.2s, color 0.2s;
}

.res-ver-mas-btn:hover {
    border-color: #fff;
    color: #fff;
}

.res-ver-mas-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.res-ver-mas-count {
    color: #888;
    font-weight: 400;
}

.res-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
    margin-bottom: 0;
    padding: 0 8px;
}

@media (max-width: 991px) {
    .res-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .res-grid { grid-template-columns: 1fr; }
}

.res-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-animation: resFadeIn 0.4s ease both;
    animation: resFadeIn 0.4s ease both;
}

@-webkit-keyframes resFadeIn {
    from { opacity: 0; -webkit-transform: translateY(10px); transform: translateY(10px); }
    to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}

@keyframes resFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.res-card-prod-link,
.res-card-prod-link:focus,
.res-card-prod-link:active {
    display: block;
    text-align: center;
    margin-bottom: 12px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.res-card-prod-link img {
    outline: none;
    border: none;
}

.res-card-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    display: inline-block;
    -webkit-transition: transform 0.2s, box-shadow 0.2s;
    transition: transform 0.2s, box-shadow 0.2s;
}

.res-card-prod-link:hover .res-card-img {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.res-card-prod-nombre {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 6px;
}

.res-card-prod-nombre:hover {
    color: #c0392b;
    text-decoration: none;
}

.res-card-stars {
    font-size: 12px;
    color: #f0a500;
    margin-bottom: 8px;
}

.res-card-comentario {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.res-card-autor {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.res-card-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #d63031;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.res-card-nombre {
    font-size: 12px;
    font-weight: 600;
    color: #777;
}

.res-cargando {
    text-align: center;
    color: #888;
    font-size: 22px;
    margin: 20px 0;
}

.res-ver-mas-wrap--mas {
    margin-top: 20px;
    margin-bottom: 20px;
}
