.cultivo-page {
    font-family: 'Inter', sans-serif;
    background-color: #f5f7fa;
    color: #2d3748;
    margin: 0;
    padding-bottom: 3rem;
}

.cultivo-page .cultivo-header {
    background: linear-gradient(135deg, #2c5282 0%, #4299e1 100%);
    padding: 3rem 0;
    color: #fff;
}

.cultivo-page .cultivo-title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.cultivo-page .cultivo-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
}

.cultivo-page .cultivo-title-wrapper h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
}

/* Ajustes para la línea y el fondo */
.cultivo-page .etapas-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding: 0 20px;
    background: #f5f7fa; /* Mismo gris que el contenedor */
    z-index: 0;
}

.cultivo-page .etapas-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    height: 4px;
    background: #e2e8f0;
    z-index: -1;
    opacity: 0.7;
    top: 50%;
    transform: translateY(-50%);
}

.cultivo-page .etapa-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.cultivo-page .etapa-item:hover {
    transform: translateY(-3px);
}

.cultivo-page .etapa-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #4299e1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 3;
}

.cultivo-page .etapa-circle:hover {
    box-shadow: 0 0 0 6px rgba(66,153,225,0.2);
}

.cultivo-page .etapa-circle img {
    width: 100%;
    height: auto;
}

.cultivo-page .etapa-item h3 {
    font-size: 1rem;
    color: #2d3748;
    margin-top: 1rem; /* Espacio entre el círculo y el texto */
    font-weight: 500;
}

.cultivo-page .categoria-seccion {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
    padding: 2.5rem;
}

.cultivo-page .categoria-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.cultivo-page .categoria-header h2 {
    font-size: 2rem;
    color: #2d3748;
    margin: 0;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.cultivo-page .productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.cultivo-page .producto-tarjeta {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

.cultivo-page .producto-tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.cultivo-page .producto-imagen {
    height: 120px;
    width: auto;
    margin: 0 auto 1rem;
    display: block;
}

.cultivo-page .producto-tarjeta h3 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cultivo-page .etapas-uso {
    margin: 1.5rem 0;
}

.cultivo-page .etapas-titulo {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.cultivo-page .etapas-iconos {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.cultivo-page .etapa-icono {
    width: 40px;
    height: 40px;
    padding: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.cultivo-page .etapa-icono:hover {
    transform: scale(1.1);
}

.cultivo-page .etapa-icono img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cultivo-page .btn-producto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #4299e1;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.cultivo-page .btn-producto:hover {
    background: #2b6cb0;
    transform: translateY(-2px);
}

.cultivo-page .mensaje-info {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    margin: 3rem auto;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.cultivo-page .mensaje-info img {
    width: 80px;
    margin-bottom: 1rem;
}

.cultivo-page .mensaje-info p {
    font-size: 1.25rem;
    color: #4a5568;
}

@media (max-width: 768px) {
    .cultivo-page .etapas-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .cultivo-page .etapas-timeline::before {
        display: none;
    }

    .cultivo-page .etapa-item {
        margin-bottom: 2rem;
    }

    .cultivo-page .productos-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la lista de cultivos */
.cultivos-list-page {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #2d3748;
    padding: 2rem 0;
}

.cultivos-list-page .cultivo-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.cultivos-list-page .cultivo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.cultivos-list-page .cultivo-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #e2e8f0;
}

.cultivos-list-page .cultivo-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}

.cultivos-list-page .cultivo-card-title {
    font-size: 1.25rem;
    color: #2d3748;
    margin: 0 0 1rem;
    font-weight: 600;
}

.cultivos-list-page .cultivo-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #4299e1;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.cultivos-list-page .cultivo-card-btn:hover {
    background: #2b6cb0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cultivos-list-page .cultivo-card-img {
        height: 150px;
    }
}

.cultivo-page .card .table-responsive table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

.cultivo-page .card .table-responsive th,
.cultivo-page .card .table-responsive td {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    /* Opcional: Forzar una anchura máxima y que el texto se quiebre */
    max-width: 50px;
    text-overflow: ellipsis;
}