body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f4f4;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
}

h1 {
    color: #00acc1;
    text-align: center;
}

input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    margin-bottom: 10px;
}

button {
    background: #00acc1;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-bottom: 20px;
}

button:disabled {
    background: #ccc;
}

#resultsList {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-item {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    border-left: 5px solid #00acc1;
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.result-item:hover {
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.res-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.res-name {
    font-weight: bold;
    font-size: 1.25rem;
    color: #333;
}

.res-cat {
    font-size: 0.7rem;
    background: #e0f7f9;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    color: #00838f;
    font-weight: bold;
}

.res-desc {
    font-size: 1rem;
    color: #444;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Estilo para la descripción COMPLETA del producto */
.res-full-details {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    background: #fdfdfd;
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed #00acc1;
    margin-bottom: 15px;
}

.res-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.res-price {
    font-weight: bold;
    color: #00acc1;
    font-size: 1.2rem;
}

.buy-btn {
    background: #00acc1;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
}

#status {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-bottom: 15px;
}
