/* Põhiseaded (kopeeritud tooteleht.css-ist) */
.konteiner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding: 120px 0 40px 0;
}

/* See on põhiretsepti plokk (PARANDATUD) */
.retsept {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Eemaldatud 'display: flex', 'gap' jne */
}

/* PARANDATUD: Lisatud marginaalid */
.retsepti-pilt {
    margin-top: 25px;
    margin-bottom: 30px;
}

.retsepti-pilt img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* PARANDATUD: Reeglid eemaldatud */
.retsepti-info {
    /* See klass hoiab nüüd kõike koos, eraldi reegleid pole vaja */
}

.retsepti-info h2 {
    margin-top: 0;
    font-size: 2.2em;
    color: #3b6347;
}

/* Uued stiilid koostisosade ja juhiste jaoks */
.retsepti-info h3 {
    font-size: 1.5em;
    color: #3b6347;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

/* Koostisosade nimekiri */
.retsepti-info ul, .retsepti-info ol {
    margin-left: 20px;
    padding-left: 10px;
    line-height: 1.8;
}

/* Juhiste nimekiri */
.retsepti-info ol li {
    margin-bottom: 10px;
}

/* Sarnaste retseptide stiilid (JÄID SAMAKS) */
.sarnased-retseptid {
    margin-top: 60px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
}
.sarnased-retseptid h2 {
    font-size: 1.8em;
    color: #3b6347;
    margin-bottom: 30px;
    text-align: center;
}
.sarnased-retseptid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.4rem;
}
.sarnased-retseptid .card {
    background: #ffffff;
    border: 1px solid #e7ede9;
    border-radius: 14px;
    overflow: clip;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(10, 20, 10, .08);
}
.sarnased-retseptid .card__media {
    position: relative;
    aspect-ratio: 16/10;
    background: #f3f6f4;
}
.sarnased-retseptid .card__media img {
    width: 100%; height: 100%; object-fit: cover;
}
.sarnased-retseptid .card__body {
    padding: 1rem;
}
.sarnased-retseptid .card__title {
    margin: .1rem 0 .25rem;
    font-size: 1.05rem;
}
.sarnased-retseptid .card__title a {
  text-decoration: none;
  color: inherit;
}
.sarnased-retseptid .card__title a:hover {
  text-decoration: underline;
}
.sarnased-retseptid .card__price {
    margin: 0 0 .25rem;
    font-weight: 700;
    color: #1b3f2e;
}