/**
 * Nett Recipe Card Styles
 */

/* Wrapper */
.nett-recipe-card-wrapper {
    padding: 15px;
}

/* Card */
.nett-recipe-card {
    max-width: 400px;
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Image */
.nett-recipe-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

.nett-recipe-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* Meta Bar */
.nett-recipe-meta {
    display: flex;
    justify-content: space-around;
    padding: 12px 16px;
    background-color: #fef3c7;
    color: #92400e;
    font-size: 13px;
}

.nett-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nett-meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #d97706;
}

/* Content */
.nett-recipe-content {
    padding: 20px;
}

/* Title */
.nett-recipe-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Description */
.nett-recipe-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

/* Ingredients */
.nett-recipe-ingredients {
    margin-bottom: 20px;
}

.nett-ingredients-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 10px 0;
}

.nett-ingredients-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nett-ingredients-list li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.8;
}

.nett-ingredients-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

/* Button */
.nett-recipe-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.nett-recipe-button:hover {
    background-color: #f97316;
}

/* Responsive */
@media (max-width: 640px) {
    .nett-recipe-card {
        max-width: 100%;
    }
    
    .nett-recipe-image {
        height: 180px;
    }
    
    .nett-recipe-meta {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .nett-recipe-title {
        font-size: 18px;
    }
}
